|
window is opening through aspx page , still is does not ask the user confirmation , in the monster.com website , while u click the update button , to update the resume.
Yesterday is a canceled check. Tomorrow is a promissory note. Today is the ready cash. USE IT.
|
|
|
|
|
If the window is opened by a JS, it is possible.
|
|
|
|
|
what is JS? i try to use Response.Close() but this page appear "Internet Explorer cannot display the webpage".
|
|
|
|
|
zaimah wrote: what is JS
JS is Java Script
zaimah wrote: Response.Close()
Looks like you are not aware of how an ASP.NET page works. Response.Close() closes the connection to the client, not browser window. This executes on the sever. Java scipt executes on the client machine. To close a window from ASP.NET, you need to emit JS to the response.
|
|
|
|
|
yup, i'm not familliar with ASP.Net, just started a month ago. but i try to use window.close() as suggested, but there's a msg stated "windos not declared". why is it? sorry my english not so good.
|
|
|
|
|
<script language="javascript">
function closeWindow(){
window.close();
}
</script> I guess you wrote it on the code behind. Write it in the ASPX page inside head section. Call this from the control to close window.
|
|
|
|
|
use this line on your exit button click event.
Response.Write("<script language='javascript'> { self.close() }</script>");
|
|
|
|
|
u might have heard about the monster.com website , there , the moment u update ur resume , there u can close the window by the button click , and without noticing the user !
Yesterday is a canceled check. Tomorrow is a promissory note. Today is the ready cash. USE IT.
modified on Wednesday, March 5, 2008 2:35 AM
|
|
|
|
|
that would be good. but how did they do it?
|
|
|
|
|
i am also looking the same.
Yesterday is a canceled check. Tomorrow is a promissory note. Today is the ready cash. USE IT.
|
|
|
|
|
if u do find the answer pls tell me.. it's much easier without the msg..
|
|
|
|
|
Sonia Gupta wrote: i am also looking the same.
As I said, if the window is opened by a JS, then you can close it without any confirmation message. When JS is not the owner of the window, usually browsers will show a message to prevent unwanted scripts closing the window.
|
|
|
|
|
if u visit the monster.com , there click the update button, the pop up window will open , there u can close the window on button click .
U many not require to upload the resume , but u can see the window is opening through aspx page .Still not asking my confirmation !!
Yesterday is a canceled check. Tomorrow is a promissory note. Today is the ready cash. USE IT.
|
|
|
|
|
Sonia Gupta wrote: if u visit the monster.com , there click the update button, the pop up window will open
OMG, this is what I am telling, the window is opened by a script, so it has permission to close the window without waiting for the confirmation from user. You try to open a window using Window.Open and close it using JS, you won't get any confirmation.
|
|
|
|
|
Have u tried this thing..
function Close_Window()
{
window.opener="something";
window.close();
}
just call the function on the button click
<div class="ForumSig">When you fail to plan, you are planning to fail.</div>
|
|
|
|
|
How should i use the can grow field in cross tab crystal report.It is not showing me the full details in a column
Yesterday is a canceled check. Tomorrow is a promissory note. Today is the ready cash. USE IT.
|
|
|
|
|
i m sending the mail to some users(from database)according to the specified condition through a loop..i want to use the variables like $name, $address,$phone etc..so it takes the value from database of that partcular user.... how can i do that....i want to use some buttons like here in Formatting(here in codeproject mail)..so if i click on name..it inserts the $name in mail-body....
please help me how can i do that...
|
|
|
|
|
Have you wrote class using SMTP.
It will automatically detect the User Name and send the Mail.
SSK.
Anyone who says sunshine brings happiness has never danced in the rain.
|
|
|
|
|
i think u r not getting my point...
i m able to send the mail...but i want to use variables to replace the name address etc to send mail more than 1 user but the matter is same.....and want to use symbols like smiley...so that if user click on name it inserts the name symbol in the body ....please help me
|
|
|
|
|
string.Replace, I guess. As in, have your general email and then use string.Replace to find things like $name and replace them with values.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
i have done that but i dont want that user should type $Name,$Address,$Phone... i want to use this thing like when (s)he press on name(like smiley) $Name should be inserted in the body ....and same for address,phone,email...please help me to do like that
|
|
|
|
|
OK, so you need to write javascript that inserts the $Name, etc, at the press of a button. Actually, if you look at the javascript that this site uses to insert smileys, etc, it would probably help you a lot.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
right.... so please tell me the name of such site...from where i can get the help...
|
|
|
|
|
Check how this site uses in the post message page.
|
|
|
|
|
i dont get you...what i have asked..do you know mr. N a v a n e e t h...
|
|
|
|