I would like to know how to access the textbox element in Edit Template.
Consider I am having 2 Text Boxes and a Button in Edit Template. OnClick of the Button I have to get the text value from one textbox and have to do the some logic on the back end and would give result on the other Textbox. Here my problem is I couldn't access the element id of the TextBox in the back end. Even Page.FindControls("txtboxid") (during the edit mode) returns a null and even I couldn't access the clientID of the control in the javascript as it returns a compilation error.
I hope you understand my query and let me know what is the solution for this,
Consider I am having 2 Text Boxes and a Button in Edit Template. OnClick of the Button I have to get the text value from one textbox and have to do the some logic on the back end and would give result on the other Textbox. Here my problem is I couldn't access the element id of the TextBox in the back end. Even Page.FindControls("txtboxid") (during the edit mode) returns a null and even I couldn't access the clientID of the control in the javascript as it returns a compilation error.
I hope you understand my query and let me know what is the solution for this,