I have created a new Silverlight 4 solution using the Business Application template. The requirement is to style the application and not use the generic template theme. I have installed the Silverlight 4 toolkit and like the BureauBlue theme.
How do I apply the BureauBlue toolkit theme to the entire solution? That is, is there a way to apply the theme globally (similar to attaching a CSS file to an ASP.NET or HTML site) instead of applying the theme to each control?
Thanks,
Sid
I have not experimented with this using a site that runs off an application with many user controls, but this seemed to work for my entire application and may help you.
First you have to have the theme reference added (for example, System.Windows.Controls.Theming.BureauBlue.dll)
Then in your code you can add this line of code:
System.Windows.Controls.Theming.BureauBlueTheme.SetIsApplicationTheme(Application.Current, true);
This applies the theme to the current running application, and if the boolean value is false I believe it will remove the theme.
Related
Well, Our company has bought shopify theme and was happily using it. now we like make changes to this theme, mostly cosmetic changes, like changing card colors add some background images, then some layout change.
My question is/are:
1) Can we use bootstrap with existing theme?
2) Does making change to css of existing theme get replace if there is theme update, like WordPress?
3) How can we set it up so we can develop new design locally but our store stays live with old design until we're done developing new one?
Can we use bootstrap with existing theme?
ANS: Yes you can use bootstrap in your theme. You just need to include the bootstrap in your new templates and you are ready to go.
Does making change to css of existing theme get replace if there is theme update, like WordPress?
ANS: Suppose you'd added some CSS or custom code in your theme then new update will not replace your code. What will happen is you need to add the updates code manually in your theme. For reference you can read this article Updating themes.
How can we set it up so we can develop new design locally but our store stays live with old design until we're done developing new one?
ANS: You can use theme kit for local development. To stay live with old theme, you just need to make copy of the theme and used its ID in your theme kit.
When you start learning theme Kit then you will know what is theme ID.
Hope this information will help you.
Best of luck.
I'm trying out the mobile pattern, and have been trying to crate my own custom pattern that is now supposedly supported in Worklight 6.1.
When I tried creating jquery UI pattern, several issues:
1. The rich page editor for the pattern.html does not display the jquery component correctly on the design page (e.g button is displayed as link).
2. When I added a new page (into a jquery hybrid app) based on the custom UI pattern, it does not create a new page. It only adds the content code into the index.html, and I had to create the page myself.
Is this the correct behaviour?
I'm also having difficulty in creating Dojo UI pattern… as there is no Dojo component available on the palette when I open up the dojo > pattern.html file.
Do I have to add the libraries and code manually (i.e. no Drag-and-Drop)?
Appreciate any pointers on this.
PS: I'm using Eclipse Juno R2
1) For jQuery based patterns you need to append a jQuery core file to the project besides the jQuery mobile ones, for example, append this one: http://code.jquery.com/jquery-1.10.2.js to your project, next to jquery mobile JS file. This is just because "UI Pattern" projects don't have this file available, but they need it to handle a proper preview.
2) For Dojo patterns, there is still no official support (for example Drag and drop), so even you can modify pattern.html to get some "insertable" code, you may still need some additional tuning to get a valid pattern.
Now that Rally has changed the default UI for their ALM product, I have noticed that the UI components in my apps don't fit the same styling characteristics as the default UI elements. I think it would look a lot cleaner if I could use Ext's "Neptune" theme: http://docs.sencha.com/extjs/4.2.2/extjs-build/examples/build/KitchenSink/ext-theme-neptune/#basic-panels
Is there a way I can use this theme by default? If it is hosted anywhere within Rally, I think it would be as easy as including the CSS file in the App.html, but I could be wrong.
2.0rc1 is built on Ext 4.1.1a, so I'm not sure if the neptune theme is included or not. You'll be happy to know that 2.0rc2 is hot off the presses though, and should incorporate most of the new look and feel.
https://rally1.rallydev.com/apps/2.0rc2/sdk.js
https://help.rallydev.com/apps/2.0rc2/doc/
I have an existing web project in Visual Studio 2012 and it is MVC4. I have Infragistics installed (all components) on the machine.
Now what I want to achieve is to be able to use the web drop down control via a HTML helper.
After some reading on here I understand there may be a few steps involved in order to be able to use the HTML helper as I wish, such as adding the namespace either to the web.config or the view.
I have tried to manually add references to the libraries but after, when trying to add the namespace to my view, it is not recognised. Assuming that there are DLL dependencies I am not aware of I used the Infragistics "Create ASP.NET Toolbox Tab for CLR 4.0 2013.1" app to hopefully add my controls for me so that a drag drop onto my html page would hopefully add whatever reference is required. The app seems to complete successfully but I don't see any change to what I need. No new items in the toolbox and still I cannot add the namespace to my view.
Can someone please tell me simply as possible how to get started? I cannot believe how difficult I have found this. I don't mind what technique, I just need a technique.
Thanks
Not a complete answer but one reason why I could not use it was because adding a reference is not enough. You need to set CopyLocal=true in order for the HtmlHelpers to pick it up.
Use the jQuery combo box rather than the ASP.NET WebDropDown as the WebDropDown is dependent on the page and ASP.NET web forms which you are not using in ASP.NET MVC. You can either write your own helper or use the one that Infragistics provides.
I fell into a project where my task was develop some widgets in Sitefinity 4.4. I've found a lot of documentation on how to create the widgets using the Site Manager and all that has gone really well.
Now, I have the widgets set up in a test environment and working well with some test pages. I'm trying to figure out how to deploy the widgets to the production server without re-doing all the work there. I just want to move the widgets over - I don't need or want the pages. I have gone through a lot of the Telerik documentation, but have been unable to find anything about deploying like this. Has anyone done this before?
Thanks!
did you develop these widgets as compiled controls (dll) or simple user controls (.ascx)?
The process is mostly the same for either. the dll goes in the bin folder whereas a user control gets uploaded to the website folder somewhere. then you simply register the widget in the toolbox.
here is the documentation for how this is done: http://www.sitefinity.com/documentation/documentationarticles/adding-controls-to-the-toolbox
The only difference for a compiled dll widget is to use the fully qualified name for the ControlType instead of the path to the user control.
After registering the widget it should be available to drop onto any page.
Hope this is helpful!