HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Custom Module problemCustom Module problem
Previous
 
Next
New Post
8/22/2008 8:22 AM
 

I have two linkbuttons on my view control that I want hidded unless you have edit permission. Currently only Registered Users have View permission at the page level, with the module inheriting View permission from the page. In the definition of the LinkButton I have the Visible property set to Visible="<%# IsEditable %>". While logged in as a standard Registered User the LinkButtons are visible. What am I doing wrong? Any help appreciated.

Jon

 
New Post
8/22/2008 8:41 AM
 

You will want to use the IsEditable property to determine if it should display!


-Mitchel Sellers
Microsoft C# MVP, MCITP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Consulting Quotes, and DNN Technical Support Services

I recommend PowerDNN and 3Essentials for DotNetNuke Hosting and BaseCamp for project management
 
New Post
8/22/2008 8:56 AM
 

Mitch,

I AM using that;  it was stripped in the post. That is why the Visible property was "". I use < % # IsEditable % > for the visible property now but don't understands why it don't work.

Jon

 
New Post
8/22/2008 9:58 AM
 

Check your syntex. It should work, since dnn uses it in almost all modules.

 
New Post
8/22/2008 11:27 AM
 

My syntax is correct. It is just not working. Anybody else experience this issue before?

Jon

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Custom Module problemCustom Module problem


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.

Attend A Webinar
Free Demo Site
Download DotNetNuke Professional Edition Trial
Have Someone Contact Me

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

DotNetNuke Scoop!

Sponsors

DotNetNuke Corporation

DotNetNuke Corp. is the steward of the DotNetNuke open source project, the most widely adopted Web Content Management Platform for building web sites and web applications on Microsoft .NET. Organizations use DotNetNuke to quickly develop and deploy interactive and dynamic web sites, intranets, extranets and web applications. The DotNetNuke platform is available in a free Community and subscription-based Professional and Enterprise Editions with an Elite Support option. DotNetNuke Corp. also operates Snowcovered.com where users purchase third party apps for the platform.