Coding.NET- creating web controls

 

Press Ctrl+Enter to quickly submit your post
Quick Reply  
 
 
  
 From:  Ally  
 To:  ALL
35175.1 
Argh.

So I'm doing some freelance stuff at the moment. I'm determined to not get involved in the site as a whole because it's a hideous mess I can barely get a grasp of, so I've decided that the best way forward is for me to wrap all the work I'm doing into self-contained controls that they can drop in themselves.

Thing is, I've not really done this before. I've got the actual control sorted, but it's the designer stuff I'm having issues with. I've been following this example, but whenever I look at the control in the designer it says

quote:
The type initializer for 'EO.Web.Internal.ji' threw and exception


Now, I know this is because I've based the control on another third-party control we're using (hence the EO.Web namespace) but how can I view a trace for an exception that happens in the designer?!
0/0
 Reply   Quote More 

 From:  THERE IS NO GOD BUT (RENDLE)  
 To:  Ally     
35175.2 In reply to 35175.1 

Damn, I started replying to this yesterday morning and got distracted.

 

Anyway, if you're still having trouble, you can load the control's source code in one instance of Visual Studio, then use the Debug -> Attach to process dialog to attach to another instance of Visual Studio. Then when the exception is thrown in the designer in the second instance, you should get the full exception debug experience in the first.


0/0
 Reply   Quote More 

Reply to All    
 

1–2

Rate my interest:

Adjust text size : Smaller 10 Larger

Beehive Forum 1.5.2 |  FAQ |  Docs |  Support |  Donate! ©2002 - 2024 Project Beehive Forum

Forum Stats