jQuery UI DotNetNuke integration

CodePlex

jQuery UI DotNetNuke integration

The goal of jQUI-DNN is to provide an easily deployable solution for developers wanting to use jQuery UI in a DotNetNuke context. The core and themes are provided as separate modules for easy deplo...

Source code checked in, #48188

Checked in by server upgrade
Date: 08 Jul 2010 20:15

New Post: scriptpath / themepath

Each control would have a property called ScriptPathUI and ScriptPathjQuery or so which you would be using to instantiate the necessary scripts. This could be the full path to the core files, no need to follow a naming convention.

Date: 14 May 2010 11:07

New Post: scriptpath / themepath

Hi proeder!

I don't think, I'll be able to fit in the update this week. I just created a new release with the current version 1.4.2 of jQuery and a minor addition to the Tabs control.

I wanted to add your feature, but it got me thinking about the best way to implement it. The problem is, that there are a few things things to consider:

  • Where is the jQuery core js file? (needs the complete path, due to version number)
  • Where is the jQuery UI js file? (same problem)
  • How and when do you configure, which files to use? This must occur before any control tries to register jQuery on the page.

The "ThemePath" has already been implemented though. If you want to use your own custom theme, you can call

JQueryUI.RegisterJQueryUITheme(this.Page, "MyTheme", "~/Path/To/MyTheme/", "1.7.2");

You have to follow a convention though: Your css file must be named jquery-ui-<Version>.<ThemeName>.css, in order for the infrastructure to find it. The path is freely choosable, but must be in the application, since the infrastructre will perform a check, if the file actually exists. Maybe I can add an override, so you can specify a url for using a CDN.

For the core files, this would have to occur in a similar fashion. Do you perhaps have a picture in mind, how you would want to include the core files?

Regards,
Christoph

Date: 09 Apr 2010 10:02

New Post: jQueryUI not working good !!!

I just created a new release (jQuery Core module 0.6.0), that upgrades to jQuery 1.4.2 and adds a property named UseInlineBlockInitialization to the Tabs control. If you set this to true (like in the new example .ascx), the tabs widget will be initialized with a script block instead of the document.ready event. I believe, this has sped up the initialization significantly. Nonetheless, if your Tabs contain a lot of content, you will still see the basic rendering before it is changed to the tabs style. This is a "limitation" of jQuery UI, though. Please try it out and tell me, if this solves your problem.

Best regards,
   Christoph

Date: 09 Apr 2010 09:36

Updated Wiki: Home

Project Description
The goal of jQUI-DNN is to provide an easily deployable solution for developers wanting to use jQuery UI in a DotNetNuke context. The core and themes are provided as separate modules for easy deployment in a DotNetNuke host. It is developed in C#.

Current development

The latest development has been released in the current downloads. More features will be added as the need arises or someone specifically asks for them. So don't hesitate to drop us a line, or code yourself and aid us in making the integration package complete.

Current release

The current release is the jQuery Core module 0.6.0. It is basically only a version upgrade to jQuery 1.4.2, but also adds a UseInlineBlockInitialization property to the Tabs control, which makes it render a script block directly after the html structure for a more timely initialization of the widget as opposed to using the document.ready event. You can try it out at our demo site http://jquidnn.succell.net/.

The extras package has not been modified and still works with the upgraded core module.

Both releases are packaged for installation as DNN modules. The core module package contains the core functionality for the jQuery UI integration. It includes the web controls, infrastructural code for including the required javascript libraries on the page, and the smoothness theme. Current library versions are:
  • jquery-1.4.2.min.js
  • jquery-ui-1.7.2.min.js
The currently implemented web controls are:
  • DatePicker (Textbox-Popup-Mode)
  • Dialog
  • Progressbar
  • Slider
  • Tabs

The Extras module contains supplementary web controls and widget code for non-core widgets. The currently implemented web controls are:
  • Watermark
  • WindowedDialog

Currently, we have no End-User Documentation for the module package, but the provided web controls are now documented in code, and the compiled xml documentation files are available as a separate release (see below). To view a demo of the available controls, simply place the core module on a tab, or visit the demo page at http://jquidnn.succell.net/.

After installing the DotNetNuke modules, be sure to mark them as premium, so they are not visible in the module selection list. The intended usage is not as modules, but as a library for developers wanting to use jQuery in their module views.

For developers wanting to create DotNetNuke components using the supplied web controls, we now supply four releases containing just the dll and xml documentation files, a debug and a release build. Be sure to grab those, if you want to start developing:

Products using JQUI-DNN

Like every developer, we also like to see examples of work based on our library. So, if you are developing modules or skins using our library, please show them off by leaving a link in the discussion board :-) If you like, we can even link them in the list below.
  • succell.news makes heavy use of JQUI-DNN in the administration backend.

More developers are welcome to help the project!
Date: 09 Apr 2010 09:32

Source code checked in, #44740

Added Debug and Release packages for developers
Date: 09 Apr 2010 09:23

Created Release: jQUI library 0.6.0 for developers (RELEASE) (Apr 09, 2010)

This release includes the release built .dll and .xml files for developers wanting to build DNN components using the jQuery UI widgets. The .dll is the same version as packaged with the jQuery Core module 0.6.0, hence providing the same features.
Date: 09 Apr 2010 09:21

Released: jQUI library 0.6.0 for developers (RELEASE) (Apr 09, 2010)

This release includes the release built .dll and .xml files for developers wanting to build DNN components using the jQuery UI widgets. The .dll is the same version as packaged with the jQuery Core module 0.6.0, hence providing the same features.
Date: 09 Apr 2010 09:21

