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  |  

AppTheory specializes in solutions based on the DotNetNuke platform and has 2 employees on the DotNetNuke Core Team.
  Ads  
Aspose - The .NET & Java component publisher
 


  Sponsors  

Meet Our Sponsors

Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
Red-Gate Software
 


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
632 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.

 


Web Development and Strategy Firm
The Risdall Interactive Agency s websites, strategies, branding, & promotion in digital space.
www.Risdall.net/
Windsor Management Group
Fund Accounting Software for K12 Education.
Infinitevisions.com
Convert Visitors to Customers
In order to bring value to your users, we must first understand them. VIVIDSITES will help you build a custom web application and interactive marketing tools that your users will thank you for. We marry high-end creative with head banging technology to entertain and convert visitors into paying customers. Call 314.514.0505 or visit us at http://www.vividsites.com to find out how.
- V I V I D S I T E S -

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