Dear sirs
I have the following scenario:
After the page got loaded RadFormDecorator is automatically decorating all buttons checkboxes e.t.c
When I add new Buttons with ClientSide JavaScript I need them formatted with the RadFormDecorator as well.
How can I format that newly created button?
I need to Decorate it on the Client Side
Thanks for your help
Chris
| var BodyObj = document.getElementsByTagName("body")[0]; |
| var CloseButtonElement = document.createElement("input"); |
| CloseButtonElement.setAttribute("type", "button"); |
| CloseButtonElement.value = "Ok" |
| CloseButtonElement.onclick = function() { alert("blabla") }; |
| BodyObj.insertBefore(CloseButtonElement, BodyObj.firstChild); |
I have the following scenario:
After the page got loaded RadFormDecorator is automatically decorating all buttons checkboxes e.t.c
When I add new Buttons with ClientSide JavaScript I need them formatted with the RadFormDecorator as well.
How can I format that newly created button?
I need to Decorate it on the Client Side
Thanks for your help
Chris