Cantekin,
The only way I can think of doing this would be to pass back a piece of
javascript that would redirect the frame, if the conditions are met. Since
this request is coming in from one frame, you can pass back a javascript
function which is executed on load which will set the location of the other
frame.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Cantekin Guneser" <ca*************@hotmail.com> wrote in message
news:OV****************@TK2MSFTNGP12.phx.gbl...
firstly thanks for your attention
i am new on java scriptting, as we know in .net c# we can not direct
frame from another frame this is why i need i prepare a function as follow;
function Find()
{
var qrystr;
qrystr =
'estype='+Form1.DDL_EstateType.options[Form1.DDL_EstateType.selectedIndex].v alue+'&comtype='+
Form1.DDL_EstateComType.options[Form1.DDL_EstateComType.selectedIndex].value
+'&city='+Form1.DDL_EstateCity.options[Form1.DDL_EstateCity.selectedIndex].v
alue+'&state='+Form1.DDL_EstateProvince.options[Form1.DDL_EstateProvince.sel
ectedIndex].value+'&mtype='+Form1.DDL_Money.options[Form1.DDL_Money.selected Index].value;
if(Form1.Textbox1.value == '')
qrystr += '&price=0';
else
qrystr += '&price=' + Form1.Textbox1.value;
if(Form1.CB_Foto.checked)
qrystr += '&foto=1';
else
qrystr += '&foto=0';
}
sqlsrt is for querystring now can you tell me in detail how i can redirec
the other frame with this querystring
i will be glad if you can send me little eaxample
thank again