Hi all,
I'm
using iFrame on parent form (not master page) where I'm opening my other forms (child forms). I'hv
used ScriptManager and UpdatePanels on both the forms i.e. on parent and on child. When I clicked on the child form
(inside iFrame) an error occurred - 'There is no source code available
for the current location.' and nothing went further. If I remove
ScriptManager from child form it won't give any
error, of course I can't use UpdatePanel and AJAX's any control on the child form.
The error is not consistent i.e. if I design another parent and child forms with the same structure error may not occur and if I continue with it then after few pastbacks error will occur. I tried to debug it where I went to one function in Resource.axd:
-------
Sys.UI.Point = function Sys$UI$Point(x, y) {
/// <param
name="x" type="Number"
integer="true"></param>
/// <param
name="y" type="Number"
integer="true"></param>
/// <field
name="x" type="Number"
integer="true"></field>
/// <field
name="y" type="Number"
integer="true"></field>
var e =
Function._validateParams(arguments, [
{name:
"x", type: Number, integer: true},
{name:
"y", type: Number, integer: true}
]);
if (e)
throw e;
this.x = x;
this.y = y;
--------------
where e.message = "Sys.ArgumentOutOfRangeException: Value must be an integer. Parameter name: x Actual value was NaN."
If anybody had faced the same prob and has the solution please reply.
Thanx.