Adding Intellisense to your custom ASP.NET server controls

by Digvijay 12. August 2008 02:23

HTML Editor Intellisense can be added by going through the next steps

1.) Create XSD file that describe your web control

2.) Add to your web application local folder the XSD file and name it as your web controls library (TagPrefix)

3.) Add to your web form body the following attribute – 

xmlns:yourControlLibPrefixName ="urn:http://schemas.myCompany.org/myTechnology"

The attribute value should be the same as it is in the XSD file targetNamespace attribute

4.) yourControlLibPrefixName - Should change to your control library (TagPrefix) name.

5.) That’s all

BTY – ASP Web Controls are all define in asp.xsd file in the framework schema folder. The XSD definitions for grid, list box and so on located there. Its nice to open the file and see how Microsoft defines the elements of the ASP.NET controls.

XSD Web Control Generator Tool:

In order to create XSD for your custom web controls intellisense definitions I recommend on the following XSD generator supplied by blue vision software- I find it today using Google - it really cool and free!!!

Tags:

ASP .NET | Web Controls

 

About Digvijay

  Digvijay Chauhan
I am a developer living in Stockholm, Sweden and I love to program and work on cutting edge technologies in the Microsoft Technology space.

LinkedIn Twitter StackOverflow

Certifications

Digvijay Chauhan Microsoft Certification Logo

Other Pages

RecentPosts

Calendar

<<  February 2012  >>
MoTuWeThFrSaSu
303112345
6789101112
13141516171819
20212223242526
2728291234
567891011

View posts in large calendar

Most comments

Live Traffic

Live Traffic Feed
  Västra Frölunda, Vastra Gotaland arrived from digvijay.eu on "blank_page"

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

Translate