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)
{...
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?
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.