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  |  

$4.95 Windows Hosting at Webhost4life.com
  Ads  
Active Modules -- Active Forums for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
telerik
ExactTarget email software solutions
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  How To access base class property from user control?
Previous Previous
 
Next Next
New Post 8/14/2008 9:19 AM
User is offline Tran Duc Thang
2 posts
10th Ranked


How To access base class property from user control? 

testing.ascx.vb file
#====================
Imports

DotNetNuke
Imports DotNetNuke.Common
Imports DotNetNuke.Security.Roles
Imports DotNetNuke.Security.Membership
Imports System.Collections.Generic
Imports DotNetNuke.Entities.Portals
Imports DotNetNuke.Security.PortalSecurity

Namespace MySpace
Partial Class mytesting
   
Inherits DotNetNuke.Entities.Modules.PortalModuleBasePublic Function vb() As Boolean
      Return False
End Function

 

End

End Class Namespace

#=======================================
testing.ascx file
#====================

@ Control Language="VB" AutoEventWireup="false" CodeFile="testing.ascx.vb" Inherits="MySpace.mytesting" %>

<

asp:Label ID="Label1" runat="server" Text="Testing" Visible="<% vb() %>" >asp:Label>

#====================

It's not work!
Please help me!
Thanks!

<%

 

 
New Post 8/14/2008 9:33 PM
User is offline Stuart - Hilbert Solutions, LLC
651 posts
www.getyourowntots.com
7th Ranked


Re: How To access base class property from user control? 

Maybe you want:

 

dotnetnuke.entities.users.usercontroller

 

Stuart


Hilbert Solutions, LLC
Owner, Hilbert Solutions, LLC
http://www.HilbertSolutions.com
A Dotnetnuke System Integrator
From Module Development to Project Management, your one stop Dotnetnuke Shop
 
New Post 8/15/2008 7:49 PM
User is offline Tran Duc Thang
2 posts
10th Ranked


Re: How To access base class property from user control? 

I want call vb() function from ascx file!

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  How To access base class property from user control?
 


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.

 


AfterImage Internet Consulting and SEO Services
AfterImage provides search engine optimization (SEO), Internet consulting and hosting services for the Windows platform (IIS, ASP, SQL Server).
www.afterimage.nl/
Alki Homes - Seattle, WA
Exemplary service for your Seattle Real Estate needs. It's what you deserve from your Realtor®!
www.alkihomes.com
Swanzey Internet Group LLC
DotNetNuke design, development, e-Commerce, hosting, maintenance, and training. Exclusively DotNetNuke.
www.swanzey.com

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