All,
In certain cases I'll have a WEB Method that will send HTML down to the Client. For example:
Then on the Client in my JavaScript I'll either use jQuery or straight JavaScript to do something like this:
My question is: Can I do something similar with the Telerik controls? Or is this approach soley limited to simple HTML controls?
In certain cases I'll have a WEB Method that will send HTML down to the Client. For example:
[WebMethod]
public
static
string
EmitHtml(
string
Msg) {
return
"<div style=\"height:100px; width:100px; background-color: #808000;\">\" TEST \"</div><br/>"
;
}
Then on the Client in my JavaScript I'll either use jQuery or straight JavaScript to do something like this:
function
onGotHtml(Html) {
$get(
'divContainer'
).innerHTML = Html;
}
My question is: Can I do something similar with the Telerik controls? Or is this approach soley limited to simple HTML controls?