using telerik controls with dnn by soltech

9
Unlocking Telerik RAD Controls in DNN SolTech is a leading provider of custom software development, and custom DotNetNuke (DNN) services. Contact SolTech (404) 601-6000 if you need help building a feature rich web2.0 portal. Telerik ASP.NET AJAX Controls are distributed with every DotNetNuke Community and Professional Edition download, exposing the RadControls technology to the large, growing community of DNN developers worldwide. For a visual representation of how Telerik AJAX controls enhance the DNN platform refer to the following diagram:

Upload: soltech-inc

Post on 06-Dec-2014

4.541 views

Category:

Technology


2 download

DESCRIPTION

Acessing embedded Telerik web UI controls with the great, free XsltDB DNN module. There is nothing you cannot build if you use XsltDb + stored procedures + telerik ... powerful solution combo. SolTech is a leading DNN Partner and custom software developer.

TRANSCRIPT

Page 1: using  telerik controls with dnn by soltech

Unlocking Telerik RAD Controls in DNN

SolTech is a leading provider of custom software development, and custom DotNetNuke (DNN) services. Contact SolTech (404) 601-6000 if you need help building a feature rich web2.0 portal.

Telerik ASP.NET AJAX Controls are distributed with every DotNetNuke Community and Professional Edition download, exposing the RadControls technology to the large, growing community of DNN developers worldwide. For a visual representation of how Telerik AJAX controls enhance the DNN platform refer to the following diagram:

Page 2: using  telerik controls with dnn by soltech

SolTech. Inc http://www.soltech.net (404) 601-6000

Licensing

Creating module using Telerik RadControls directly is not allowed according to http://www.telerik.com/purchase/faqs/telerik-dnn-partnership-qanda.aspx.

DotNetNuke Community Edition users will be able to develop using RadControls through standard user interface extensions  provided in the DotNetNuke platform. Community Edition developers will have more limited access to the Telerik RadControls than Professional Edition developers and will not have full developer license rights to use the Telerik RadControls toolset. Community Edition developers will only be able to develop though standard user interface extensions provided with the core platform.

Be sure that you conform to required licensing.

SolTech is a leading provider of custom software development, and custom DotNetNuke (DNN) services. Contact SolTech (404) 601-6000 if you need help building a feature rich web2.0 portal.

Page 3: using  telerik controls with dnn by soltech

SolTech. Inc http://www.soltech.net (404) 601-6000

Enter XsltDb Module Builder

Free XsltDb DotNetNuke Module is powerful XSLT-based developers-oriented browser-based development environment. › Offers a powerful XSLT-based programming model› Code reuse, syntax highlighting and code completion, and context

sensitive online help make it very easy to create new functions for your web site.

› Safe database access› Ajax support, › Telerik ASP.NET control usage, ASP.NET and other features make

XsltDb an excellent integration platform.

SolTech is a leading provider of custom software development, and custom DotNetNuke (DNN) services. Contact SolTech (404) 601-6000 if you need help building a feature rich web2.0 portal.

Page 4: using  telerik controls with dnn by soltech

SolTech. Inc http://www.soltech.net (404) 601-6000

RadGrid Example

Use XsltDb to query a database, and display results in a smart looking grid.

XsltDb is capable of instantiating ASP.NET controls in a DNN module window.› Load and install XsltDb module from

http://xsltdb.codeplex.com/› Create a clean page in DNN and insert the module.› Select “Edit Xslt”

SolTech is a leading provider of custom software development, and custom DotNetNuke (DNN) services. Contact SolTech (404) 601-6000 if you need help building a feature rich web2.0 portal.

Page 5: using  telerik controls with dnn by soltech

SolTech. Inc http://www.soltech.net (404) 601-6000

The XsltDb window

<xsl:text disable-output-escaping="yes"><![CDATA[<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>]]></xsl:text><mdo:asp xmlns:asp="asp" xmlns:telerik="telerik"> <asp:SqlDataSource id="dsModules" runat="server" DataSourceMode="DataReader" ConnectionString="&lt;%$ ConnectionStrings:SiteSqlServer %&gt;" SelectCommand="SELECT JobId,JobTitle FROM Jobs" /> <telerik:RadGrid ID="RadGrid1" runat="server" AutoPostBack="True" DataSourceID="dsModules" PageSize="5" AllowPaging="True"> </telerik:RadGrid></mdo:asp>

Page 6: using  telerik controls with dnn by soltech

SolTech. Inc http://www.soltech.net (404) 601-6000

Telerik Parallel Listbox in DNN<telerik:RadListBox runat="server" ID="RadListBox1" AutoPostBack="True" Width="200px" Height="200px" OnSelectedIndexChanged="RadListBox1_SelectedIndexChanged“ OnDeleting="RadListBox1_Deleting" OnInserted="RadListBox1_Inserted" OnInserting="RadListBox1_Inserting" OnTransferred="RadListBox1_Transferred" OnTransferring="RadListBox1_Transferring" TransferToID="RadListBox2" AllowTransfer="true" AllowTransferAll="true" AutoPostBackOnTransfer="true" SelectionMode="Multiple"> <Items> <telerik:RadListBoxItem Text="Argentina" /> <telerik:RadListBoxItem Text="Australia" /> <telerik:RadListBoxItem Text="Brazil" /> <telerik:RadListBoxItem Text="Canada" /> <telerik:RadListBoxItem Text="Chile" /> <telerik:RadListBoxItem Text="USA" /> </Items> </telerik:RadListBox>

<telerik:RadListBox runat="server" ID="RadListBox2" AllowReorder="true" AllowDelete="true" OnDeleted="RadListBox2_Deleted" OnDeleting="RadListBox2_Deleting“ OnReordering="RadListBox2_Reordering" AutoPostBackOnDelete="true" AutoPostBackOnReorder="true" OnInserted="RadListBox2_Inserted" OnInserting="RadListBox2_Inserting" SelectionMode="Multiple" Width="200px" Height="200px"> </telerik:RadListBox>

Page 7: using  telerik controls with dnn by soltech

SolTech. Inc http://www.soltech.net (404) 601-6000

Telerik DateGrid in DNN<xsl:text disable-output-escaping="yes"><![CDATA[<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>]]></xsl:text><mdo:asp xmlns:asp="asp" xmlns:telerik="telerik” >

<telerik:RadDatePicker ID="rdpMaxDate" runat="server" Width="140px" AutoPostBack="true" DateInput-EmptyMessage="MaxDate" MinDate="01/01/1000" MaxDate="01/01/3000"> <Calendar> <SpecialDays> <telerik:RadCalendarDay Repeatable="Today" ItemStyle-CssClass="rcToday" /> </SpecialDays> </Calendar> </telerik:RadDatePicker>

SolTech is a leading provider of custom software development, and custom DotNetNuke (DNN) services. Contact SolTech (404) 601-6000 if you need help building a feature rich web2.0 portal.

Page 8: using  telerik controls with dnn by soltech

SolTech. Inc http://www.soltech.net (404) 601-6000

Telerik RADCaptcha in DNN

<mdo:asp xmlns:telerik="telerik" xmlns:asp="asp"> <asp:Label runat="server" ID="litT" ForeColor="#00AA00" /> <telerik:RadCaptcha ID="capImgT" runat="server" ErrorMessage="You are a machine..." /> <asp:Button runat="server" ID="btnSubmitT" Text="Submit Form" /></mdo:asp><mdo:pre-render> <xsl:if test="mdo:event-source()='btnSubmitT'"> <xsl:choose> <xsl:when test="mdo:aspnet('#capImgT.IsValid')"> <!-- Here you put your database processing and other significant manipulations --> <xsl:execute select="mdo:assign('#litT.Text', 'Your human input is correct')" /> </xsl:when> <xsl:otherwise> <xsl:execute select="mdo:assign('#litT.Text', '')" /> </xsl:otherwise> </xsl:choose> </xsl:if></mdo:pre-render>

Page 9: using  telerik controls with dnn by soltech

SolTech. Inc http://www.soltech.net (404) 601-6000

Resourceshttp://xsltdb.com

http://www.telerik.com/products/aspnet-ajax.aspx

http://demos.telerik.com/aspnet-ajax/controls/examples/default/defaultcs.aspx

SolTech is a leading provider of custom

software development, and custom DotNetNuke (DNN) services. Contact SolTech (404) 601-6000 if you need help building a feature rich

web2.0 portal.