How to push a button on a webpage?
How can I push a button on a webpage from .NET code? (for example a submit button on a webpage)
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Shivanand ArurRank #920 · 2.3K reputationPosted Oct 26, 2012, 1:02 AM EDT
For example -
protected void btnSubmit_Click(object sender, Eventargs e)
{
Response.Write("The User Clicked the Submit Button");
}
Only when the user clicks the button, the text will be shown on the page in the browser....
Hope this helps u out!!!
Please mark the answer as accepted if it helped!!!
Thank you
Shivanand ArurRank #920 · 2.3K reputationPosted Oct 25, 2012, 9:56 PM EDT
Marton Korosi13 reputationPosted Oct 26, 2012, 12:34 AM EDT
There is a button on a web page. (For example a submit button.) You can click on it with your mouse, of course.
question:
Is it possible to click the button with a computer program? So I want to write a program that automatically clicks the button. How is it possible?