javascript in asp.net

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
 
M

Mark Rae

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...
 
G

Guest

You could use FilteredTextBoxExtender in AJAX controls toolkit - you do not
need to write any javascript, just set FilterType="Numbers" on the server.
 
G

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top