Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
125
Using WebAsyncRefreshPanel in WebDialogWindow
posted

I'm trying to use a WebAsyncRefreshPanel in the new WebDialogWindow and all seems to be working at this point except that the progress bar for the WebAsyncRefreshPanel is appearing behind the WebDialogWindow.  See my code below.  Any ideas on how I can get the progress bar to properly appear in the WebDialogWindow?

 ----Javascript---

function OpenDialogWindow(sControlID){

var dialogWindow = $find(sControlID);

dialogWindow.show();

}

function InitPanel(oPanel){

var pi = oPanel.getProgressIndicator();

pi.setLocation(ig_Location.MiddleCenter);

pi.setImageUrl('./Images/Progress1.gif');

}

 function RefreshRequest(oPanel,oEvent,id){

var lbl = oPanel.findControl('lblText');

if(lbl != null)
    lbl.style.setAttribute('display', 'none');

}

----Markup---

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

</asp:ScriptManager>

<ig:WebDialogWindow ID="provSearchWindow" runat="server" InitialLocation="Centered"

Height="150px" Width="286px" Modal="true" Style="line-height: normal" WindowState="Hidden">

<Header CaptionAlignment="Left" CaptionText="Provider Search">

<MaximizeBox Visible="True" />

<MinimizeBox Visible="True" />

</Header>

<ContentPane>

<Template>

<igmisc:WebAsyncRefreshPanel ID="WebAsyncRefreshPanel1" runat="server" Height="50px"

OnContentRefresh="WebAsyncRefreshPanel1_ContentRefresh" InitializePanel="InitPanel"

RefreshRequest="RefreshRequest" TriggerControlIDs="btnSearch">

<asp:Label ID="lblText" runat="server" Text="Refresh Count: 0"></asp:Label></igmisc:WebAsyncRefreshPanel>

</Template>

</ContentPane>

<Resizer Enabled="True" />

</ig:WebDialogWindow>

<asp:Label ID="lblSearch" runat="server" Text="Enter Search Criteria:" />

<asp:TextBox ID="textName" runat="server"></asp:TextBox>

<asp:Button ID="btnSearch" runat="server" Text="Search" />

Parents Reply Children
No Data