I use update panel with condition if (!Ispostback) for page to stop refresh and show listview ,and i click on data pager ,
when i am on first page , i show 25 products , and click on 2 , it shows 25 to 50 products, but then again when i click on first page , no action is called,it does not show 1 to 25 products,,(i.e. it remains on second page with no action)...
None
0 Points
376 Posts
update panel with no page reload stops navigation
Feb 03, 2014 11:51 PM|maulikshah90|LINK
I use update panel with condition if (!Ispostback) for page to stop refresh and show listview ,and i click on data pager ,
when i am on first page , i show 25 products , and click on 2 , it shows 25 to 50 products, but then again when i click on first page , no action is called,it does not show 1 to 25 products,,(i.e. it remains on second page with no action)...
Participant
1390 Points
323 Posts
Re: update panel with no page reload stops navigation
Feb 04, 2014 06:07 AM|valuja|LINK
Hi,
Can you prove the code that you are using, that makes it a lot easier to answer your question!
Best regards
Johan
All-Star
48393 Points
12161 Posts
Re: update panel with no page reload stops navigation
Feb 04, 2014 11:00 PM|chetan.sarode|LINK
If you remove the UpdatePanel is it working? You may need to Bind the data during Paging navigation and Call UpdatePanel.Update to reflect it.
Team Lead, Product Development
Approva Systems Pvt Ltd, Pune, India.
None
0 Points
376 Posts
Re: update panel with no page reload stops navigation
Feb 04, 2014 11:21 PM|maulikshah90|LINK
hi
if i commented in page_load ,
//if(!IsPostBack)
//{
GridViewid.datasource();
GridViewid.databind();
UpdatePanelid.update();
//}
this works,,,,