joe_pool_is
Contributor
Where can I find out how to do the things that I used with the older ASP.NET Framework? (v1.1)
For example, ValidationExpression and onfocus appear to no longer be supported in Visual Web Developer 2005. What have they been replaced with?
I used to use ValidationExpression to test email addresses in an <asp:textbox> field:
ValidationExpression="^([a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$"
Also, onfocus is a neat piece of javascript, but the new IDEs give a warning that this is not a valid attribute:
onfocus="if(this.value=='Enter Text Here')this.value='';
Are these functions gone, or is the IDE simply pointing out that they are not part of ASP.NET 2.0?
Will these still work when I post them to run on the server?
For example, ValidationExpression and onfocus appear to no longer be supported in Visual Web Developer 2005. What have they been replaced with?
I used to use ValidationExpression to test email addresses in an <asp:textbox> field:
ValidationExpression="^([a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$"
Also, onfocus is a neat piece of javascript, but the new IDEs give a warning that this is not a valid attribute:
onfocus="if(this.value=='Enter Text Here')this.value='';
Are these functions gone, or is the IDE simply pointing out that they are not part of ASP.NET 2.0?
Will these still work when I post them to run on the server?