I am new to Sitefinity 5.3 I want to create my Usercontrol in Visualstudio 2012 and add that in sitefinitty
Implementing the control is exactly the same as implementing it in pure ASP.NET - no difference.
To include it in Sitefinity, you have to register it in the toolbox. Here is the documentation for this: http://www.sitefinity.com/documentation/documentationarticles/adding-controls-to-the-toolbox
Once that's done, you can create a page in Sitefinity and put your custom control on it using drag and drop. Here's a video showing how: http://www.youtube.com/watch?v=LZ4VHGKQsrg
Related
I am using "kendoui.aspnetmvc.2013.2.918.commercial" version to develop MVC Application.Now i could not find Masked textbox control in intellisence.What is the cause ?
#(Html.Kendo().MaskedTextbox . When i type this there is no such name in the intellisence
The MaskedTextbox widget was not added until 2014 Q1. Here are the release notes that mention it. You would need to upgrade to at least this version.
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.
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!
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.