Welcome Guest Search | Active Topics | Sign In | Register

Dragging an eo:Dialog Options
Mark Rae
Posted: Saturday, November 15, 2008 4:23:48 AM
Rank: Advanced Member
Groups: Member

Joined: 11/13/2008
Posts: 43
Hi,

When the ConfineElementID property of an eo:Dialog is set to "window", it's not possible to drag even part of the eo:Dialog outside the window. E.g.

1) show a Dialog

2) click in the left of the Header

3) drag the Dialog to the right

Dragging stops as soon as the right border of the Dialog touches the right edge of the browser window. This is non-standard behaviour. Is it possible to continue moving the Dialog until the mouse cursor hits the right edge of the window?

Regards,

Mark
eo_support
Posted: Saturday, November 15, 2008 7:10:31 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi Mark,

That behavior is by design. The purpose of ConfineElementID is to confine the whole dialog within ConfineElement. If you do not wish that behavior, you can clear ConfineElementID.

It's hard to say which behavior is "standard" or "non-standard" though because browser traditionally works as a single window and popup dialog wasn't there originally. So when it comes to positioning, some users would like it this way and some user would like it that way. We try to maintain a balance to meet most users need but obviously we can not put everything in. Specifically, when ConfineElementID is not set, currently it does "stop" even the mouse cursor has hit the right edge.

Thank you very much for your feedback though. We will certainly think about it.

Thanks
Mark Rae
Posted: Saturday, November 15, 2008 7:21:23 AM
Rank: Advanced Member
Groups: Member

Joined: 11/13/2008
Posts: 43
eo_support wrote:
If you do not wish that behavior, you can clear ConfineElementID.

Perfect! Exactly what I was looking for.

Indidentally, clearing the ComfineElementID in the property window does not work - if you do that, the value will automatically revert to 'window'. You need to explicity put ConfineElementID="" in the markup.
eo_support
Posted: Saturday, November 15, 2008 7:42:09 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Mark Rae wrote:
Indidentally, clearing the ComfineElementID in the property window does not work - if you do that, the value will automatically revert to 'window'. You need to explicity put ConfineElementID="" in the markup.


It did work for us. But in anycase, ConfineElementID="" is the key. Glad that is working for you. :)


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.