protected void btnChangeDescriptionEditorMode_Click(object sender, EventArgs e)
{
if (this.txtDescription.Visible)
{
this.teDescription.Visible = true;
this.txtDescription.Visible = false;
this.teDescription.Text = this.txtDescription.Text;
}
else
{
this.teDescription.Visible = false;
this.txtDescription.Visible = true;
this.txtDescription.Text = this.teDescription.Text;
}
this.btnChangeDescriptionEditorMode.Text = Localization.GetString(
"btnChangeDescriptionEditorMode_" + this.txtDescription.Visible, this.LocalResourceFile);
}