Click here to Skip to main content
15,888,330 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
C#
Response.Redirect(Request.CurrentExecutionFilePath + "?Page=" + (pos + 1));
            AddShowRum.Visible = false;
           
            GridData.Visible = true;
Posted
Updated 6-Dec-12 19:21pm
v2
Comments
choudhary.sumit 7-Dec-12 1:20am    
what you want to do actually??
[no name] 7-Dec-12 1:23am    
What is ERROR ??
Member 9613701 7-Dec-12 1:26am    
I have two panel on one page when i click on link btn one panel is hide and one iss enable so when i click on next btn on the panel which is visible in that page the panel which i want to hide that is not hided and the panel which i want to show visible true that also not working..
Member 9613701 7-Dec-12 1:33am    
no actulay that grid listing is on click event of link btn but when that grid is visible true on that page there are twu btns next and previous so on that click event of btns i used
Response.Redirect(Request.CurrentExecutionFilePath + "?Page=" + (pos + 1));
AddShowRum.Visible = false;

GridData.Visible = true;
above code so on that panel is not hided

1 solution

C#
if (!pds.IsFirstPage)
                {
          linkPrev.NavigateUrl = Request.CurrentExecutionFilePath + "?page=" + (currentPage - 1);
                }
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900