Cannot call method in UserControl

Discussion in 'ASP .Net Web Controls' started by Peter Aitken, Jul 23, 2004.

  1. Peter Aitken

    Peter Aitken Guest

    I have created a user control with a method in the code behind file. I want
    to call this method from the user control, from the onclick event of a
    button. However when I run the app and click the button I get a "type
    mismatch" error at the point the method is called. What's wrong?

    --
    Peter Aitken

    Remove the crap from my email address before using.
     
    Peter Aitken, Jul 23, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. huobazi
    Replies:
    1
    Views:
    692
    David Waz...
    Jul 3, 2003
  2. Rajesh Tiwari

    Can we use a usercontrol inside a usercontrol

    Rajesh Tiwari, Aug 12, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    418
    Rajesh Tiwari
    Aug 12, 2003
  3. nail
    Replies:
    0
    Views:
    1,546
  4. James Identity

    UserControl event & method call sequence

    James Identity, Sep 6, 2005, in forum: ASP .Net Building Controls
    Replies:
    3
    Views:
    208
  5. Replies:
    1
    Views:
    184
Loading...

Share This Page