Question: User control shows up at bottom / can't "draw" it

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default Question: User control shows up at bottom / can't "draw" it

    I created a VB.NET user control which I now want to use in my ASP.NET
    webform. The uc shows up fine in my toolbar, but when I click on it it goes
    to the bottom of the form, rather than letting me 'draw' it. (Kind of like
    what happens when you place a Timer control on a form, rather than a Text
    Box control.)

    Ideas?

    Thanks!


    VB Programmer Guest

  2. Similar Questions and Discussions

    1. "Object reference not set" when loading a textbox in a user control
      Hi All, I have a user control that shows name and address for a person in a text box. When the page hosting the control loads up, it calls a...
    2. How to stop CT3 from adding style="margin-bottom: 0"
      How can I stop CT3 from adding style='margin-bottom: 0' to h1, h2,and p tags. I set up templates in DWMX 2004. I have locked and editable regions....
    3. "Login failed for user 'sa'" datagrid control - SqlDataAdapter
      I added a SqlDataAdapter to a web form, created a data connection, and generated a dataset. I then connected it to a DataGrid control. When I do...
    4. "Weld" command in "Corel Draw"
      Hi there: I'm new to Illustrator but have used Corel Draw in the past. In Corel Draw there was a "Weld" command. What this did was create a drawing...
  3. #2

    Default Re: Question: User control shows up at bottom / can't "draw" it

    What you want is a custom Designer for your Control. You can read all about
    how to build custom Designers for your Controls at the following URL:

    [url]http://msdn.microsoft.com/library/en-us/cpguide/html/cpcondesign-timeforwebforms.asp?frame=true[/url]

    HTH,

    Kevin Spencer
    Microsoft FrontPage MVP
    Internet Developer
    [url]http://www.takempis.com[/url]
    Some things just happen.
    Everything else occurs.

    "VB Programmer" <growNO-SPAM@go-intech.com> wrote in message
    news:eS9sSkYRDHA.3144@tk2msftngp13.phx.gbl...
    > I created a VB.NET user control which I now want to use in my ASP.NET
    > webform. The uc shows up fine in my toolbar, but when I click on it it
    goes
    > to the bottom of the form, rather than letting me 'draw' it. (Kind of
    like
    > what happens when you place a Timer control on a form, rather than a Text
    > Box control.)
    >
    > Ideas?
    >
    > Thanks!
    >
    >

    Kevin Spencer Guest

  4. #3

    Default Re: Question: User control shows up at bottom / can't "draw" it

    The only way to make my VB.NET user control show up in design time (on a
    webform) is to make a "custom designer"?

    If I don't make a custom designer and simply let it go to the bottom at
    design time, will it sill show up fine in runtime?

    Thanks!

    "Kevin Spencer" <kevin@SPAMMERSSUCKtakempis.com> wrote in message
    news:uEBWQuYRDHA.2148@TK2MSFTNGP10.phx.gbl...
    > What you want is a custom Designer for your Control. You can read all
    about
    > how to build custom Designers for your Controls at the following URL:
    >
    >
    [url]http://msdn.microsoft.com/library/en-us/cpguide/html/cpcondesign-timeforwebforms.asp?frame=true[/url]
    >
    > HTH,
    >
    > Kevin Spencer
    > Microsoft FrontPage MVP
    > Internet Developer
    > [url]http://www.takempis.com[/url]
    > Some things just happen.
    > Everything else occurs.
    >
    > "VB Programmer" <growNO-SPAM@go-intech.com> wrote in message
    > news:eS9sSkYRDHA.3144@tk2msftngp13.phx.gbl...
    > > I created a VB.NET user control which I now want to use in my ASP.NET
    > > webform. The uc shows up fine in my toolbar, but when I click on it it
    > goes
    > > to the bottom of the form, rather than letting me 'draw' it. (Kind of
    > like
    > > what happens when you place a Timer control on a form, rather than a
    Text
    > > Box control.)
    > >
    > > Ideas?
    > >
    > > Thanks!
    > >
    > >
    >
    >

    VB Programmer Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139