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...

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

New Post: Using Tabs in Text/HTML

I am a jQuery newbie and I want to add UI tabs to an XModPro Template. I figure that if I understand how to do it in Text/HTML I can do it in XModPro. So, I tried using the sample code from the jQuery UI documentation and it is working (see below) but it is pointing off-site.

How can I use this module to do the same thing? (Please help me with code examples, I copy very well but am still feeling my way around the code.)

Thanks in advance,
Lance

---------------------
Code Example (this works but points off-site):

<link rel="stylesheet" type="text/css" href="http://jqueryui.com/latest/themes/base/ui.all.css" /><script type="text/javascript" src="<!-- http://jqueryui.com/latest/jquery-1.3.2.js"></script><script type="text/javascript" src=" // -->http://jqueryui.com/latest/ui/ui.tabs.js"></script><script type="text/javascript">
 $(document).ready(function(){
    $("#tabs").tabs();
  });
</script>
<div id="tabs">
<ul>
    <li><a href="#fragment-1"><span>One</span></a></li>
    <li><a href="#fragment-2"><span>Two</span></a></li>
    <li><a href="#fragment-3"><span>Three</span></a></li>
</ul>
<div id="fragment-1">
<p>First tab is active by default:</p>
<script>
<pre><code>$('#example').tabs();</code></pre>
</script></div>
<div id="fragment-2">Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.</div>
<div id="fragment-3">Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.</div>
</div>

Date: 14 Nov 2009 18:23

New Post: Attempted to use the Core Module 0.2.0

Hi Rad!

There are multiple jQuery DotNet integration libraries available, and I believe they all function similarly, as there aren't that many ways, in which to create a decent integration for ASP.NET. What jQUI-DNN does, is not just offer server controls that automatically create the required markup, and an infrastructure for registering js code on the page, but packages the whole jQuery UI javascript and css code in one neat package for easy installation in DotNetNuke.

This package is by far not as complete as the other available general jQuery ASP.NET integration packages in terms of server controls, which is partly due to my lack of time to continue on the package, but also because no one has requested any further widgets, and so far I have all the widgets I needed in my DNN modules. That said, if you need any further controls, just add a feature request, and I'll get around to implementing it, which usually does not take all too long.

You can see a demo of the integration itself on the demo page http://jquidnn.succell.net/. This demo is included, when you install the package, as the jQUI-DNN module's default view. You can of course find the code required to use the controls in the included .ascx and .ascx.cs files. But basically, it's similar to the other libraries. Simply start using the controls, they will do the rest for you. And since this project offers such a neat DNN installable package, you don't even have to worry about any folder configuration. Just start using the controls, and you're off.

This library is basically just infrastructure for other modules, so there is no admin interface to it. You shouldn't even use the module itself on a page, since it only shows a demo of the included controls. The installation package is available for the sole purpose of deploying the dll containing the infrastructure and server controls, and deploying the jQuery UI javascript-, css-, and image files, to a central location.

You can of course also use one of the other libraries, but that makes deployment in a DotNetNuke environment more complex. And I've put too much effort into this package to just become a deployment package creator for one of the other libraries. Sorry.

Best regards,
Christoph

Date: 12 Oct 2009 06:34

New Post: Attempted to use the Core Module 0.2.0

Hi Christoph

Is your approach similar to DJ - jQuery Web Contorls for ASP.NET http://dj.codeplex.com/

Do you think it would be possible to get dj wrappers and extend it for use with DNN?

Where can I see DNN Admin demo or source code using jQuery UI DotNetNuke integration module.

Tx,

Rad

Date: 12 Oct 2009 05:18

New Post: Attempted to use the Core Module 0.2.0

Thank you Christoph

Yes, I will do that. Thankyou for your time.

 

Regds

Inge

Date: 14 Sep 2009 12:12

New Post: Attempted to use the Core Module 0.2.0

Hi Inge!

There are so many great widgets for JQuery, it would take a lot of manpower to wrap each and every one into a control. If you have a specific one in mind, you can post a request. I may be able to add a control for it in the near future.

You might also consider simply using the DualListControl that is part of the DotNetNuke framework :-)

Best regards,
Christoph

Date: 13 Sep 2009 18:36

New Post: Attempted to use the Core Module 0.2.0

Hi Christoph

Very, very helpfull. Thank you. Yes, very clear.

I have been looking for a dual list control. I see there are som for Jquery.

I think that would be a nice addition.

 

Regds

Inge

Date: 13 Sep 2009 17:12

New Post: Attempted to use the Core Module 0.2.0

Hi Inge!

I believe, what you are trying to do can be achieved with some simple Javascript using the basic jQuery UI widget features.

Simply add buttons to your page which have an onclick event (OnClientClick property on the ASP.NET button control). The onclick handler can then use the jQuery UI widget's methods to select a different tab:

