S
Shankar Mani via DotNetMonster.com
Hi folks,
I am facing a problem while using a DataGrid.
I have a webform with a datagrid containing two text boxes for edit viz.,
countrycode and country name. Like wise I have two more text boxes for
Adding a new row in the grid, remember these all the four text boxes are
inside the Grid.
Also I am attaching Required Field Validators to all the 4 Text Boxes.
So when I do Edit the Required Field Validators fire for the Add text boxes
also(which I donot want to do),I want only the text boxes for the edit row
should be validated by keeping the text boxes for Addition silent(i mean
without validating them).
I used the text boxes for add outside the Grid that works fine, (i used the
textbox1.enable = false;
textbox2.enable = false;
but the requirement is that the text boxes should also come inside the Data
Grid.
Can anyone come up with a solution for this.Pls help !!!
Thanking you in Advance.
Regards
Shankar.M
I am facing a problem while using a DataGrid.
I have a webform with a datagrid containing two text boxes for edit viz.,
countrycode and country name. Like wise I have two more text boxes for
Adding a new row in the grid, remember these all the four text boxes are
inside the Grid.
Also I am attaching Required Field Validators to all the 4 Text Boxes.
So when I do Edit the Required Field Validators fire for the Add text boxes
also(which I donot want to do),I want only the text boxes for the edit row
should be validated by keeping the text boxes for Addition silent(i mean
without validating them).
I used the text boxes for add outside the Grid that works fine, (i used the
textbox1.enable = false;
textbox2.enable = false;
but the requirement is that the text boxes should also come inside the Data
Grid.
Can anyone come up with a solution for this.Pls help !!!
Thanking you in Advance.
Regards
Shankar.M