Help needed on freetextbox
-
Hi I am again in need of the professionals on this form. Thanks for the help in past. I have freetextbox,a dropdownlist and a button in my application. when ever user selects a value in dropdownlist and presses button that particular value should be inserted on the cursor location in the freetextbox. if any one have any sample code or any idea as to how to achieve this please reply. Thanks
-
Hi I am again in need of the professionals on this form. Thanks for the help in past. I have freetextbox,a dropdownlist and a button in my application. when ever user selects a value in dropdownlist and presses button that particular value should be inserted on the cursor location in the freetextbox. if any one have any sample code or any idea as to how to achieve this please reply. Thanks
I suggest you click reply to my post, then view source. Have a look at the javascript that is run when you click 'quote selected text' on this page. Assuming it's in the page, and not an external js file, but, you know you can type the path to those js files into the browser, in order to view them.
Christian Graus No longer a Microsoft MVP, but still happy to answer your questions.
-
I suggest you click reply to my post, then view source. Have a look at the javascript that is run when you click 'quote selected text' on this page. Assuming it's in the page, and not an external js file, but, you know you can type the path to those js files into the browser, in order to view them.
Christian Graus No longer a Microsoft MVP, but still happy to answer your questions.
-
Well, yes, but of course, if you do that, the person is going to see their page disappear and refresh, so that's not really as nice a solution. C# code obviously only runs on postback, unless you use AJAX, and why would you use AJAX to do somethign you can do on the client ?
Christian Graus No longer a Microsoft MVP, but still happy to answer your questions.
-
Well, yes, but of course, if you do that, the person is going to see their page disappear and refresh, so that's not really as nice a solution. C# code obviously only runs on postback, unless you use AJAX, and why would you use AJAX to do somethign you can do on the client ?
Christian Graus No longer a Microsoft MVP, but still happy to answer your questions.
I am using freetextbox which does not provide onclientclick event. so how to call client side events for freetextbox like onkeyup, onkeydown etc and also I am unable to find javascript in the view source of the reply page thanks for your reply. Hope u will soon reply with my requirement. Thanks again