This is a migrated thread and some comments may be shown as answers.

Rad Grid with Drop Down

1 Answer 67 Views
Grid
This is a migrated thread and some comments may be shown as answers.
mani
Top achievements
Rank 1
mani asked on 12 Mar 2009, 05:45 PM
Hi
       i called the user control rad grid Edit mode... The user control retrieve code for code behind in C# with Asp.Net. the usercontrol to have some dropdown with postback for example if u choose the country.. in another dropdown showing state... my problem is when i change the some data in usercontrol textbox after i change the dropdown country that time the modified record is disapper and old record is showing... simply i told the page is post back how can i solve this problem

Regards
G. manikandan

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 13 Mar 2009, 05:47 AM
Hello Manikandan,

On a postback, generally data is recalled from the ViewState. So, unless the ViewState is disabled, the modified text would persist. So ensure that you have not set the EnableViewState property of the grid or page to false.

Thanks
Princy.
Tags
Grid
Asked by
mani
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or