I want to implement a custom routine that is triggered by a button on a pop-up editor, from a grid.
The routine needs to be passed values that the user has entered into the form (but before the form has been submitted) . How can I obtain these values from a function called from a buttons onclick handler?
I know that its possible to reference controls from the grids edit event, using the e.container object, but how do I do this outside of the edit event?
e.g:- I have a text box defined:-
How can I get the value typed into this from a function (not the edit event handler)?
The routine needs to be passed values that the user has entered into the form (but before the form has been submitted) . How can I obtain these values from a function called from a buttons onclick handler?
I know that its possible to reference controls from the grids edit event, using the e.container object, but how do I do this outside of the edit event?
e.g:- I have a text box defined:-
<p> <span class="fieldlabel2"> Target Table: </span> @Html.TextBoxFor(c => c.TargetTable, new { style = "width:200px", Maxlength = 50 }) @Html.ValidationMessageFor(c => c.TargetTable) </p>