Ask a Question related to ASP.NET General, Design and Development.
-
SIVAKUMAR #1
Prompt for Save in ASP.Net Web forms
hi All,
I had a requirement like, the web form should
prompt for save when the user enters/modifies some data on
the form and trying to go to other form by means of some
Navigation.Then the web form should popup a message box
asking to save.plz tell me how could i handle it. Plz do
help me
Regards,
Siva
SIVAKUMAR Guest
-
Acitvex control to fill and save PDF forms
Hi, I am developing a windows application where I would like to open a PDF document within a windows form and let the user fill the form... -
Users cannot save Acrobat forms
Thanks--how is this done? 500 respondents would be more than enough. The form is only to be used on a case-by-case basis... -
prompt user to save changes in datagrid editmode when they try to navigate away from page...how do you do that?
Hello, I have a custom datagrid control that works great. But I was thinking about adding some functionality to it. Currently, I use the... -
prompt to save changes in datagrid in editmode if user tries to navigate away
Hello, I have a custom datagrid control that works great. But I was thinking about adding some functionality to it. Currently, I use the... -
disable save record on a Continuous Forms
"Adelin C." <adelin.champagne@hrdc-drhc.gc.ca> wrote in message news:0c3c01c356a8$34bcaaa0$a501280a@phx.gbl... If you don't want the user to make... -
Rajesh.V #2
Re: Prompt for Save in ASP.Net Web forms
use js return confirm("Can i save foo"); in the click event of the
button....
"SIVAKUMAR" <sivak@sqlstarintl.com> wrote in message
news:0db801c33b69$231ca2f0$a001280a@phx.gbl...> hi All,
> I had a requirement like, the web form should
> prompt for save when the user enters/modifies some data on
> the form and trying to go to other form by means of some
> Navigation.Then the web form should popup a message box
> asking to save.plz tell me how could i handle it. Plz do
> help me
>
> Regards,
> Siva
>
Rajesh.V Guest
-
Siva Kumar #3
Re: Prompt for Save in ASP.Net Web forms
That's fine,
But i am not using HTML controls for Navigation.I am using web
controls(web button). If i execute that javascript with
RegisterStartupScript() function.Then how can i capture the value of the
Message box in my .vb file Based on the that value i should save the
data on the form if he press "yes" else he should go the the next page.
plz do help me.
Regards,
Siva
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
Siva Kumar Guest
-
Kevin Spencer #4
Re: Prompt for Save in ASP.Net Web forms
You can use the body "onbeforeunload" event to do this.
HTH,
Kevin Spencer
Microsoft FrontPage MVP
Internet Developer
[url]http://www.takempis.com[/url]
Big things are made up of
lots of Little things.
"Siva Kumar" <anonymous@devdex.com> wrote in message
news:uqIWae9ODHA.3836@tk2msftngp13.phx.gbl...> That's fine,
> But i am not using HTML controls for Navigation.I am using web
> controls(web button). If i execute that javascript with
> RegisterStartupScript() function.Then how can i capture the value of the
> Message box in my .vb file Based on the that value i should save the
> data on the form if he press "yes" else he should go the the next page.
> plz do help me.
>
> Regards,
> Siva
>
>
> *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
> Don't just participate in USENET...get rewarded for it!
Kevin Spencer Guest
-
Rajesh V #5
Re: Prompt for Save in ASP.Net Web forms
Say the cmd button is cmd1
then
cmd1.attributes.add("onClick","return confirm(""Ok to delete"");")
.Net Developer,
247customer.com
Bangalore, India.
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
Rajesh V Guest



Reply With Quote

