Hello,
how can I add additional scriptDescriptors and scriptReferences to a RadTextBox control?
This doesn't work:
how can I add additional scriptDescriptors and scriptReferences to a RadTextBox control?
This doesn't work:
| protected override IEnumerable<ScriptReference> GetScriptReferences() |
| { |
| IEnumerable<ScriptReference> baseSR = base.GetScriptReferences(); |
| List<ScriptReference> mySR = baseSR as List<ScriptReference>; |
| mySR.Add(new ScriptReference("MyClientScript.js")); |
| return mySR as IEnumerable<ScriptReference>; |
| } |
| protected override IEnumerable<ScriptDescriptor> GetScriptDescriptors() |
| { |
| IEnumerable<ScriptDescriptor> baseSD= base.GetScriptDescriptors(); |
| List<ScriptDescriptor> mySD= baseSD as List<ScriptDescriptor>; |
| .... |
| .... |
| mySD.Add(desc); |
| return mySD as IEnumerable<ScriptDescriptor>; |
| } |
I get the error: this.get_styles().EnabledStyle
best regards
lemon