Created Release: jQUI library 0.6.0 for developers (DEBUG) (Apr 09, 2010)

This release includes the debug built .dll, .pdb, and .xml files for developers wanting to build DNN components using the jQuery UI widgets. The .dll is the same version as packaged with the jQuery Core module 0.6.0, hence providing the same features.
Date: 09 Apr 2010 09:19

Released: jQUI library 0.6.0 for developers (DEBUG) (Apr 09, 2010)

This release includes the debug built .dll, .pdb, and .xml files for developers wanting to build DNN components using the jQuery UI widgets. The .dll is the same version as packaged with the jQuery Core module 0.6.0, hence providing the same features.
Date: 09 Apr 2010 09:19

Created Release: jQuery Core module 0.6.0 (Apr 09, 2010)

This module package contains the core functionality for the jQuery UI integration. It includes the web controls, infrastructural code for including the required javascript libraries on the page, and the smoothness theme. Current library versions are:

* jquery-1.3.2.min.js
* jquery-ui-1.7.2.min.js



The currently implemented web controls are:

* DatePicker (Textbox-Popup-Mode)
* Dialog
* Progressbar
* Slider
* Tabs



New in this release:

* ADD: Tabs control now offers a UseInlineBlockInitialization property for a more timely widget initialization
* CHG: Upgraded jQuery core to version 1.4.2
Date: 09 Apr 2010 09:16

Released: jQuery Core module 0.6.0 (Apr 09, 2010)

This module package contains the core functionality for the jQuery UI integration. It includes the web controls, infrastructural code for including the required javascript libraries on the page, and the smoothness theme. Current library versions are:

* jquery-1.3.2.min.js
* jquery-ui-1.7.2.min.js



The currently implemented web controls are:

* DatePicker (Textbox-Popup-Mode)
* Dialog
* Progressbar
* Slider
* Tabs



New in this release:

* ADD: Tabs control now offers a UseInlineBlockInitialization property for a more timely widget initialization
* CHG: Upgraded jQuery core to version 1.4.2
Date: 09 Apr 2010 09:16

Source code checked in, #44739

Upgraded to jQuery 1.4.2 Added UseInlineBlockInitialization property to Tabs control for a more timely initialization of the Tabs widget Updated to version 0.6.0
Date: 09 Apr 2010 09:13

New Post: jQueryUI not working good !!!

I also use document.ready function, i can't go to production when this problem was not resolved, my customers are tells me about problem ...
Date: 09 Apr 2010 08:11

New Post: jQueryUI not working good !!!

There may be drawbacks when using the inline script block. I posted a question aiming at this issue in the jQuery forums, in which I explain a possible problem when not using the document.ready event. You can find it here: http://forum.jquery.com/topic/best-practice-for-initializing-widgets. I'll get back to this, when I receive a satisfactory answer. For now, I do not consider this a bug in the jQUI-DNN Integration package, but a minor drawback in jQuery UI itself.

Date: 09 Apr 2010 07:49

New Post: jQueryUI not working good !!!

The scripts and css files are loaded in the head content of the page and are available early enough. This effect is due to the way the widgets are initialized. As in all the demos on the jQuery UI page, the widgets are initialized using the document.ready event. This event fires when the document is loaded, so if the document is large and your connection is slow, it will postpone converting the html structures to the widgets until the event fires. So far, this has not created any problems for any of my products, but I will consider adding the behavior to use inline script blocks placed directly after the rendered html structure instead of the document.ready event. This should speed things up in large documents. Thanks for the info!

Date: 09 Apr 2010 07:28

New Post: jQueryUI not working good !!!

I see there is problem on demo page ...

If You clear cache and reload page You will see for a second original not ui formated tabs div, you will see ul li etc ... !!!

If tabs have content like big photos, tabs will not be formated several seconds and show ul li code ...

I think jquery-ui.js is not loaded well ? it is loaded after page content, i think scripts must be loaded before content !?!?!?

 

Date: 08 Apr 2010 23:01

New Post: scriptpath / themepath

Hi proeder!

I actually built this library having in mind an easy deployment. Various commercial modules require you to install more than one module, due to the fact that they have their own reusable framework libraries, that were deployed separately (at least until DNN5). The same thing happens here: The jqui-module package is simply a prerequisite for your own custom modules.

Nonetheless, I will consider adding support for manual support files distribution. Especially since I am not always able to keep up with the latest jQuery development, this would enable developers to deploy their own jQuery version with their modules. I'll try to post an update later this week.

Regards,
Christoph

Date: 06 Apr 2010 08:50

New Post: scriptpath / themepath

Hi Christoph,

it would be helpful to have the ability to set the path to scripts and themes. Right now, one has to have the jquery ui module installed if using the library in a custom module, for redistributing the library this is not very helpful.

You also might consider support for CDN's.

Other than that, great work!

Date: 06 Apr 2010 08:41

New Post: Using Tabs in Text/HTML

Hi Lance!

If I understand you correctly, your main problem is getting jQuery tabs to work in XModPro. Maybe you should ask the their team for support. The jQUI-DNN module is rather meant as an aid for developers wanting to use jQuery UI in their own custom modules. I have not used XModPro yet, so I won't be of much help. But if I read their product description correctly, they offer something similar to tabs with the tabstrip control out of the box, don't they?

If you can use .ascx file for templates in xmod, it would be possible for you to use this module to complement xmod, but since I have never worked with it, I don't know if this is supported. If it is, then I can probably help you.

Regards,
Christoph

Date: 15 Nov 2009 11:13