This is a migrated thread and some comments may be shown as answers.

Problem in Setting values in Controls

1 Answer 42 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
Brijendra Kumar
Top achievements
Rank 1
Brijendra Kumar asked on 28 Apr 2009, 07:04 AM
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">

 

 

</asp:ScriptManager>

 

 

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

 

 

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

 

 

<UpdatedControls>

 

 

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

 

 

</UpdatedControls>

 

 

</telerik:AjaxSetting>

 

 

</AjaxSettings>

 

<%

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

 

 

</telerik:RadAjaxManager>

 

 

<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" />

 

 

</div>

 

 

</telerik:RadAjaxLoadingPanel>

 

 

<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="http://wwww.teckinfo.com" align="center"

 

 

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

 

 

</div>

 

 

</telerik:RadPane>

 

 

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

 

 

</telerik:RadSplitBar>

 

 

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

 

 

</telerik:RadPane>

 

 

</telerik:RadSplitter>

 

 

</telerik:RadPane>

 

 

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

 

 

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

 

 

<table width="100%">

 

 

<tr>

 

 

<td>

 

 

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

 

 

Width="100%">

 

 

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

 

 

Scrolling="Y">

 

 

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

 

 

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

 

 

</telerik:RadPane>

 

 

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

 

 

</telerik:RadSplitBar>

 

 

<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" />

 

 

</telerik:RadPane>

 

 

</telerik:RadSplitter>

 

 

</td>

 

 

</tr>

 

 

</table>

 

 

</telerik:RadPane>

 

 

</telerik:RadSplitter>

 

 

</td>

 

 

</tr>

 

 

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

 

 

Style="display: none;" />

 

 

</form>


Please tell me..

Thanks & Regards
Brijendra Pandey

1 Answer, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 29 Apr 2009, 12:12 PM
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:

http://www.telerik.com/support/kb/aspnet-ajax/splitter/controlling-the-behavior-of-radsplitter-or-a-splitter-pane-with-radajax.aspx

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,
Svetlina
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.
Tags
Splitter
Asked by
Brijendra Kumar
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Share this question
or