Click here to Skip to main content
16,007,443 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questioni am hvin an error in asp.net Pin
Md Rafi8-Jun-08 0:51
Md Rafi8-Jun-08 0:51 
AnswerRe: i am hvin an error in asp.net Pin
Guffa8-Jun-08 3:36
Guffa8-Jun-08 3:36 
AnswerRe: i am hvin an error in asp.net Pin
Sam Xavier8-Jun-08 20:38
Sam Xavier8-Jun-08 20:38 
AnswerRe: i am hvin an error in asp.net Pin
Vasudevan Deepak Kumar8-Jun-08 20:51
Vasudevan Deepak Kumar8-Jun-08 20:51 
QuestionReg:ASP .Net AJAX Problem Pin
P.T.R.K7-Jun-08 8:21
P.T.R.K7-Jun-08 8:21 
AnswerRe: Reg:ASP .Net AJAX Problem Pin
Parwej Ahamad7-Jun-08 8:29
professionalParwej Ahamad7-Jun-08 8:29 
QuestionTo warn about the data changes. Pin
aecordoba7-Jun-08 7:07
aecordoba7-Jun-08 7:07 
AnswerRe: To warn about the data changes. Pin
Parwej Ahamad7-Jun-08 7:25
professionalParwej Ahamad7-Jun-08 7:25 
(1) As per my perception, we can use scripts in Content page.

Suppose that you have written few methods in js file called "myjs.js" and then you can access all methods in content page.
First add this file in master page like below tag:

<script language="JavaScript" src="myjs.js"></script>


(2) Script is only a way that we can handle achieve your requirement

< body onbeforeunload="alert('Closing');">

this is strait way that you shows alert on browser close event.

(3) If wants that if something change on your page, then in that case you need to set flag in cookies and with option two (onbeforeunload) event we can check whether something is change or not and then on the basis of that show the alert message.

Parwej Ahamad
R & D with IIS 5.0/6.0

AnswerRe: To warn about the data changes. Pin
Vasudevan Deepak Kumar8-Jun-08 20:52
Vasudevan Deepak Kumar8-Jun-08 20:52 
Questionexpanding grid row Pin
trilokharry7-Jun-08 5:13
trilokharry7-Jun-08 5:13 
AnswerRe: expanding grid row Pin
Christian Graus7-Jun-08 5:48
protectorChristian Graus7-Jun-08 5:48 
AnswerRe: expanding grid row Pin
Vasudevan Deepak Kumar8-Jun-08 20:53
Vasudevan Deepak Kumar8-Jun-08 20:53 
Questionvalues in GridView? Pin
Member 38798816-Jun-08 22:29
Member 38798816-Jun-08 22:29 
AnswerRe: values in GridView? Pin
Ashish Kumar Vyas6-Jun-08 23:04
Ashish Kumar Vyas6-Jun-08 23:04 
AnswerRe: values in GridView? Pin
N a v a n e e t h7-Jun-08 5:55
N a v a n e e t h7-Jun-08 5:55 
AnswerRe: values in GridView? Pin
Vasudevan Deepak Kumar8-Jun-08 20:54
Vasudevan Deepak Kumar8-Jun-08 20:54 
QuestionSession -Paypal Pin
Krazy Programmer6-Jun-08 21:42
Krazy Programmer6-Jun-08 21:42 
AnswerRe: Session -Paypal Pin
N a v a n e e t h7-Jun-08 6:00
N a v a n e e t h7-Jun-08 6:00 
QuestionHow to convert html text into PDF format? Pin
Ashish Kumar Vyas6-Jun-08 21:20
Ashish Kumar Vyas6-Jun-08 21:20 
AnswerRe: How to convert html text into PDF format? Pin
Christian Graus7-Jun-08 5:50
protectorChristian Graus7-Jun-08 5:50 
QuestionGenerate Border width of Text using Handler Pin
Imran Khan Pathan6-Jun-08 20:50
Imran Khan Pathan6-Jun-08 20:50 
QuestionQueation Pin
nithydurai6-Jun-08 19:30
nithydurai6-Jun-08 19:30 
AnswerRe: Queation Pin
N a v a n e e t h6-Jun-08 21:41
N a v a n e e t h6-Jun-08 21:41 
JokeRe: Queation Pin
Guffa7-Jun-08 0:32
Guffa7-Jun-08 0:32 
GeneralRe: Queation Pin
N a v a n e e t h7-Jun-08 4:48
N a v a n e e t h7-Jun-08 4:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.