banana_split
asked on
Error Rendering Control - UpdateProgress
Hi i am facing a problem. I created a usercontrol and when i drag it onto my .aspx page, at the design mode of the.aspx page, it shows an Error Rendering Control - UpdateProgress. I have taken a screenshot of the error here:
http://img154.imageshack.us/my.php?image=pic1me4.jpg(Error)
[My codes on the .aspx page]
<%@ Page Language="C#" MasterPageFile="~/MasterPa ge.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" Title="Untitled Page" %>
<%@ Register Src="UserControls/UserInfo /CreateUse r.ascx" TagName="CreateUser" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Cont entPlaceHo lder1" Runat="Server">
<uc1:CreateUser ID="CreateUser1" runat="server" />
</asp:Content>
[/My codes on the .aspx page]
However the usercontrol itself at design mode, does not give off any error.
I have taken a screenshot of the error here:
http://img155.imageshack.us/my.php?image=pic2cm5.jpg
[My codes on the .ascx page]
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="CreateUser.ascx. cs" Inherits="UserControls_Cre ateUser" %>
<%@ Register Src="../Status.ascx" TagName="Status" TagPrefix="uc1" %>
<%@ Register Assembly="AjaxControlToolk it" Namespace="AjaxControlTool kit" TagPrefix="ajaxControlTool kit" %>
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:UpdateProgress ID="UpdateProgress1" runat="server">
<ProgressTemplate>
<div class="progress">
<asp:Image ID="imadUpdateProgress" runat="server" ImageUrl="~/images/indicat or.gif" />
Setting Up User Account...
</div>
</ProgressTemplate>
</asp:UpdateProgress><br />
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<asp:Panel ID="PanelCustomerInfoheade r" runat="server" BackColor="#10377C">
<table border="0" cellpadding="0" cellspacing="0" class="table">
<tr>
<td class="insertheader">Custo mer's Information</td>
</tr>
</table>
</asp:Panel>
<asp:Panel ID="PanelCustomerInfo" runat="server" BackColor="#E0E0E0">
<table border="0" cellpadding="1" cellspacing="0" class="table">
<tr>
<td style="width: 175px">
Title</td>
<td>
<asp:DropDownList ID="Title" runat="server" CssClass="content">
<asp:ListItem>MR</asp:List Item>
<asp:ListItem>MS</asp:List Item>
<asp:ListItem>MDM</asp:Lis tItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td style="width: 175px">
Name:</td>
<td><asp:TextBox ID="Name" runat="server"></asp:TextB ox></td>
</tr>
<tr>
<td style="width: 175px">
Birthday (DD-MM-YYYY)</td>
<td><asp:TextBox ID="DateOfBirth" runat="server"></asp:TextB ox></td>
</tr>
<tr>
<td style="width: 175px">
Mailing Address:</td>
<td><asp:TextBox ID="Address" runat="server" TextMode="MultiLine"></asp :TextBox>< /td>
</tr>
<tr>
<td style="width: 175px">
Postal Code:</td>
<td><asp:TextBox ID="PostalCode" runat="server"></asp:TextB ox></td>
</tr>
<tr>
<td style="width: 175px">
Contact - Home:</td>
<td><asp:TextBox ID="ContactHome" runat="server"></asp:TextB ox></td>
</tr>
<tr>
<td style="width: 175px">
Contact - Mobile:</td>
<td><asp:TextBox ID="ContactMobile" runat="server"></asp:TextB ox></td>
</tr>
</table>
</asp:Panel>
<br />
<asp:Panel ID="PanelAccountInfoHeader " runat="server" BackColor="#10377C">
<table border="0" cellpadding="0" cellspacing="0" class="table">
<tr>
<td class="insertheader">Accou nt Information</td>
</tr>
</table>
</asp:Panel>
<asp:Panel ID="PanelAccountInfo" runat="server" BackColor="#E0E0E0">
<table border="0" cellpadding="1" cellspacing="0" class="table">
<tr>
<td style="width: 163px; height: 24px">
Email (username for login):</td>
<td style="width: 172px; height: 24px"><asp:TextBox ID="Username" runat="server"></asp:TextB ox></td>
</tr>
<tr>
<td style="width: 163px; height: 24px">
Password:</td>
<td style="width: 172px; height: 24px">
<asp:TextBox ID="Password" runat="server" TextMode="Password"></asp: TextBox></ td>
</tr>
<tr>
<td style="width: 163px; height: 24px">
</td>
<td style="width: 172px; height: 24px">
<asp:Button ID="BtnSignup" runat="server" Text="Sign up" OnClick="BtnSignup_Click" /></td>
</tr>
</table>
</asp:Panel>
<uc1:Status ID="Status" runat="server" />
<ajaxControlToolkit:Passwo rdStrength ID="PasswordStrength" runat="server"
TargetControlID="Password"
DisplayPosition ="BelowRight"
StrengthIndicatorType="Tex t"
PreferredPasswordLength="1 0"
PrefixText="Strength:"
HelpStatusLabelID="TextBox 1_HelpLabe l"
TextCssClass="TextIndicato r_TextBox1 "
TextStrengthDescriptions=" Very Poor;Weak;Average;Strong;E xcellent"
MinimumNumericCharacters=" 0"
MinimumSymbolCharacters="0 "
RequiresUpperAndLowerCaseC haracters= "false"
/>
<ajaxControlToolkit:Rounde dCornersEx tender ID="RE1" runat="server"
TargetControlID="PanelCust omerInfoHe ader"
Radius="0"
Corners="All"
/>
<ajaxControlToolkit:Rounde dCornersEx tender ID="RE2" runat="server"
TargetControlID="PanelCust omerInfo"
Radius="0"
Corners="All"
/>
<ajaxControlToolkit:Rounde dCornersEx tender ID="RE3" runat="server"
TargetControlID="PanelAcco untInfoHea der"
Radius="0"
Corners="All"
/>
<ajaxControlToolkit:Rounde dCornersEx tender ID="RE4" runat="server"
TargetControlID="PanelAcco untInfo"
Radius="0"
Corners="All"
/>
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="BtnSignup" EventName="Click" />
</Triggers>
</asp:UpdatePanel>
<asp:ObjectDataSource ID="ODSUserInfo" runat="server" InsertMethod="InsertUserIn fo"
OldValuesParameterFormatSt ring="orig inal_{0}" SelectMethod="GetUserInfoV iaId"
TypeName="UserInfoDataSetT ableAdapte rs.UserInf oTableAdap ter" OnInserting="ODSUserInfo_I nserting">
<SelectParameters>
<asp:Parameter Name="Id" Type="Int32" />
</SelectParameters>
<InsertParameters>
<asp:ControlParameter ControlID="Title" Name="Title" PropertyName="SelectedValu e"
Type="String" />
<asp:ControlParameter ControlID="Name" Name="Name" PropertyName="Text" Type="String" />
<asp:ControlParameter ControlID="DateOfBirth" Name="DateOfBirth" PropertyName="Text"
Type="DateTime" />
<asp:ControlParameter ControlID="Address" Name="Address" PropertyName="Text" Type="String" />
<asp:ControlParameter ControlID="PostalCode" Name="PostalCode" PropertyName="Text"
Type="Int32" />
<asp:ControlParameter ControlID="ContactHome" Name="ContactHome" PropertyName="Text"
Type="Int32" />
<asp:ControlParameter ControlID="ContactMobile" Name="ContactMobile" PropertyName="Text"
Type="Int32" />
<asp:ControlParameter ControlID="Username" Name="Username" PropertyName="Text" Type="String" />
<asp:ControlParameter ControlID="Password" Name="Password" PropertyName="Text" Type="String" />
</InsertParameters>
</asp:ObjectDataSource>
[/My codes on the .ascx page]
Not really sure why is this happening. But however when i build and run the pages, they totally work fine. Just that the error at the .aspx page. Could anyone please advice me whats wrong??
http://img154.imageshack.us/my.php?image=pic1me4.jpg(Error)
[My codes on the .aspx page]
<%@ Page Language="C#" MasterPageFile="~/MasterPa
<%@ Register Src="UserControls/UserInfo
<asp:Content ID="Content1" ContentPlaceHolderID="Cont
<uc1:CreateUser ID="CreateUser1" runat="server" />
</asp:Content>
[/My codes on the .aspx page]
However the usercontrol itself at design mode, does not give off any error.
I have taken a screenshot of the error here:
http://img155.imageshack.us/my.php?image=pic2cm5.jpg
[My codes on the .ascx page]
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="CreateUser.ascx.
<%@ Register Src="../Status.ascx" TagName="Status" TagPrefix="uc1" %>
<%@ Register Assembly="AjaxControlToolk
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:UpdateProgress ID="UpdateProgress1" runat="server">
<ProgressTemplate>
<div class="progress">
<asp:Image ID="imadUpdateProgress" runat="server" ImageUrl="~/images/indicat
Setting Up User Account...
</div>
</ProgressTemplate>
</asp:UpdateProgress><br />
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<asp:Panel ID="PanelCustomerInfoheade
<table border="0" cellpadding="0" cellspacing="0" class="table">
<tr>
<td class="insertheader">Custo
</tr>
</table>
</asp:Panel>
<asp:Panel ID="PanelCustomerInfo" runat="server" BackColor="#E0E0E0">
<table border="0" cellpadding="1" cellspacing="0" class="table">
<tr>
<td style="width: 175px">
Title</td>
<td>
<asp:DropDownList ID="Title" runat="server" CssClass="content">
<asp:ListItem>MR</asp:List
<asp:ListItem>MS</asp:List
<asp:ListItem>MDM</asp:Lis
</asp:DropDownList>
</td>
</tr>
<tr>
<td style="width: 175px">
Name:</td>
<td><asp:TextBox ID="Name" runat="server"></asp:TextB
</tr>
<tr>
<td style="width: 175px">
Birthday (DD-MM-YYYY)</td>
<td><asp:TextBox ID="DateOfBirth" runat="server"></asp:TextB
</tr>
<tr>
<td style="width: 175px">
Mailing Address:</td>
<td><asp:TextBox ID="Address" runat="server" TextMode="MultiLine"></asp
</tr>
<tr>
<td style="width: 175px">
Postal Code:</td>
<td><asp:TextBox ID="PostalCode" runat="server"></asp:TextB
</tr>
<tr>
<td style="width: 175px">
Contact - Home:</td>
<td><asp:TextBox ID="ContactHome" runat="server"></asp:TextB
</tr>
<tr>
<td style="width: 175px">
Contact - Mobile:</td>
<td><asp:TextBox ID="ContactMobile" runat="server"></asp:TextB
</tr>
</table>
</asp:Panel>
<br />
<asp:Panel ID="PanelAccountInfoHeader
<table border="0" cellpadding="0" cellspacing="0" class="table">
<tr>
<td class="insertheader">Accou
</tr>
</table>
</asp:Panel>
<asp:Panel ID="PanelAccountInfo" runat="server" BackColor="#E0E0E0">
<table border="0" cellpadding="1" cellspacing="0" class="table">
<tr>
<td style="width: 163px; height: 24px">
Email (username for login):</td>
<td style="width: 172px; height: 24px"><asp:TextBox ID="Username" runat="server"></asp:TextB
</tr>
<tr>
<td style="width: 163px; height: 24px">
Password:</td>
<td style="width: 172px; height: 24px">
<asp:TextBox ID="Password" runat="server" TextMode="Password"></asp:
</tr>
<tr>
<td style="width: 163px; height: 24px">
</td>
<td style="width: 172px; height: 24px">
<asp:Button ID="BtnSignup" runat="server" Text="Sign up" OnClick="BtnSignup_Click" /></td>
</tr>
</table>
</asp:Panel>
<uc1:Status ID="Status" runat="server" />
<ajaxControlToolkit:Passwo
TargetControlID="Password"
DisplayPosition ="BelowRight"
StrengthIndicatorType="Tex
PreferredPasswordLength="1
PrefixText="Strength:"
HelpStatusLabelID="TextBox
TextCssClass="TextIndicato
TextStrengthDescriptions="
MinimumNumericCharacters="
MinimumSymbolCharacters="0
RequiresUpperAndLowerCaseC
/>
<ajaxControlToolkit:Rounde
TargetControlID="PanelCust
Radius="0"
Corners="All"
/>
<ajaxControlToolkit:Rounde
TargetControlID="PanelCust
Radius="0"
Corners="All"
/>
<ajaxControlToolkit:Rounde
TargetControlID="PanelAcco
Radius="0"
Corners="All"
/>
<ajaxControlToolkit:Rounde
TargetControlID="PanelAcco
Radius="0"
Corners="All"
/>
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="BtnSignup" EventName="Click" />
</Triggers>
</asp:UpdatePanel>
<asp:ObjectDataSource ID="ODSUserInfo" runat="server" InsertMethod="InsertUserIn
OldValuesParameterFormatSt
TypeName="UserInfoDataSetT
<SelectParameters>
<asp:Parameter Name="Id" Type="Int32" />
</SelectParameters>
<InsertParameters>
<asp:ControlParameter ControlID="Title" Name="Title" PropertyName="SelectedValu
Type="String" />
<asp:ControlParameter ControlID="Name" Name="Name" PropertyName="Text" Type="String" />
<asp:ControlParameter ControlID="DateOfBirth" Name="DateOfBirth" PropertyName="Text"
Type="DateTime" />
<asp:ControlParameter ControlID="Address" Name="Address" PropertyName="Text" Type="String" />
<asp:ControlParameter ControlID="PostalCode" Name="PostalCode" PropertyName="Text"
Type="Int32" />
<asp:ControlParameter ControlID="ContactHome" Name="ContactHome" PropertyName="Text"
Type="Int32" />
<asp:ControlParameter ControlID="ContactMobile" Name="ContactMobile" PropertyName="Text"
Type="Int32" />
<asp:ControlParameter ControlID="Username" Name="Username" PropertyName="Text" Type="String" />
<asp:ControlParameter ControlID="Password" Name="Password" PropertyName="Text" Type="String" />
</InsertParameters>
</asp:ObjectDataSource>
[/My codes on the .ascx page]
Not really sure why is this happening. But however when i build and run the pages, they totally work fine. Just that the error at the .aspx page. Could anyone please advice me whats wrong??
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.