I am regular user of rad controls now in my project i want following options in radgrid.
1. I am not able to make textbox multiline placed inside a grid cell(it should be cell wise as we have different controls in each grid cell) with scroll option.
2. Can we have multiselect dropdown list in grid cell.
And i am dynamically loading controls in each grid cell @ runtime.
Please suggest me solutions for this.
5 Answers, 1 is accepted
There is an example in the project listed here on how to create custom cells, and actually a multi line textbox cell is used in that example.
For the multiselect dropdown list i would suggest a custom control that will handle all the logic needed.
Please take a look at the following KB article :Implementing checkbox items in RadComboBox (I know it is an old article, but it should put you on the right track)
After that you can use this KB Article: Adding custom elements inside a cell when it is in edit mode to achieve the desired behavior.
Hope this helps, if you have any other questions or comments, please let me know,
Telerik WinForms MVP
Thanks for your support,
I am looking something like this & also refer attachment for more details.
private void rdGdv_Section_EditorRequired(object sender, EditorRequiredEventArgs e)
RadTextBoxEditor txt=new RadTextBoxEditor();
I the above code i am unable to add combobox & multiline text box to grid cell as editor controls.
You can customize editor properties when handling the CellEditorInitialized event which fires after the configuration of the editor. Please, consider the following code snippet:
Regarding the multi-selected drop down list, you can use the Emanuel's resource to create a custom editor.
Do not hesitate to contact us if you have any further questions.
the Telerik team
Thank you for your support..
Can i have scroll bar for the same cell.