Jan 26, 2010, 2:11 PM
how to save data from lable which is used as editor
HI,
I am using label with editor and when user double click on label he can edit contents and edited contents is save on the current page like
I am using label with editor and when user double click on label he can edit contents and edited contents is save on the current page like
<ext:Label
ID="Label4"
runat="server"
Cls="editable"
Icon="NoteEdit"
OverCls="editable-over"
Text="Double click editing">
<Editor>
<ext:Editor ID="Editor3" runat="server" AutoSize="Width" ActivateEvent="dblclick" />
</Editor>
</ext:Label>
...but when i get the label text it give me the old text not the edited text. i m geting text like protected void CompleteEdit(object sender, AjaxEventArgs e)
{
string data = Label4.text.ToString();
}
. Can any body tell me how can i save the edited text ?