I have a button, a usercontrol which contains a gridview in a page.
How do I click the button in the page and cause its usercontrol’s gridview to change to a certain pageindex?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Provide a public method in your UserControl (f.e.
GotoPage(int index)). Then you can change it from your page byMyControl.GotoPage(111);.GotoPagecould be implemented as:and
BindGridcould be implemented as: