Custom Controls and Absolute Positioning

Discussion in 'ASP .Net Building Controls' started by Rick Strahl [MVP], Dec 11, 2006.

  1. Hi all,

    I have a couple of custom controls that several users of an application are
    using and got a request from one of the guys that they're using Absolute
    positioning and well, turns out my controls don't work right in the designer
    with Absolute Positioning.

    All Controls are based on WebControl

    The control renders properly if the coordinates are set in the Style of the
    control, but the control cannot be dragged around the page.

    Currently the control uses plain Render() logic to render in the designer,
    but just for kicks I also set up a ControlDesigner which doesn't seem to
    help.

    What do I need to do to get the control 'positionable' in Absolute
    positioning?

    +++ Rick ---
    Rick Strahl [MVP], Dec 11, 2006
    #1
    1. Advertising

  2. Never mind... <s> turns out I had some extra tags around the control that
    were causing the control not be draggable.

    +++ Rick ---




    "Rick Strahl [MVP]" <> wrote in message
    news:...
    > Hi all,
    >
    > I have a couple of custom controls that several users of an application
    > are using and got a request from one of the guys that they're using
    > Absolute positioning and well, turns out my controls don't work right in
    > the designer with Absolute Positioning.
    >
    > All Controls are based on WebControl
    >
    > The control renders properly if the coordinates are set in the Style of
    > the control, but the control cannot be dragged around the page.
    >
    > Currently the control uses plain Render() logic to render in the designer,
    > but just for kicks I also set up a ControlDesigner which doesn't seem to
    > help.
    >
    > What do I need to do to get the control 'positionable' in Absolute
    > positioning?
    >
    > +++ Rick ---
    >
    Rick Strahl [MVP], Dec 11, 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. Jules
    Replies:
    6
    Views:
    1,336
    John C
    Nov 7, 2003
  2. KatB
    Replies:
    8
    Views:
    4,168
  3. Nick Goloborodko

    ASP.NET Custom WebControl Absolute Positioning

    Nick Goloborodko, Feb 21, 2005, in forum: ASP .Net Building Controls
    Replies:
    3
    Views:
    199
    Steven Cheng[MSFT]
    Feb 22, 2005
  4. CaptnKebec

    Web Custom Control Absolute positioning in VS 2008

    CaptnKebec, Nov 30, 2007, in forum: ASP .Net Building Controls
    Replies:
    0
    Views:
    747
    CaptnKebec
    Nov 30, 2007
  5. Nick Goloborodko

    ASP.NET Custom WebControl Absolute Positioning

    Nick Goloborodko, Feb 21, 2005, in forum: ASP .Net Web Controls
    Replies:
    1
    Views:
    133
    Steven Cheng[MSFT]
    Feb 22, 2005
Loading...

Share This Page