locked
Me.Master.Master RRS feed

  • Question

  • User641678839 posted

    Hello All I’m trying to access a control (AspxComboBoxEdit) in the Root.master page. From my default.aspx that inherits from Main.Master which in turn inherits from Root.Master

    Dim cp As ContentPlaceHolder = TryCast(Me.Master.Master.FindControl("Content"), ContentPlaceHolder)
    Dim cb As ASPxComboBox = TryCast(cp.FindControl("ASPxComboBox1"), ASPxComboBox)
    Me.ASPxLabel1.Text = cb.Text
    '
    

    by the way i get this when i try to build

    error BC30652: Reference required to assembly 'App_Web_root.master.cdcab7d2.wqxrg6j_, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' containing the type 'ASP.root_master'. Add one to your project.  

    <o:p></o:p> 

    Sunday, September 2, 2012 10:30 AM

All replies

  • User641678839 posted

    Thank you all for the help provided

    Tuesday, September 4, 2012 5:57 PM
  • User-489377026 posted

    Hi,

    error BC30652: Reference required to assembly 'App_Web_root.master.cdcab7d2.wqxrg6j_, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' containing the type 'ASP.root_master'. Add one to your project.  
    Since your issue has been solved, could you please share your solution?

    Thanks

    Wednesday, September 5, 2012 2:22 AM