When I use the callback panel to show a progress bar when i press on the Save button and in the code behind I do a CallBackPanel Redirect I get a message box, about IE not being able to open the webpage. (best translation: The website XXX can't been opened. De oparation is aborted. whit a critical icon.)
If I don't use the callback panel i don't get te message. Also it only happens with largs amount of data.
Code Sample
HTML <tr>
<td class="TextInfo" colspan="2" style="text-align: right; height: 30px;">
<asp:ValidationSummary ID="Summary" runat="server" />
<asp:ImageButton ID="btnSave" runat="server" ImageUrl="~/Lib/Icons/24x24/disk_blue.gif"
OnClick="btnSave_Click" />
<asp:Image ID="btnCancel" runat="server" ImageUrl="~/Lib/Icons/24x24/error.gif" />
</td>
</tr>
<tr>
<td colspan="2">
<eo:CallbackPanel runat="server" ID="cpPB" Triggers="{ControlID:btnSave;Parameter:}"
Width="100%" LoadingHTML="<img src='../../../Lib/Images/progress1.gif' />">
</eo:CallbackPanel>
</td>
</tr>
C# protected void btnSave_Click(object sender, ImageClickEventArgs e)
{
OfficeWeb.Sys.Project.Copy Copy = new OfficeWeb.Sys.Project.Copy();
Copy.ProjectId = new Guid(ViewState["DataKey"].ToString());
Copy.ProjectName = txtProjectName.Text;
Copy.ProjectStartDate = txtStartdate.SelectedDate;
Copy.ProjectEndDate = txtEnddate.SelectedDate;
Copy.OrderNumber = txtOrderNumber.Text;
Copy.DepartmentId = new Guid(ddDepartment.SelectedValue);
if (Copy.CopyProject())
cpPB.Redirect("CopySubProject.aspx?DataKey=" + ViewState["DataKey"].ToString() + "&Project=" + Copy.ProjectId.ToString());
}
Patrick Beverloo
OfficeSpecialisten
www.OfficeSpecialisten.nl