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  |  

telerik -- supercharge your DNN websites
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Aspose - The .NET & Java component publisher
 


  Sponsors  

Meet Our Sponsors

The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Reports Module ...  Column headers always enabled
Previous Previous
 
Next Next
New Post 3/27/2008 4:48 PM
User is offline Aleksandar Tosic
2 posts
10th Ranked


Column headers always enabled 
Modified By Andrew Nurse  on 5/5/2008 12:10:32 PM)

UPDATE FROM MODERATOR: A workaround for this error is available here.

 

I'm using DNN version 04.08.02 and I'm not able to change show header check box.  Header is always shown.  I checked support page: http://support.dotnetnuke.com/issue/ViewIssue.aspx?id=7238&PROJID=36 and it says - bug fix but it will be nice to know how was it fixed as I have already installed DNN and setup everything.  It will take ages to reinstall my site completly. Any chance to let us know how to fix this bug on existing DNN site?

Thanks

 
New Post 4/22/2008 10:11 PM
User is offline Dave VanderWekke
18 posts
www.DaveVanderWekke.com
10th Ranked


Re: Column headers always enabled 

I am noticing an issue with the headers always showing too.  I had a site where most of the headers were hidden.  After upgrading to reports 5.0.0 I now added a new report for the first time under 5.0.0.  The headers cannot be hidden, yet somehow the old ones are.  I was looking to see if there was a setting in the ModuleSettings that isn't getting set, but I don't see a setting.


Best Regards, Dave VanderWekke
 
New Post 4/23/2008 6:37 AM
User is offline Dave VanderWekke
18 posts
www.DaveVanderWekke.com
10th Ranked


Re: Column headers always enabled 

I think I found the issue.  In the ReportsController.vb lines 134 & 135 read:

        Public Const SETTING_Grid_ShowHeader As String = "ShowHeader"
        Public Const SETTING_Grid_GridLines As String = "ShowHeader"

Both GridLines and ShowHeader are sharing the same constant name.  So no matter what you set the ShowHeader checkbox to, the value stored is the ShowHeader value.  Wasn't sure if this was discovered already or if there was a fix being planned.


Best Regards, Dave VanderWekke
 
New Post 4/23/2008 6:48 AM
User is offline Dave VanderWekke
18 posts
www.DaveVanderWekke.com
10th Ranked


Re: Column headers always enabled 

One additional Point.  I think it never loads the setting ShowHeader for the visualizer.  Lines 244-258 of the ReportsController.vb.  I don't see any reference to loading and setting the objReport.ShowHeader value to the settting in TabModuleSettings.


Best Regards, Dave VanderWekke
 
New Post 4/23/2008 9:47 AM
User is offline Andrew Nurse
343 posts
8th Ranked






Re: Column headers always enabled 
Modified By Andrew Nurse  on 4/23/2008 12:49:34 PM)

This has been fixed in the development code, I discovered it a few weeks ago, but haven't been able to finish up a bug fix release yet. As a temporary fix, you can manually adjust the TabModuleSettings for the particular instance of the module you want to change.

Basically, just get the TabId and ModuleId for the module you want to change (its in the URL if you go to the settings page, i.e. 'http://localhost/dotnetnuke_reports/Home/tabid/36/ctl/Module/ModuleId/363/Default.aspx' => TabId = 36, ModuleId = 363). Look in the TabModules table to get the TabModuleID for that pair. Then look in the TabModuleSettings table and change (or create if it does not exists) the setting with the TabModuleId from the last step and the SettingName 'dnn_ReportsVis_Grid_ShowHeader' to "True" or "False" depending on whether you want to show or hide the header (respectively).

FYI, the ShowHeader setting is not loaded in ReportsController.vb, it is loaded in /DesktopModules/Reports/Visualizers/Grid/Visualizers.ascx.vb (line 168). The setting will be working correctly in the next version.

Sorry for any inconvenience! Thanks for using the module, please post any other bugs or suggestions in the forums!


Andrew Nurse
DotNetNuke Core Team Member and Reports Module Project Lead
Microsoft Certified Professional Developer

 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Reports Module ...  Column headers always enabled
 


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.

 


ADefWebserver.com
DotNetNuke® Module Development Help Website
ADefWebserver.com
Get Smarter Mail, SmarterStats, SmarterTickets
Windows mail server, web log analytics, and customer service management software - Free Editions Available!
www.smartertools.com
Venexus, Inc.
Need custom a custom DotNetNuke module? From module planning to deployment, including training and support, Venexus developers deliver end-to-end web solutions on time and on budget.
www.venexus.com

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