Use jquery in dnn module development

Source: Internet
Author: User
ArticleDirectory
    • Jquery and dotnetnuke modules
    • Jquery UI dotnetnuke Integration
    • Jquery + Ajax + dnn modules

How does one use jquery in dnn? Define <asp: textbox id = "txtname ".... /> the output ID is changed to dnn_ctr381_editdevicedeploy_txtname. The $ ("# txtname") used in jquery is incorrect. I do not know how to solve this problem?

Because ASP. NET and dnn both override the Control ID, you cannot directly use the ID for JS writing to the client, but useCodeGet clientid. You can replace $ ("# txtname") with $ ("<% = txtname. clientid %>") (sample code, which may not be correct)
This method will be difficult to manage, and it can be improved to the current server to package all clientid into a JS object, and then transfer the client. You can Google this method.

Several webpages for reference:

Jquery and dotnetnuke modules

Http://www.bitethebullet.co.uk/DNN_Module_and_jQuery.aspx

Jquery UI dotnetnuke Integration

Http://jquidnn.codeplex.com/Release/ProjectReleases.aspx? Releaseid = 29465

Using jquery with ASP. NET

Http://dotnetslackers.com/articles/ajax/using-jquery-with-asp-net.aspx

Using jquery with ASP. NET Part 2: Making Ajax callbacks to the server

Http://www.west-wind.com/presentations/jquery/jquerypart2.aspx#PageLevelCallbacks

Jquery + Ajax + dnn modules

Http://www.dotnetnuke.com/Default.aspx? Tabid = 795 & forumid = 111 & postid = 342418 & scope = posts #342418

JSON. net

Http://james.newtonking.com/projects/json-net.aspx

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.