This is a migrated thread and some comments may be shown as answers.

Rad Editor & Custom Attributes

1 Answer 32 Views
Editor
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 22 Jan 2009, 10:54 PM
Like all ajax controls I guess I can add a custom attribute to rad Editor like this:

RadEditor.attributes.add("AttName", "AttValue")

But I seem to be having difficuulty retrieving that value. I Tried:

Dim x as string = RadEditor.Attributes("AttName")

but I get a value of nothing.

Can someone instruct me on how to assigna  custom attribute and then retrieve with for Rad Editor?

Many thanks in advance.

John

1 Answer, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 23 Jan 2009, 02:13 PM
Hi John,

I already answered your other thread and for your convenience I pasted it below:

Your code seems to be correct and that is why I prepared a sample test demo based on it in order to see what is actually happening. However, it is working as expected and the custom attribute is correctly set and extracted later, on a button click. I attach my test demo for your reference - please examine it, modify it in order to reproduce the issue, open a new support ticket and send it back to me along with detailed explanations and reproduction steps. Once I have a better understanding on the exact setup, I will do my best to help.

Kind regards,
Svetlina
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Editor
Asked by
John
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Share this question
or