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

[Solved] Grid Popup Editor

2 Answers 145 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Paul
Top achievements
Rank 1
Paul asked on 16 Jun 2011, 07:08 AM
Hi,

I'm not sure if this post should be here or in the "Window" control, but since the issues is related to a grid pop-up editor, I thought this was the best place...

I have a pop-up grid to edit an entity from my Grid. In the "EditorTemplates->MyObject.ascx" control used by the editor pop-up, I have made some formatting changes. Basically I've stripped it all back to a simple "<table>" element.

The form loads up normally and renders a tiny square window roughly in the center of the screen.

But If I alter the size of the root table element, the window enlarges accordingly, but its top-left position remains the same and the window runs off the right hand edge of the screen.

Essentially the centering functionality does not work. Since its invoked by the grid "edit" function, I believe from previous posts that this means I have little control over the pop-up windows state.

Is there any way to fix this issue ? I don't mind if it requires Javascript functions, but I'm just ata a loss to know how to address this.

Many thanks - Paul.

2 Answers, 1 is accepted

Sort by
0
Paul
Top achievements
Rank 1
answered on 16 Jun 2011, 07:46 AM
ALSO - I need to achieve this with Server binding somehow - we can not use AJAX...
So your example in "GridPopUpPosition" will not work... Is there any other way... ?
0
Atanas Korchev
Telerik team
answered on 16 Jun 2011, 08:10 AM
Hi Paul,

 We need to somehow reproduce this locally before we can suggest some workaround. Could you send a sample project which we can try? This code library project may be a good starting point.

Regards,
Atanas Korchev
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
Tags
Grid
Asked by
Paul
Top achievements
Rank 1
Answers by
Paul
Top achievements
Rank 1
Atanas Korchev
Telerik team
Share this question
or