.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

How to install the Css Friendly Control Adapter Source Code

Posted By:      Posted Date: August 21, 2010    Points: 0   Category :ASP.Net

Hi guys really new to ASP.NET I was trying to install the CSS Friendly control adapter but for some reason the instructions on the website seems outdated. I downloaded all the files (Source Code, DLL, Browser) I believe I need to add the DLL file to my website's Bin folder and the Browser file to the APP_Browsers folder is this correct? After I place this files how to I get it working? what do I have to do?

Also if I want to create a new DLL file from the Source code how do I do these? I opened the web-site with Visual Studio 2008 and I can see all the files in the solution explorer? But how do I compile this to a DLL file? I tried doing a build solution but all I get is an .sln file???

Any help would be greatly appreciated

Thanks in advance


View Complete Post

More Related Resource Links

Virtual Source Code Control Systems: Promoting and Managing Projects using Visual SourceSafe


Source code control systems like Microsoft Visual SourceSafe can simplify just about any development project, and make it easier for your code to move safely among individual programmers, development teams, and project stages. Visual SourceSafe provides an object model that you can use as the basis of your own customized source code control environment. To give you an idea of what is possible, we'll walk you through the elements of a browser-based source code control system built with Visual SourceSafe, ASP, and VBScript. This simple system lets members of your team build, label, and promote individual files or entire projects, and to reverse promotions.

Ken Ramirez

MSDN Magazine May 2000

help with error when using css friendly control adapter

I have installed the CSS friendly control adapters for my menus and treeview because the designer did the entire job in with <div><ul><li> instead of tables   so to adapt I installed the CSS adapter. Tyat worked great for my menu and treeview. Really. The thing is that I dont need the adapter for anything else then my menu and treeview But when I navigate to a page that has a regular wizard control (not a create user wizard) then it gets stuck on 1 line of code and gives the following error:  Unable to cast object of type 'System.Web.UI.WebControls.WizardStep' to type 'System.Web.UI.WebControls.TemplatedWizardStep'. What can I do? can I dissable part of the adapters to not adapt my wizard? When I get the error It is normally stuck on that line opf code below which is underlined and bold. Protected Overrides Sub RenderContents(ByVal writer As HtmlTextWriter) If (Extender.AdapterEnabled) Then Dim wizard As CreateUserWizard = Control If (Not IsNothing(wizard)) Then Dim activeStep As TemplatedWizardStep = wizard.ActiveStep If (Not IsNothing(activeStep)) Then If (Not IsNothing(activeStep.ContentTemplate)) Then activeStep.RenderControl(writer) If (wizard.CreateUserStep.Equals(activeStep)) Then WriteCreateUserButtonPanel(writer, wizard) End If ' Might need to add logic here to render nav buttons for other kinds of ' steps (besides t

Microsoft StyleCop: Source Code Analyzer for C#

StyleCop is similar in many ways to Microsoft Code Analysis (specifically FxCop), but there are some important distinctions. FxCop performs its analysis on compiled binaries, while StyleCop analyzes the source code directly. For this reason, FxCop focuses more on the design of the code, while StyleCop focuses on layout, readability and documentation. Most of that information is stripped away during the compilation process, and thus cannot be analyzed by FxCop.

C# and XML Source Code Documentation

Through many years of enterprise level software development and consulting, I became critically aware of the importance of good source code documentation, and several years ago when I began working with the first release of Visual Studio .NET beta 1 and found C# provided built-in support for inline XML code documentation, I was thrilled.

Any plans on releasing the source code for WebMatrix itself?


I tried reflecting into WebMatrix.exe but was unable.  I'm interested on how you integrated the WPF Ribbon & the Office-style sidebar.

VWDE 2010 Won't Install Ajax Control Toolkit on XP Pro


To my displeasure I cannot find VWD2005 which at one time would generate a complete web.config for Ajax so I downloaded and installed VWDE 2010 to a clean install of XP Pro.

I've created a new tab on the toolbar for the controls but after I select the Ajax dll to add the controls to the toolbar it grinds away and then goes poof and closes down the task leaving VWD look as if I had never even created the tab in the toolbar. 


Any advice here?

are the "CSS Friendly Control Adapters" being used in ASP.NET 3.5 and above?


I am a long time ASP.NET developer, but have just encountered the issue of CSS vs Tables in a deep manner (so far I have just used the built-in controls or just created my own controls).

I bought a great book on this issue, but the book is reffering the ASP.NET 2.0 via VS2005.

I am using ASP.NET 3.5 and above via VS2008/2010.

My first question is: are the "CSS Friendly Control Adapters" still alive in 2010 or maybe there are a new techniques being used?

My second question is:  are the "CSS Friendly Control Adapters" being used in ASP.NET 3.5 and above via VS2008/VS2010?

I will appreciate your help and advise.





Cant find vsi file for CSS Friendly Control Adapters


Hi guys

This is driving me crazy... I cant find the .vsi file for installing the CSS Friendly Control Adapters Project. Does anyone know where I can get this?

The following link: http://www.asp.net/cssadapters/ only leads to the CodePlex wiki where I can download the dll and a partial solution. Essentially, I'm looking for the source code to implement the Menu adapter.

Any help is much appreciated!

The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>)


Hey guys

I came across this bug using while trying to implement a sitemap

Line 147:						Panel panel = new Panel();
Line 148:						panel.Controls.Add(_viewState);
Line 149:						Page.Form.Controls.Add(panel);
Line 150:						string script = "document.getElementById('" + _viewState.ClientID + "').value = GetViewState__AspNetTreeView('" + Extender.MakeChildId("UL") + "');";
Line 151:						Page.ClientScript.RegisterOnSubmitStatement(typeof(TreeViewAdapter), _viewState.ClientID, script);

[HttpException (0x80004005): The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).]
   System.Web.UI.ControlCollection.Add(Control child) +8696951
   CSSFriendly.TreeViewAdapter.SaveAdapterViewState() in E:\wwwroot\ThirdParty\CSSFriendly\CSSFriendly_24242\CSSFriendly\TreeViewAdapter.cs:149
   System.Web.UI.Control.SaveViewStateRecursive(ViewStateMode inheritedMode) +8901848
   System.Web.UI.Control.SaveViewStateRecursive(ViewStateMode inheritedMode) +148
   System.Web.UI.Control.SaveViewStateRecursive(ViewStateMode inheritedMode) +148
   System.Web.UI.Control.SaveViewStateRecursive(ViewStateMode inheritedMode) +148

How do I use the CSS Control Adapter in my project


Hi Friends,

I want to use the CSS control adapter in my project, I googled on using this control, everywhere it says  need to download the vsi file  and install it and it will be available ready to use with the project. But on codeplex i can only find a soyrce zip file, a dll file and a browser file. I have downloaded these, but I dont know how do I use them. I could not find any updated post on using this. Can somebody please help me with this.

Also I am using VS2008 and 3.5 framework, so will it work with this.



Wizard control adapter with sidebar on top


Hi all,

I want to move the sidebar to top in wizard control. How to do that??? I know control adapters can help but it is too tough to write those. Let me know how to do that. Any other solution is also welcome.


please help!


Css Control Adapter


Hi All,

We have developed an application and it is live. Application is developed in c# for net in VS2005.

Now, we want to implement CSS Control Adapter which is used to replace the Table Layout. 

What are teh complication in make this change in live site and how can we do it.

Any help will be appreciated.




Pls can any one help me with the details on how to use css control adapter.

Toolbox: Data Snapshots, Subversion, Source Code Organization and More


If you want to save, organize, and annotate snapshots of your database data, find an easy way to install and configure Subversion, and automate the organization of your source code, then you'll want to read more about these latest tools.

Scott Mitchell

MSDN Magazine August 2009

Rotor: Shared Source CLI Provides Source Code for a FreeBSD Implementation of .NET


With over 9,000 files, and including some 1300 public classes to pore through, the Shared Source CLI can teach you quite a bit about the internal workings of the CLR. But the sheer amount of source code included can make just starting your exploration a monumental task. This article discusses some of the things you can learn from the source code facsimile of the CLR, like how JIT compilation works. It will also help you understand how to control execution along with debugging and loading classes. A walk through the steps involved in setting up the runtime will let you become familiar with the process.

Jason Whittington

MSDN Magazine July 2002

The Weekly Source Code 56 - Visual Studio 2010 and .NET Framework 4 Training Kit - Code Contracts, P

Do you like a big pile of source code? Well, there is an imperial buttload of source in the Visual Studio 2010 and .NET Framework 4 Training Kit . It's actually a 178 meg download, which is insane. Perhaps start your download now and get it in the morning when you get up. It's extremely well put together and I say Kudos to the folks that did it. They are better people than I. I like to explore it while watching TV myself and found myself looking through tonight. I checked my blog and while I thought I'd shared this with you before, Dear Reader, I hadn't. My bad, because it's pure gold . With C# and VB, natch. Here's an outline of what's inside. I've heard of folks setting up lunch-time study groups and going through...(read more)
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend