Hi,
I am binding a value to a Radslider in a Radgrid, this works fine in editmode, however on insert mode I ger the "Unable to cast...." error message. I'm assuming I need to find the control on itemcommand, however, how do I do that and set the value to for the slider to zero for insert mode?
I am binding a value to a Radslider in a Radgrid, this works fine in editmode, however on insert mode I ger the "Unable to cast...." error message. I'm assuming I need to find the control on itemcommand, however, how do I do that and set the value to for the slider to zero for insert mode?
<telerik:RadSlider ID="RadSlider1" runat="server" |
LargeChange="25" SmallChange="25" Value='<%# Bind("percent_complete") %>' |
MinimumValue="0" MaximumValue="100" |
Width="200" Height="40" |
ItemType="Tick" TrackPosition="TopLeft" Skin="Sitefinity"> |
</telerik:RadSlider> |
protected void RadGrid_ItemCommand(object source, GridCommandEventArgs e) |
{ |
if ((e.CommandName == RadGrid.InitInsertCommandName)) |
{ |
? |
} |
} |