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  |  

AppTheory specializes in solutions based on the DotNetNuke platform and has 2 employees on the DotNetNuke Core Team.
  Ads  
OnyakTech
 


  Sponsors  

Meet Our Sponsors

eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
Verndale
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
Red-Gate Software
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! (Pro...  Using the $Find with DNN
Previous Previous
 
Next Next
New Post 8/8/2008 4:54 AM
User is offline Sarkie
11 posts
10th Ranked


Using the $Find with DNN 

Hi guys,

 

I am trying to use the $find( with dnn but it seems to append "dnn_ctrlxxx" before, so I can't seem to find the control, unless I find it elsewhere in the code and hardcode it.

 

I am trying to do this

 

http://forums.asp.net/p/1201162/2161341.aspx

http://www.codeplex.com/AjaxControlToolkit/WorkItem/View.aspx?WorkItemId=14890

 

Cheers for any help.!

 

Sarkie

 
New Post 8/8/2008 8:35 AM
User is offline Hooligannes
1599 posts
www.nesinteractivos.com
5th Ranked






Re: Using the $Find with DNN 

In webforms, there's always this kind of prefixing to avoid naming collisions. My first approach to this scenario was to strip the prefix. It worked, but it was too much overhead. I ended up wrapping my control in Div and working my way inside it.


Do you know the truth when you hear it?
The Dúnadan Raptor
Check My Blog for DNN advice and more
 
New Post 8/8/2008 6:51 PM
User is offline Baatezu
197 posts
9th Ranked


Re: Using the $Find with DNN 

This post http://www.dotnetnuke.com/Community/Forums/tabid/795/forumid/111/threadid/243027/scope/posts/Default.aspx might help you with javascript and controls.

 
New Post 8/11/2008 4:45 AM
User is offline Sarkie
11 posts
10th Ranked


Re: Using the $Find with DNN 

Cheers guys, I always forget about ClientID :) Here's the code, I couldn't use RegisterClientBlock as Sys. had not been loaded.

 


                if (!Page.ClientScript.IsStartupScriptRegistered("DDEFix"))
                {
                    string ddeFix = "function DDE_pageLoad(){$find('" +
                        DDE.ClientID +
                        "').unhover = doNothing; $find('" +
                        DDE.ClientID +
                        "')._dropWrapperHoverBehavior_onhover();}function doNothing() {}" +
                        "Sys.Application.add_load(DDE_pageLoad);";


                    Page.ClientScript.RegisterStartupScript(this.Page.GetType(), "DDEFix", ddeFix,true);
                }

 

There you go :) Cheers guys.

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! (Pro...  Using the $Find with DNN
 


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.

 


DNN Photo Gallery
DNN Photo Gallery is a truly unique photo management module released January 1st 2006. With DNN Photo Gallery you can REALLY integrate images into your existing portal and make them look like they were designed for your site.
DNN Photo Gallery
Swirlhost Inc.
Affordable DotNetNuke Hosting, Skin Development, Custom Module Development, and DotNetNuke Consulting. We will install your preference of DNN and now host with us and get a free license for the Swirl AJAX Chatroom Module.
www.swirlhost.com
Active Modules, Inc.
Creators of Active Forums, the best forum module for DotNetNuke
www.activemodules.com

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