<telerik:RadGrid ID="rgJ" runat="server" Skin="WebBlue" AutoGenerateColumns="False"
GridLines="None" AllowPaging="True" PageSize="15" AllowFilteringByColumn="True"
AllowSorting="True" Width="430px" Height="440px" AllowMultiRowSelection="false" PagerStyle-Mode="NextPrevAndNumeric" >
<MasterTableView ItemStyle-Height="10px">
<Columns>
<telerik:GridTemplateColumn UniqueName="cbJobSelect" AllowFiltering="false">
<ItemTemplate>
<asp:CheckBox ID="cbJob" runat="server" OnCheckedChanged="ToggleRowSelection" Width="30px"
AutoPostBack="True" />
</ItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridBoundColumn DataField="JOB_CODE" HeaderText="Job Code" UniqueName="JOB_CODE"
ReadOnly="True">
<HeaderStyle HorizontalAlign="Left" Width="110px" Wrap="False" />
<ItemStyle HorizontalAlign="Right" Width="110px" Wrap="False" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="JOB_NAME" HeaderText="Job Name" UniqueName="JOB_NAME"
ReadOnly="True">
<HeaderStyle HorizontalAlign="Left" Width="250px" Wrap="False" />
<ItemStyle HorizontalAlign="Center" Width="250px" Wrap="False" />
</telerik:GridBoundColumn>
</Columns>
<ExpandCollapseColumn>
<HeaderStyle Width="20px" />
</ExpandCollapseColumn>
<RowIndicatorColumn>
<HeaderStyle Width="20px" />
</RowIndicatorColumn>
</MasterTableView>
<ClientSettings>
<Scrolling AllowScroll="True" UseStaticHeaders="True" />
</ClientSettings>
<FilterMenu EnableTheming="True" Skin="WebBlue">
<CollapseAnimation Duration="200" Type="OutQuint" />
</FilterMenu>
Do I need to put something in the PageIndesxChanged event?
Thanks
In my scenario I want to add child nodes when any one expend the node or press the plus sign. But the Node expend event is not rising and can I call a java script function (radalert message on a condition) on context menu click event?
try
{
Telerik.Web.UI.
GridDataItem _dataItem = e.Item as Telerik.Web.UI.GridDataItem;
if (_dataItem["Status"].Text == "ASSIGNED")
{
if (Session["DepartmentCode"].ToString() != "61")
_dataItem[
"Status"].Text = "APPROVED";
}
}
catch
{
}
thanks
ghadeer