alert and window.open causing Object error RRS feed

  • Question

  • Hi,

    I am using SSRS 2008 R2. I need to open a sub report in new URL with alert message. I am using following code

    "javascript:alert('Please reselect Data'); window.open('/MyReportServer?%2fMyNewReport&rs:Command=Render&Year=" &Parameters!Year.Value &"', '_blank')" 

    This pop up the alert and open a report in new page. but i am getting an extra page with [Object].

    How to avoid this extra page?


    • Changed type NSasikala Thursday, February 10, 2011 7:25 AM Posted under worng topic
    Thursday, February 10, 2011 7:22 AM


  • Dear NSasikala,

            I'm sorry you have a wrong place posted. This forum is used to post questions about the Microsoft Fix it Center automated troubleshooting tool. Please post you problem to http://forums.asp.net/130.aspx?HTML,+CSS+and+JavaScript. Here is for general  client-side(HTML, CSS, DHTML, JavaScript) programming discussions. Thanks for your understanding! 

    Please Mark as Answered If this is helpful Or Un-Mark as Answered if it is not helpful.

    Best Regards,
    Yan Jun

    • Marked as answer by Fafafaalex Thursday, February 10, 2011 7:52 AM
    Thursday, February 10, 2011 7:52 AM