Author: s_nesh | Posted on: 6/14/2010 6:21:57 AM | Views : 239

Hi All,
I have a listview which contains textboxes in each of its rows among other controls. when i select some text written IN the textbox (not the whole text) and click on a 'Bold' or 'Italic' buttons corresponding to that textbox, i want the selected text to change to bold/italic.
I have tried looking for a solution on web, but to no success.
I dont want to use AjaxControlToolKit.HTMLEditor since there are lot many textboxes on one page,  replacing them with the custom control (made from Editor) will make it heavy and slow.
I have tried using a div with contentEditable="true" and setting its width and height similar to a textbox, however, against my preconcieved belief, doing a ctrl+B or a ctrl+I doesnt work with it for a selected text (i was thinking of getting rid of the bold and italic  buttons from the row)

Also with editable div ....the text overflows from the fixed width of the div area.
Any help ...

Go to the complete details ...