Click here to Skip to main content
15,892,298 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,

Is the any Script editor Control in Asp.net,Can u Suggest Me any Alternative For the above controls in asp.net.

Can you Help these Problem As Soon as possible.



Thank,
Raghava.
Posted
Comments
bbirajdar 22-Jan-13 10:23am    
What is a script editor ?
raghavarapur 22-Jan-13 10:27am    
A control which is used to edit the script .
bbirajdar 22-Jan-13 23:22pm    
Use the multiline textbox to edit the script

1 solution

Such control is simply the element <textarea ... />.

To make is a script editor, you need a separate script which gets the value of the property value of this element (it is a string representing the text typed in the text area) and simply call JavaScript function eval, passing this value as an argument. Get a the result of the function and present is some other element.

Here is a complete example: http://sakryukov.org/freeware/calculator/[^].

You can add a lot of other detail and features…

Enjoy,
—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900