Tried searching a bit and don't see where anyone has posted a working example of using the colorpicker inside the grid. It's discussed - people mention a few issues with it - but I didn't find a working example. Maybe I didn't look deep enough? If anyone has one, it would be greatly appreciated.
Quick update - I have this almost working.... just need a hint on how to access objects inside the FormTemplate. I've seen one example that works once you're processing the Update/Insert/Delete command, but I'm trying to trap it when the Color changes in a ColorPicker and set that value in a text box.
I have tried trapping the color change on client side and server side, as well as trying the GridEditableItem with no luck. Of course, tried binding directly to the ColorColorText prop of the colorpicker, that was funny :)
Quick update - I have this almost working.... just need a hint on how to access objects inside the FormTemplate. I've seen one example that works once you're processing the Update/Insert/Delete command, but I'm trying to trap it when the Color changes in a ColorPicker and set that value in a text box.
| <FormTemplate> |
| .... |
| <tr> |
| <td> |
| Room Color: |
| </td> |
| <td> |
| <telerik:RadColorPicker AutoPostBack="true" runat="server" ShowIcon="true" ID="RadColorPicker1" PaletteModes="WebPalette"> |
| </telerik:RadColorPicker> |
| <asp:TextBox ID="ColorPickerSelectedColor" runat="server" Text='<%# Bind("room_color") %>'></asp:TextBox> |
| </td> |
| </tr> |
| .... |
| </FormTemplate> |
I have tried trapping the color change on client side and server side, as well as trying the GridEditableItem with no luck. Of course, tried binding directly to the ColorColorText prop of the colorpicker, that was funny :)