Adding custom stylesheet to backoffice user control
Hi,
I've created a user control that's displayed in the users dashboard. It displays a list of users from an Active Directory after the user enters some search criteria.
My questions is, what's the best way to add my own custom style sheet to my table of user results?
I'm sure this must have been asked in the past, but I've searched the forum and I can't find an answer.
Hi. Umbraco heavily uses ASP.Net Client Dependency Framework, so the best way to inject your stylesheet is to make use of it as well.
You can find documentation on it here: http://clientdependency.codeplex.com/documentation , though be little carefull since the version of CD framework that umbraco uses is not the lates one and can miss some features.
In the end I used clientdependancy to import my own stylesheet as well as the jQuery UI css and the javascript for DataTables.net. Then I used a data table to format my list of users and add pagination and column sorting. It looks great now.
Adding custom stylesheet to backoffice user control
Hi,
I've created a user control that's displayed in the users dashboard. It displays a list of users from an Active Directory after the user enters some search criteria.
My questions is, what's the best way to add my own custom style sheet to my table of user results?
I'm sure this must have been asked in the past, but I've searched the forum and I can't find an answer.
Hi. Umbraco heavily uses ASP.Net Client Dependency Framework, so the best way to inject your stylesheet is to make use of it as well.
You can find documentation on it here: http://clientdependency.codeplex.com/documentation , though be little carefull since the version of CD framework that umbraco uses is not the lates one and can miss some features.
Thanks Rodion,
I took a look at clientdependency and it was exactly what I needed. I found this video useful as well from Shannon Deminick at Code Garden 11 - http://codegarden11.com/sessions/day-2/slot-three/clientdependency.aspx
In the end I used clientdependancy to import my own stylesheet as well as the jQuery UI css and the javascript for DataTables.net. Then I used a data table to format my list of users and add pagination and column sorting. It looks great now.
Thank you for your help!
is working on a reply...