Hi All,
I am using infragistics webdialogwindow .for opening dialog window at run time i m using following js function
function
OpenFilter() {
var
Filter = '<%=digFilter.ClientID%>'
var dialog = $find(Filter);
dialog.show();
return
false;}
My problem is its opening first time without any issue. while close and open again it shows blank window.
it will be helpfull if i get some workarround on this.
Regards,M.Seenuvasan
Hi,
The AJAX based controls like UpdatePanel, WebDialogWindow, WebSplitter, etc are not compatible with WARP or UltraWebTab in async mode. Those controls can be used only side by side, but not nested in each other.
If application needs async postbacks, then it should replace WARP by UpdatePanel.
Hi Andez,
Thank you very much for your sample. Since i was in out of station i did not reply you quickly. i will use this sample and let you know.Regards,M.Seenuvasan
Hi seenuvasan,
I've attached a little sample code. The sample contains a webdialogwindow in an UpdatePanel and webdialogwindow in a WARP.
When clicking on either of the buttons is the webdialogwindows will remove the dialog from the page. The event hander code for the button clicks are running on the server that are removing the dialogs from the page in the updatepanel. When the page has ran (page lifecycle completed on server), only the updatepanel portions are refreshed on the client (from my understanding).
So when you run the code it should refresh instantly.
Also you could use javascript to hide the webdialogwindow from the client if required.
Andez
Hi Anderson,i'm using WebAsyncRefreshPanel like below and buttons are asp buttons only.
<ig:webdialogwindow ID="digFilter" runat="server" Height="40%" Width="100%" InitialLocation="Centered" Modal="True" Moveable="False"> <ContentPane> <Template> <table> <tr> <td> <igmisc:WebAsyncRefreshPanel ID="test" runat="server"> <Filter:FilterBox ID="frmFilter" runat="server" /> </igmisc:WebAsyncRefreshPanel> </td> </tr> </table> </Template> </ContentPane> </ig:webdialogwindow>but it seems to be not working..
i tried with below option also.i removed webasyncrrefresh pannel and added update pannel inside user control like below.<asp:UpdatePanel id="updfilter" runat="server" UpdateMode="Always"><ContentTemplate>
<table width="960px" > <tr> <td> <asp:button id="btn_save" runat="server onclick="btn_save_Click" UseSubmitBehavior="false"></asp:button> </td> </tr></table>
It will be helpful if i get any idea from you.Regards,
M.Seenuvasan
</ContentTemplate></asp:UpdatePanel>
Anyways, I'm not too sure if you need to use the WARP. The UpdatePanel may be better.
I can put a WebImageButton in the UpdatePanel and it is not causing the whole page to refresh.