P
Palli
Hi there...
I have a little problem! Im developing a asp.net web and
I´ve a div tag that looks like this;
<form id="UpdatePopup" method="post" runat="server"
enctype="multipart/form-data">
....
<input class="btnBold" onclick="toggleBold
(this.form.lstNews)" type="button" value="B"
onMouseOver="selOn(this)" onMouseOut="selOff(this)"
onMouseDown="selDown(this)" onMouseUp="selUp(this)"
name="Button">
<div id="TextEditArea" contentEditable="true"
class="border">
<input type="hidden" name="lstNews">
</div>
....
</form>
I use this tag to write message so the user can make html
text with bold, italic and undirline attributes.
The problem is that I cant get the text from the div
textarea when I submit the form! I´ve tried everything;
put a ;
protected HtmlGenericControl TextEditArea;
in the code file but I cant get the text from the area.
Can someone help me?
Palli
ps. Im running on
Microsoft Development enviroment 2002; version 7.0.9466
..NET framework 1.0
I have a little problem! Im developing a asp.net web and
I´ve a div tag that looks like this;
<form id="UpdatePopup" method="post" runat="server"
enctype="multipart/form-data">
....
<input class="btnBold" onclick="toggleBold
(this.form.lstNews)" type="button" value="B"
onMouseOver="selOn(this)" onMouseOut="selOff(this)"
onMouseDown="selDown(this)" onMouseUp="selUp(this)"
name="Button">
<div id="TextEditArea" contentEditable="true"
class="border">
<input type="hidden" name="lstNews">
</div>
....
</form>
I use this tag to write message so the user can make html
text with bold, italic and undirline attributes.
The problem is that I cant get the text from the div
textarea when I submit the form! I´ve tried everything;
put a ;
protected HtmlGenericControl TextEditArea;
in the code file but I cant get the text from the area.
Can someone help me?
Palli
ps. Im running on
Microsoft Development enviroment 2002; version 7.0.9466
..NET framework 1.0