Design Mode

  • Thread starter Thread starter Simon
  • Start date Start date
S

Simon

Hi,
How do I to check if the WebControl is in DesignMode or not ?

Thanks.

Simon.
 
Check Site attribute. If it is not null you are in design mode. Also if it
is not null you can get DesignMode via Site.DesignMode attribute
 
Hi Yunus
I have try, but the property Site is always set to null, also when the
WebControl is in DesignMode.
 

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

Back
Top