Delay loading the grid object.
Alex,
Normal loading of the grid occurs within a <script> tag and calling document.write(). This works but I'd like to render the grid control via AJAX.
This is easily done using normal HTML elements by writing to a DIVs innerHTML. EG: divElement.innerHTML = "<input type='text' />".
How can I do the same sort of thing with the grid control?
Once the document is finished loading you are not supposed to call the write or writeln methods.
I have tried using document.createElement("scirpt"); and appending the script element to a DIV but no luck.
Thanks
Normal loading of the grid occurs within a <script> tag and calling document.write(). This works but I'd like to render the grid control via AJAX.
This is easily done using normal HTML elements by writing to a DIVs innerHTML. EG: divElement.innerHTML = "<input type='text' />".
How can I do the same sort of thing with the grid control?
Once the document is finished loading you are not supposed to call the write or writeln methods.
I have tried using document.createElement("scirpt"); and appending the script element to a DIV but no luck.
Thanks
Matt
March 17,