HI I have an grid inside an updatePanel. When i select a row in the grid a postback happens. However i donot want to refresh the contents of the updatapanel. Is there anyway to stop the refresh of the contents after the postback completes
thanks
HI I have an grid inside an updatePanel. When i select a row in the grid a postback happens. However i donot want to refresh the contents of the updatapanel. Is there anyway to stop the refresh of the contents after the postback completes
thanks
No. You will have to prevent the postback in the first place. Otherwise you are re-rendering the entire page, including the UpdatePanel. If you really need the server to do some work here, you might try calling a page method instead.
Yes, setup the AutoPostback property to false in those controls where you don't want this to happen... for example your grid.
It depends on what you want to do at selection.
you can set Updatepanel postbackmode to Conditional instead of always.