This is a migrated thread and some comments may be shown as answers.

radgrid on page used as <script src

0 Answers 29 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Andreas
Top achievements
Rank 1
Andreas asked on 07 Jun 2010, 01:55 PM
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.

No answers yet. Maybe you can help?

Tags
Grid
Asked by
Andreas
Top achievements
Rank 1
Share this question
or