Showing posts with label css. Show all posts
Showing posts with label css. Show all posts

Saturday, March 24, 2012

intro.css source

For many of the Atlas quick start samples, you're usingintro.css file. Can you post the source for this file please? It makes it easier when trying out the sample locally.

For any page that uses a css file, you can get that file simply by typing its URL in the browser (since css files are client side). e.g. for intro.css, trythis.

David


Thanks for the tip. Should have realized that before.

Wednesday, March 21, 2012

Is it easier to add AJAX or CSS Adapters?

I have a new web application. C#. .net 2.0. I can of course create it blank, but I want to use the VS template for either AJAX or the CSS Adapters. I want to use both, but am not sure how to add them later. Which would you suggest I start the application as AJAX or CSS Adapter? Which is easier to go back and add? Thank you.

CSS is a much much much easier technology, so start with the AJAX template.

Happy coding :)


CSS Adapters are easy to implement. However, they also seem to take over anything they are configured to transform. o, for example - if you use the gridview one - perhaps you do not want the adapter to apply the styles - I found no easy way to get rid of them and still retain them for the rest of the pages . But I also run a dynamically generated site so excluding certain pages / paths in a web.config was not an option...

Ajax is relatively more complex but not by much and you have alot more flexibility over where and how...In combination - and using them for the right design reasons both can equally be leveraged...Design with the Ajax template - the CSS adapters can just get dropped in later and a simple tweak to the web.config. Much harder to remember all the things in a Ajax web.config to copy over to a CSS Adapter template,...either or though it is not all that difficult...play around with them - I am sure you will find what works best for you...

Just my two cents worth...