Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET4.0
<table>="width: 788px;">
               <tr>
                   ="top">
                    <asp:Panel ID="Panel1" runat="server" Width="218px" BackColor="#EFF3FB">
                    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                      <contenttemplate>
                            <asp:Login ID="Login1" runat="server" BackColor="#EFF3FB"
                             BorderColor="#B5C7DE" BorderPadding="4" BorderStyle="Solid"
                              BorderWidth="1px" Font-Names="Verdana" Font-Size="0.8em"
                               ForeColor="#333333" Height="170px" Width="196px"
                                CreateUserText="Register Here" CreateUserUrl="~/RegisterUser.aspx"
                                 PasswordRecoveryText="Recover Your Password" PasswordRecoveryUrl="~/RecoverPassword.aspx">
                                 <instructiontextstyle font-italic="true" forecolor="Black" />
                                 <layouttemplate>
                                        <table cellpadding="1" cellspacing="0" style="border-collapse:collapse;">
                                        <tr>
                                        <td>
                                        <table cellpadding="0">
                                        <tr>
                                        <td style="font-size:small;" align="center">
                                        Log In
                                        </td> 
                                        </tr>
                                        <tr>
                                        <td align="center">
                                        <asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName">User Name
                                        </td>
                                        </tr>
                                        <tr>
                                        <td align="center">
                                        <asp:TextBox ID="UserName" runat="server">
                                        <asp:RequiredFieldValidator ID="UserNameRequired" runat="server"
                                         ControlToValidate="UserName" ErrorMessage="User Name is Required." ToolTip="User Name is Required"
                                          ValidationGroup="ctl00$Login1">*
                                        </td>
                                        </tr>
                                        <tr>
                                        <td align="center">
                                        <asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password">Password
                                        </td>
                                        </tr>
                                        <tr>
                                        <td align="center">
                                        <asp:TextBox ID="Password" runat="server" TextMode="Password">
                                        <asp:RequiredFieldValidator ID="PasswordRequired" runat="server"
                                         ControlToValidate="Password" ErrorMessage="Password is Required" ToolTip="Password is Required"
                                          ValidationGroup="ctl00$Login1">*
                                        </td>
                                        </tr>
                                        <tr>
                                        <td align="right">
                                        <asp:Button ID="LoginButton" runat="server" CommandName="Login" Text="Log In" ValidationGroup="ctl00$Login1" />
                                        </td>
                                        </tr>
                                        <tr>
                                        <td>
                                        <asp:CheckBox ID="Rememberme" runat="server" Text="Remember Me next time." />
                                        </td>
                                        </tr>
                                        <tr>
                                        <td align="center" style="color:Red;">
                                        <asp:Literal ID="FailureText" runat="server" EnableViewState="false">
                                        </td>
                                        </tr>
                                        <tr>
                                        <td>
                                        <asp:HyperLink ID="CreateUserLink" runat="server" NavigateUrl="~/RegisterUser.aspx">Register Here
                                        <br />
                                        <asp:HyperLink ID="PasswordRecoveryLink" runat="server" NavigateUrl="~/RecoverPassword.aspx">Recover Your Password
                                        </td>
                                        </tr>
                                        </table>
                                        </td>
                                        </tr>
                                        </table>
                                 </layouttemplate>
                                 <loginbuttonstyle backcolor="White" bordercolor="#507CD1" borderstyle="Solid" borderwidth="1px">
                                  Font-Names="Verdana" Font-Size="0.8em" ForeColor="#284E98" />
                                  <textboxstyle font-size="0.8em" />
                                  <TitleTextStyle BackColor="#507CD1" Font-Bold="true" Font-Size="0.9em" ForeColor="White" />
                                 
                                 <asp:LoginName ID="LoginName1" runat="server" FormatString="Welcome, {0}" />
                                 <br />
                                 <asp:LoginStatus ID="LoginStatus1" runat="server" LogoutAction="RedirectToLoginPage" Visible="false" LogoutPageUrl="~/Login.aspx" />
                                 <br />
                                 <asp:HyperLink ID="hlChangePassword" runat="server" NavigateUrl="~/ChangePassword.aspx" Width="113px">
                                 Change Password
                                 
                      </loginbuttonstyle></contenttemplate>
                      <triggers>
                      <asp:AsyncPostBackTrigger ControlID="Login1" EventName="Disposed" />
                      </triggers>
                    
                    
                    ***<cc1:RoundedCornersExtender ID="RoundedCornersExtender1"  runat="server" TargetControlID="Panel1"        <table style="width: 788px;">
               <tr>
                   <td align="left" valign="top">
                    <asp:Panel ID="Panel1" runat="server" Width="218px" BackColor="#EFF3FB">
                    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                      <contenttemplate>
                            <asp:Login ID="Login1" runat="server" BackColor="#EFF3FB"
                             BorderColor="#B5C7DE" BorderPadding="4" BorderStyle="Solid"
                              BorderWidth="1px" Font-Names="Verdana" Font-Size="0.8em"
                               ForeColor="#333333" Height="170px" Width="196px"
                                CreateUserText="Register Here" CreateUserUrl="~/RegisterUser.aspx"
                                 PasswordRecoveryText="Recover Your Password" PasswordRecoveryUrl="~/RecoverPassword.aspx">
                                 <instructiontextstyle font-italic="true" forecolor="Black" />
                                 <layouttemplate>
                                        <table cellpadding="1" cellspacing="0" style="border-collapse:collapse;">
                                        <tr>
                                        <td>
                                        <table cellpadding="0">
                                        <tr>
                                        <td style="font-size:small;" align="center">
                                        Log In
                                        </td> 
                                        </tr>
                                        <tr>
                                        <td align="center">
                                        <asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName">User Name
                                        </td>
                                        </tr>
                                        <tr>
                                        <td align="center">
                                        <asp:TextBox ID="UserName" runat="server">
                                        <asp:RequiredFieldValidator ID="UserNameRequired" runat="server"
                                         ControlToValidate="UserName" ErrorMessage="User Name is Required." ToolTip="User Name is Required"
                                          ValidationGroup="ctl00$Login1">*
                                        </td>
                                        </tr>
                                        <tr>
                                        <td align="center">
                                        <asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password">Password
                                        </td>
                                        </tr>
                                        <tr>
                                        <td align="center">
                                        <asp:TextBox ID="Password" runat="server" TextMode="Password">
                                        <asp:RequiredFieldValidator ID="PasswordRequired" runat="server"
                                         ControlToValidate="Password" ErrorMessage="Password is Required" ToolTip="Password is Required"
                                          ValidationGroup="ctl00$Login1">*
                                        </td>
                                        </tr>
                                        <tr>
                                        <td align="right">
                                        <asp:Button ID="LoginButton" runat="server" CommandName="Login" Text="Log In" ValidationGroup="ctl00$Login1" />
                                        </td>
                                        </tr>
                                        <tr>
                                        <td>
                                        <asp:CheckBox ID="Rememberme" runat="server" Text="Remember Me next time." />
                                        </td>
                                        </tr>
                                        <tr>
                                        <td align="center" style="color:Red;">
                                        <asp:Literal ID="FailureText" runat="server" EnableViewState="false">
                                        </td>
                                        </tr>
                                        <tr>
                                        <td>
                                        <asp:HyperLink ID="CreateUserLink" runat="server" NavigateUrl="~/RegisterUser.aspx">Register Here
                                        <br />
                                        <asp:HyperLink ID="PasswordRecoveryLink" runat="server" NavigateUrl="~/RecoverPassword.aspx">Recover Your Password
                                        </td>
                                        </tr>
                                        </table>
                                        </td>
                                        </tr>
                                        </table>
                                 </layouttemplate>
                                 <loginbuttonstyle backcolor="White" bordercolor="#507CD1" borderstyle="Solid" borderwidth="1px">
                                  Font-Names="Verdana" Font-Size="0.8em" ForeColor="#284E98" />
                                  <textboxstyle font-size="0.8em" />
                                  <TitleTextStyle BackColor="#507CD1" Font-Bold="true" Font-Size="0.9em" ForeColor="White" />
                                 
                                 <asp:LoginName ID="LoginName1" runat="server" FormatString="Welcome, {0}" />
                                 <br />
                                 <asp:LoginStatus ID="LoginStatus1" runat="server" LogoutAction="RedirectToLoginPage" Visible="false" LogoutPageUrl="~/Login.aspx" />
                                 <br />
                                 <asp:HyperLink ID="hlChangePassword" runat="server" NavigateUrl="~/ChangePassword.aspx" Width="113px">
                                 Change Password
                                 
                      </loginbuttonstyle></contenttemplate>
                      <triggers>
                      <asp:AsyncPostBackTrigger ControlID="Login1" EventName="Disposed" />
                      </triggers>
                    
                    
                    ***<cc1:RoundedCornersExtender ID="RoundedCornersExtender1"  runat="server" TargetControlID="Panel1"
                     Radius="6" Corners="All">
                    ***
                     Radius="6" Corners="All">
                    ***
