javascript in asp.net

  • Thread starter Thread starter vinodkus
  • Start date Start date
V

vinodkus

hello
I m vinod I am creating an asp.net application and I want if any body
enter any value in a textbox then it should only be appear if entered
value is integer other wise it should not be appear. please write full
code. i dont know how to use javascript in asp.net. Thanks in
Advance
vinod
 
I m vinod I am creating an asp.net application and I want if any body
enter any value in a textbox then it should only be appear if entered
value is integer other wise it should not be appear. please write full
code. i dont know how to use javascript in asp.net.

There is a problem with your newsreader - it is sending the same post
several times...
 
You could use FilteredTextBoxExtender in AJAX controls toolkit - you do not
need to write any javascript, just set FilterType="Numbers" on the server.
 
You use javascript in ASP.NET just the way you would use it in any other web
development environment. Find example code that does what you want,
add the script to the ASPX (HTML) portion of the page, and attach the
correct event to the textbox with ControlID.Attributes.Add("onkeyup", etc...)

Peter
 
Back
Top