Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Quick Question
Message
General information
Forum:
ASP.NET
Category:
Other
Title:
Miscellaneous
Thread ID:
00744757
Message ID:
00745082
Views:
22
>
>I would like to click() another button on an ASP.NET page during a click() event of another button, similar to what we can do in VFP. Is this possible?

Depending on what you are doing, refactoring will probably give you the most flexible design:
public void Button1_Click (object, eventargs)
{
   DoSomething();
}

public void Button2_Click (object, eventargs)
{
   DoSomething();
}

public void DoSomething ()
{
...
}
Then you can call DoSomething anywhere its needed.
Previous
Reply
Map
View

Click here to load this message in the networking platform