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  |  

AspDotNetStoreFront
  Ads  
Iron Speed Designer is a software development tool for building database, reporting, and forms applications for .NET without hand-coding.
 


  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...  ClientAPI Compo...  minmax programmatically from code-behind
Previous Previous
 
Next Next
New Post 1/3/2006 11:15 PM
User is offline pepper pepper
17 posts
10th Ranked


minmax programmatically from code-behind 

Hi Jon,

Bruce Hopkins pointed out a ClientAPI call for my problem in the following post

http://forums.asp.net/1157784/ShowPost.aspx in fact http://www.xs4all.nl/~walaco/minmax.jpg

I've allready tried to use something like

DNNClientAPI.set_MinMaxContentVisibile( (Control)source, ModuleId, ModuleConfiguration.Visibility == VisibilityState.Minimized, DNNClientAPI.MinMaxPersistanceType.Cookie, false); in the dgridSearchResult_ItemCommand (see minmax.jpg).

Do you, or anybody else who reads this, have any suggestions on how to achieve this?

Thnx, Pepper

 
New Post 1/4/2006 3:00 PM
User is offline Jon Henning
1622 posts
www.codeendeavors.com
5th Ranked










Re: minmax programmatically from code-behind 
Without a better understanding of where you are trying to set the visibility from in code it will be hard to answer.  You state that you tried calling the DotNetNuke.UI.Utilities.DNNClientAPI.MinMaxContentVisibile property, but I am confused on where you are getting your reference to the right visibility usercontrol..  if you have it I would simply access its public property ContentVisible and set it accordingly.  My guess is that the control lifecycle and where in that lifecycle you are accessing it is playing a role.
 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  ClientAPI Compo...  minmax programmatically from code-behind
 


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.

 


BataviaSoft DotNetNuke Solutions
BataviaSoft offers custom DotNetNuke solutions especially for the European and the South East Asian market.
www.bataviasoft.com
Viva Portals, L.L.C.
Expert module development and graphic design.
www.continure.com
DNN Photo Gallery
DNN Photo Gallery is a truly unique photo management module released January 1st 2006. With DNN Photo Gallery you can REALLY integrate images into your existing portal and make them look like they were designed for your site.
DNN Photo Gallery

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