p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   ASP.NET 1.x and 2.0 Application Design (http://p2p.wrox.com/forumdisplay.php?f=67)
-   -   Custom Controls (http://p2p.wrox.com/showthread.php?t=11615)

bmains April 8th, 2004 03:46 PM

Custom Controls
 
Hello,

I seem to be forever having problems with Custom Controls. Here is some of my scenarios:

1. Everytime I opened a project with a custom control that used a type converter, it said "Error Creating Control", and I deleted/added it and it worked fine.
2. Sometimes making some minor changes (I researched and it appeared fine) to a control then recompiled the project, I got "Error Creating Control." I deleted it and added it again, dropped the reference and added it, etc. and it still said that.

Has anyone else had the amount of problems with custom controls? I consider just dropping them and copying/pasting code because it feels like more of a hassle trying to get them to work than to manually create the code.

Anybody have comments/thoughts about this?

Thanks,

Brian Mains

Imar April 8th, 2004 05:26 PM

Hi Brian,

Yeah, they can be a pain, but it can also be really cool when they work.
I created a number of custom controls, and it always was pretty difficult to get them to work; especially design-time support. But once they did, they really worked great.
One book I found very useful is "Developing Microsoft ASP.NET Server Controls and Components" by Kothari and Datye (Microsoft Press).



---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to: Blue Lines by Massive Attack (Track 3 from the album: Blue Lines)



All times are GMT -4. The time now is 06:59 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.