eventargs.set_cancel(true);
t5his does not work….neither in the TextChanged or valuechanged event….
function
lblMsg_ValueChanged(sender, eventargs){
var
xid=sender._id;
var
txt = $find(xid);
var
ct= txt.get_text();
var
abbrv = document.getElementById(ctl + "_lblAbbrv");
var
atxt=abbrv.innerHTML + ': ';
if
(ct.startsWith(atxt))
var f=6;
else
eventargs.set_cancel(true);
so if a person has text in the WebTextEditor "Mase: Welcome to my club" and tries to change the text by selecting and delting "Mase:" I want to cancel so that this Msg Identifier can not be deleted???
I also need to let the use know upon each text change, either by typing one char or deleting a whole line, how many chars long the text is. I use the TexChanged even for this
it would be best if I could cancel the text_changed event…
please feel free to call if you need more explanaton…thanks for your help