Problem in Setting values in Controls

2 posts, 0 answers
  1. Brijendra Kumar
    Brijendra Kumar avatar
    38 posts
    Member since:
    Oct 2008

    Posted 28 Apr 2009 Link to this post

    Dear all,

    I have a problem while i am setting values in controls on a button click, server side code runs fine but updated values
    are not showing in contols. I have to refresh the user control "ucCallerInfo".

    Markup of page is as below:


    form id="form1" runat="server">



    <asp:ScriptManager ID="ScriptManager1" runat="server">






    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">



    <AjaxSettings><telerik:AjaxSetting AjaxControlID="mainFrame">






    <telerik:AjaxUpdatedControl ControlID="mainFrame" LoadingPanelID="RadAjaxLoadingPanel1" />
    <telerik:AjaxUpdatedControl ControlID="ucCallerInfo" LoadingPanelID="RadAjaxLoadingPanel1" />












    --<ClientEvents OnRequestStart="DisableAllControls();" OnResponseEnd="EnableAllControls();" />--%>






    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Height="75px"



    Width="75px" Transparency="50">



    <div id="divProgress" class="modalPopup">


    Request In Progress...


    <img id="imgProgress" alt="..." src="Images/Progress/progress2.gif" />









    <table width="100%" border="0" cellpadding="0" cellspacing="0" style="position: absolute;


    top: 0px; left: 0px; right: 0px">


    <tr width="100%">



    <td align="left">



    <telerik:RadSplitter ID="radSplitter" SplitBarsSize="1px" BackColor="#4E8AA4" runat="server"



    Width="100%" Height="100%" VisibleDuringInit="false">



    <telerik:RadPane ID="rdCTI" Scrolling="None" runat="server" Width="20%" Height="600px">



    <telerik:RadSplitter ID="rdSplitterLeft" runat="server" Orientation="Horizontal">



    <telerik:RadPane ID="rdpanelDialPad" runat="server">



    <div name="divdialpadq" id="divdialpad" src="" align="center"



    style='border: groove 1px Gray;'>









    <telerik:RadSplitBar ID="RadSplitbar3" runat="server" EnableResize="true" CollapseMode="Forward">






    <telerik:RadPane ID="LeftPane" runat="server" ContentUrl="LeftPanel.aspx">












    <telerik:RadSplitBar ID="RadSplitBar1" runat="server" CollapseMode="Forward" EnableResize="false" />



    <telerik:RadPane ID="RightPane" Scrolling="None" runat="server" Width="100%">



    <table width="100%">









    <telerik:RadSplitter ID="InnerSpliter" runat="server" Orientation="Horizontal" Height="100%"






    <telerik:RadPane ID="CallerInfoPane" runat="server" MinHeight="10" MaxHeight="255"






    <Caller:CallerInfo runat="server" ID="ucCallerInfo" />



    <EmailInfo:EmailInfo runat="server" ID="ucEmailInfo" />






    <telerik:RadSplitBar ID="RadSplitbar2" runat="server" EnableResize="true" CollapseMode="Forward">






    <telerik:RadPane ID="DetailsPane" runat="server" MinHeight="345" MaxHeight="700"



    Height="500" Scrolling="Y" Style="position: relative;">



    <iframe src="SearchCallerInformation.aspx" scrolling="auto" name="IFrmMain" frameborder="0"



    height="100%" width="100%" id="mainFrame" runat="server" enableviewstate="true" />






























    </table><asp:Button ID="btnFillCustomer" runat="server" Text="Fill Customer" OnClick="btnFillCustomer_Click"



    Style="display: none;" />




    Please tell me..

    Thanks & Regards
    Brijendra Pandey

  2. Svetlina Anati
    Svetlina Anati avatar
    2795 posts

    Posted 29 Apr 2009 Link to this post

    Hi Brijendra,

    In order to use the button as a trigger for the update you should set it as such control in the RadAjaxManager's settings. As to updating the splitter with AJAX I recommend to examine the following detailed KB article about this:

    In case you need further assistance, please open a new support ticket and send us a sample, fully runnable reproduction demo along with detailed reproduction steps and explanations of the actual and the desired behavior and we will do our best to help.

    Sincerely yours,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top