Click here to Skip to main content
11,409,922 members (44,703 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET
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 22-Jan-13 5:21am
Comments
aspnet_regiis -i at 22-Jan-13 10:23am
   
What is a script editor ?
raghavarapur at 22-Jan-13 10:27am
   
A control which is used to edit the script .
aspnet_regiis -i at 22-Jan-13 23:22pm
   
Use the multiline textbox to edit the script

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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
  Permalink  

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 270
1 OriginalGriff 255
2 Maciej Los 138
3 Andy Lanng 105
4 Sascha Lefévre 95
0 Sergey Alexandrovich Kryukov 8,771
1 OriginalGriff 6,905
2 Maciej Los 3,390
3 Abhinav S 3,248
4 Peter Leow 3,059


Advertise | Privacy | Mobile
Web03 | 2.8.150414.5 | Last Updated 22 Jan 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100