This is a migrated thread and some comments may be shown as answers.

How to disable drag-ability on Edit modal popup

2 Answers 230 Views
Grid
This is a migrated thread and some comments may be shown as answers.
kman
Top achievements
Rank 1
kman asked on 17 Apr 2010, 04:09 AM
I have a RadGrid setup so that the Edit is done in the modal popup.

Is there anyway to disable the "draggability" of the popup?

I want the popup window to stay where it is displayed initially.  I don't want the users to be able to drag it around. 

(Don't ask - long story)  :)

Any help would be appreciated-

Thanks-

2 Answers, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 19 Apr 2010, 10:15 AM
Hello kman,

Basically, with such a setup, there is no easy way to handle this setup.
One possible option would be to use a window editing setup:

http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandwindow/defaultcs.aspx?product=grid

where you can directly set the behavior, through the behaviors collection of the control:

http://demos.telerik.com/aspnet-ajax/window/examples/behaviors/defaultcs.aspx

I hope this information helps.

All the best,
Yavor
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
John
Top achievements
Rank 1
answered on 03 Jan 2020, 03:57 PM

try adding css - someething like this:

<style>
.RadGrid_Metro .rgEditForm .rgHeader:first-child {display:none !important;}
</style>

Tags
Grid
Asked by
kman
Top achievements
Rank 1
Answers by
Yavor
Telerik team
John
Top achievements
Rank 1
Share this question
or