This is what i need.
I have a webform.When the user clicks a button,i need to ask the user for a value which i use for
I need some way to get the value from the user and use it in my server side code. I tried using
InputBox but it gives me an error saying that to use inputbox i need to have a modal application
or use a service(smoething along these lines).
button click when the user has entered a value.
perc=window.prompt("Enter Percentage Value:")
but the click statement gives me an error saying contentWindow.document is null or not an object.
i tried using Form1.btn.click() but still doesnt work.
If i remove the click statement, then the value is put in the textbox but i need an event to be triggered
to process furthur.
Can you help me in doing this?
Any Help would be greatly appreciated.