Rob Garrett - Blogs

Welcome to Rob Garrett - Blogs Sign in | Join | Help
in Search
Google

Software/Technology Discussion

Software and Technology Tid-bits

atlas:DragOverlayExtender

I was looking into the atlas:DragOverlayExtender control today and puzzling over why whenever I drag a panel around the browser the the panel is always redrawn at the starting position when I let go of the mouse.  Try adding the following code as an ATLAS ASP.NET page, running the project and dragging the panel around...

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>



Untitled Page












Please DragMe around



Enabled="true" />





It seems that ATLAS will only enable you to drop the panel within a browser area depicted by the amount of HTML rendered. In the above case, the page has very little content between the body tags (most of the page is whitespace), so the panel cannot be dropped far from the start location. Adding a style to the body tag and setting the height to 100% seems to fix the problem...

Share this post: Email it! | bookmark it! | digg it! | reddit!
Published Wednesday, May 17, 2006 9:37 PM by Rob Garrett

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

 

Anthony said:

I had this problem, was driving me nutts. Thanks for your post, the solution makes sense and works.

Reguards
June 16, 2006 7:14 AM
 

Phil Steel said:

I had a similar problem where despite the fact there was valid html further down the page, it would not drag beyond a certain point.

Turned out that omitting a DTD directive at the top of the page causes an issue, specifically:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

Thanks for help,
August 30, 2006 5:45 AM
 

TFG said:

Thanks!!!!!! I was fighting with this problem for hours. That height trick made it work.
September 23, 2006 11:13 PM

Leave a Comment

(required) 
(optional)
(required) 
Submit

Blurb


Head Shot
Rob Garrett is a British Expat living in Maryland USA. Rob is a trained software engineer and experienced in Windows .NET development.

Rob enjoys listening to Rock music, posting to blogs, driving in the country with the sunroof open, beer (not in conjunction with country driving) and spending time with his family.

This Blog

Syndication

Powered by Community Server, by Telligent Systems