Ask a Question related to ASP.NET General, Design and Development.
-
szabelin #1
asp:buttion , history.back
Hello,
how do I do history back when asp:button is clicked? I
can't use <input button> - I have to use asp:button.
Thanks!
szabelin Guest
-
history.back not working
hi All In my appliction history.Back is working at my local host and woring properly but when i upload the apllication and run my appliction from... -
History.Back not working from web
hi All In my appliction history.Back is working at my local host and woring properly but when i upload the apllication and run my appliction from... -
History.back...problem
default.php has some links. One points to login.php login.php is a form. Pushing OK will redirect to ManageProfile.php. I've this code in... -
history.back in lingo??
Hey guys im new to director, Becus i need to create a simple button who functions like a button in html wif a history.back method ot going back to... -
Help - history.back in php?
Hi, Is there anything like javascipts history.back() function in php? So that I could return the visitor to the last page they visited. Thanks,... -
Vidar Petursson #2
Re: asp:buttion , history.back
Hi
myButton.Attributes.Add("onclick","history.back()" );
--
Best Regards
Vidar Petursson
==============================
Microsoft Internet Client & Controls MVP
==============================
"szabelin" <sergey_zabelin@countrywide.com> wrote in message
news:046b01c344ba$b6012500$a101280a@phx.gbl...> Hello,
>
> how do I do history back when asp:button is clicked? I
> can't use <input button> - I have to use asp:button.
>
>
> Thanks!
Vidar Petursson Guest
-
szabelin #3
Re: asp:buttion , history.back
I tried this already - it doesn't work for me. A button
click causes postback to server. Is there a way to cancel
postback? Here is my script code:
<asp:Button CssClass="AllButtons" CausesValidation="False"
Width="100px" Height="28px" Runat="server" Text="Back"
ID="NavBack" Enabled="True"></asp:Button>
and I added:
NavBack.Attributes.Add("onclick","history.back()") ;
in the Page_Load.....
thanks
Sergey
message>-----Original Message-----
>Hi
>
>myButton.Attributes.Add("onclick","history.back() ");
>
>--
>Best Regards
> Vidar Petursson
> ==============================
>Microsoft Internet Client & Controls MVP
> ==============================
>"szabelin" <sergey_zabelin@countrywide.com> wrote in>news:046b01c344ba$b6012500$a101280a@phx.gbl...>>> Hello,
>>
>> how do I do history back when asp:button is clicked? I
>> can't use <input button> - I have to use asp:button.
>>
>>
>> Thanks!
>
>.
>szabelin Guest
-
Vidar Petursson #4
Re: asp:buttion , history.back
NavBack.Attributes.Add("onclick","history.back(); return false");
--
Best Regards
Vidar Petursson
==============================
Microsoft Internet Client & Controls MVP
==============================
"szabelin" <sergey_zabelin@countrywide.com> wrote in message
news:02a201c344c5$19815be0$a501280a@phx.gbl...>
>
> I tried this already - it doesn't work for me. A button
> click causes postback to server. Is there a way to cancel
> postback? Here is my script code:
>
> <asp:Button CssClass="AllButtons" CausesValidation="False"
> Width="100px" Height="28px" Runat="server" Text="Back"
> ID="NavBack" Enabled="True"></asp:Button>
>
>
> and I added:
> NavBack.Attributes.Add("onclick","history.back()") ;
> in the Page_Load.....
>
>
> thanks
> Sergey
>
>
>
>> message> >-----Original Message-----
> >Hi
> >
> >myButton.Attributes.Add("onclick","history.back() ");
> >
> >--
> >Best Regards
> > Vidar Petursson
> > ==============================
> >Microsoft Internet Client & Controls MVP
> > ==============================
> >"szabelin" <sergey_zabelin@countrywide.com> wrote in> >news:046b01c344ba$b6012500$a101280a@phx.gbl...> >> >> Hello,
> >>
> >> how do I do history back when asp:button is clicked? I
> >> can't use <input button> - I have to use asp:button.
> >>
> >>
> >> Thanks!
> >
> >.
> >
Vidar Petursson Guest
-
szabelin #5
Re: asp:buttion , history.back
Thank you Vidar.
Sergey
false");>-----Original Message-----
>
>NavBack.Attributes.Add("onclick","history.back( ); returnmessage>
>--
>Best Regards
> Vidar Petursson
> ==============================
>Microsoft Internet Client & Controls MVP
> ==============================
>"szabelin" <sergey_zabelin@countrywide.com> wrote incancel>news:02a201c344c5$19815be0$a501280a@phx.gbl...>>
>>
>> I tried this already - it doesn't work for me. A button
>> click causes postback to server. Is there a way toCausesValidation="False">> postback? Here is my script code:
>>
>> <asp:Button CssClass="AllButtons"I>> Width="100px" Height="28px" Runat="server" Text="Back"
>> ID="NavBack" Enabled="True"></asp:Button>
>>
>>
>> and I added:
>> NavBack.Attributes.Add("onclick","history.back()") ;
>> in the Page_Load.....
>>
>>
>> thanks
>> Sergey
>>
>>
>>
>>>> message>> >-----Original Message-----
>> >Hi
>> >
>> >myButton.Attributes.Add("onclick","history.back() ");
>> >
>> >--
>> >Best Regards
>> > Vidar Petursson
>> > ==============================
>> >Microsoft Internet Client & Controls MVP
>> > ==============================
>> >"szabelin" <sergey_zabelin@countrywide.com> wrote in>> >news:046b01c344ba$b6012500$a101280a@phx.gbl...
>> >> Hello,
>> >>
>> >> how do I do history back when asp:button is clicked?>>> >> can't use <input button> - I have to use asp:button.
>> >>
>> >>
>> >> Thanks!
>> >
>> >
>> >.
>> >
>
>.
>szabelin Guest



Reply With Quote

