Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
780
WebDropDown 2011.1 ClientRenderingTemplate by code
posted

Hello,

I have a WebDropDown v11.1 created by code. When it is created, it is empty and I want to fill it with data when another WedDropDown's value is selected. I am using  EnableClientRendering="true and  JSON to databind on the client side as in your examples. I have no template in my WebDropDown and I don´t know how to set it. I see in HTML you can set a template:

<ClientRenderingTemplate>

<li>Product: ${Data}</li>

</ClientRenderingTemplate>

How I can do this by code? Or these is a way to do it by javascript when I am doing the databind?

Can you provide an example where the data are coming from a webservice?

Thanks

Parents
No Data
Reply Children