3.5.5版本中,后台通过TextBox1.Text一般来说可以获取到值,但是有些时候获取出来的值是空的,这时候只要在前台的KE初始化参数中加个参数 syncType: "auto" 就行了,具体原因我也不知道,只知道加上这个就可以解决了.下面给出前台的完成的初始化
KE.show({
id: '<%=txtintro.ClientID %>',
resizeMode: 1,
allowPreviewEmoticons: false,
allowUpload: false,
items: [
'fontname', 'fontsize', '|', 'textcolor', 'bgcolor', 'bold', 'italic', 'underline', 'lineheight',
'removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist',
'insertunorderedlist', '|', 'emoticons', 'image', 'link'],
syncType: "auto"
});
本文介绍了一个关于TextBox1.Text在3.5.5版本中有时无法正确获取值的问题,并提供了解决方案:通过在KE编辑器初始化参数中加入syncType:auto来确保值能够被正确读取。
153

被折叠的 条评论
为什么被折叠?



