#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,508
    Rep Power
    4541
    I don't think you can. Maybe someone knows otherwise?
    ======
    Doug G
    ======
    I've never been able to appreciate the sublime arrogance of folks who feel they were put on earth just to save other folks from themselves .." - Donald Hamilton
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2012
    Posts
    123
    Rep Power
    11
    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