That looks nice but how do I reference it in the code.. I would like to have a function in the HTML... placeholders perhaps? This is what I want (or think I want)
<tr>
<td>
<%=Function.MakeControl(id, text, class, required)%>
</td>
</tr>
I am amazed at how easily I can understand C# coming from a strictly asp non-javascript background. So much so that im thinking of learning C# just to add that to my resume :)
Well as I stated in my post above yours, im a newb but what I discovered after hours of troubleshooting was when trying to dynamically assign a regular expression to a control would not work at all..
I tried
<asp:RegularExpressionValidator id="RegExptxt" ValidationExpression=myexp...
Im slowly but surely making the transition to asp.net form ASP. And its frusturating to have to look things up for hours every time I want to do something. I could not find any info on this.
In my old asp days I had a function to create a textbox dynamically like
Function TextBox(Name...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.