Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. AdamSpattam

    newbie - how to call a method from event handler

    below(simplified) in page load i call restoreContents();...it does not complain on that line as i debug but never goes to the method. what is my syntax/approach problem. tanx in advance protected void Page_Load(object sender, EventArgs e) { if (this.IsPostBack) {...
  2. AdamSpattam

    newbie - how do you call a button_click event from another method

    PerformClick() is only for windows forms, not web apps. I tried googling and could not find out how to call a button_click from another method. Anyone know know?
  3. AdamSpattam

    newbie - how do you call a button_click event from another method

    oh I forgot that technique! thanks. the actual calling code I got from msdn.: C# // Call the Click event of button1. button1.PerformClick(); But I just realized for this particular instance, I want the compiler to think the button was clicked becuase button controls, and not the...
  4. AdamSpattam

    newbie - how do you call a button_click event from another method

    newbie - how do you call a button_click event from another method. I am trying to do a crosspage post back (Cs and asp.net 3.5) . in the wired up SelectedIndexChanged() event of a dropdown list, i want to call a button click event that already has the code i want in it. well basically it is a...

Part and Inventory Search

Back
Top