#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2012
    Posts
    1
    Rep Power
    0

    Calling .net control public method from .asp host page


    Hi

    I have hosted a .net user control in .asp page, now i need to call a public method in .net user control.

    How can i call the .net public method of user control from classic asp host page.

    Thanks
  2. #2
  3. No Profile Picture
    Grumpier old Moderator
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jun 2003
    Posts
    14,439
    Rep Power
    4539
    I don't think you can. Maybe someone knows otherwise?
    ======
    Doug G
    ======
    Bartender to Rene Descartes "have another beer?" Descartes: "I think not" and he vanished.
    --Alfred Bester
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2012
    Posts
    116
    Rep Power
    9
    I'm not sure never tried, but if you compile public control in dll, you can try try something
    set contr=server.createObject("yourControl")
    and after that contr.property="lkjlk"

IMN logo majestic logo threadwatch logo seochat tools logo