Javascript errors on web grid with page embedded in iframe

7 replies. Last post: March 6, 2013 9:32 PM by Hans Kristian
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback

Hi,

I have an html pages configuration so that an outer page contains an inner page through an iframe, and the inner page contasin a WebGrid. If I open in the browser the inner page all works as expected, instead if I open the outer page a lot of javascript errors arise. To show you I created a simple project with 2 pages: Inner.aspx and Outer.aspx, if you browse the first all is ok, if you browse the second you will see the errors. You can find this project in attachment InnerFrame.zip.

While debugging the code I see that the following instructions are executed:

var v46839 =ISGetObject(v79345.childNodes[0].gridId);
var ve0e96 =v46839.Tables[v79345.childNodes[0].tblName];

but v79345.childNodes[0].gridId is undefined, so ISGetObject returns null and the next instruction arise the error.

Could you please help?

Regards,

Vince

1 attachment
All times are GMT -5. The time now is 1:40 AM.
Previous Next