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

Grid Edit Mode user control postback

1 Answer 86 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:40 PM
Hi
      I called the user control with in the grid. when i click the edit mode the data's are showing properly. I can write the retrieve code in Code behind C#.  my problem is... in usercontrol some fields are required ok.. I change some data in Edit mode.. but i cannot type the two required fields... When i Click the Update Button... that time the required filed message is  not showing and also  the old data is showing... currently modified data's is not showing..


1 Answer, 1 is accepted

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

This can possibly happen when you have set a validation group for certain fields in the grid and if the update button is not included in the same group or also if you have set the CausesValidation property for the UpdateButton to false. Make sure that this does not happen in your case.

Thanks
Princy.


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