I'm with a company who delivers digital formulars. These forms usually gets embedded into our clients website by using the <script> tag.
Simple html site containing a form:
<html><body><script src="http://our-site.com/forms/form.aspx?formid=123" type="text/javascript" /></body></html> This works just fine for forms containing basic html/javascript. But I'm trying to develop a form containing a RadGrid. The grid shows up fine on the page, but whenever i click on a column for sorting/filtering or browse to next page in the grid, an javascript error pops up saying 'object expected'. |
The grid works fine just by itself, but I need it to work as an embedded script resource.
Can this be done? I suppose it's got to do with the client-side scripting. The same error pops up if I use a simple asp:GridView with AllowSorting=true.