asp.net - textbox in gridview needs rich text editing; superscript, greaterthanequalto etc -


i've got asp.net page vb.net backend. has gridview, , users need able edit values in it.

it's dollar amount ranges entering, , need able add superscript numbers @ end on occasion. standard asp.net textbox not support these features, nor there way users enter greater or equal symbols.

i'm looking straight forward solution, had been using fckeditor, incredibly clunky, , trying find more inline editing of ckeditor duration.

the newer version of ckeditor seems built textarea, , not asp:textbox, gridview uses edit template field. know quick solutions getting functionality gridview edit mode textbox?

additionally - settle end conversion, user enter "=<" , change appropriate symbol before storing in db... however, using

httputility.htmlencode(strvalue.replace("=<", "&#8804;")) 

just gives me "&#8804;$500,000.00" worse...

here's did solve this: had users enter "<=" or whatever ranges, , add "^" prior superscript. replaced 2 characters unicode values, , did decode on string. superscript, replaced carrot "sup" tag, , added closing tag @ end of string. it's bit of hack, users can enter need, , values stored properly, , displayed correctly afterwords.


Comments

Popular posts from this blog

php - regexp cyrillic filename not matches -

c# - OpenXML hanging while writing elements -

sql - Select Query has unexpected multiple records (MS Access) -