Hi team,
We have upgraded telerik from 2014.2.618.45 to 2015.3.1111.45
Tree View was showing the node highlighted in grey color previously but now it is not showing.
Attached is the screenshot for the same. Waiting for your response.
Thanks in advance

Hi,
I have NestedTemplate radgrid in my application. I want how to access the RadNumericTextBox inside Nestedtemplate (RadGrid3) client side.
<telerik:RadGrid ID="RadGrid1" runate="server" ... >
<MasterTableView>
<NestedViewTemplate>
<telerik:RadGrid ID="RadGrid2" runat="server" ... >
<MasterTableView >
<NestedViewTemplate>
<telerik:RadGrid ID="RadGrid3" runat="server" .. >
<MasterTableView ... >
<Columns>
<telerik:GridTemplateColumn HeaderText="cmd" UniqueName="_order">
<ItemTemplate>
<telerik:RadNumericTextBox ID="_order_txt" runat="server" >
</telerik:RadNumericTextBox>
</ItemTemplate>
<FooterTemplate>
<telerik:RadNumericTextBox ID="_order_sum_txt" runat="server">
</telerik:RadNumericTextBox>
</FooterTemplate>
</telerik:GridTemplateColumn>
Regrads

Hi,
I have Rad Grid with batch updates. Edit template column has a custom user control with multiple buttons used to check if the user entered exists within Active directory and a cancel. These buttons cause a post back and causing the grid to reload. Is there a way to persist the edit mode of the grid ??
Please help
Thanks
public void editLink_Click(object sender, EventArgs e){ string script = "alert('hello');"; //This does not work RadScriptManager.RegisterStartupScript(this, GetType(), "test", script, true); //This does not work RadScriptManager.GetCurrent(this.Page).RegisterDataItem(this, "javascript:" + script); //This does not work RadWindow newWindow = new RadWindow(); newWindow.NavigateUrl = "http://www.telerik.com"; newWindow.VisibleOnPageLoad = true; ((AlarmLogMaster)this.Page.Master).WindowManager.Windows.Add(newWindow); }
From a hyperlink I need default values to appear when a RadGrid PopUp opens in "Add New" mode. It works fine when a RadButton is clicked (CommandName="InitInsert"). For that I set defaults in the RadGrid_ItemCommand:
if (e.CommandName == RadGrid.InitInsertCommandName){ e.Canceled = true; Hashtable values = GetDefaultValues(); e.Item.OwnerTableView.InsertItem(values); }I have radgrid, with 3 command buttons(Edit, Save and Cancel)
On Edit click Save and cancel buttons should be visible. (By default they should be disabled)
after Save or Cancel click grid goes to read only mode and only Edit command button should be displayed.
i tried all the possibilities by finding the command button and disabling it. Though there is no exception or anything still couldn't achieve this functionality.
Please help me out..it is needed immediately.
CODE :
<telerik:RadGrid ID="gridMilitaryPension" runat="server" AutoGenerateColumns="false" AllowMultiRowEdit="true" RenderMode="lightweight"
Skin="Office2007" PagerStyle-Mode="NextPrevAndNumeric" AllowPaging="True" PageSize="30" OnNeedDataSource="gridMilitaryPension_NeedDataSource"
OnItemCommand="gridMilitaryPension_ItemCommand" >
<MasterTableView CommandItemDisplay="Top" EditMode="InPlace" Font-Size="10pt">
<Columns>
<telerik:GridBoundColumn UniqueName="ID" DataField="ID" HeaderText="ID" Display="true" ReadOnly="True"
ForceExtractValue="Always">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn UniqueName="slottype" DataField="slottype" HeaderText="Slot Type" SortExpression="slottype" ReadOnly="True"
ForceExtractValue="Always">
</telerik:GridBoundColumn>
<telerik:GridTemplateColumn DataField="total" UniqueName="total" HeaderText="Total Seats" SortExpression="total">
<ItemTemplate>
<asp:Label ID="lblTotalSeats" runat="server" Text='<%# Eval("total") %>' class="classLblTotal"></asp:Label>
</ItemTemplate>
<EditItemTemplate>
<asp:TextBox ID="txtTotalSeats" runat="server" Text='<%# Eval("total") %>' Width="100%" class='<%# Eval("slottype") %>' onblur="addition(this)" onchange="DataChanged(this)"></asp:TextBox>
</EditItemTemplate>
</telerik:GridTemplateColumn>
</Columns>
<CommandItemTemplate>
<table>
<tr>
<td> <asp:Button runat="server" ID="btnSaveAllChanges" Text="Save All Changes" CommandName="SaveAllChanges" /></td>
<td> <asp:Button runat="server" ID="btnCancel" Text="Cancel" CommandName="Cancel" /></td>
<td> <asp:Button runat="server" ID="btnEdit" Text="Edit Total Seats" CommandName="Edit" onclick="btnEdit_Click"/></td>
</tr>
</table>
</CommandItemTemplate>
</MasterTableView>
</telerik:RadGrid>
In code Behind:
protected void gridMilitaryPension_ItemCommand(object source, Telerik.Web.UI.GridCommandEventArgs e)
{
if (e.CommandName == "Edit")
{
//Below i am capturing the controls and trying to hide/unhide. used visible property also but no luck
GridCommandItem cmditem = (GridCommandItem)e.Item;
Button btnSaveAllChanges = cmditem.FindControl("btnSaveAllChanges") as Button;
Button btnCancel = cmditem.FindControl("btnCancel") as Button;
Button btnEdit = cmditem.FindControl("btnEdit") as Button;
btnSaveAllChanges.Enabled = true;
btnCancel.Enabled = true;
btnEdit.Enabled = false;
}
}
if (e.CommandName == "SaveAllChanges")
{
//after logic, Edit button should be enabled.
}
return;
}
if (e.CommandName == "Cancel")
{
gridMilitaryPension.MasterTableView.ClearEditItems();
gridMilitaryPension.Rebind();
}
}
