W
Web Team @ Borough of Poole
Hi All,
I'm in the process of writing a eich text editor web custom control.
The actual text/HTML is displayed/editied in a DIV layer, which I have
created like this:
output.Write("<span class=" & EditDivCSSClass & " id=" & Me.ID & " " &
strContentEditable & " wrap>" & _strText & "</span>")
I drag my control onto the containing page, set the strText property,
which successfully ends up within the DIV. This is fine, until I come
to saving the editied text, which I will need to get back from the
control, then write to a DB/Txt file/XML...etc.
I *think*, that rather than output.writing the DIV layer, I need to
dynamically add a DIV/Layer control, which will then be accessible to
my custom control, which in turn can return a property containing the
string of user editied text.
Can anyone point my in the right direction here? Am I thinking about
this the right way?
Thanks for any help!
Simon.
I'm in the process of writing a eich text editor web custom control.
The actual text/HTML is displayed/editied in a DIV layer, which I have
created like this:
output.Write("<span class=" & EditDivCSSClass & " id=" & Me.ID & " " &
strContentEditable & " wrap>" & _strText & "</span>")
I drag my control onto the containing page, set the strText property,
which successfully ends up within the DIV. This is fine, until I come
to saving the editied text, which I will need to get back from the
control, then write to a DB/Txt file/XML...etc.
I *think*, that rather than output.writing the DIV layer, I need to
dynamically add a DIV/Layer control, which will then be accessible to
my custom control, which in turn can return a property containing the
string of user editied text.
Can anyone point my in the right direction here? Am I thinking about
this the right way?
Thanks for any help!
Simon.