Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

139
Views
Execute the function I wrote in C # by changing the value (input)

How can I execute the function I wrote inside the c # code when I change the input value?

<input id="quantity2" runat="server" type="number" onserverclick="lod_gheymat" value="" min="1" max="20" />
 protected void lod_Price(object sender, EventArgs e)
    {
 lbl_Plural.Text = quantity2.Value;
}

enter image description here

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Use a asp:Textbox instead of an input control with ‘runat=server’. Then set the property AutoPostback to true, and handle the event ‘OnTextChanged’.

See: https://meeraacademy.com/textbox-autopostback-and-textchanged-event-asp-net/ for an example.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!