Click here to Skip to main content
16,020,313 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a problem. in my page there is a search (textbox + button ) and a gridview.
In page load I bind gridview with data and in gridview there are 1 checkbox and 2 textboxes. All I need to do is when I click a checkbox or enter some values in textbox . it should maintain state when I search and rebind grid or go to some other page of gridview. checkbox selected or textbox with values should be there.
Posted
Updated 7-Mar-14 5:03am
v2
Comments
Krunal Rohit 7-Mar-14 11:05am    
Okay, Go ahead.

Where's your code ? What have you tried ? Where are you stuck ??

-KR

1 solution

use session to maintain the values of checkboxes and textboxes, see example : maintaining-state-of-checkboxes-while-paging[^]
 
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