This WebDialogWindow is really something I was waiting for! Erroneous behaviour though when moving the window or resizing it: when the mouse pointer moves away from the title bar when moving the dialog or moves away from the size selector when resizing the dialog, the moving/resizing stops and you have to go back to the titlebar/resizer. You can only move/resize the dialog very slowly while keeping your eye on the mouse pointer.
Regards,Paul
Paul:
Is that something you have noticed with a sample you have written, or one of the samples we provided with the CTP? If its a sample you have written can you post the code so we can see what your doing, or if one of ours, can you tell us which one your seeing the behavior in. Also, what browser and version are you using when you see the problem?
Devin
Devin,
It is from a sample that I have copied from the help file "Getting started with the WebDialogWindow" (a step by step example). I'm using IE6
Default.aspx:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %><%@ Register Assembly="Infragistics.Web, Version=7.3.20073.226, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"Namespace="Infragistics.Web.UI" TagPrefix="igweb" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"><title>Untitled Page</title></head><body><form id="form1" runat="server"><asp:ScriptManager ID="ScriptManager1" runat="server" /><div><igweb:WebDialogWindow ID="WebDialogWindow1" runat="server" Height="500px" InitialLocation="Centered" Modal="True" Width="800px" PinWhenMinimized="False"><Resizer Enabled="True" /><Header CaptionText="My Dialog"><MaximizeBox Visible="True" /><MinimizeBox Visible="True" /></Header><ContentPane ContentUrl="http://es.infragistics.com"></ContentPane></igweb:WebDialogWindow> </div><asp:Button ID="btnShow" runat="server" OnClick="btnShow_Click" Text="Show" /></form></body></html>
public partial class _Default : System.Web.UI.Page {protected void Page_Load(object sender, EventArgs e){}protected void btnShow_Click(object sender, EventArgs e){switch (this.WebDialogWindow1.WindowState){case Infragistics.Web.UI.DialogWindowState.Hidden:this.WebDialogWindow1.WindowState = Infragistics.Web.UI.DialogWindowState.Normal;break;}}}Regards,Paul