Grid in IFRAME events
I have the grid in a iframe. I have the row indexes set with my db's ID's from a resultset. I am trapping the double click event using:
var row = new Active.Templates.Row;
On the IFRAME Parent page the rowClick function I am calling grabs the id being passed fine. If I alert 'document.URL' is this function, the parent page's url shows as expected. However, if I try to change location in the this function, The relative url is gotten from the IFRAME's content page. So I cannot use document relative url's. Why is this? Is this because the event is actually coming from the IFRAMES contents, even though the function resides in the parent page? Is there any way around this so I can use a document relative url?
Any help from anyone is appreciated. I'm stumped on how to overcome this. Hopefully I made sense in my explaination.