Hello
Current Scenario: Currently we are generating html select (dropdown) from code behind using string builder and adding the generated HTML into literal control - which will display the HTML. Below is the code snippet.
html.Append("<select name=test id=test class='xyz' onchange=\"changeDD(this);\" >");
html.Append("<option value='1'>xyz</option>");
We have number of controls being rendered dynamically based on customer settings. Now, We are trying to replace this html select (dropdown) with Telerik RadDropdownlist.
Please suggest the approach or provide your inputs to achieve this kind of HTML rendering from code behind. Also we have JS written for some of the controls.
Please let me know if you need more details.
Current Scenario: Currently we are generating html select (dropdown) from code behind using string builder and adding the generated HTML into literal control - which will display the HTML. Below is the code snippet.
html.Append("<select name=test id=test class='xyz' onchange=\"changeDD(this);\" >");
html.Append("<option value='1'>xyz</option>");
We have number of controls being rendered dynamically based on customer settings. Now, We are trying to replace this html select (dropdown) with Telerik RadDropdownlist.
Please suggest the approach or provide your inputs to achieve this kind of HTML rendering from code behind. Also we have JS written for some of the controls.
Please let me know if you need more details.