|
Actually, there is a workround. Try this:
window.opener = top;
window.close();
|
|
|
|
|
It did not work !!
Remember that i test only on FireFox
|
|
|
|
|
Curses to FireFox. Works fine in IE... darn it.
|
|
|
|
|
Pete O`Hanlon wrote: Works fine in IE
It is actually a browser-cheat-trick. You cheat the browser by making it think that its window is your-own. As a new browser security patches come up, it is most likely that our workaround might cease to function.
|
|
|
|
|
Pete O`Hanlon wrote: Curses to FireFox.
FireFox is the best browser (for the web developers).
|
|
|
|
|
True. I like the 'Javascript Console' very much. Even Venkman's Debugger is nice. Have you used it?
|
|
|
|
|
Vasudevan Deepak Kumar wrote: Have you used it
Without it, the javascript coding is more complex than building nuclear weapons.
|
|
|
|
|
I know - I do like it a lot. I was being ironic here.
|
|
|
|
|
After executing the statement, did you see the JavaScript console for any error messages?
|
|
|
|
|
|
I've a comobbox and i'm fill this comobbox like this:
===========================================================================================
oleDbDataAdapter1.Fill(dataSet31);
dpdhead.DataSource = dataSet31.Tables[0].DefaultView;
dpdhead.DataTextField = dataSet31.tbacdes.ac_headColumn.ToString();//Display Heads
dpdhead.DataValueField = dataSet31.tbacdes.ac_idColumn.ToString();// Heads Ids
dpdhead.DataBind();
===========================================================================================
and than i want to get Comobbox select item head id. But when i select the comobbox value page refresh, first time it return head id but when i again select a value i got an javascript error like this:
====================================
Error: Invaild Syntax
Code: 0
====================================
And comobox stop working. and page doesn't work.
Please help me out in this matter (Urgent)
|Muhamad Waqas Butt|
waqasb4all@yahoo.com
www.sktech.freewebspace.com
|
|
|
|
|
http://www.codeproject.com/script/comments/forums.asp?forumid=1649&select=2119873#xx2119873xx
|
|
|
|
|
Please don't cross post, or post again when your original question is still visible. That's just annoying.
Also, as has been said to you, try to come up with intelligent subject lines.
What makes this dataSet31, and not dataSet30 ? Please tell me your page doesn't contain over 30, numbered data sets ?
Are you injecting any jscript into the page ? It's very odd that the auto generated script would create an error.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Well, thanks and sorry.
Actually I didn't understand what happend to me.
I want to load data in comobox from Database and than get the selecteditem id.
example
=====================================
Department Header //display member : Student fee
Department Id // value member Id: 4
====================================
and on selectedindex_change function i want to get department id, while page refresh. I have successfulyy fill the comobox but when i change value in comobox first time it give the department id while page reload, but after that page got an error (Invaild syntax) and page stop working, comobox stop working.
Please help in this. Thanks and my best regards,
|Muhamad Waqas Butt|
waqasb4all@yahoo.com
www.sktech.freewebspace.com
|
|
|
|
|
The setting of the data source ( the code you posted ) should only occur the first time, that is, in a Not Page.IsPostback block. However, not doing this would typically cause you to lose your selection, not for the page to blow up. Something strange is going on, here. I think you need to post some more of hte code.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
hi,
please help me to send e-mail by using html tags without any asp or asp.net command.
my server does not support asp and asp.net
thank you.
Devil
software Engineer
|
|
|
|
|
Then, just put "mailto:" in HTML element.
|
|
|
|
|
I have written all the commands required to do live serach in a method.I am calling that method asynchronously using threads.Although I have created 20 threads and calling the search method from all these 20 threads.(It's Like If have a paragraph with 20 sentences, I want to call my search method 20 times asynchronously without waiting for first one to complete. )The problem is when I moniter my network traffic I can only see 2 connections to the server Instead of 20.Can anybody tell me what is the problem why I can't make 20 connections to MSN Live server.From my programs trace I can see that all 20 treads are being created and callback is also happening for all 20, but what I feel they all are using same 2 connections thus I can't see a boost in performance.
Note I am using synchronous version of MSN web Search method.
|
|
|
|
|
I have figured out the problem, firstly according http RFC we should not make more the two connection to a web server,hence .NET complies with it and by default allows us to make only two connections to the web server,it can be changed fairly easily by making changes to machine.config file.
But there are various other aspects which should be taken care while doing so,in order to get maximum out of your multi threaded application.Please refer to following links they will to remove all doubts.
http://codebetter.com/blogs/steve.hebert/archive/2006/07/14/147371.aspx
http://codebetter.com/blogs/steve.hebert/archive/2006/07/20/147565.aspx
http://blogs.msdn.com/tess/archive/2006/02/23/537681.aspx
|
|
|
|
|
i want to throw error message in ASP code when there are problem connecting to SQL server or there are some blockages...
currently i am trying to call Stored procedure and since the SQL server is donw it takes lot of time to get the response.
how we can achive this quikcly.
|
|
|
|
|
You want to lower the timeout on the connection ? I'd imagine you can do that on the connection string.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
I've wrote a program to receive the udp package from remote machine which runs very well,but this time when I installed the IIS Server,the program always report "bind error" and error number means "Only one usage of each socket address (protocol/network address/port) is normally permitted",but the port I've used "netstat -an" and determine the port has not been used.What's the matter?
|
|
|
|
|
I hate posting in this forum, as God is my witness, I will never do web development again...
But, I'm a consultant, I'm here to help, and the dark side is calling me...
I need to test a platform providing VBscript support. Thankfully, I will not have to develop too much s/w in VBScript, but I am responsible for blessing the platform. Can anyone recommend a source for a vbscript confidence check? I'd like to trust MS... but I need to see for myself if things really work on my target platform.
Thanks....
Charlie Gilley
Will program for food...
Whoever said children were cheaper by the dozen... lied.
Overheard in a cubicle: "A project is just a bug under development."
Seeking to rise above the intelligence of a one eared rabbit...
Caught in a vortex of weirdness...
|
|
|
|
|
dear friends
how to add confirmation box like "Do you want to delete ?"
yes /No
in the following ASP code
a href=delete_entry.asp?ID= & rsGuestbook("MemNo")
Thanks and regards
prashant
-- modified at 11:36 Sunday 8th July, 2007
|
|
|
|
|
<a href="..." onclick="return confirm('Do you want to delete?');">
-- modified at 8:05 Monday 9th July, 2007
Forgot to check the ignore HTML tags box
only two letters away from being an asset
|
|
|
|