Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Building Controls > Custom Controls and Absolute Positioning

Reply
Thread Tools

Custom Controls and Absolute Positioning

 
 
Rick Strahl [MVP]
Guest
Posts: n/a
 
      12-11-2006
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 ---

 
Reply With Quote
 
 
 
 
Rick Strahl [MVP]
Guest
Posts: n/a
 
      12-11-2006
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]" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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 ---
>


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Web Custom Control Absolute positioning in VS 2008 CaptnKebec ASP .Net Building Controls 0 11-30-2007 05:23 PM
ASP.NET Custom WebControl Absolute Positioning Nick Goloborodko ASP .Net Web Controls 1 02-22-2005 07:24 AM
ASP.NET Custom WebControl Absolute Positioning Nick Goloborodko ASP .Net Building Controls 3 02-22-2005 07:21 AM
CSS positioning : relative, fixed, absolute and liquid layouts KatB HTML 8 02-14-2005 11:37 PM
absolute positioning and frames Jules HTML 6 11-07-2003 07:39 AM



Advertisments