Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Scripting / January 2004

Tip: Looking for answers? Try searching our database.

redirecting other frame

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Cantekin Guneser - 22 Jan 2004 22:30 GMT
   in my project i ahave frame sets i want to main frame to direct a url
with query string when press a button that is at left frame

thanks in advance for ayn hepl or idea
Cantekin Guneser - 22 Jan 2004 23:55 GMT
i have found solution with following code
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';
var frm = window.parent.frames;
frm(2).location = 'Search.aspx?'+qrystr
}

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.