Button is clicked eventSSaurabh5yAsked May 17, 2021, 5:12 AM EDT5 answersShareLinkedInXCopy linkSavehow to show a text when a button is clicked from a raw text from a website link to show in a textboxLink of raw text is this.:-- https://pastebin.com/raw/kuxiByj1
Button is clicked eventSSaurabh5yAsked May 17, 2021, 5:12 AM EDT5 answersShareLinkedInXCopy linkSavehow to show a text when a button is clicked from a raw text from a website link to show in a textboxLink of raw text is this.:-- https://pastebin.com/raw/kuxiByj1
Pranam BhatRank #500 · 4.9K reputation5y agoPosted May 18, 2021, 12:25 AM EDT+21) Solution 1 : protected void btnJavasctiptAlert_Click(object sender, EventArgs e){ // other code ScriptManager.RegisterClientScriptBlock(this, typeof(Page), "anything", "alert('https://pastebin.com/raw/kuxiByj1');", true);} 2) Solution 2 : Untitled Page top: 88px" Text="https://pastebin.com/raw/kuxiByj1" OnClientClick ="alert_meth()" Font-Bold="True" ForeColor="Red" Width="72px"/> +2SSaurabh12 reputation5y agoPosted May 17, 2021, 12:58 PM EDT+1I want in csharp it is dotnet+1Surya KantRank #958 · 2.1K reputation5y agoPosted May 18, 2021, 5:08 AM EDT+1You can use Java Script alert function when your button was clicked. Just put below code inside your button click function,alert("Your Text"); Using C# code then use below code to show the alert, MessageBox.Show("text", "title", MessageBoxButtons.OK, MessageBoxIcon.Warning); +1Surya KantRank #958 · 2.1K reputation5y agoPosted May 18, 2021, 5:13 AM EDT+1Using C# code then use below code to show the alert, MessageBox.Show("text", "title", MessageBoxButtons.OK, MessageBoxIcon.Warning); +1SSaurabh12 reputation5y agoPosted May 18, 2021, 10:27 AM EDT+1I want to show a text from a raw of a pastebin.com link in a text box when button is cliked+1Join to answer this questionEvery answer you publish earns 20 SHARP.Create free accountSign inKnow the answer?Answer a question in the forums and earn +20 SHARP for every answer.See unanswered questionsForumsTop experts01Arun PottiAnswers in the forums20answers02Tahir AnsariAnswers in the forums5answers03Kamlesh KumarAnswers in the forums5answers04Sam HobbsAnswers in the forums4answers05Željko PerićAnswers in the forums3answers?YouYour name goes here.Every answer: 20 SHARP.JoinFull leaderboard →2026DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Surya KantRank #958 · 2.1K reputation5y agoPosted May 18, 2021, 5:08 AM EDT+1You can use Java Script alert function when your button was clicked. Just put below code inside your button click function,alert("Your Text"); Using C# code then use below code to show the alert, MessageBox.Show("text", "title", MessageBoxButtons.OK, MessageBoxIcon.Warning); +1
Surya KantRank #958 · 2.1K reputation5y agoPosted May 18, 2021, 5:13 AM EDT+1Using C# code then use below code to show the alert, MessageBox.Show("text", "title", MessageBoxButtons.OK, MessageBoxIcon.Warning); +1
SSaurabh12 reputation5y agoPosted May 18, 2021, 10:27 AM EDT+1I want to show a text from a raw of a pastebin.com link in a text box when button is cliked+1
Pranam BhatRank #500 · 4.9K reputationPosted May 18, 2021, 12:25 AM EDT
Saurabh12 reputationPosted May 17, 2021, 12:58 PM EDT
Surya KantRank #958 · 2.1K reputationPosted May 18, 2021, 5:08 AM EDT
Surya KantRank #958 · 2.1K reputationPosted May 18, 2021, 5:13 AM EDT
Saurabh12 reputationPosted May 18, 2021, 10:27 AM EDT
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts