Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

DotNetNuke Marketplace
  Ads  
Engage Software - Training Partner for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
telerik
ExactTarget email software solutions
Merak Mail Server
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  An jquery example with DotNetNuke?
Previous Previous
 
Next Next
New Post 5/23/2008 9:40 AM
User is offline Nguyen Minh Duc
101 posts
9th Ranked


Re: An jquery example with DotNetNuke? 

I have the source code of Ventrian's Simple Gallery module. It implements jquery. However, it's quite complex for a newbie to understand. I just try to go step by step first.

 
New Post 9/18/2008 2:24 AM
User is offline Abir Ambali
1 posts
10th Ranked


Re: An jquery example with DotNetNuke? 

Create a folder in your module called js and paste the Jquery.js file into this folder and go to your asc page and write this code in your page load Dim strbuilder As New StringBuilder
            strbuilder.Append("<script language=""javascript"" type=""text/javascript"">\r\n")
            strbuilder.Append(" $(document).ready(function(){\r\n")
            'strbuilder.Append("$('#" & Me.txt1.ClientID.ToString() & "').val(""abir"");")
            strbuilder.Append("$('#")
            strbuilder.Append(Me.btn1.ClientID.ToString())
            strbuilder.Append("').click(function(){\r\n")
            strbuilder.Append(" abir')\r\n")
            strbuilder.Append(" return false;\r\n")
            strbuilder.Append("});\r\n")
            strbuilder.Append("});\r\n")
            strbuilder.Append("</script>")
            strbuilder = strbuilder.Replace("\n", vbLf)
            strbuilder = strbuilder.Replace("\r", vbCr)

            Me.Page.ClientScript.RegisterClientScriptInclude("jquery.js", Convert.ToString(Me.ModulePath & "js/jquery.js"))

            Me.Page.ClientScript.RegisterClientScriptBlock(GetType(Page), "doSomething", strbuilder.ToString())

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  An jquery example with DotNetNuke?
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Active Modules, Inc.
Creators of Active Forums, the best forum module for DotNetNuke
www.activemodules.com
DotNetNuke Marketplace - Modules & Skins
The DotNetNuke Marketplace is the official e-commerce gateway for the DNN ecosystem. It's the place to buy and sell DotNetNuke modules, DotNetNuke skins, and other DNN offerings.
DotNetNuke Marketplace
ExactTarget Email Marketing Software and Solutions
ExactTarget delivers on-demand email software solutions for permission-based email marketing. ExactTarget offers solutions that meet the needs of all industry verticals and all size organizations, including SMB, corporate divisions, not-for-profits, large retail/direct marketers, agencies and enterprises.
ExactTarget.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP