Professional Web Applications Themes

Question: User control shows up at bottom / can't "draw" it - ASP.NET General

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!...

  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. #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-SPAMgo-intech.com> wrote in message
    news:eS9sSkYRDHA.3144tk2msftngp13.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

  3. #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" <kevinSPAMMERStakempis.com> wrote in message
    news:uEBWQuYRDHA.2148TK2MSFTNGP10.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-SPAMgo-intech.com> wrote in message
    > news:eS9sSkYRDHA.3144tk2msftngp13.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

Similar Threads

  1. Change user role from "Publisher" to "Administrator"
    By trialbomfunknumber2 in forum Macromedia Contribute Connection Administrtion
    Replies: 1
    Last Post: September 19th, 06:51 AM
  2. "Object reference not set" when loading a textbox in a user control
    By Monty in forum ASP.NET Building Controls
    Replies: 5
    Last Post: March 30th, 08:48 PM
  3. Replies: 0
    Last Post: September 1st, 06:51 AM
  4. "Login failed for user 'sa'" datagrid control - SqlDataAdapter
    By Jerry Higgins in forum ASP.NET Data Grid Control
    Replies: 0
    Last Post: April 20th, 08:19 PM
  5. "Weld" command in "Corel Draw"
    By Ayres_Ben@adobeforums.com in forum Adobe Illustrator Windows
    Replies: 2
    Last Post: April 14th, 07:08 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not 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