I am working an Asp.net project, I am loading two user controls into another ascx control which uses RadSplitter to divide them. First, I am loading the control1.ascx and then the control2. After loading both of them inside control2.ascx I want to access a function that reloads some data of control1. I am doing it with the following code:
private ASP.control1_ascx tree;
tree = (ASP.control1_ascx)LoadControl("control1.ascx");
tree.aload();
When I debug the code, it seems that it calls the aload() function and updates the RadTreeView. But the problem is that I cannot see them after the function is called, instead I can see the correct data after a postback event. Why is this happens?. Is there a solution to see them when I call the function ?

<%@ Page Language="C#" EnableEventValidation="false" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="GetVersionMapping._Default" %><%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title></title> </head> <body> <form id="form1" runat="server"> <div> <telerik:RadScriptManager ID="RadScriptManager1" runat="server"> </telerik:RadScriptManager> <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"> <AjaxSettings> <telerik:AjaxSetting AjaxControlID="RadGrid1"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="RadGrid1" /> </UpdatedControls> </telerik:AjaxSetting> </AjaxSettings> </telerik:RadAjaxManager> <telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="False" CellSpacing="0" GridLines="None" ShowGroupPanel="True" > <HeaderContextMenu CssClass="GridContextMenu GridContextMenu_Default"></HeaderContextMenu> <MasterTableView HierarchyDefaultExpanded="True" > <Columns> <telerik:GridBoundColumn DataField="Platform" HeaderText="Platform" UniqueName="Platform"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="Client" HeaderText="Client" UniqueName="Client"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="Application" HeaderText="Application" UniqueName="Application"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="Version" HeaderText="Version" UniqueName="Version"> </telerik:GridBoundColumn> <telerik:GridDateTimeColumn DataField="Date" HeaderText="Publication Date" UniqueName="Date"> </telerik:GridDateTimeColumn> </Columns> </MasterTableView> <ClientSettings AllowDragToGroup="True" > </ClientSettings> </telerik:RadGrid> </div> </form> </body></html>
I'm using the Telerik rad grid and I'm allow the user to enter data directly to the grid.
I am using the "EditForms" edit mode and I also allow inserts using the same.
If the user edits a row, then I don't want to allow any other edits or inserts until the current one is complete or cancelled.
I'm totally new to Radgrids and I've recently been working in MVC... so any help would be great!