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  |  

$4.95 Windows Hosting at Webhost4life.com
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
The best choice for your web site host, email hosting, and domain registration.
 


  Sponsors  

Meet Our Sponsors

SteadyRain
DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
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
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  ?how to fire a javascript function from child window
Previous Previous
 
Next Next
New Post 8/9/2007 7:52 AM
User is offline javier campo
18 posts
10th Ranked


?how to fire a javascript function from child window 
Hi guys,
I use an .aspx page as a "child window", which is opened from an .ascx of my module.
Everything works fine, but some days ago i tried to fire a javascript function on the parent window when the data is saved from the child window, in order to bind a datagrid. From the child window, I got an error message like : "the object does not accept this property or method"
This is the code I use to fire the js in the parent window:

[script language='javascript']
[ cause I noticed that when i post a thread with js code, it disappears when the thread is published, just replace the brackets to see what i mean)

I use the Anthem.NET library to work with Ajax controls, so the Anthem_FireCallBackEvent function is used to fire some event in an Anthem control.
"dnn:ctr6319:PLMAT:Default::ctl0:btnConsultar" seems to be the runtime-generated client name/id for the Anthem button "btnConsultar" (this is the "real" name in design time)

In "classic ASP.NET" (that is, standalone .aspx pages, not in DNN) I have no problem firing a js function from child window to parent one, but in DNN ... no.

Some ideas?

Thanx in advance.
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  ?how to fire a javascript function from child window
 


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.

 


EMAS Pro
Strategic Enrollment Management Software for Higher Education Recruitment, Retention and Financial Aid
www.emaspro.com
Subzero Solutions
Dutch / English DotNetNuke consultancy services. Custom module development in any version. Complete application integration. Small business portal hosting. Your ideas our innovation - Your success our motivation. K.v.k Amsterdam: 34236342
www.subzero-solutions.net
Hosting for DotNetNuke
SiteGround.com is the best place to host your DotNetNuke website! Expert DotNetNuke support, reliable servers, low price!
www.SiteGround.com

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