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!
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!