<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:pingback="http://madskills.com/public/xml/rss/module/pingback/" version="2.0">
  <channel>
    <title>Miky Schreiber's Blog - Programming|Web</title>
    <link>http://www.miky-schreiber.com/Blog/</link>
    <description>Business Intelligence, Analysis Services, MDX, DataWarehousing and more...</description>
    <language>en-us</language>
    <copyright>Miky Schreiber</copyright>
    <lastBuildDate>Wed, 17 Jun 2009 08:08:44 GMT</lastBuildDate>
    <generator>newtelligence dasBlog 1.9.6264.0</generator>
    <managingEditor>miky@zahav.net.il</managingEditor>
    <webMaster>miky@zahav.net.il</webMaster>
    <item>
      <trackback:ping>http://www.miky-schreiber.com/Blog/Trackback.aspx?guid=8d29e8e0-e3af-42d3-a3c3-f5ee6df13102</trackback:ping>
      <pingback:server>http://www.miky-schreiber.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.miky-schreiber.com/Blog/PermaLink,guid,8d29e8e0-e3af-42d3-a3c3-f5ee6df13102.aspx</pingback:target>
      <dc:creator>mikypuff</dc:creator>
      <wfw:comment>http://www.miky-schreiber.com/Blog/CommentView,guid,8d29e8e0-e3af-42d3-a3c3-f5ee6df13102.aspx</wfw:comment>
      <wfw:commentRss>http://www.miky-schreiber.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=8d29e8e0-e3af-42d3-a3c3-f5ee6df13102</wfw:commentRss>
      <slash:comments>2</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
A wonderful idea I heard of is to turn to full screen mode in Internet Explorer when
entering the Dashboard site. It can make a better user experience. Try it yourself
and you'll see the huge difference.<br />
How will we do that? We will add a JavaScript code to the first page of the dashboards
site and after that we'll ask our system administrator to enable this script for us.
Let's get to work: 
</p>
        <p>
          <u>Step 1 - The JavaScript</u>
        </p>
        <p>
        </p>
Create a new HTML component in the dashboard page. Edit it and click on the "View
Source" button (the one with the &lt;&gt;). Enter the following code:<br />
&lt;SCRIPT&gt;<br />
var wscript = new ActiveXObject("Wscript.shell");<br />
wscript.SendKeys("{F11}");<br />
&lt;/SCRIPT&gt; 
<p>
It will simulate the user hitting the F11 key which will turn the IE to
fullscreen mode. The only problem is that when viewing the page, you'll see this message:
</p><p align="center"><img src="http://www.miky-schreiber.com/Blog/content/binary/ActiveXPromt.JPG" border="0" /></p><p>
This takes us to step 2.
</p><p><u>Step 2 - Enabling ActiveX</u></p><p>
First, I'll show you how to do this on your local maching and then you'll ask your
system administrator to enable it on all the machines in the organization using distribution.
Enter the Tools menu in IE and hit Internet Options. Click on the Security tab and
make sure the "Trusted Sites" zone is selected. Note that the Panorama Dashboards
site is already defined as trusted site (if the initial installation of Panorama Dashboards
made according to the installation manual. If it's not, you have a problem). Click
on "Custom Level" and Enable the "Initialize and script ActiveX ..." option:
</p><p align="center"><img src="http://www.miky-schreiber.com/Blog/content/binary/EnableActiveXIE.JPG" border="0" /></p><p align="left">
Now, you'll see that there's no promting for ActiveX controls. Show this to your sys
admin and ask him to make this happen on every user's machine (using distribution,
of course). As I said, the dashboards site is a trusted site so I can't see any problem
to enable this. The result is very beautiful and can make a lot of users happy. Note
that you can also add a button in your page that will call the same script in order
to return to normal mode.
</p><p align="left">
Enjoy.
</p><img width="0" height="0" src="http://www.miky-schreiber.com/Blog/aggbug.ashx?id=8d29e8e0-e3af-42d3-a3c3-f5ee6df13102" /></body>
      <title>Entering the Dashboards Site in Full Screen Mode</title>
      <guid isPermaLink="false">http://www.miky-schreiber.com/Blog/PermaLink,guid,8d29e8e0-e3af-42d3-a3c3-f5ee6df13102.aspx</guid>
      <link>http://www.miky-schreiber.com/Blog/PermaLink,guid,8d29e8e0-e3af-42d3-a3c3-f5ee6df13102.aspx</link>
      <pubDate>Wed, 17 Jun 2009 08:08:44 GMT</pubDate>
      <description>&lt;p&gt;
