in my application i have the playvideo page where video will play, below that i have the option for sharing the video like adding to favorite ,playlist and sending mail.
when i click on any of the link the page is postbacking and video will start from the first.
i place update panel for link button even though it is not working (video is playing from the first i.e., page is postbacking. can u help me. thank you
in my application i have the playvideo page where video will play, below that
Share
Actually, the part of page that is within the
UpdatePaneldoes the postback. Make sure you have only those controls(for instance, your links) inside theUpdatePanel.Alternatively, you can use multiple
UpdatePanels; for instance one for your video and one for the links. In this case note that, when oneUpdatePanelgets updated otherUpdatePanels also gets updated, which you may not want; so all you have to do then is to mark theUpdateModeproperty toConditionaland callYourDesiredUpdatePanel.Update()method manually – whenever required.Btw, updating selected portions of the page also reduces the load on the server
Or you may want to look into using client callbacks instead of a postback. But since client callback uses XMLHTTP, which means Microsoft implementation of AJAX, therefore callbacks are just awesome as long as your are working with IE.