Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Designer Control

Reply
Thread Tools

Designer Control

 
 
David Brandenburg
Guest
Posts: n/a
 
      07-22-2004
I have created a ASP server control with my own designtime support. When I
add the control to a web form I am getting the error 'Failed to create the
Designer"

I have checked to make sure my namespace and class names are correct in the
Designer Attribute. I have changed the designer to make it simpler but
still have the same error. If I remove the designtime support the control
loads fine.

Any help would be appreciated.


 
Reply With Quote
 
 
 
 
Josh
Guest
Posts: n/a
 
      07-22-2004
Make sure you dont have the controls source code open at the time you try to
open in anoother project, this caused me a problem a while back


 
Reply With Quote
 
 
 
 
Mythran
Guest
Posts: n/a
 
      07-22-2004

"Josh" <> wrote in message
news:...
> Make sure you dont have the controls source code open at the time you try to
> open in anoother project, this caused me a problem a while back
>
>


Sounds like you have a problem in your GetDesignTimeHtml() method. Wrap the
contents of GetDesignTimeHtml() with a Try ... Catch statement (try...catch),
then use a MsgBox or MessageBox.Show to show the error in the catch (if there is
an error). This way, you can see the error. There is a method you can override
in the designer that is meant for returning error html during design time....you
may want to do that as a more permanent solution...we did.

Mythran


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Designer Property Serialization -- Sycning inner properties to designer property window Alexander Higgins ASP .Net Building Controls 3 07-30-2007 09:09 PM
Designer Property Serialization -- Sycning inner properties to designer property window Alexander Higgins ASP .Net Web Controls 0 07-21-2007 12:58 AM
Sharepoint Designer/ Expression Web Designer : adding item in toolbox ? Steve B. ASP .Net 4 06-01-2007 04:29 AM
How do I get a custom Control Designer to write to the HTML of my control? Don ASP .Net Web Controls 1 07-18-2005 11:16 PM
How do I get a custom Control Designer to write to the HTML of my control? Don ASP .Net Building Controls 1 07-18-2005 11:16 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57