Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
Dev@nlkss
134 Posts |
Posted - 2009-06-05 : 01:06:01
|
Hi,I am displaying my report in .net using repor viewer control.When i view using IE the report viewer properties(find,print,Zoom etc) are displaying horizantally in single line which is fine;but when i view the same in using "Google Chrome" browser the properties are splitted into multiple rows and report viewer properties window is elaborating which looks odd.please tell me how to fix this.any sugetions or links.Thanks in advance.$atya.Love All Serve All. |
|
Dev@nlkss
134 Posts |
Posted - 2009-06-05 : 02:41:56
|
Am i clear with the topic.and one more issue with Google chrome browser is DateTime picker is not displaying for datetime datatype parameter.its really urgent.please provide some books or links for design issues and compatibility.Thanks for any help.$atya.Love All Serve All. |
|
|
iga
Starting Member
1 Post |
Posted - 2009-08-12 : 04:52:31
|
Something like this may help:/*Chrome hack*/body:nth-of-type(1) #ctl00_MCPH_WAReportViewer_ctl01 > div > div > div{ display: inline-block !important;}/*Chrome hack*/body:nth-of-type(1) #ctl00_MCPH_WAReportViewer_ctl01 > div > div > table{ display: inline-block !important;}Hope it works for you too ;)quote: Originally posted by Dev@nlkss Hi,I am displaying my report in .net using repor viewer control.When i view using IE the report viewer properties(find,print,Zoom etc) are displaying horizantally in single line which is fine;but when i view the same in using "Google Chrome" browser the properties are splitted into multiple rows and report viewer properties window is elaborating which looks odd.please tell me how to fix this.any sugetions or links.Thanks in advance.$atya.Love All Serve All.
|
|
|
mazar
Starting Member
1 Post |
Posted - 2009-10-13 : 11:41:18
|
I cannot answer your question about the Date Picker, but I have blogged about the "report Parameters appearing in multiple lines in Chrome".[url]http://www.mazsoft.com/blog/post/2009/08/13/ReportViewer-control-toolbar-in-Google-Chrome-browser.aspx[/url] |
|
|
Shruthi N
Starting Member
1 Post |
Posted - 2010-06-01 : 06:14:02
|
Hi,I am not able to find the solution bu using the code mentioned in http://www.mazsoft.com/blog/post/2009/08/13/ReportViewer-control-toolbar-in-Google-Chrome-browser.aspxHere is my code:<html xmlns="http://www.w3.org/1999/xhtml" ><head runat="server"> <title></title> <script type="text/jscript"> if ($.browser.safari) { $("#ReportViewer1 table").each(function(i, item) { $(item).css('display', 'inline-block'); }); } </script></head><body> <table width="100%" border="1"> <tr> <td align="left" width="80%" valign="top"> <rsweb:ReportViewer ID="ReportViewer1" ShowRefreshButton="false" runat="server" Font-Names="Verdana" Font-Size="8pt" Width="100%" Height="450px"> </rsweb:ReportViewer> </td> </tr> </table> </form> </body></html>Can you please, if i am missing simething here.Shruthi N |
|
|
paulpeeters
Starting Member
1 Post |
Posted - 2010-09-15 : 05:14:08
|
@Shruthi N:1. You should include a reference to jQuery:<script src="jquery-1.4.2.min.js" type="text/javascript"></script> 2. You need to move the patch to the bottom (after closing </form> tag)3. If this is for Chrome you need to change the condition to:if ($.browser.webkit) {...}That worked for me.RegardsPaul |
|
|
|
|
|
|
|