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

How to change the control width in batch mode edit.

1 Answer 78 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ashesh
Top achievements
Rank 1
Ashesh asked on 11 Dec 2013, 09:41 PM
I have a radgrid that is using edit mode ="batch" mode the problem is when i select the cell for edit the grid the controls width is too big and i cannot see my time picker so how can i change the width of the control.

see the attached image.
  

1 Answer, 1 is accepted

Sort by
0
Angel Petrov
Telerik team
answered on 16 Dec 2013, 03:04 PM
Hello Ashesh,

In order to resolve the problem you can subscribe to the PreRender event of the grid, obtain a reference to the picker and assign a width according to that of the column. For obtaining a reference to the picker you can use a combination of GetBatchEditorContainer and FindControl or the GetBatchColumnEditor of the MasterTableView. A sample demonstration of the suggested approaches can be found in this help article.

Regards,
Angel Petrov
Telerik
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 the blog feed now.
Tags
Grid
Asked by
Ashesh
Top achievements
Rank 1
Answers by
Angel Petrov
Telerik team
Share this question
or