Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0How to get googlemap events from another module?How to get googlemap events from another module?
Previous
 
Next
New Post
1/7/2008 9:00 AM
 

I have a module with a googlemaps and another module that should show some info when clicking on a marker in the googlemaps module.

How can I capture the event from the other module? or how can I comunicate them?

Thanks in advance.

 
New Post
1/8/2008 1:43 AM
 

If the other module is in the same page, you can use Inter Module Communication (IMC). You can pass an object from one module to another using IMC approach. Or the most easiest way is just passing your information using querystring. From sender module you do some response redirect to the same page (or maybe another page) and pass some information using querystring. The target module will grab your querystring and process based on your needed.

 
New Post
1/8/2008 11:43 AM
 

No, that wont work because the googlemaps uses ajax and only itself gets refreshed, so I need to find the way to refresh the other module as well.

 
New Post
1/9/2008 2:03 AM
 

What kind of module did you use ? Is it like this : http://dnn.bi4ce.com/?tabid=122&pid=6 ? Or something else ?

 
New Post
1/9/2008 3:19 AM
 

I made the module myself, I use this user control in my module: http://googlemaps.subgurim.net/  it even processes the marker clicks on the server side, but it does in somekind of ajax:

 Protected Function GMap1_ServerEvent(ByVal s As Object, ByVal e As GAjaxServerEventOtherArgs) As String

Dim js As String = e.map & ".clearOverlays();" 

return js

end function

I tried called the IMC from inside this function but because of the ajax or something the other module doesn't gets the message.

 

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0How to get googlemap events from another module?How to get googlemap events from another module?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out