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

window.returnvalue undefined chrome telerik radgrid

1 Answer 202 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ratheesh Krishna
Top achievements
Rank 1
Ratheesh Krishna asked on 05 Apr 2011, 09:34 AM
The lookup page contains a radgrid and a radiobutton to select the row on which i populate the textboxes on the parent page.
RadGrid Version :2009.2.826.20
Trying to pass an object from a showmodaldialog from the child to the parent .
I get an alert that says undefined:

var o = new Object();
o.FirstName =
document.getElementById("first_name").innerHTML;
window.returnValue = 
o.FirstName;
window.close();


on the parent:

retval=window.showModalDialog ('searchMNI.aspx?lastname=' + temp);
alert("it 
is: " + retval.FirstName);

These are from a slightly larger context, but hope you get the picture from
these snippets.

The Actual problem occurs in Chrome Browser . When i select a row and return the value it is able to send the values through the windows.returnValue of the lookup .  But when i filter the grid for a cloumn and select the radiobutton the value on the parent becomes undefined . Any idea about this .

1 Answer, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 08 Apr 2011, 09:10 AM
Hello,

Could you please elaborate a bit more on your application? Does the problem appear only in Chrome browser? Please provide some more code which includes the RadGrid marku7pmand the related code behind so we could further research on the problem and advice you further.

Best wishes,
Maria Ilieva
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Grid
Asked by
Ratheesh Krishna
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Share this question
or