ASP.Net Newbie question

  • Thread starter Thread starter ranch99ranch99
  • Start date Start date
R

ranch99ranch99

I read a piece of code like the following

<asp:TextBox id=myTextBox ...> </asp:TextBox>

Does asp in asp:TextBox is a namespace?
 
its an xml namespace reference not to be confused with a .net namespace.

-- bruce (sqlwork.com)
 
In C#, we can use using namepsace to avoid wring namespace.
I wonder for xml namespace, is there any similar usage?
 
In C#, we can use using namepsace to avoid wring namespace.
I wonder for xml namespace, is there any similar usage?
 
re:
!> <asp:TextBox id=myTextBox ...> </asp:TextBox>

Although that *looks* like an xml namespace reference,
it's actually a reference to an ASP.NET web server control.

Just because the naming convention for an ASP.NET web server control
*uses* xml-like syntax, doesn't mean that it's an xml namespace reference.

For one, the <asp: reference exists within aspx source code, which isn't xml-based.

web.config and machine.config are xml documents.
*.aspx source code files aren't.




Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
 
Back
Top