| | |
Javascript works on explore 6.0 but not on explore 5.0 and explore mac
Please support our C# advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Jul 2005
Posts: 3
Reputation:
Solved Threads: 0
I have this code that I am using in C# calling a Response.Write to call another aspx page within a frame.
Response.Write("<script language=javascript>parent.Frame.location.href('detail_search.aspx?NameOrCat=1&strFor="+strName+"&catDesc="+strCategory+"&clickedButton=0&Where="+this.WhereSelect.SelectedValue+"&searchOption="+this.rbtnStartsContains.SelectedValue.ToString()+"§ion_id="+this.ddwnSection.SelectedValue.ToString()+"');</script>");
This logic works on explore 6.0 but I can not figure out why it does not work on explore 5.0 and explore mac.
Does anyone know how I could fix this problem?
Thank you very much...
Response.Write("<script language=javascript>parent.Frame.location.href('detail_search.aspx?NameOrCat=1&strFor="+strName+"&catDesc="+strCategory+"&clickedButton=0&Where="+this.WhereSelect.SelectedValue+"&searchOption="+this.rbtnStartsContains.SelectedValue.ToString()+"§ion_id="+this.ddwnSection.SelectedValue.ToString()+"');</script>");
This logic works on explore 6.0 but I can not figure out why it does not work on explore 5.0 and explore mac.
Does anyone know how I could fix this problem?
Thank you very much...
Last edited by RobRet; Jul 12th, 2005 at 11:03 pm. Reason: Forgot to add Explore for MAC also
•
•
Join Date: Jul 2005
Posts: 20
Reputation:
Solved Threads: 0
Try naming your frames and then use the following syntax
parent[frame1Name].location.href
Eddie Traversa
DHTML
http://dhtmlnirvana.com/
Spiritual Blog
http://www.truthrealization.com/
parent[frame1Name].location.href
Eddie Traversa
DHTML
http://dhtmlnirvana.com/
Spiritual Blog
http://www.truthrealization.com/
•
•
Join Date: Jul 2005
Posts: 3
Reputation:
Solved Threads: 0
Thanks very much for your response.
I am sorry but I posted the incorrect code.
In my javascript I am using "parent.location.href". This works on "explore 6.0" but not on "explore 5.0" or "explore mac". What am I doing wrong.
Response.Write("<script language=javascript>parent.location.href('detail_search.aspx?NameOrCat=1&strFor="+strName+"&catDesc="+strCategory+"&clickedButton=0&Where="+this.WhereSelect.SelectedValue+"&searchOption="+this.rbtnStartsContains.SelectedValue.ToString()+"§ion_id="+this.ddwnSection.SelectedValue.ToString()+"');</script>");
Thanks
I am sorry but I posted the incorrect code.
In my javascript I am using "parent.location.href". This works on "explore 6.0" but not on "explore 5.0" or "explore mac". What am I doing wrong.
Response.Write("<script language=javascript>parent.location.href('detail_search.aspx?NameOrCat=1&strFor="+strName+"&catDesc="+strCategory+"&clickedButton=0&Where="+this.WhereSelect.SelectedValue+"&searchOption="+this.rbtnStartsContains.SelectedValue.ToString()+"§ion_id="+this.ddwnSection.SelectedValue.ToString()+"');</script>");
Thanks
![]() |
Similar Threads
- javascript works in IE but not working in firefox (JavaScript / DHTML / AJAX)
- how to change the the value of src in <embed> using javascript (JavaScript / DHTML / AJAX)
- how do i change startup disk while mac is booting up? (OS 7 / 8 / 9)
- JoeOneEye- prosearching.com problem (Viruses, Spyware and other Nasties)
Other Threads in the C# Forum
- Previous Thread: Deleting TextBox'es cause application losing foucs
- Next Thread: Looping MP3 sound in Form?
| Thread Tools | Search this Thread |
Tag cloud for C#
.net access ado.net algorithm array bitmap box broadcast buttons c# chat check checkbox class client color combobox control conversion csharp custom database datagrid datagridview dataset datetime degrees development draganddrop drawing encryption enum event excel file files form format forms ftp function gdi+ httpwebrequest image index install java label list listbox listener login mandelbrot math mouseclick mysql networking object operator oracle path photoshop picturebox pixelinversion post prime programming radians regex remote remoting resource richtextbox save saving serialization server sleep socket sql statistics stream string table tcp text textbox thread time timer treeview update usercontrol validation visualstudio webbrowser windows winforms wpf xml





