Create back button on preview page

I have parameterized report where im trying to input ID to get the data. How do we create back button next to view report on the preview page in SSRS. Any help much appreciated.

Hi SQL Insane,
Per my understanding that you want to add an "Go Back" button in the Report next to the "View Report" button in SSRS, right?
I have tested on my local environment and that it is difficult for us to add an "Go Back" button next to the "View Report" in the designer, but if you are an expert of developer you can write some code to add this Button.
I have some alternative method which is more simple to recommend you according to your requirements.
Details information for your reference:
Add "GO Back" button which can work in both designer and report server.
1) You can create an textbox in the report and right click the textbox properties to select the "Go to Report" to go back to report(Go back to main report itself or go back from child report to main report).
2) If you go back from child report to main report("Go to Report"), you can add "Go Back" in the child report and add corresponding parameters and you can hide the parameter in the main report.This will make sure they will pass the same
values back when you click the back button. So in effect it will be same as your navigation button.
Add "Go Back" button which will only work in the Report Server or report manager:
You can create an textbox in the report and right click the textbox properties to select the "Go to URL" to go back to report.Using this expression in the "Select URL":
="javascript:history.go(-1)"  
OR
="javascript:history.back(1)"
OR
="javascript:void(window.history.back())"
If you are using the report viewer control in the application, you can add some code to create the "GO Back" button next to the "View Report" button, sample code in below article for your reference:
You add it to your ReportViewer.aspx file.
Please see an example here:
https://github.com/MagnusJohansson/CustomSSRSReportViewer/blob/master/ReportViewer.aspx 
See instructions here
https://github.com/MagnusJohansson/CustomSSRSReportViewer
If you still have any problem, please feel free to ask.
Regards
Vicky Liu

