Is it possible to do this? Server Control Designer help needed......

I

Ian

I have created a server control which relies heavily on an image
generating httpHandler. This in-turn relies on the developer adding a
few lines into the web.config / machine.config.

What I would like is to somehow test whether the config file has this
httpHandler. If not then give the developer some error message to
advise them how to correct it. Ultimately could the control add the
lines to the web.config???

The control designer would be an excellent place to do this, although
its unlikely I will be that lucky.

I did see a menu server control from devMansion which when dropping the
control onto the designer form for the first time automatically
generated folder structure and js code, which I thought was really
cool, but can this be done?
 
A

Antonio Bakula

I have created a server control which relies heavily on an image
generating httpHandler. This in-turn relies on the developer adding a
few lines into the web.config / machine.config.

What I would like is to somehow test whether the config file has this
httpHandler. If not then give the developer some error message to
advise them how to correct it. Ultimately could the control add the
lines to the web.config???

The control designer would be an excellent place to do this, although
its unlikely I will be that lucky.

I did see a menu server control from devMansion which when dropping the
control onto the designer form for the first time automatically
generated folder structure and js code, which I thought was really
cool, but can this be done?

check this


http://www.antoniob.com/projects/PDesignTimeTools.aspx
http://www.antoniob.com/projects/PStreamImage.aspx
 

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

Members online

Forum statistics

Threads
473,744
Messages
2,569,481
Members
44,900
Latest member
Nell636132

Latest Threads

Top