TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
vinod koti
NA
2
1.4k
Retain dynamic controls data after postback
May 25 2017 1:21 PM
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?
Reply
Answers (
0
)
Registry Key Error In Asp.net Application
Gridview Update