Last post Aug 13, 2010 06:17 AM by NeCroFire
Aug 11, 2010 09:29 AM|NeCroFire|LINK
I want to create a completely new control instead of extending an existing one. I have found a few articles on the net, but it's not exactly what I'm looking for. I've created Custom User controls in Win Forms before and thought it would be somewhat the
same in ASP.NET, but it does not seem so. Many articles talk about a Web Control Library template which doesn't seem to be available when creating a New Project, but is available when adding a New item to an existing ASP.NET forms project in VS2008.
I have extended control by using the ASP.NET Server Control template. But all you get with is a .cs file. How do design a brand new control with that?
What I want is to create a control from scratch, with postback functionality, and that compiles to a DLL. Am I going about this all wrong? Should I rather be looking at the ASP.NET Server Control Project Template? If so, How do I create a brand new control
with the ASP.NET Server Control?
I thought I had an idea of how to do this, but after reading a few articles I'm lost.
I'm working with VS2008 SP1, .net 3.5, and C#.
Any help would be appreciated.
Aug 11, 2010 10:02 AM|sirdneo|LINK
Go through this article, it will give you a good start:-
Feel free to post if you find further issues.
Aug 13, 2010 06:17 AM|NeCroFire|LINK
After gather clues from numerus articles I was finally able to figure out how to create a control from scratch and implement my own custom postback.