A wonderful idea I heard of is to turn to full screen mode in Internet Explorer when
entering the Dashboard site. It can make a better user experience. Try it yourself
and you'll see the&amp;nbsp;huge difference.&lt;br&gt;
How will we&amp;nbsp;do that? We will add a JavaScript code to the first page of the dashboards
site and after that we'll ask our system administrator to enable this script for us.
Let's get to work: 
&lt;/p&gt;
&lt;p&gt;
&lt;u&gt;Step 1 - The JavaScript&lt;/u&gt; 
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
Create a new HTML component in the dashboard page. Edit it and click on the "View
Source" button (the one with the &amp;lt;&amp;gt;). Enter the following code:&lt;br&gt;
&amp;lt;SCRIPT&amp;gt;&lt;br&gt;
var wscript = new ActiveXObject("Wscript.shell");&lt;br&gt;
wscript.SendKeys("{F11}");&lt;br&gt;
&amp;lt;/SCRIPT&amp;gt; 
&lt;p&gt;
It will simulate the user&amp;nbsp;hitting the&amp;nbsp;F11 key which will turn the IE to
fullscreen mode. The only problem is that when viewing the page, you'll see this message:
&lt;/p&gt;
&lt;p align=center&gt;
&lt;img src="http://www.miky-schreiber.com/Blog/content/binary/ActiveXPromt.JPG" border=0&gt;
&lt;/p&gt;
&lt;p&gt;
This takes us to step 2.
&lt;/p&gt;
&lt;p&gt;
&lt;u&gt;Step 2 - Enabling ActiveX&lt;/u&gt;
&lt;/p&gt;
&lt;p&gt;
First, I'll show you how to do this on your local maching and then you'll ask your
system administrator to enable it on all the machines in the organization using distribution.
Enter the Tools menu in IE and hit Internet Options. Click on the Security tab and
make sure the "Trusted Sites" zone is selected. Note that the Panorama Dashboards
site is already defined as trusted site (if the initial installation of Panorama Dashboards
made according to the installation manual. If it's not, you have a problem). Click
on "Custom Level" and Enable the "Initialize and script ActiveX ..." option:
&lt;/p&gt;
&lt;p align=center&gt;
&lt;img src="http://www.miky-schreiber.com/Blog/content/binary/EnableActiveXIE.JPG" border=0&gt;
&lt;/p&gt;
&lt;p align=left&gt;
Now, you'll see that there's no promting for ActiveX controls. Show this to your sys
admin and ask him to make this happen on every user's machine (using distribution,
of course). As I said, the dashboards site is a trusted site so I can't see any problem
to enable this. The result is very beautiful and can make a lot of users happy. Note
that you can also add a button in your page that will call the same script in order
to return to normal mode.
&lt;/p&gt;
&lt;p align=left&gt;
Enjoy.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.miky-schreiber.com/Blog/aggbug.ashx?id=8d29e8e0-e3af-42d3-a3c3-f5ee6df13102" /&gt;</description>
      <comments>http://www.miky-schreiber.com/Blog/CommentView,guid,8d29e8e0-e3af-42d3-a3c3-f5ee6df13102.aspx</comments>
      <category>BI;BI/Panorama;Programming;Programming/Web</category>
    </item>
    <item>
      <trackback:ping>http://www.miky-schreiber.com/Blog/Trackback.aspx?guid=963cfc78-6bab-4c2c-a7fd-35186ef8e7e2</trackback:ping>
      <pingback:server>http://www.miky-schreiber.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.miky-schreiber.com/Blog/PermaLink,guid,963cfc78-6bab-4c2c-a7fd-35186ef8e7e2.aspx</pingback:target>
      <dc:creator>mikypuff</dc:creator>
      <wfw:comment>http://www.miky-schreiber.com/Blog/CommentView,guid,963cfc78-6bab-4c2c-a7fd-35186ef8e7e2.aspx</wfw:comment>
      <wfw:commentRss>http://www.miky-schreiber.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=963cfc78-6bab-4c2c-a7fd-35186ef8e7e2</wfw:commentRss>
      <slash:comments>2</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
The query string was not meant to pass descriptions and string. The correct use of
it is using codes and numbers. Anyway, my friend did write query strings with hebrew
descriptions and didn't understand why the server side got it scrambled.
</p>
        <p>