string clientId = JQuery.JQueryClientId(myTabsControl); // if you use .NET 3.5, you can also use it as an extension method: myTabsControl.JQueryClientId();
nextButton.OnClientClick = "var tabsObj = jQuery('" + clientId + "'); var noOfTabs = tabsObj.tabs('length'); var selectedTab = tabsObj.tabs('option', 'selected'); if (selectedTab < noOfTabs - 1) { tabsObj.tabs('select', selectedTab + 1) }";
prevButton.OnClientClick = "var tabsObj = jQuery('" + clientId + "'); var selectedTab = tabsObj.tabs('option', 'selected'); if (selectedTab > 0) { tabsObj.tabs('select', selectedTab - 1) }";

The idea is to get the currently selected tab, check whether there is a next or previous tab, and if so, select it. I haven't tested the code, but I hope the idea becomes clear.

Best regards,
Christoph

Date: 12 Sep 2009 20:50

New Post: Attempted to use the Core Module 0.2.0

Hi Christoph

Very nice work. One small question from a newbie.

Can I have a button to change active tab? Like next / previous page?

Regds

Inge

Date: 12 Sep 2009 18:51

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.5.2. It adds some infrastructural helper methods and fixes a few bugs with the DatePicker widget. Also, a new release of the jQuery Extras module 0.5.2 has been issued. It contains fixes and additions to the WindowedDialog widget, and a new Watermark widget. You can try it out at the new Extras page of the demo site http://jquidnn.succell.net/.

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.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

The Extras module contains supplementary web controls and widget code for non-core widgets. The currently implemented web controls are:
  • Watermark (new)
  • 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: 04 Aug 2009 08:37

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.5.2. It adds some infrastructural helper methods and fixes a few bugs with the DatePicker widget. Also, a new release of the jQuery Extras module 0.5.2 has been issued. It contains fixes and additions to the WindowedDialog widget, and a new Watermark widget. You can try it out at the new Extras page of the demo site http://jquidnn.succell.net/.

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.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

The Extras module contains supplementary web controls and widget code for non-core widgets. The currently implemented web controls are:
  • Watermark (new)
  • 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:
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 :-)

More developers are welcome to help the project!
Date: 30 Jun 2009 21:08

Created Release: jQUI Extras library 0.5.2 for developers (RELEASE) (Jun 30, 2009)

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 Extras module 0.5.2, hence providing the same features. Also, the core library is required, so be sure to grab jQUI library 0.5.2 for developers (RELEASE).
Date: 30 Jun 2009 21:01

Released: jQUI Extras library 0.5.2 for developers (RELEASE) (Jun 30, 2009)

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 Extras module 0.5.2, hence providing the same features. Also, the core library is required, so be sure to grab jQUI library 0.5.2 for developers (RELEASE).
Date: 30 Jun 2009 21:01

Created Release: jQUI Extras library 0.5.2 for developers (DEBUG) (Jun 30, 2009)

This release includes the debug built .dll, .pdb, and .xml files for developers wanting to build DNN components using the jQuery UI Extras widgets. The .dll is the same version as packaged with the jQuery Extras module 0.5.2, hence providing the same features. Also, the core library is required, so be sure to grab jQUI library 0.5.2 for developers (DEBUG).
Date: 30 Jun 2009 20:59

Released: jQUI Extras library 0.5.2 for developers (DEBUG) (Jun 30, 2009)

This release includes the debug built .dll, .pdb, and .xml files for developers wanting to build DNN components using the jQuery UI Extras widgets. The .dll is the same version as packaged with the jQuery Extras module 0.5.2, hence providing the same features. Also, the core library is required, so be sure to grab jQUI library 0.5.2 for developers (DEBUG).
Date: 30 Jun 2009 20:59

Created Release: jQUI library 0.5.2 for developers (RELEASE) (Jun 30, 2009)

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.5.2, hence providing the same features.
Date: 30 Jun 2009 20:58

Released: jQUI library 0.5.2 for developers (RELEASE) (Jun 30, 2009)

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.5.2, hence providing the same features.
Date: 30 Jun 2009 20:58

Created Release: jQUI library 0.5.2 for developers (DEBUG) (Jun 30, 2009)

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.5.2, hence providing the same features.
Date: 30 Jun 2009 20:56

Released: jQUI library 0.5.2 for developers (DEBUG) (Jun 30, 2009)

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.5.2, hence providing the same features.
Date: 30 Jun 2009 20:56

Updated Release: jQuery Extras module 0.5.2 (Jun 30, 2009)

This module package contains extra functionality for the jQuery UI integration. It includes the web controls and infrastructural code not belonging to the core jQuery UI library.

The currently implemented web controls are:
  • Watermark (new)
  • WindowedDialog


New in this release:
  • ADD: bindUnload and unbindUnload added the windowedDialogChild
  • ADD: watermark
  • CHG: notifyUnload checks if the dialog was really closed or just reloaded
Date: 30 Jun 2009 20:53