Hi
I'd like some guidance on the best approach to solve a problem with a rad dropdown field in a rad grid.
I have an aspx page in which there is a rad tabstrip with two radtabs.
The contents of the selected rad tab is a radgrid that is programmatically generated ON THE SERVER SIDE, in the code behind.
Each row in the grid can be edited. The editing feature is implemented by a button in the grids command panel labeled Edit.
When pressed, an ItemDataBound event is fired on the server side, it then seeks the column to be converted to a dropdown, in the currently selected row and modifies it into a radcombobox. I'm new to telerik so I'm not certain if the radcombox has a text mode for display and a dropdown for edit. It does not appear that the specific cell has a unique name, it is identified by selected row and column name only.
My issue is that often, the width of the column is less than the width of the GridDropDown control resulting in the drown down button on the right of the control to not appear unless the width of the column is increased. The documentation suggests that the way to correct this is to issue a repaint() of the client side control.
I have several questions:
Since this conversion of the display from text to dropdown is done on the server side, how do obtain the client side control to issue a repaint()?
Is there jquery selector that will just find all the raddropdown controls on the page and refresh them all (sort of like selecting all div tags)? What is the syntax? and how do I fire it after the server side has made the change to edit mode?
Thanks. I really appreciate all suggestions.