ItemDataBound
event, I hide the checkbox based on some logic, because I want only specific rows to be selected. The problem is that even if I hide the checkbox, the grid allows the row to be selected by simply clicking anywhere on the row. What is a proper way to setup a grid that allows only specific rows to be selectable?
Thank you.


>>> $find("ctl00_MainContent_SearchBox").get_value()"">>> $find("ctl00_MainContent_SearchBox").get_textBoxValue()"d"<
asp:Content ID="Content1" ContentPlaceHolderID="cp" runat="Server">
<telerik:RadAjaxManager runat="server" ID="ram" DefaultLoadingPanelID="rlp">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="btnNew">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="rgvPolicy" />
</UpdatedControls>
</telerik:AjaxSetting>
<telerik:AjaxSetting AjaxControlID="rgvPolicy">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="rgvPolicy" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
<telerik:RadAjaxLoadingPanel runat="server" ID="rlp">
</telerik:RadAjaxLoadingPanel>
<telerik:RadNotification AutoCloseDelay="0" Animation="Resize" AnimationDuration="500" runat="server" ID="rn" Position="Center" Width="400" />
<div class="generic-container" style="margin:10px;"> ...
Protected Sub rgvPolicy_ItemCommand(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridCommandEventArgs) Handles rgvPolicy.ItemCommand
If TypeOf e.Item Is GridDataItem And e.CommandName = "Delete" Then
Dim item As GridDataItem = DirectCast(e.Item, GridDataItem)
Dim ID = DirectCast(item.GetDataKeyValue("PolID"), Integer)
Dim desc = item("PolDescription").Text
proj.espManager(schema).PolicyManager.Item(ID).Delete()
rgvPolicy.Rebind()
With rn
.TitleIcon = IconURL(Buttons.ButtonFunction.Ok)
.Title = "Policy Deleted"
.Text = String.Format("Policy '{0}' and all its calculations have been deleted.", desc)
.Show()
End With
End If
End Sub
Protected Sub RadButtonEx1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles RadButtonEx1.Click
With rn
.TitleIcon = IconURL(Buttons.ButtonFunction.Ok)
.Title = "AAAAAAAAAAAAAARG"
.Text = String.Format("Policy '{0}' and all its calculations have been deleted.", "YADDA")
.Show()
End With
End Sub
if (e.CommandName == RadGrid.ExportToExcelCommandName) isExcelExport = true;if (isExcelExport){ if (e.Item is GridHeaderItem) { } if (e.Item is GridDataItem) { } if (e.Item is GridFooterItem) { } return;}When I use GradientFillStyle.Center the Pie chart is not correctly rendered.
However there are no rendering issues if I use any of the other fill sytles. I've attached screen shots to this thread to illustrate the difference in the chart's when GradientFillStyle.Center is used and when it's not.
I am trying to use grouping to one of the RadGrid where all the columns are autogenerated
i applied the code.
ShowGroupPanel="True" (RadGrid attribute)
and
<ClientSettings AllowDragToGroup="True" >
</ClientSettings>
But when ever I am dragging one column to the group panel ,
getting this
Error: Sys.WebForms.PageRequestManagerServerErrorException: Unable to cast object of type 'Telerik.Web.UI.GridGroupSplitterColumn' to type 'Telerik.Web.UI.GridBoundColumn'.
Please Help
Regards
Arijit Chatterjee