Download DOWNLOAD
Forums FORUMS
Blogs BLOGS
Forge FORGE
Help HELP
Marketplace MARKETPLACE
DotNetNuke Home
You are here >   Community > Forums
Register  |  Login

DotNetNuke Forums

DotNetNuke ForumDotNetNuke ForumArchived 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 3Essentials for shared 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
DotNetNuke ForumDotNetNuke ForumArchived 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.

Networks

Follow DNNCorp on Twitter

LinkedIn

Follow us on Twitter @DNNCorp or join the DotNetNuke Community on LinkedIn

Sponsors

DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation

Hosted by MaximumASP