Use of "user control" into project server webpart

  • Thread starter msnnews.microsoft.com
  • Start date
M

msnnews.microsoft.com

Hello everybody,

I'm beginning to create webpart on sharepoint 2007 with visual studio 2005.

I wanted to have a design view of what i'm doing so i decided to user "user
control"

in my webpart class i do like this
InnerControl =
Me.Page.LoadControl("_/Layouts/1033/Shortcut_creation.ascx")

in this ascx file i Have

<%@ Control Language="VB" CodeFile="shortcut.vb" Inherits="shortcut" %>

I tried to add <%# import %> <%# assembly %>

because shortcut.vb is my webpart class, and this file is in the assembly
(GAC) How can i tell to the usercontrol, that the file who is catching his
events is shortcut.vb from the ASSEMBLY

Thank you in advance for you help

Yal

PS: I don't want to have inline code!
 
R

Rod Gill

We're not usually professional developers in this group so I suspect you
need to post to a SharePoint site with this problem. Project Server 2007uses
pure WSS3.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top