Inside tablix, I have an image
Inside tablix, I have an image. I would like to set this images hyperlink property to ="javascript:void(window.open('Default.aspx?ID=" + ReportItems!TextBox1.Value + "', '', 'height=285,width=600'))" This just disables the button completely. This works: ="javascript:void(window.open('Default.aspx?ID=5', '', 'height=285,width=600'))" Any ideas how to make the first one work?
April 20th, 2011 12:01pm

What do you have in ReportItems!TextBox1.Value, Is there a way you can replace it with Fields!SomeName.Value ? For testing , try printing your expression in text box, if everything looks fine, then you can just paste it in action of the image. Let me know if you still don't get it. ThanksSqlUser2011
Free Windows Admin Tool Kit Click here and download it now
April 20th, 2011 12:14pm

Change this ="javascript:void(window.open('Default.aspx?ID=" + ReportItems!TextBox1.Value + "', '', 'height=285,width=600'))" to ="javascript:void(window.open('Default.aspx?ID=" & ReportItems!TextBox1.Value & "', '', 'height=285,width=600'))" the + symbols were throwing it off. Fields!SomeName does not work since the image is not bound to any dataset.
April 20th, 2011 2:51pm

The Image is inside the tablix and tablix is bounded to the dataset. So I thought it will work.SqlUser2011
Free Windows Admin Tool Kit Click here and download it now
April 20th, 2011 2:54pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics