sql server reporting services:
I know a lot of people were trying to open links from reports into new window. I know about a rc: commands and its limitation to open ALL links into a new window. I think I have a solution. If you want a particular link to be opened in a new window, enter this into the "Jump to URL" field: javascript:if(window.open(yourPage.aspx','RsWindow','width=400,height=500,location=0,menubar=0,status=0,toolbar=0,scrollbars=1',true)){} Edit parameters to your liking and note that the empty if statement is very important to prevent window.open expression evaluate into current window. This doesnt solve opening RS reports into a new window though (well, if you build up the whole URL from scratch through an expression, it kinda does ;-). Something for MS to think about.
Hello Nikola, this was very helpful to me. Jörg [quoted text, click to view] "Nikola Tepper" wrote: > I know a lot of people were trying to open links from reports into new > window. I know about a rc: commands and its limitation to open ALL links into > a new window. > I think I have a solution. If you want a particular link to be opened in a > new window, enter this into the "Jump to URL" field: > > javascript:if(window.open(yourPage.aspx','RsWindow','width=400,height=500,location=0,menubar=0,status=0,toolbar=0,scrollbars=1',true)){} > > Edit parameters to your liking and note that the empty if statement is very > important to prevent window.open expression evaluate into current window. > > This doesnt solve opening RS reports into a new window though (well, if you > build up the whole URL from scratch through an expression, it kinda does ;-). > Something for MS to think about.
This works, only when I run reports form the report server meaning http://servername/reportserver/....but when I see the same report from http://servername/reports/... the java script doesnt work. Please suggest something Thanks [quoted text, click to view] "Nikola Tepper" wrote: > I know a lot of people were trying to open links from reports into new > window. I know about a rc: commands and its limitation to open ALL links into > a new window. > I think I have a solution. If you want a particular link to be opened in a > new window, enter this into the "Jump to URL" field: > > javascript:if(window.open(yourPage.aspx','RsWindow','width=400,height=500,location=0,menubar=0,status=0,toolbar=0,scrollbars=1',true)){} > > Edit parameters to your liking and note that the empty if statement is very > important to prevent window.open expression evaluate into current window. > > This doesnt solve opening RS reports into a new window though (well, if you > build up the whole URL from scratch through an expression, it kinda does ;-). > Something for MS to think about.
Try void: javascript:void(if(window.open(yourPage.aspx','RsWindow','width=400,height=500,location=0,menubar=0,status=0,toolbar=0,scrollbars=1',true))) -- Cheers, '(' Jeff A. Stucker \ Business Intelligence www.criadvantage.com -------------------------------------- [quoted text, click to view] "NI" <NI@discussions.microsoft.com> wrote in message news:8C457ED6-F087-424D-A182-93AA44E8AC96@microsoft.com... > This works, only when I run reports form the report server meaning > http://servername/reportserver/....but when I see the same report from > http://servername/reports/... the java script doesnt work. Please suggest > something > > Thanks > > > "Nikola Tepper" wrote: > >> I know a lot of people were trying to open links from reports into new >> window. I know about a rc: commands and its limitation to open ALL links >> into >> a new window. >> I think I have a solution. If you want a particular link to be opened in >> a >> new window, enter this into the "Jump to URL" field: >> >> javascript:if(window.open(yourPage.aspx','RsWindow','width=400,height=500,location=0,menubar=0,status=0,toolbar=0,scrollbars=1',true)){} >> >> Edit parameters to your liking and note that the empty if statement is >> very >> important to prevent window.open expression evaluate into current window. >> >> This doesnt solve opening RS reports into a new window though (well, if >> you >> build up the whole URL from scratch through an expression, it kinda does >> ;-). >> Something for MS to think about. >>
nope doenst work :( [quoted text, click to view] "Jeff A. Stucker" wrote: > Try void: > > javascript:void(if(window.open(yourPage.aspx','RsWindow','width=400,height=500,location=0,menubar=0,status=0,toolbar=0,scrollbars=1',true))) > > -- > Cheers, > > '(' Jeff A. Stucker > \ > > Business Intelligence > www.criadvantage.com > -------------------------------------- > "NI" <NI@discussions.microsoft.com> wrote in message > news:8C457ED6-F087-424D-A182-93AA44E8AC96@microsoft.com... > > This works, only when I run reports form the report server meaning > > http://servername/reportserver/....but when I see the same report from > > http://servername/reports/... the java script doesnt work. Please suggest > > something > > > > Thanks > > > > > > "Nikola Tepper" wrote: > > > >> I know a lot of people were trying to open links from reports into new > >> window. I know about a rc: commands and its limitation to open ALL links > >> into > >> a new window. > >> I think I have a solution. If you want a particular link to be opened in > >> a > >> new window, enter this into the "Jump to URL" field: > >> > >> javascript:if(window.open(yourPage.aspx','RsWindow','width=400,height=500,location=0,menubar=0,status=0,toolbar=0,scrollbars=1',true)){} > >> > >> Edit parameters to your liking and note that the empty if statement is > >> very > >> important to prevent window.open expression evaluate into current window. > >> > >> This doesnt solve opening RS reports into a new window though (well, if > >> you > >> build up the whole URL from scratch through an expression, it kinda does > >> ;-). > >> Something for MS to think about. > >> > >
Drats. -- Cheers, '(' Jeff A. Stucker \ Business Intelligence www.criadvantage.com -------------------------------------- [quoted text, click to view] "NI" <NI@discussions.microsoft.com> wrote in message news:F4B664CF-B769-42E6-B835-2FE1E7249D11@microsoft.com... > nope doenst work :( > > "Jeff A. Stucker" wrote: > >> Try void: >> >> javascript:void(if(window.open(yourPage.aspx','RsWindow','width=400,height=500,location=0,menubar=0,status=0,toolbar=0,scrollbars=1',true))) >> >> -- >> Cheers, >> >> '(' Jeff A. Stucker >> \ >> >> Business Intelligence >> www.criadvantage.com >> -------------------------------------- >> "NI" <NI@discussions.microsoft.com> wrote in message >> news:8C457ED6-F087-424D-A182-93AA44E8AC96@microsoft.com... >> > This works, only when I run reports form the report server meaning >> > http://servername/reportserver/....but when I see the same report from >> > http://servername/reports/... the java script doesnt work. Please >> > suggest >> > something >> > >> > Thanks >> > >> > >> > "Nikola Tepper" wrote: >> > >> >> I know a lot of people were trying to open links from reports into new >> >> window. I know about a rc: commands and its limitation to open ALL >> >> links >> >> into >> >> a new window. >> >> I think I have a solution. If you want a particular link to be opened >> >> in >> >> a >> >> new window, enter this into the "Jump to URL" field: >> >> >> >> javascript:if(window.open(yourPage.aspx','RsWindow','width=400,height=500,location=0,menubar=0,status=0,toolbar=0,scrollbars=1',true)){} >> >> >> >> Edit parameters to your liking and note that the empty if statement is >> >> very >> >> important to prevent window.open expression evaluate into current >> >> window. >> >> >> >> This doesnt solve opening RS reports into a new window though (well, >> >> if >> >> you >> >> build up the whole URL from scratch through an expression, it kinda >> >> does >> >> ;-). >> >> Something for MS to think about. >> >> >> >> >>
Don't see what you're looking for? Try a search.
|