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

[Solved] GridHTMLEditorColumn inner padding

3 Answers 89 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Peter
Top achievements
Rank 1
Peter asked on 25 Feb 2013, 04:47 PM
Hi,
I've got a GridHTMLEditorColumn that appears to be working fine, except the width of the control is shifting the right margin of the radGrid over the margin of background image (i.e. the grid in edit mode is much wider than the grid out of edit mode).

Within the GridHTMLEditorColumn control there is a significant amount of padding between the parent border and the child controls. Is there any way to set the amount of padding?

Thanks in advance,
Peter

3 Answers, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 28 Feb 2013, 01:30 PM
Hi Peter,

I am afraid we are not able to replicate the issue locally. Can you reproduce this behavior with any of our demos?
http://demos.telerik.com/aspnet-ajax/grid/examples/generalfeatures/columntypes/defaultcs.aspx

Please provide us the exact steps to reproduce the issue or open a support ticket to send us a sample runnable application demonstrating the erratic behavior. Thus, we will be able to further analyze the problem and provide a proper solution.

Kind regards,
Eyup
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Peter
Top achievements
Rank 1
answered on 06 Mar 2013, 06:06 PM
Hi,
I managed to track down the issue to a number of extra html elements that are embedded around the radEditor when it is used to edit a radGrid row in-line: reLeftVerticalSide, reRightVerticalSide, reWrapper_Center.Centre_top, and reWrapper_Centre.Centre_bottom. This was chewing up extra space in the grid row. I reduced the impact by removing a couple read-only columns on edit.

I have run out of time on that project and cannot devote any more time to the solution right now.

I expect that I could set the CSS for each of those elements, e.g. verticalside width to 0 and re_Wrapper_centre height to 0 to recover space. It also appears that these elements are not automatically added if the radEditor is used directly in a webpage, only with the GridHTMLEditorColumn.

Regards,
Peter
0
Eyup
Telerik team
answered on 11 Mar 2013, 08:56 AM
Hi Peter,

I am glad that you have managed to determine the cause of the issue.

Please feel free to provide us with a sample web site if you need further assistance.

All the best,
Eyup
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Grid
Asked by
Peter
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Peter
Top achievements
Rank 1
Share this question
or