Click here to Skip to main content
12,405,303 members (66,540 online)
Rate this:
Please Sign up or sign in to vote.
See more: ASP.NET4
<table>="width: 788px;">
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 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 0:05am
Updated 7-Dec-12 0:59am
Devang Vaja 7-Dec-12 7:01am
have u web config in Your website?:)
ryanb31 7-Dec-12 8:11am
It says it can't find the AjaxControlToolKit dll file.

1 solution

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

Solution 1

Instead of using RoundedCornersExtender, I suggest you to use CSS' border-radius property..

Example :-
   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

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.160721.1 | Last Updated 7 Dec 2012
Copyright © CodeProject, 1999-2016
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