i have form with TextEditor and button. Then i click on button, VALUE property return "" , and after refreshing page TextEditor is blank.
But i can set value property in code and then all work fine.
Please give me solution.
But i can set value property in code and then all work fine.
Please give me solution.
RE: Problem with VALUE property (ASP.NET 2.0)
do the following:
if(!page.ispostback)
{
fck.value = "abc";
}
that way when you hit "save" or whatever, it will not return "" or "abc". you could also try saving the html content in the database or file then reload it from the source you saved it into.
hope this helps...