V
vaib
Hi all,
I have a question to ask regarding the GridView control.
Suppose I have a GridView that has two colums only. The first column
is, say, 'Name Of Control' that displays the names of some controls
( 'textboxABC', 'calenderCED', 'dropdownlistXYZ', etc ) but we do not
know their order - 'textboxABC' may come before 'calenderCED' and so
on.
The second column of the GridView gives the user the facility to enter
value for that control - for examply, we have a textbox in front of
'textboxABC' where the user may enter some value.
But we do not beforehand where a control's name and the corresponding
second column would appear ( as i mentioned earlier also).
Problem - Below the GridView is a button. On the click of the button I
want to fetch the value that the user entered for some/any/all control
(s). I want to do this using server-side code.
No IDs are available for the textbox (or any other control rendered in
the second column) since they are being rendered dynamically.
Any guesses ? Pretty desperate.
Thanking in anticipation
- Vaibhav
I have a question to ask regarding the GridView control.
Suppose I have a GridView that has two colums only. The first column
is, say, 'Name Of Control' that displays the names of some controls
( 'textboxABC', 'calenderCED', 'dropdownlistXYZ', etc ) but we do not
know their order - 'textboxABC' may come before 'calenderCED' and so
on.
The second column of the GridView gives the user the facility to enter
value for that control - for examply, we have a textbox in front of
'textboxABC' where the user may enter some value.
But we do not beforehand where a control's name and the corresponding
second column would appear ( as i mentioned earlier also).
Problem - Below the GridView is a button. On the click of the button I
want to fetch the value that the user entered for some/any/all control
(s). I want to do this using server-side code.
No IDs are available for the textbox (or any other control rendered in
the second column) since they are being rendered dynamically.
Any guesses ? Pretty desperate.
Thanking in anticipation
- Vaibhav