Dear Telerik,
Is it possible to put a limitation area when dragging a RadDock control?
I mean that the client does not like that he has the possibility to drag(move) RadDock in the right side or in the bottom side infinitely.
This is reproduce both in IE and FF.
I took a look of the Telerik site exmaple:http://mono.telerik.com/Dock/Examples/ClientSideEvents/DefaultCS.aspx and tried to do the same thing with a RadDock and it is reproduced.
I wrote the following js event for OnClientDrag
function dockDrag(dock, e)
{
var location = dock._getLocation();
var x=location.x;
var y=location.y;
if(y>maxAllowed)
{
location.y = maxAllowed;
dock._setLocation(location);
//or
dock.set_top(location.y);
}
}
but with no effects.
Could you please help me if there is a solution.
Thanks very much.
Is it possible to put a limitation area when dragging a RadDock control?
I mean that the client does not like that he has the possibility to drag(move) RadDock in the right side or in the bottom side infinitely.
This is reproduce both in IE and FF.
I took a look of the Telerik site exmaple:http://mono.telerik.com/Dock/Examples/ClientSideEvents/DefaultCS.aspx and tried to do the same thing with a RadDock and it is reproduced.
I wrote the following js event for OnClientDrag
function dockDrag(dock, e)
{
var location = dock._getLocation();
var x=location.x;
var y=location.y;
if(y>maxAllowed)
{
location.y = maxAllowed;
dock._setLocation(location);
//or
dock.set_top(location.y);
}
}
but with no effects.
Could you please help me if there is a solution.
Thanks very much.