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.0Help with IMCHelp with IMC
Previous
 
Next
New Post
10/8/2006 1:48 PM
 

Hi ,

I would ask a help to write a functioning code which realize IMC Event.

I need to pass data between two module put in two differente page.

In first time I tried to invoke second module with a fine url ( as http:// ... ... / tabid=x/Default.aspx?Function=LD_1 ). When I tried this , I saw that with superuser this idea is perfectly functoning, with a normal user , when I invoke the second module for the second time , this module don't raise newly the Init/PreRender event , so don't execute the code related to Querystring. ( do you know why in the second time , only for normal user , the event of the module don't raise ? )

Someone can help me with a sample code for IMC ?

Thanlk a lot

 

Marco

 

 

 
New Post
10/8/2006 8:00 PM
 
I found a partial solution : I found this code ( http://forums.asp.net/thread/626149.aspx ) and I applied this to my problem . I uncovered that if the current user is an superaccount , all work perfectly : 1) the buttonx , when pressed , raised correlated event ( buttonx raise Buttonx.Click ), 2) if I call different page in dotnetnuke portal with my own parameter in url (es: http:// ... ... / tabid=x/Default.aspx?Function=LD_1) , the load event of webusercontrol is always raised and I can elaborate data correctly ( I put responce.querystring("Function") in webusercontrol load event ). Do you known why if the user is superaccount all event ara raised and if it is not , nothing event is raised too ? If can help I will be always pleased with you ... Marco
 
New Post
10/10/2006 7:12 PM
 
 
New Post
10/10/2006 9:00 PM
 

professorcw1 , thanx a lot for the sample .

It's true that IMC function only if the modules are loaded in the same page , or do you know if it's possible communicate between them from/to different page ?

I would make another question : I write my how module , in this module I put a simple Button who handle event as Click. I note that if Iìm logged as super user , in every time , button_click event is raised , instead if I loggged as normal user , the first time the event is raised and then , for 60 seconds approximately, no event are raised.

Do you know why ? thx in advance for your time !

M.

 
New Post
10/10/2006 10:36 PM
 

I've never tried to use IMC across pages.  I guess it's technically possible, but there are many other more efficient ways to send data from one page to another.  I would stick with more traditional methods for that type of requirement.

The button_click problem sounds like a cache issue.   When you are in admin mode, caching is disabled so every click would register.  Look at you page and module settings and make sure you don't have caching (probably set to 60).

 

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Help with IMCHelp with IMC


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