|
catch the browser closing event with mozilla firefox
and do a server side database updation
|
|
|
|
|
There's a closing event, same for IE and FF, and you can try an AJAX call. No guarentees tho.
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
use
window.onbeforeunload = function(){
alert('aa');
};
|
|
|
|
|
Abhishek Sur wrote: window.onbeforeunload = function(){alert('aa');};
you can use like this, but the onunload and onbeforeunload will be fired whenever the browser is closed or the web page is submitted to the server. Therefore we can't differentiate between these two events. Therefore it is not advisable to handle this event.
|
|
|
|
|
Hey .. onbeforeunload is a client side javascript event . No way that relates to server side.
Well.. You may ask why do we need to use this when actual browser closing is not trapped. Actually it is used only when browser is navigated to another location, not against browser closing events.
|
|
|
|
|
Can we use PHP code in Asp.net? it's possible.
Please help me..
thanks
Piyush Vardhan Singh
p_vardhan14@rediffmail.com
Eventure Technology
http://holyschoolofvaranasi.blogspot.com
http://holytravelsofvaranasi.blogspot.com
|
|
|
|
|
There's no way that could remotely be possible, and thank goodness for that. PHP sucks.
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
PHP is not From Microsoft
what you are saying its like "Can i write Oracle statements in SQL" ?
lol
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.somee.com
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
plz try this[^] but in asp.net you can't.
Education is not a way to escape poverty — it is a way of fighting it.
|
|
|
|
|
how can i connect server pc to clint pc
|
|
|
|
|
What does this Has to do with ASP.net ?
Get a Life
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.somee.com
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
please provide correct and relavant question. It will help our experts to provide help easily....
Padmanabhan
|
|
|
|
|
This is no ASP.Net question.
Instead, you may have a look here[^]
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
With a long cable
Bob
Ashfield Consultants Ltd
Proud to be a 2009 Code Project MVP
|
|
|
|
|
I want to read word file which is on client side, Is that possible to read it without uploading to the server?
I found from some site that u can do it with activeX control, but nowhere it has mentioned how?
Ok if it is only possible to read it by uploading. I want that upload control not be shown.
My requirement is that on a link button that file dialog box should be shown and that file get posted.
I tried it through javascript like:
lnkImportLensList.Attributes.Add("onclick", "document.getElementById('" + FileUpload1.ClientID + "').click();");
it shows the dialog box. but page get postback and no value will be there for posted file after that.
Can anybody please suggest?
Kalpesh Vyas
SONATA SOFTWARE LTD.
|
|
|
|
|
Kalpesh Vyas wrote: I found from some site that u can do it with activeX control, but nowhere it has mentioned how?
You need to write the activeX conrol yourself.
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
Hello Everybody,
I have used an update panel on the page and it refresh data (getting from Database) after 5 seconds using timer control. Everything doing fine, but after a random time (may be after 1 hour or 5 hours or 1 day or 3 days) update panel not refreshing the data.
Anybody can say what type of problem it may be??
Please help me..
Thanks in advance.
Dipak
|
|
|
|
|
Gee - I'd start with bad design. Who keeps a web page open for 3 days ?
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
Thanks for reply.
Sorry to say, i am not getting your point. Please clearfy the point.
I will thnakful to you.
Dipak
|
|
|
|
|
i want to create table in runtime
actually in web page, user will select colors and each color have number of sizes.
now i want when user colors i have to create the textbox equal to its sizes.
suppose the user have select red color and red color have 2 sizes then the datatable will be like this:
_____________________________________
|color| 0 | 1 | 2 |
_____________________________________
|Red | Textbox | Textbox | Textbox |
in the above table 0,1,2 are sizes of red color
i hope you got my question
One person's data is another person's program.
--J.Walia
|
|
|
|
|
your basic issue is that anything you create after or during page load, won't have viewstate. What do you want to do with colors ?
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
Hello Friends,
I am developing a Intranet Application Which will run on local DNS Server, Many systems are connected to this DNS server , actually I want to get all Active System Ip Address which is issued from Local DNS Server..
Thanks
raushan
|
|
|
|
|
Request.UserHostAddress()
|
|
|
|
|
i'm trying to load a website in a webpart as the client choices withing my web site, for this what is the component that i can use in asp.net
|
|
|
|
|
got the solution, the iframe is the option
|
|
|
|