HTML Input Box Dynamically set default value
-
I created a Web User Control that contains an HTML Input Box. On my web page I have added this Web User Control. In the page_load of the code behind of my web page how can I set a default value to the Input box?
Set the value property of the input box in user control. Or do you want to set it at page load?
Coding C# ExciteTemplate
-
Set the value property of the input box in user control. Or do you want to set it at page load?
Coding C# ExciteTemplate
-
I created a Web User Control that contains an HTML Input Box. On my web page I have added this Web User Control. In the page_load of the code behind of my web page how can I set a default value to the Input box?
your html controller: > server page : UserController.somepublic=yourValue;
-
your html controller: > server page : UserController.somepublic=yourValue;
input type="Button" text=<%some public%>
-
Create a public set property in the user control and then use it from main page to set the value in textbox.
Coding C# ExciteTemplate