Hi Team,
I am using Telerik Rad treeview in my application. I am creating below 3 context menu programatically.
1.New - To create a new node.
2.Update - Update the node
3.Delete - Delete the node
I am using OnContextMenuItemClick and OnNodeEdit event to do my custom DB action. I have 2 problem in this senario.
1. When I click "New" Context menu, this creates a node with the name of "New Node" but it faild to call my custom events. But If i modify the name of the "New node" the event will trigger. But I am not able to call the event when the newly created node name as "New Node". How to call this event?
2. When I creates a new node, this creates a node with the name of "New Node" but i want to create a node with the name of "New Group" instead of "New Node". Is this Possible?
Can anyone please help me to resollve this broblem?
Regards,
BalaMurugan J
Hi ;
"delete image won't display when i use custom skin in grid "
I have trayed to used the image pathe to display it and it work nice if i want to display a one skin , but i don't want this Solution because i have built my application withe multi theems and i want to made a mulity skin for telerik rad to give clint to choice the theeme what he need .
thank You .

<telerik:RadGrid ID="RGTasks" AllowPaging="True" runat="server" AutoGenerateColumns="False" GridLines="None" CellSpacing="0" DataSourceID="ObjectDataSource1" Skin="Outlook" PageSize="10" style="width:100%; height:100%;" onitemdatabound="RGTasks_ItemDataBound" AllowFilteringByColumn="true" AllowSorting="true" onitemcommand="RGTasks_ItemCommand"> <MasterTableView DataKeyNames="RuleScheduleKey" AutoGenerateColumns="false" CommandItemDisplay="Top" EditMode="EditForms" AllowAutomaticUpdates="true" AllowAutomaticInserts="false" AllowFilteringByColumn="true" > <EditFormSettings EditFormType="WebUserControl" UserControlName="../Controls/EditRule.ascx" /> <CommandItemSettings ExportToPdfText="Export to PDF" AddNewRecordText="Add Task"></CommandItemSettings> <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column"></RowIndicatorColumn> <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column"></ExpandCollapseColumn> <AlternatingItemStyle BackColor="#EDF1FF" /> <Columns> <telerik:GridBoundColumn FilterControlAltText="Filter column2 column" UniqueName="column2" DataField="RuleScheduleKey" HeaderText="Task" HeaderStyle-Font-Bold="true" HeaderStyle-HorizontalAlign="Center" AllowFiltering="false"> <HeaderStyle HorizontalAlign="Center" Font-Bold="True"></HeaderStyle> </telerik:GridBoundColumn> <telerik:GridBoundColumn FilterControlAltText="Filter column1 column" UniqueName="colRule" DataField="RuleKey" HeaderText="Rule" HeaderStyle-Font-Bold="true" HeaderStyle-HorizontalAlign="Center" CurrentFilterFunction="Contains" ShowFilterIcon="false" AutoPostBackOnFilter="true"> <HeaderStyle HorizontalAlign="Center" Font-Bold="True"></HeaderStyle> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="ScheduleKey" HeaderText="Schedule" UniqueName="ScheduleKey" FilterControlAltText="Filter column6 column" AllowFiltering="false"> <HeaderStyle Font-Bold="True" /> </telerik:GridBoundColumn> <telerik:GridDateTimeColumn FilterControlAltText="Filter column5 column" UniqueName="column5" DataField="NextRunTimestamp" HeaderText="Next Run" ItemStyle-Width="10%" HeaderStyle-Font-Bold="true" HeaderStyle-HorizontalAlign="Center" ReadOnly="true" AllowFiltering="false"> <HeaderStyle Font-Bold="True" HorizontalAlign="Center" /> <ItemStyle Width="10%" /> </telerik:GridDateTimeColumn> <telerik:GridDateTimeColumn DataField="LastRunTimestamp" FilterControlAltText="Filter column column" HeaderText="Last Run" UniqueName="column" AllowFiltering="false"> <HeaderStyle Font-Bold="True" /> </telerik:GridDateTimeColumn> <telerik:GridBoundColumn FilterControlAltText="Filter column4 column" UniqueName="column4" DataField="LastRunStatus" HeaderText="Last Run Status" HeaderStyle-Font-Bold="true" HeaderStyle-HorizontalAlign="Center" CurrentFilterFunction="Contains" ShowFilterIcon="false"> <HeaderStyle HorizontalAlign="Center" Font-Bold="True"></HeaderStyle> </telerik:GridBoundColumn> <telerik:GridBoundColumn FilterControlAltText="Filter column3 column" UniqueName="column3" DataField="CreatedById" HeaderText="Created By" HeaderStyle-Font-Bold="true" HeaderStyle-HorizontalAlign="Center" ReadOnly="true" CurrentFilterFunction="StartsWith" ShowFilterIcon="false" DataType="System.String" AutoPostBackOnFilter="true"> <HeaderStyle Font-Bold="True" HorizontalAlign="Center" /> </telerik:GridBoundColumn> </Columns> <EditFormSettings > <EditColumn FilterControlAltText="Filter EditCommandColumn column" ></EditColumn> </EditFormSettings> </MasterTableView> <PagerStyle PagerTextFormat="{0} / {1}" /> <FilterMenu EnableImageSprites="False"></FilterMenu> <HeaderContextMenu CssClass="GridContextMenu GridContextMenu_Default"></HeaderContextMenu> </telerik:RadGrid> <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="GetAllRuleSchedulesByUserID" TypeName="DataAccessHelper" onselecting="ObjectDataSource1_Selecting" DataObjectTypeName="Datasets.RuleSchedule"> <SelectParameters> <asp:Parameter Name="userID" Type="String" /> <asp:SessionParameter SessionField="IsUserAdmin" Name="isAdmin" Type="Boolean" DefaultValue="false" /> </SelectParameters> </asp:ObjectDataSource>protected void RGTasks_ItemDataBound(object sender, Telerik.Web.UI.GridItemEventArgs e){ if ((e.Item.ItemType == Telerik.Web.UI.GridItemType.Item) || (e.Item.ItemType == Telerik.Web.UI.GridItemType.AlternatingItem)) { try { RuleSchedule rs = new RuleSchedule(); rs = (RuleSchedule)e.Item.DataItem; BusinessRule br = DataAccessHelper.GetBusinessRule(rs.RuleKey); if (!string.IsNullOrEmpty(br.Name)) { e.Item.Cells[5].Text = "[" + e.Item.Cells[5].Text + "] " + br.Name; } Schedule sc = DataAccessHelper.GetSchedule(rs.ScheduleKey); if (!string.IsNullOrEmpty(sc.RecurrenceTypeCd)) { e.Item.Cells[6].Text = "[" + e.Item.Cells[6].Text + "] " + sc.RecurrenceTypeCd; } } catch { } } }public int LicencesResultsPageSize{ get { if (this.LicenceResultsPanel.Visible) { return this.LicenceResultsGrid.MasterTableView.PageSize; } return 0; } set { if (this.LicenceResultsPanel.Visible) { this.LicenceResultsGrid.MasterTableView.PageSize = value; } }}public int LicencesResultsPageIndex{ get { if (this.LicenceResultsPanel.Visible) { return this.LicenceResultsGrid.MasterTableView.CurrentPageIndex; } return 0; } set { if (this.LicenceResultsPanel.Visible) { this.LicenceResultsGrid.MasterTableView.CurrentPageIndex = value; } }}