Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
0
Reply
Retain dynamic controls data after postback
vinod koti
May 25 2017 1:21 PM
280
Reply
Creating dynamic controls (Button, TextBox and RadioButtonList) in the GridView.
Adding values in TextBox and select appropriate radio button from the list.
When i click on Button (Click Event), postBack happens and first Page_Load () is called before hitting the Btn_Click() event, hence the values entered int he text box is getting cleared.
Since Dynamic controls are adding, for each and every post post, they have to be recreated with default values.
My Question : - On Button Click, before hitting the Page_Load, is there any other event where i can save the current textbox values and then restore after page load?
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
0
)
Next Recommended Forum
Registry Key Error In Asp.net Application
Gridview Update