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
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
OnyakTech
 


  Sponsors  

Meet Our Sponsors

AspDotNetStoreFront - E-Commerce by Design - The Leading ASP.NET shopping cart platform for developers!
Click here to go to dev.live.com for Windows Live developer resources
SteadyRain
DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
 


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.

 


Willhite & Sharron Realtors
Exemplary service for your Seattle Real Estate needs. It's what you deserve from your Realtor®!
www.alkihomes.com
PointClick DotNetNuke Solutions
PointClick Technologies provides high-end DNN Hosting for businesses.
PointClick.Net Hosted Solutions
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