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
Depends how you putting the buttons on I think.
Are you using WebImageButton or and ASP Button (asp:Button)?
If using ASP Button, turn off the UseSubmitBehaviour (set to False)If using WebImageButton then set AutoSubmit to False. This may do it.
Also in your code listing above, where is the WebDialogWindow? Is it in the WebAsyncRefreshPanel (WARP)?
Andez
Hi Anderson,
Thank you very much its working fine now.
also i have following doubt..
im using some user control inside this dialog window. in that usercontrol i'll be having some buttons.
to avoid postback when click on any button i'm using below code
<
igmisc:WebAsyncRefreshPanel ID="test" runat="server">
<Filter:FilterBox ID="frmFilter" runat="server" />
</igmisc:WebAsyncRefreshPanel>
But it still postback when click on button.. any idea on this..
Regards.
M.Seenuvasan
When I display the WebDialogWindow with dialog, I use the following code I came across somewhere:
var oWebDialogWindow1 = $find("WebDialogWindow1");oWebDialogWindow1.set_windowState($IG.DialogWindowState.Normal);
Hide it with:
var oWebDialogWindow1 = $find('WebDialogWindow1');oWebDialogWindow1.set_windowState($IG.DialogWindowState.Hidden);
Works fine for me