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

location of edit form when grid has scrolling

1 Answer 48 Views
Grid
This is a migrated thread and some comments may be shown as answers.
John Davis
Top achievements
Rank 2
John Davis asked on 12 Aug 2008, 07:05 PM
I am using a user control for a custom edit form as in
http://www.telerik.com/help/aspnet-ajax/grdcustomeditforms.html

The grid has scrolling enabled.
The edit button is at the far right, so one has to scroll all the way to the right to click the edit button.

In edit mode, briefly the custom edit form is visible on the left side of the grid, but then the grid scrolls to the far right (where it was when I clicked the edit button), so the custom edit form is not visible.  The user would have to scroll to the left to see it.

How can I make the custom edit form visible when the grid enters edit mode?

John

1 Answer, 1 is accepted

Sort by
0
John Davis
Top achievements
Rank 2
answered on 14 Aug 2008, 06:12 PM
I did not find any documentation but I found something that worked:

protected void RadGrid1_PreRender(object sender, EventArgs e)

{

RadGrid1.ClientSettings.Scrolling.ScrollLeft = "y";

Tags
Grid
Asked by
John Davis
Top achievements
Rank 2
Answers by
John Davis
Top achievements
Rank 2
Share this question
or