Ext.Net textEditor#{character

时间:2017-06-20 18:30:30

标签: jquery asp.net ext.net

我累了Ext.net textEditor和HtmlEditor。有问题。

无法在Text属性上设置值。我尝试以下代码

txtBody.Text = "#{dynamicBody}"

htmlEditor.Text = "${dynamicSQL}"

Replaced after render on 

txtBody.Text = Ext.Get("dynamicBody")

htmlEditor.Text = Ext.Get("dynamicSQL)"

1 个答案:

答案 0 :(得分:0)

如果您不想进行令牌扩展,则应在global.asax下的Application_start()下禁用令牌扩展。

TokenUtils.Settings.Disable = true;

源: https://forums.ext.net/showthread.php?15965-Place-holder-with-a-format-parameter_name&p=92632&viewfull=1#post92632