Hi, When I am designing a web page I used some Html input controls(input type text,button etc.) in html view.I have given id,name,value fiels for these controls.And also added runat="server" attribute.Now my doubt is how can we access these controls in code behind file. For example a button name(id)=btnsubmit.For this i hav given a function name for onclick="function1()" which i wrote in code behind file.But that function is not responsing when the button was clicked.And also when i want to read or assign text for the input type text box, It is not working.What could be wrong? Please any one u help to solve this ,as it is urgent. I am not comfortable with javascript.
Thanks in advance. Kalyan.
|
No responses found. Be the first to respond and make money from revenue sharing program.
|