Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Aug 2002
    Location
    Tulsa, OK
    Posts
    50
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Passing data to a parent control. ASP.NET

    On a page I have a usercontrol (uc1) and in uc1 I have another usercontrol (uc2). uc2 needs to pass data to a property of uc1. How can I do this? I tried the following but it said 'The specified cast is not valid'.


    Dim p as Zword.UC1 = me.Parent 'line that drew error.
    p.MyProperty = whatever


    Thanks for your help.

  • #2
    Regular Coder
    Join Date
    Dec 2002
    Location
    France
    Posts
    522
    Thanks
    0
    Thanked 0 Times in 0 Posts

    ...

    I never use usercontrols but this link could help read more ....


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •