UIProcess - Name 'Controller' is not declared

Last post 06-08-2009 10:38 AM by Venkat Ganesh. 2 replies.

Sort Posts:

  • UIProcess - Name 'Controller' is not declared

    06-04-2009, 4:56 PM

    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

    Anyone can help??

    Thanks

  • Re: UIProcess - Name 'Controller' is not declared

    06-05-2009, 12:01 PM

    anybody?

  • Re: UIProcess - Name 'Controller' is not declared

    06-08-2009, 10:38 AM

    friends, any one?

Page 1 of 1 (3 items)