I create an input element, it will self close. How can I prevent this?
<asp:TextBox id="txt1" runat="server"></asp:TextBox
SOLUTION
- Tools
- Options
- Text Editor
- HTML
- Formatting
- Uncheck the box for Auto insert close tag
There are many other option for HTML formatting.
If you are using Visual Studio 2010, you can go to :
Tools > Options > Text Editor > HTML > Formatting > Tag Specific Options
Related Posts : .Net,
ASP.NET,
Html,
html tags,
Prevent self closing,
VB.NET
No comments:
Post a Comment