or


I have a checkout page that has a RadGrid on it to display items, cost, amount of each item etc. When I used the native MS datagrid, I was able to use DataGrid.RenderControl() to get the html to display an exact replica of the datagrid in an email. For some reason this will not work with the RadGrid.
This is the code I used:
StringBuilder
sb = new StringBuilder();
StringWriter sw = new StringWriter(sb);
HtmlTextWriter htw = new HtmlTextWriter(sw);
dg.RenderControl(htw);
I get a RegisterScript() error when I use this same code with the RadGrid. Ideas/Solutions?