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

152
Views
Ejecute la función que escribí en C# cambiando el valor (entrada)

¿Cómo puedo ejecutar la función que escribí dentro del código c # cuando cambio el valor de entrada?

 <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; }

ingrese la descripción de la imagen aquí

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Use un cuadro de texto asp: en lugar de un control de entrada con 'runat = servidor'. Luego establezca la propiedad AutoPostback en verdadero y maneje el evento 'OnTextChanged'.

Consulte: https://meeraacademy.com/textbox-autopostback-and-textchanged-event-asp-net/ para ver un ejemplo.

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!