CSS Friendly Control Adapters

This is an open forum for any mojoPortal topics that don't fall into the other categories.

This thread is closed to new posts. You must sign in to post in the forums.
2/9/2012 2:43:01 PM
Gravatar
Total Posts 40

CSS Friendly Control Adapters

I ran across these last night while searching for something else and I am wondering are these still in use at all? Everything I am finding on them is from way back in 2007-2008.

2/9/2012 3:32:27 PM
Gravatar
Total Posts 2212

Re: CSS Friendly Control Adapters

They're still in use for .NET 2/3.5, just not much has changed since then.

2/9/2012 4:00:11 PM
Gravatar
Total Posts 18439

Re: CSS Friendly Control Adapters

They are still in use for .NET 4 as well. There are alternative ways of fixing the rendering in .NET 4 with new control properties, but the CSS adapter way still works and since we still support .NET 3.5 has been no reason to change it, and probably will still use them even when we drop support for .NET 3.5 simply because it isn't broken and doesn't need fixing and we've modified the adapters to meet our particular needs and added extra functionality to our custom versions that is not available in the native controls. ie to support things like Artisteer.

We use it for the menu and treeview and a few other controls, but our adapters are not applied directly to <asp:Menu nor <asp:TreeView but instead assigned to our sub classes of those controls mojoMenu and mojoTreeView. That way people can still use the native controls without the adapaters if they want to, and if they do want to use them they can use our controls.

Best,

Joe

You must sign in to post in the forums. This thread is closed to new posts.