Radajaxpanel showModalDialog

2 posts, 0 answers
  1. Diana
    Diana avatar
    20 posts
    Member since:
    Sep 2010

    Posted 27 Sep 2010 Link to this post

    when I click one button and then showModalDialog wjhen I close this modaldialog window,the RadAjaxLoadingPanl appear。I don't want it to appear.
    I set this in masterPage but it no use
    <telerik:AjaxSetting AjaxControlID="button">
                        <telerik:AjaxUpdatedControl ControlID="RadAjaxLoadingPanel1" />

    In content page :
    <td style="width: 500px; height: 30px;">
                                                            <telerik:RadAjaxPanel ID="rapText" runat="server">
                                                                <telerik:RadComboBox ID="rcbText" runat="server" Width="493px" Style="height: auto;"
                                                                    MarkFirstMatch="true" OnLoad="rcbText_Load" EnableLoadOnDemand="true" EmptyMessage="documentSelectionListBox "
                                                                    AutoPostBack="True" OnSelectedIndexChanged="rcbText_SelectedIndexChanged"
                                                                    Skin="WebBlue" MaxHeight="100px">
                                                            <asp:Button ID="button" runat="server" Style="width: 75px; text-align: center; height: 25px;" Text="btnText" />

     function showPage() {
                    var result = window.showModalDialog("Text.aspx", "", "dialogWidth:400px;dialogHeight:" + dialogheight + "px;toolbar=no,title:no;location=no;scroll:no;status:no;menubar=no;resizable:no;");
                    var s = document.getElementById("<%=txtText.ClientID %>");
                    s.Text = result;
                    $find("<%=rapText.ClientID %>").ajaxRequest("ctl00_ContentPlaceHolder1_button");
    content code behind
    this.button.Attributes.Add("onclick", "return showPage()");
  2. Maria Ilieva
    Maria Ilieva avatar
    4017 posts

    Posted 29 Sep 2010 Link to this post

    Hi Diana,

    There are some known issues when using both the manager and the panel in some complex applications - MasterPage or WebUserControls. However, note that a single RadAjaxManager (and no panels) in the master/main page could handle all the scenarios. Also please note that you should not add RadAjaxLoadingPanel as ajax initiator or updated control into the RadAjaxManager settings. It should be add only ad default LoadingPanel for the Manager or as LoadingPanelID to a specific Ajax setting.

    All the best,
    Maria Ilieva
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top