Is it bad to be a Web Site and not a WebApplication???
I've tried converting it to an application... But.. Can I still use ajax?
and other components???
I figured out already that the Web.Config has been replaced by the
Settings.vb file..
What about the Authentication/Authorization statements???
I usually use Web Site projects and not the Web
(Both lame questions, but I need to ask it... lol)
"Jérémy Jeanson" <jeremy.jeanson@free.frescreveu na mensagem
news:%23D4e96%23SJHA.5344@TK2MSFTNGP06.phx.gbl...
Quote:
Damn...
>
You have this isue because your project is a website, not an application.
>
To solve this, you have 2 ways:
1) use a web application
>
2) create an interface that will be use by your masterpage
>
Public Interface ILayout
Sub RedrawMenu()
End Interface
>
Partial Public Class Layout
Inherits System.Web.UI.MasterPage
Implements ILayout
>
Public Sub RedrawMenu() Implements ILayout.RedrawMenu
>
End Sub
End Class
>
Partial Class WebUserControl
Inherits System.Web.UI.UserControl
>
Public Sub New()
Dim m As ILayout = TryCast(Me.Page.Master, ILayout)
m.RedrawMenu()
End Sub
End Class
>
--
Jérémy JEANSON
MCP
http://jeremy.blogdns.net