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

Discussion in 'ASP .Net Building Controls' started by Ian, Jan 12, 2006.

  1. Ian

    Ian Guest

    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?
    Ian, Jan 12, 2006
    #1
    1. Advertising

  2. On 12 Jan 2006 12:40:11 -0800, Ian wrote:

    > 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

    --
    http://www.antoniob.com/
    remove antispam XremoveX from e-mail !
    Antonio Bakula, Jan 17, 2006
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    0
    Views:
    368
  2. Steve B.
    Replies:
    4
    Views:
    963
    Cheryl D Wise
    Jun 1, 2007
  3. Alexander Higgins
    Replies:
    3
    Views:
    1,075
    Teemu Keiski
    Jul 30, 2007
  4. Jürgen Müller

    custom server control: problem with designer

    Jürgen Müller, Aug 30, 2006, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    106
    Jürgen Müller
    Aug 30, 2006
  5. Alexander Higgins
    Replies:
    0
    Views:
    444
    Alexander Higgins
    Jul 21, 2007
Loading...

Share This Page