An unhandled exception of type 'System.NotSupportedException' occurred

M

Mani

Hello,

any idea why I may be getting :
"An unhandled exception of type 'System.NotSupportedException' occurred in
PDA.exe".

I have a form with 6 panels interacting with each other. This happens to be
a prototype. So there is no underlying code except for panel.show(). There
are number of comboboxes and couple of datagrids.

Any directions will be highly appreciated..

Thanks,
MN
 
A

Alex Feinman [MVP]

You may be running in an issue with InitializeComponent getting too large.
To help with that and keep the form working in designer avoid setting
properties in designer for as much as possible - do it instead in a code
inside a separate method. This concerns such properties as font, text value,
alignment etc
 
M

Mani

Alex,
you are right, the initialize component is large. I didnt want to do any
'coding' as this was a prototype and the client only needed screenshots...
thanks for your help.
mani
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top