Thursday, March 11, 2010  | 
Welcome to Module Masters support forums - the primary support mechanism for our products. Feel free to post your questions, and we will aim to respond in a timely manner.  We also encourage our users to post any feedback you may have.  You may also email us directly at service@modulemasters.com
Subject: Strange Problem
Prev Next
You are not authorized to post a reply.

Author Messages
shiraazzUser is Offline

Posts:5

04/06/2009 09:25  
I have installed the trial version on a website to test its usability,
i install the module and set up the connection to the server, everything is fine, but when the report is displayed on the page firebug throws various javascript errors:



RSClientController is not defined
document.getElementById('dnn_ctr1486_Vie...ClientController.ShowInitialWaitFrame();

RSParameters is not defined
document.getElementById('dnn_ctr14..._ViewRS2005_ReportViewer1_ctl00_ctl01");

DropDownParamClass is not defined
document.getElementById('dnn_...RS2005$ReportViewer1$ctl00$ctl03','');};

DropDownParamClass is not defined
document.getElementById('dnn_...RS2005$ReportViewer1$ctl00$ctl05','');};

document.getElementById("dnn_ctr1486_ViewRS2005_ReportViewer1").ClientController is undefined
document.getElementById('dnn_ctr1486...er.CustomOnReportLoaded = function() {};

document.getElementById("dnn_ctr1486_ViewRS2005_ReportViewer1").ClientController is undefined
document.getElementById('dnn_ctr1486_Vie...ClientController.ShowInitialWaitFrame();

missing ; before statement
if ($get('dnn_ctr1486_ViewRS2005_ReportV...1TouchSession0').src = 'javascript:''';}


This is also strange because it works fine on one machine and throws errors on another, with the same file setup

hostUser is Offline

Posts:399

04/06/2009 17:26  
This doesn't make much sense, you did register the handler right? What version of DNN and IIS are you using?
hostUser is Offline

Posts:399

04/06/2009 17:27  
Oh yeah, and are you in firefox or IE?
shiraazzUser is Offline

Posts:5

04/07/2009 02:45  
DNN 4.8, same problem in firefox and IE 8 /7 , but it might be a problem with the way we optomise our javascript, will get back to you
shiraazzUser is Offline

Posts:5

04/08/2009 09:56  
I fixed the problem, but i would like to know how would i use the current logged in users id in a parameter
hostUser is Offline

Posts:399

04/08/2009 09:58  
Simply add a parameter in the report, call it UserId and what will happen is at runtime the value of the logged in user will be passed implicitely to the report.
shiraazzUser is Offline

Posts:5

04/08/2009 10:00  
So if the parameter name in the report is "@UserID" it will work?
hostUser is Offline

Posts:399

04/08/2009 10:01  
Yes, it should.
shiraazzUser is Offline

Posts:5

04/08/2009 10:14  
thanks, it works, how do you hide the parameter input?
hostUser is Offline

Posts:399

04/08/2009 10:39  
When you setup the parameter, there are options there to make it hidden.
You are not authorized to post a reply.



ActiveForums 3.7
Copyright 2005 by Module Masters Privacy StatementTerms Of Use