R
ruca
Hi
I have an image button (called ibtnBack) that I want when clicked he go to
the previous page, just like it happens when you press back button of
Internet Explorer.
For that I already used this two things in Page_Load, but both don't worked:
1 - ibtnBack.Attributes.Add("OnClick", "javascript:history.back();")
2 - ibtnBack.Attributes.Add("OnClick", "javascript:history.go(-1);")
What to do more???
I have to said that I'm using frames, if this it's important.
I have an image button (called ibtnBack) that I want when clicked he go to
the previous page, just like it happens when you press back button of
Internet Explorer.
For that I already used this two things in Page_Load, but both don't worked:
1 - ibtnBack.Attributes.Add("OnClick", "javascript:history.back();")
2 - ibtnBack.Attributes.Add("OnClick", "javascript:history.go(-1);")
What to do more???
I have to said that I'm using frames, if this it's important.