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
40
Problem with WebProgressBar inside a WebDialogWindow
posted

Hi,

I have a WebProgressBar with a value of 0 inside a WebDialogWindow with WindowState="Hidden" by default. When I want to show the WebDialogWindow, with set_windowState, the WebProgressBar appears with a value of 100 and immediately falls to a value of 0.

Is it possible to avoid this, and directly show a value of 0?

Here is a code sample that illustrates the problem

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<script language="javascript" type="text/javascript">
function pageLoad(sender, args)
{
setTimeout("showWebDialog();", 500);
}
</script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title></title>
</head>
<body>
<script language="javascript" type="text/javascript">
function showWebDialog()
{
$find("WebDialogWindow1").set_windowState($IG.DialogWindowState.Normal);
}
</script>
<form id="form1" runat="server">
<ig:WebScriptManager ID="WebScriptManager1" runat="server"></ig:WebScriptManager>
<div>
<ig:WebDialogWindow ID="WebDialogWindow1" runat="server" Height="300px" Width="400px" WindowState="Hidden">
<ContentPane>
<Template>
<ig:WebProgressBar ID="WebProgressBar1" runat="server" Minimum="0" Maximum="100" Value="0"></ig:WebProgressBar>
</Template>
</ContentPane>
</ig:WebDialogWindow>
</div>
</form>
</body>
</html>

Parents Reply Children
No Data