I have created a new Web User Control (ASCX) in an existing web project (1.1 version). I placed a linkbutton and I am trying to assign Link to it using the code below
Private Sub LinkButton1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles LinkButton1.Click
DirectCast(Controller, MyController).LinkToNew()
End Sub
Public Class MyUsrControl
Inherits UsrCtrlBtm
Public Class UsrCtrlBtm
Inherits System.Web.UI.UserControl
Error:
Name 'Controller' is not declared.
When I look at Controller in "Object Browser"
WebFormView
--
Controller() As Microsoft.ApplicationBlocks.UIProcess.ControllerBase
Member
22 Points
95 Posts
UIProcess - Name 'Controller' is not declared
Jun 04, 2009 04:56 PM|Venkat Ganesh|LINK
I have created a new Web User Control (ASCX) in an existing web project (1.1 version). I placed a linkbutton and I am trying to assign Link to it using the code below
Error:
Name 'Controller' is not declared.
When I look at Controller in "Object Browser"
WebFormView
--
Controller() As Microsoft.ApplicationBlocks.UIProcess.ControllerBase
Anyone can help??
Thanks
Member
22 Points
95 Posts
Re: UIProcess - Name 'Controller' is not declared
Jun 05, 2009 12:01 PM|Venkat Ganesh|LINK
anybody?
Member
22 Points
95 Posts
Re: UIProcess - Name 'Controller' is not declared
Jun 08, 2009 10:38 AM|Venkat Ganesh|LINK
friends, any one?