I have a very simple example that I am trying to make work where I have a WebDialogWindow inside of a WARP. I want to have a button outside of the panel that causes a refresh to bring up the WebDialogWindow. I have now tried the button both inside and outside and neither works. It seems to only work when I use a full postback. Can anyone tell me how to do this? How do I make this work with the button outside of the WARP?
<igmisc:WebAsyncRefreshPanel ID="WebAsyncRefreshPanel1" runat="server">
<asp:Button Text="Show Window" ID="showWindow" runat="server" onclick="showWindow_Click" />
StyleSetName="Office2007Blue" Width="400px" WindowState="Normal" Visible="false">
</ig:WebDialogWindow>
</igmisc:WebAsyncRefreshPanel>
You should use the UpdatePanel for almost every case. You only want to use the WARP when you are on CLR 1.x.
Ok. I didn't know that!
So, if I got it right, I should use UpdatePanel, if i use AJAX, and not the warp. The warp, I should use it alone, and without any ajax? Is that correct?
The WARP uses different AJAX from Microsoft. It was developed for CLR 1.x and is incompatible with MS AJAX and our Aikido controls. If you are doing any AJAX development, we recommend the use of the Update Panel over the WARP unless absolutely required, for example clr 1.x.
Yes, that's what I did... I used an update panel, and everything works great. Why is that? It should work...
It may have something to do with this:
http://forums.infragistics.com/forums/p/9510/37141.aspx#37141
Use an UpdatePanel instead.