Infolink

 

Search This Blog

Showing posts with label html tags. Show all posts
Showing posts with label html tags. Show all posts

Jan 22, 2014

Prevent self closing html tags in .NET

I create an input element, it will self close. How can I prevent this?

<asp:TextBox id="txt1" runat="server"></asp:TextBox
SOLUTION
  1. Tools
  2. Options
  3. Text Editor
  4. HTML
  5. Formatting
  6. Uncheck the box for Auto insert close tag

Related Posts Plugin for WordPress, Blogger...