Hello,
Can someone tell me where can I find a list of the characters which I
can use in a web control ID?
Can I for example do:
MyLabel.ID = "Namespace#Control_Type"
Thanks,
Miguelshould be a legal xml id. (note: leading special chars are not allowed - ms
breaks this rule)
reg expression: [A-Za-z][A-Za-z0-9:_.-]*
if the id is used with a runat server, then it needs to be a valid .net
identifier.
-- bruce (sqlwork.com)
"shapper" <mdmoura@.gmail.com> wrote in message
news:1161701364.541401.15700@.k70g2000cwa.googlegroups.com...
> Hello,
> Can someone tell me where can I find a list of the characters which I
> can use in a web control ID?
> Can I for example do:
> MyLabel.ID = "Namespace#Control_Type"
> Thanks,
> Miguel
>
Showing posts with label ican. Show all posts
Showing posts with label ican. Show all posts
Saturday, March 31, 2012
Set Asp.Net web control ID
Hello,
Can someone tell me where can I find a list of the characters which I
can use in a web control ID?
Can I for example do:
MyLabel.ID = "Namespace#Control_Type"
Thanks,
Miguelshould be a legal xml id. (note: leading special chars are not allowed - ms
breaks this rule)
reg expression: [A-Za-z][A-Za-z0-9:_.-]*
if the id is used with a runat server, then it needs to be a valid .net
identifier.
-- bruce (sqlwork.com)
"shapper" <mdmoura@.gmail.comwrote in message
news:1161701364.541401.15700@.k70g2000cwa.googlegro ups.com...
Quote:
Originally Posted by
Hello,
>
Can someone tell me where can I find a list of the characters which I
can use in a web control ID?
>
Can I for example do:
>
MyLabel.ID = "Namespace#Control_Type"
>
Thanks,
>
Miguel
>
Subscribe to:
Posts (Atom)