Similar Messages

  • How to use a back button in action pages?

    Hi all,
    I have created a user login page,home page and user profile page.
    If the user provide correct username and password in the login page he will be taken to home page.
    In the home page he will be having his username and a link to view his profile.
    When the user click on the link "My Profile(user profile)" he wil be taken to that page.
    In my profile page the user can edit only his firstname,lastname and password .
    On the user profile page i have placed a Back Button(using javascript: on onclick event i have used history.back()) to go back to home page after editing his profile.
    If the user edit his profile for n-number of times then atlast if he wants to go back to home page-then he wil cilck the back button.
    Now the problem occurs like the back button not going to home page and it simply going back with the edited history.
    How to use a back button in action pages; without repeating the actions done on the page; how to redirect to the users home page?
    I simply used the hyperlink in userprofile page to go to home page but when i click onit it is displaying blank home page.
    I'm using hibernate orm mapping; cflogin and cflogout tags.
    Any help appreciated,
    Chandru P

    chandrup wrote:
    Hi Dan,
    Dan Bracuk wrote:
    Use an anchor tag.
    I simply used the hyperlink(<a href="home.cfm">Home</a>) in userprofile page to go to home page but when i click onit it is displaying blank home page.
    I can see your problem. You may use javascript:history.go(-1), javascript:history.go(-2), ..., to go back one page, two pages, and so on. But how does one go back an arbitrary n pages? The link href="home.cfm" isn't a good solution for the browser. It makes a new call to the server which, as you may have discovered, can overwrite all the changes made at the browser. 
    You should use the Javascript variable history.length. If you open n links in succession, starting from page0.cfm, then the browser holds the value of history.length as n. So, experiment with something like
    <a href="javascript:history.go(-history.length)">Go home</a>
    or
    <a href="javascript:history.go(-history.length+1)">Go home</a>

  • Create Item button on personalization page.

    Hi,
    I have Personailze Self Service Defn profile option enabled at site level. (User also set to YES).
    However I don't see create item button on many pages personalization screen, (like HomePage, or some other page).
    And on functional administrator responsibility's any page (like profile page in core, create Item is there).
    Its been checked on other instances that the create item button appears there for the same pages in problem.
    What can be the reason?
    Abdul Wahid

    Hi,
    Talked to Anil enabled "FND: Personalization Seeding Mode / FND_PERSONALIZATION_SEEDING_MODE" personalization link. It worked (even though the documentation says that its only for oracle's internal usage).
    Also related diagnostic story got via other cooleague with deeper cause of the problem and solution.
    Need to set system profiles to change old personalizations - expected?
    Abdul Wahid

  • When i hit the back button, the web page can not reload ! and this button is disable ! I'm using Ubuntu 10.04 Lucid ! and I've just upgrade to firefox 4 RC. Sorry for my poor English skill !

    When i hit the back button, the web page can not reload ! and this button is disable ! I'm using Ubuntu 10.04 Lucid ! and I've just upgrade to firefox 4 RC. Sorry for my poor English skill !

    In Firefox 23 versions and later the keyword.URL pref is no longer supported and it is no longer possible to specify the search engine for the location bar via the keyword.URL pref.<br />
    The search engine that is used on the location bar and on the about:home page is the search engine that is selected in the search Bar on the Navigation Toolbar.<br />
    Current Firefox versions do not update the about:home home page until you refresh the page (future versions will do this automatically without a refresh) and that is what happens if you use the Back key.
    You can install the Keyword Search extension to specify with search engine to use for the location bar and which search engine to use for the about:home page via the Options/Preferences windows of this extension, accessible via the about:addons page.
    * Keyword Search: https://addons.mozilla.org/firefox/addon/keyword-search/

  • Disable Browser back Button in OA page

    Hi Experts,
    Can anyone tell me how to disable browser back button in OA page.. Any advice would be appreciable.
    Thanks in advance,
    Sandip

    Hi Reetesh,
    Thanks for your reply but this code gives the following Error:
    non-static method getRootWebBean() cannot be referenced from a static context
    When I tried and kept the following code it solved error but did not work.
    OABodyBean bodyBean = (OABodyBean)pageContext.getRootWebBean();
    String javaS = "javascript:window.history.forward(1);";
    bodyBean.setOnLoad(javaS);
    Thanks and Regards,
    Sandip

  • How to get the values retained on clicking the back button in jsp page

    Hi All,
    I had two jsp's search and results. In the search page when i enter some values in the text fields, the rsults will be displayed for that search criteria. I had a back button in the results page. When i click on this back button i will get back to my search page. I am using the following code for this back button.
    <INPUT TYPE="button" VALUE='Back' onClick="javascript:history.go(-1)" class="button">
    Now the problem is when i get back to search page using this back button, i am not able to get the values in the search page which i entered, i am getting all blank values. What should i change to get these values back in the search page. Should i maintain any sessions for this?

    You have no control at all over the back button process. To the server, it's indistinguishable from the user simply tying the URL of your search page. So, you need to store this data server side*.
    When your search page is submitted and processed, store the values you received for each of the fields into the user's session. Then, when the search page is generated, check the session for these values, and for any values that are not null, put their values into the html as the default values for the textboxes and controls you are using. This lets you handle the whole matter on the server's side.
    *barring convoluted, unportable, black-magic javascript trickery which you should definitely avoid                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Back Button on JSP page

    Dear All;
    I am new to JSF. I have built a small sample application on JSF that is integrated with jetspeed which takes user name and password. If password is true it goes to successPage else goes to errorPage. This functionality is working fine.
    I want to have a back button in errorPage which redirects me to indexPage. I am using following line in my errorPage for back button.
    <h:commandButton id="submitButton" value="submit" action=""/>
    In faces-config.xml i am using following navigation rule:
    <navigation-rule>
    <from-view-id>/pages/ErrorPage.jsp</from-view-id>
    <navigation-case>
    <to-view-id>/pages/index.jsp</to-view-id>
    </navigation-case>
    </navigation-rule>
    First of all Back button is not showing and giving error as sampleApp::applicationPortlet is not available.
    Please suggest what might be the problem.
    Thanks in advance;
    Vikash Anand.

    No, an empty method is not needed. Just put the string in the action.
    <h:commandButton action="blah" />behaves the same as<h:commandButton action="#{myBean.action}" />where the empty action() method only returns a String = "blah".

  • There used to be a drop-down menu by the foward/back buttons, showing what pages I've visited -- where did that go?

    There used to be a drop-down menu next to the forward/backward arrows, showing the pages that I've visited in that tab and allowing me to skip back to a certain page. Now, in version 4, I have to manually back up to the desired page. One or two pages is fine, but 12 or 20?

    You can get the drop down list by either right-clicking on the back/forward buttons, or holding down the left button until the list appears.
    If you want the drop-down arrow you can add it with the Back/forward dropmarker add-on - https://addons.mozilla.org/firefox/addon/backforward-dropmarker

  • Back button skips recent pages

    Firefox 4 - I open a page (pg 1), click on a link to older pages (pg 2), view a pic (pg 3), hit the back button, and it returns to pg 1. How do I get it to return to pg 2? This has not been a problem with any previous version of Firefox.

    No, I don't. Have Adobe Acrobat, Google Earth, Google Update, Java, Windows Media, Move Streaming Media Player, Music Notes, Quicktime, Scorch Plugin, Shockwave and Silverlight. Don't know what most of them are!! Thanks for your interest.

  • Safari back button showing blank page

    Since upgrade to 4.2 I have noticed a problem using google in safari.
    From www.google.com, search for something and following any result link. Hit the Back button to return back to the google result page and it's always a blank page, annoying. Anyone else getting same problem?
    Adie
    Message was edited by: AdieBryer

    Same thing with my 64GB WIFI/3G iPad after ios 4.2.1 update. However, with me, it is seemingly on a random basis 20-30% of the time.
    Google search---> search results----> view one of the search results----> back button----> EMPTY PAGE.
    However, hitting the reload icon in URL bar on the empty page brings back search results, so livable.

  • Firefox 3 used to have a drop down list under the back button for recent pages. How do I get this in FF4?

    FF3 used to have a drop down list of the most recent pages that a tab had displayed under the back arrow button. FF4 does not appear to have this. How can I see history of what's been displayed in the tab say four or five pages back?

    You can get the drop down list by either right-clicking on the back/forward buttons, or holding down the left button until the list appears.
    If you want the drop-down arrow you can add it with the Back/forward dropmarker add-on - https://addons.mozilla.org/firefox/addon/backforward-dropmarker

  • How to create same button on two page in a tab control?

    Hello !
    Now we are here again :-) We have a tabcontrol and want to be able to press the same button (a button that stops the program) on both pages of the tabcontrol. How can we do this?
    Best regards!

    It's not the function isn't developed. It's just that every object on the front panel has a corresponding object on the block diagram. Attached is an example of how to do it with two buttons.
    By the way, if you've run out of room on your panel, it probably means your interface is too crowded. If that is so, I suggest you add more pages to the tab to make your interface more clear.
    Try to take over the world!
    Attachments:
    stop.vi ‏19 KB

  • Can i create a back button in ibooks author?

    I know i can go to a videofile on for examlpe pag 20 making a textlink on page 1. but is it possible to create a back link to the page where i came from?

    K T, you're not quite right on this and ibooks does have a web-like back capability. if readers call up the top menu (by tapping a blank part of any page) and then click on the ribbon in the top right corner, there's a prominent option called "recently viewed" that takes them back to the page they were just on. This works exactly like a Back button or back JavaScript on a web page. it solves the problem with returning to your spot after u hit a bookmark link to a distant spot in an iBook.
    okay, so this functionality a) exists and b) is in the core ibooks menus, so why the eff can't apple give us a way to insert a far more user-friendly back button on the pages? please kick this up. it's b.s.
    j.b.

  • How to go to previous page in windows phone 8 when back button is pressed

    I have a home page or landing page in my windows phone c# based app where user enters login details and upon successful login user is redirected to page2 . Here the user will see a list box with few items . Upon selecting an item from this list box a new
    page called "Threadx" opens.(where x is the each page that opens upon clicking the x item in the list box)
    While user is on this Thread page "Threadx" he may receive the toast notifications and the thread gets updated with new replies or answers on that thread.
    But When user clicks on back button the "ThreadX" page doesn't get closed and instead it goes to its previous state where it has less number of messages , and so on until the app gets closed.
    protected override void OnNavigatedTo(NavigationEventArgs e)
    base.OnNavigatedTo(e);
    if (e.NavigationMode == NavigationMode.Back)
    return;
    I would like to know if this "Threadx" page can be closed upon clicking back button without affecting other "Threadx+1","Threadx+2"..."Threadx+n" pages.
    Any help would be really appreciated.

    you don't need to navigate explicitly. Just clear the back stack till your specific page and say goback. below is the  code you can use.
     protected override void OnBackKeyPress(System.ComponentModel.CancelEventArgs e)
                        e.cancel=true;
                    RemoveBackStackTillSpecificPage("page2.xaml");
                    GoBack();
    public static void RemoveBackStackTillSpecificPage(string pageName)
    PhoneApplicationFrame frame = Application.Current.RootVisual as PhoneApplicationFrame;
    var previousPage = frame.BackStack.FirstOrDefault();
    if (previousPage != null && previousPage.Source != null)
                    while (!previousPage.Source.ToString().Contains(pageName))
                        frame.RemoveBackEntry();
                        previousPage = frame.BackStack.FirstOrDefault();
            public static void GoBack()
                PhoneApplicationFrame frame = Application.Current.RootVisual as PhoneApplicationFrame;
                LastPageUri = frame.Source;
                frame.GoBack();
    Please mark this as answer if this answers your question
    Purushothama V S

  • History problem in jsp page,internet explorer back button

    hi everyone
    i have a jsp page suppose a.jsp.in which i am using dropdown menu to displays:list of data from database,one submit button i am using name select and click here.after selecting the value from dropdown menu ,again some other data will be displayed from some other table in same a.jsp page.
    my problem is:
    when user selects one value from drop down menu ,it is diplaying the value in same page .upto here is ok
    and i click back button from I.E only one page back it is showing
    but when user select the value form drop down menu 2nd time ,and after data get dipalyed in same apge a.jsp.then
    whne i click back button ,now it is showing two a.jsp page .history is not going .
    this is the problem.i dont want to this morw than one page get displayed in back button.only one page a.jsp
    if anyone has understood my problem ,please help.
    thanku

    thanks java2006
    but it is not working .i will try to explain once again
    1. one page called a.jsp.this page contains one drop drown menu list box ,and one submit button.
    2.data in drop dropdown is coming from db.as the user select value from drop down box .relalted value is diplayed on same a.jsp page.
    3.again user select the 2ndvalue from drop down box ,related value is displayed.
    this i explained about my a.jsp page.
    problem is
    4.when user select the 1st value and clcik on submit button related value is displaying.upto here its ok.and in back button of Internet explorer it is showing only one a.jsp page
    5.but whenever i am trying to see 2nd or 3rd or more value from drop down after related value is being diplayed in same a.jsp page.
    the back button of internet exlorer showing two a.jsp page after clcicking submit button
    .as u have told the code aso but it is not working
    i have added ur code indisde html tags .

Maybe you are looking for

  • ITunes won't let me keep my album tracklists in the order that I want them

    Here's what I mean. The other day, I imported The stone Roses into iTunes using my friends CD. I couldn't import song 9 because the disc is heavily scratched and it won't copy. I bought the song online and imported it into iTunes. The problem is, it'

  • Sync iPhone 4S without outlook 2010

    How can I sync my iPhone 4S with Outlook 2010 calendar?

  • FTP Protocol support in JDK 1.4.2

    It seems like HTTP is the only official supported Protocol. Any idea if FTP is supported by Sun One Web Server 6.1 SP5. If yes is there any special set up, currently it is not working. Thanks

  • Internal table Records

    Hi all, Can anyone tell, after deletion the records from one internal table itab1 using specific condition  , that  how will insert the single record from another itab2 into itab1 on the  same index. Regards Alok

  • XL Reporter error Unable to Connect to SAP Business One DI API

    Hi Experts, Im getting this error on one of our clients' workstations. They have SAPB1 2005A PL 31. We've tried uninstalling and reinstalling the DIAPI and the whole client application as well.  Same error. It als gives an error after the initial err