This was caused because the client side and the server side were using different
encodings. The correct way of doing this is wrapping the strings using the JavaScript
command encodeURIComponent (in the client side). This will turn the strings into Unicode.
In the server side, using ASP.NET, you can use the Server.UrlDecode method to get
it back.
</p>
        <img width="0" height="0" src="http://www.miky-schreiber.com/Blog/aggbug.ashx?id=963cfc78-6bab-4c2c-a7fd-35186ef8e7e2" />
      </body>
      <title>Passing Strings in the Query String</title>
      <guid isPermaLink="false">http://www.miky-schreiber.com/Blog/PermaLink,guid,963cfc78-6bab-4c2c-a7fd-35186ef8e7e2.aspx</guid>
      <link>http://www.miky-schreiber.com/Blog/PermaLink,guid,963cfc78-6bab-4c2c-a7fd-35186ef8e7e2.aspx</link>
      <pubDate>Tue, 09 Jun 2009 12:24:55 GMT</pubDate>
      <description>&lt;p&gt;
The query string was not meant to pass descriptions and string. The correct use of
it is using codes and numbers. Anyway, my friend did write query strings with hebrew
descriptions and didn't understand why the server side got it scrambled.
&lt;/p&gt;
&lt;p&gt;
This was caused because&amp;nbsp;the client side and the server side were using different
encodings. The correct way of doing this is&amp;nbsp;wrapping the strings using the&amp;nbsp;JavaScript
command encodeURIComponent (in the client side). This will turn the strings into Unicode.
In the server side, using ASP.NET, you can use the Server.UrlDecode method to get
it back.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.miky-schreiber.com/Blog/aggbug.ashx?id=963cfc78-6bab-4c2c-a7fd-35186ef8e7e2" /&gt;</description>
      <comments>http://www.miky-schreiber.com/Blog/CommentView,guid,963cfc78-6bab-4c2c-a7fd-35186ef8e7e2.aspx</comments>
      <category>Programming;Programming/.Net;Programming/Web</category>
    </item>
    <item>
      <trackback:ping>http://www.miky-schreiber.com/Blog/Trackback.aspx?guid=e52c58d8-4e4f-4077-9656-5242bcf49f7c</trackback:ping>
      <pingback:server>http://www.miky-schreiber.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.miky-schreiber.com/Blog/PermaLink,guid,e52c58d8-4e4f-4077-9656-5242bcf49f7c.aspx</pingback:target>
      <dc:creator>mikypuff</dc:creator>
      <wfw:comment>http://www.miky-schreiber.com/Blog/CommentView,guid,e52c58d8-4e4f-4077-9656-5242bcf49f7c.aspx</wfw:comment>
      <wfw:commentRss>http://www.miky-schreiber.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=e52c58d8-4e4f-4077-9656-5242bcf49f7c</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">Trying to build ASP.NET page with Panorama
applets, I could not understand why the applets appeared blank when I put them in
tables. After a while, I've found that this got something to do with the DOCTYPE declaration
that each aspx has in its head (<span class="doctype">!DOCTYPE html PUBLIC "-//W3C//DTD
XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"</span>).
When I removed this line, it all seems to work fine. Digging into this <a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">DTD
specification</a>, I can't see anything that will prevent from applet tag to appear
inside td tag. Strange.<br /><p></p><img width="0" height="0" src="http://www.miky-schreiber.com/Blog/aggbug.ashx?id=e52c58d8-4e4f-4077-9656-5242bcf49f7c" /></body>
      <title>Using Applet Tag in ASP.NET Pages</title>
      <guid isPermaLink="false">http://www.miky-schreiber.com/Blog/PermaLink,guid,e52c58d8-4e4f-4077-9656-5242bcf49f7c.aspx</guid>
      <link>http://www.miky-schreiber.com/Blog/PermaLink,guid,e52c58d8-4e4f-4077-9656-5242bcf49f7c.aspx</link>
      <pubDate>Mon, 01 Jun 2009 11:32:34 GMT</pubDate>
      <description>Trying to build ASP.NET page with Panorama applets, I could not understand why the applets appeared blank when I put them in tables. After a while, I've found that this got something to do with the DOCTYPE declaration that each aspx has in its head (&lt;span class="doctype"&gt;!DOCTYPE
html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&lt;/span&gt;).
When I removed this line, it all seems to work fine. Digging into this &lt;a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;DTD
specification&lt;/a&gt;, I can't see anything that will prevent from applet tag to appear
inside td tag. Strange.&lt;br&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.miky-schreiber.com/Blog/aggbug.ashx?id=e52c58d8-4e4f-4077-9656-5242bcf49f7c" /&gt;</description>
      <comments>http://www.miky-schreiber.com/Blog/CommentView,guid,e52c58d8-4e4f-4077-9656-5242bcf49f7c.aspx</comments>
      <category>BI;BI/Panorama;Programming;Programming/Web</category>
    </item>
  </channel>
</rss>