I am just trying to make a master page for my project but this problem stucked me here... I downloaded the Ajax tool kit from the asp.net website and after that I made a new tab in the tool box where I added the Ajax control tool kit .dll file... and now when I am using the tool from the tab, there occurs the problem... that is the compilation error... I also register the AjaxControlToolKit in the master page as follows:
 
<%@ Register Assembly="AjaxControlToolKit" Namespace="AjaxControlToolKit" TagPrefix="cc1" %>
and when I compile my code this shows me the below errors:
 
Error   2   Could not load file or assembly 'AjaxControlToolKit' or one of its dependencies. The system cannot find the file specified. C:\......\TravelOnlineApp\MasterPage1.master   3
 
Error   3   Unknown server tag 'cc1:RoundedCornersExtender'.    C:\......\TravelOnlineApp\MasterPage1.master   149
 
Warning 4   Element 'RoundedCornersExtender' is not a known element. This can occur if there is a compilation error in the Web site, or the web.config file is missing.
Posted 7-Dec-12 1:05am
Edited 7-Dec-12 1:59am
v3
Comments
Devang Vaja at 7-Dec-12 7:01am
   
have u web config in Your website?:)
ryanb31 at 7-Dec-12 8:11am
   
It says it can't find the AjaxControlToolKit dll file.

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Instead of using RoundedCornersExtender, I suggest you to use CSS' border-radius property..
 
Example :-
CSS :
.RoundedCorners
{
   border : solid 2px Gray;
   -webkit-border-radius : 2px;  // for chrome
   -moz-border-radius : 2px ;   // for firefox
}
aspx :
<asp:panel id="panel1" runat="server" cssclass="RoundedCorners" xmlns:asp="#unknown">
   // your content
</asp:panel>
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 245
1 Kamal Rocks 184
2 Sergey Alexandrovich Kryukov 175
3 BillWoodruff 173
4 PIEBALDconsult 160
0 OriginalGriff 5,655
1 DamithSL 4,506
2 Maciej Los 3,997
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,180


Advertise | Privacy | Mobile
Web02 | 2.8.141216.1 | Last Updated 7 Dec 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100