Ask a Question related to ASP.NET General, Design and Development.
-
Joe C. #1
Cancel submit?
Is there a way to cancel the submit process from the client using vbscript?
Joe C. Guest
-
how to cancel a webservice?
HI, In my client application (a CSharp Windows App), I invoke a webservice function. Because these client applications are sometimes running... -
Submit and Cancel
Hi guys, And another very simple one. I actually stumbled for the 1st time on a situation where I'd like to have 2 buttons on a form, one to... -
Cancel a Form
How can I close a form avoiding the data join in record source table? -
Cancel As Integer
If an event procedure include the argument Cancel As Integer, you can cancel the event with: Cancel = True For example, if you want to stop the... -
Cancel this post
Never mind, I just realized that I can process the input in the form rather than the textbox. God Bless, Mark A. Sam -
Joe C. #2
Re: Cancel submit?
Sorry for my ignorance. Currently all I have is a Button_OnClick sub. I am
prompting the users if the want to proceed. If yes then the form is
submitted otherwise if no.
"Steve C. Orr, MCSD" <Steve@Orr.net> wrote in message
news:%23F3mDxwSDHA.2724@TK2MSFTNGP10.phx.gbl...> Return false from your vbscript function
>
> --
> I hope this helps,
> Steve C. Orr, MCSD
> [url]http://Steve.Orr.net[/url]
>
>
> "Joe C." <nospam@nospam.com> wrote in message
> news:OxHH8gwSDHA.2316@tk2msftngp13.phx.gbl...> vbscript?> > Is there a way to cancel the submit process from the client using>> >
> >
>
Joe C. Guest
-
Steve C. Orr, MCSD #3
Re: Cancel submit?
Here's some server side code that outputs javascript that will do the trick:
myDeleteButton.Attributes.Add("onclick", _
"return confirm('Are you sure you want to delete?');")
Or if you insist on VBScript you could use the Msgbox Function.
If the return value is vbOK (1) then document.Form1.submit()
--
I hope this helps,
Steve C. Orr, MCSD
[url]http://Steve.Orr.net[/url]
"Joe C." <nospam@nospam.com> wrote in message
news:OBf$M8wSDHA.1576@TK2MSFTNGP12.phx.gbl...> Sorry for my ignorance. Currently all I have is a Button_OnClick sub. I am
> prompting the users if the want to proceed. If yes then the form is
> submitted otherwise if no.
>
>
> "Steve C. Orr, MCSD" <Steve@Orr.net> wrote in message
> news:%23F3mDxwSDHA.2724@TK2MSFTNGP10.phx.gbl...>> > Return false from your vbscript function
> >
> > --
> > I hope this helps,
> > Steve C. Orr, MCSD
> > [url]http://Steve.Orr.net[/url]
> >
> >
> > "Joe C." <nospam@nospam.com> wrote in message
> > news:OxHH8gwSDHA.2316@tk2msftngp13.phx.gbl...> > vbscript?> > > Is there a way to cancel the submit process from the client using> >> > >
> > >
> >
>
Steve C. Orr, MCSD Guest



Reply With Quote

