Hi All,
I have a rad grid, and I enabled edit mode in place, but my grid has a lot of columns, on click edit button my page stretched and seems un acceptable, so anyway to control textboxs appears after click edit?
Please advise.
Regards
I have a rad grid, and I enabled edit mode in place, but my grid has a lot of columns, on click edit button my page stretched and seems un acceptable, so anyway to control textboxs appears after click edit?
Please advise.
Regards
6 Answers, 1 is accepted
0
Hello Raul,
You can assign column editor using ColumnEditorID. Here is an example:
<telerik:GridBoundColumn ColumnEditorID="GridTextBoxColumnEditor1" DataField="ShipName" HeaderText="ShipName" UniqueName="ShipName">
</telerik:GridBoundColumn>
...
<telerik:GridTextBoxColumnEditor ID="GridTextBoxColumnEditor1" runat="server">
<TextBoxStyle Width="100px" />
</telerik:GridTextBoxColumnEditor>
...
Regards,
Vlad
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
You can assign column editor using ColumnEditorID. Here is an example:
<telerik:GridBoundColumn ColumnEditorID="GridTextBoxColumnEditor1" DataField="ShipName" HeaderText="ShipName" UniqueName="ShipName">
</telerik:GridBoundColumn>
...
<telerik:GridTextBoxColumnEditor ID="GridTextBoxColumnEditor1" runat="server">
<TextBoxStyle Width="100px" />
</telerik:GridTextBoxColumnEditor>
...
Regards,
Vlad
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Raul
Top achievements
Rank 1
answered on 16 Dec 2008, 12:24 PM
Hi Vlad,
when I try to use your code I put it in <columns> tag but it shows error using class GridTextBoxColumnEditor so what to do to use this class? use any DLL ??? or put in other tag?
Please advise
Regards
when I try to use your code I put it in <columns> tag but it shows error using class GridTextBoxColumnEditor so what to do to use this class? use any DLL ??? or put in other tag?
Please advise
Regards
0
Hi Raul,
GridTextBoxColumnEditor (and all other column editors) are available as separate controls in the Visual Studio Toolbox - you should use these controls outside of the grid.
Regards,
Vlad
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
GridTextBoxColumnEditor (and all other column editors) are available as separate controls in the Visual Studio Toolbox - you should use these controls outside of the grid.
Regards,
Vlad
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Raul
Top achievements
Rank 1
answered on 16 Dec 2008, 01:44 PM
Thanx man it's ok now
0
Princy
Top achievements
Rank 2
answered on 17 Dec 2008, 01:24 PM
Hi Raul,
You can also refer the following help article to get more details about column editors.
Declarative style editors
Princy.
You can also refer the following help article to get more details about column editors.
Declarative style editors
Princy.
0
Raul
Top achievements
Rank 1
answered on 18 Dec 2008, 10:14 AM
Thanx man
I'll try it
I'll try it