<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Client Side Web Development</title><link>http://forums.asp.net/130.aspx</link><description>Client-side programming discussions, including CSS, DHTML, JScript/Javascript, etc. &lt;a href="http://aspadvice.com/SignUp/list.aspx?l=18&amp;c=16" target="_blank"&gt;Email List&lt;/a&gt;</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>For Displaying time continuosly in web page using javascript $</title><link>http://forums.asp.net/thread/3535324.aspx</link><pubDate>Fri, 27 Nov 2009 05:19:13 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3535324</guid><dc:creator>kapiltapa</dc:creator><author>kapiltapa</author><slash:comments>2</slash:comments><comments>http://forums.asp.net/thread/3535324.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=130&amp;PostID=3535324</wfw:commentRss><description>&lt;p&gt;&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; window.onload= function displayTime()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var m_names = new Array(&amp;quot;January&amp;quot;, &amp;quot;February&amp;quot;, &amp;quot;March&amp;quot;, &lt;br /&gt;&amp;quot;April&amp;quot;, &amp;quot;May&amp;quot;, &amp;quot;June&amp;quot;, &amp;quot;July&amp;quot;, &amp;quot;August&amp;quot;, &amp;quot;September&amp;quot;, &lt;br /&gt;&amp;quot;October&amp;quot;, &amp;quot;November&amp;quot;, &amp;quot;December&amp;quot;);&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var localTime = new Date();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var year= localTime.getYear();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var month= localTime.getMonth() +1;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var date = localTime.getDate();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var hours = localTime .getHours();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var minutes = localTime .getMinutes();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var seconds = localTime .getSeconds();&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var div=document.getElementById(&amp;quot;div&amp;quot;) &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; div.innerText=date+&amp;quot;th&amp;quot;+&amp;quot; &amp;quot;+ m_names[month]+&amp;quot; &amp;quot;+ year +&amp;quot; &amp;quot;+hours+&amp;quot;:&amp;quot;+minutes+&amp;quot;:&amp;quot;+seconds;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; window.setTimeout(&amp;quot;displayTime()&amp;quot;, 1000);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;nbsp; &amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;br /&gt;&amp;lt;/script&amp;gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;lt;div id=&amp;quot;div&amp;quot;&amp;gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/div&amp;gt;&lt;/p&gt;</description></item><item><title>Printing without print dialog box</title><link>http://forums.asp.net/thread/2479074.aspx</link><pubDate>Thu, 10 Jul 2008 04:35:50 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2479074</guid><dc:creator>afra_nada</dc:creator><author>afra_nada</author><slash:comments>3</slash:comments><comments>http://forums.asp.net/thread/2479074.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=130&amp;PostID=2479074</wfw:commentRss><description>&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;I am developing an application that needs to print a slip, I did that by using print javascript but now the problem is that I am getting the print dialog box and I don&amp;#39;t want that to happen.&lt;/p&gt;
&lt;p&gt;P.S: I am using IE6&lt;/p&gt;
&lt;p&gt;Any help?&lt;/p&gt;
&lt;p&gt;Regards...&lt;/p&gt;</description></item><item><title>Adding dropdown list box through javascript and binding data in it</title><link>http://forums.asp.net/thread/3533692.aspx</link><pubDate>Thu, 26 Nov 2009 04:58:31 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3533692</guid><dc:creator>vinothkhannas</dc:creator><author>vinothkhannas</author><slash:comments>13</slash:comments><comments>http://forums.asp.net/thread/3533692.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=130&amp;PostID=3533692</wfw:commentRss><description>&lt;p&gt;Hi&amp;nbsp;guys,&lt;/p&gt;
&lt;p&gt;I want to add dropdown list box through&amp;nbsp;javascript&amp;nbsp;on a click event and once it gets added i want to automatically bind data in it from a dataset which i have. How do i do it?&lt;/p&gt;
&lt;p&gt;Regards, &lt;/p&gt;
&lt;p&gt;Vinoth Khanna.S&amp;nbsp;&lt;/p&gt;</description></item><item><title>How to pass back exceptions from the WS back to the ASP.NET client</title><link>http://forums.asp.net/thread/3532306.aspx</link><pubDate>Wed, 25 Nov 2009 12:30:03 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3532306</guid><dc:creator>mrrogers</dc:creator><author>mrrogers</author><slash:comments>4</slash:comments><comments>http://forums.asp.net/thread/3532306.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=130&amp;PostID=3532306</wfw:commentRss><description>&lt;p&gt;What is the simplest way to pass back an exception from my web service back to my client&amp;nbsp;while&amp;nbsp;displaying a friendly message to the user?&amp;nbsp;&lt;/p&gt;</description></item><item><title>Background Issues</title><link>http://forums.asp.net/thread/3531022.aspx</link><pubDate>Tue, 24 Nov 2009 22:51:31 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3531022</guid><dc:creator>mausimo</dc:creator><author>mausimo</author><slash:comments>5</slash:comments><comments>http://forums.asp.net/thread/3531022.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=130&amp;PostID=3531022</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am wondering if there is any way to fix&amp;nbsp;my issue.&amp;nbsp;When you zoom in on this page the body shifts left&amp;nbsp;on the background, it is hard to explain - see the link : &lt;a href="http://naitsa.ca/mike.asp"&gt;http://naitsa.ca/mike.asp&lt;/a&gt;&amp;nbsp;. This background is really big - 1920px wide. If you are on a high resolution monitor&amp;nbsp;and then switch the resolution lower or&amp;nbsp;use ctrl +&amp;nbsp; or&amp;nbsp;crt - to zoom in/out you can see the the main content area actually shifts left or right (along the background while staying centered). Look at the top of the background as you&amp;nbsp;zoom to see what i mean. The only&amp;nbsp;way i have found to fix this, is to background-attachment:fixed; however this leads to the page scolling in a funny way.&lt;/p&gt;
&lt;p&gt;If you know how to solve this, keeping the background&amp;nbsp;fixed, whithout the funny scroll&amp;nbsp;i would love to know!&lt;/p&gt;
&lt;p&gt;-Mike&amp;nbsp;&lt;/p&gt;</description></item><item><title>Keep the Pop Up window Active..</title><link>http://forums.asp.net/thread/3531409.aspx</link><pubDate>Wed, 25 Nov 2009 04:34:19 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3531409</guid><dc:creator>saqib_dotnet</dc:creator><author>saqib_dotnet</author><slash:comments>9</slash:comments><comments>http://forums.asp.net/thread/3531409.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=130&amp;PostID=3531409</wfw:commentRss><description>&lt;p&gt;Hi All,&lt;/p&gt;
&lt;p&gt;Is there a way to keep the pop&amp;nbsp;up window active on the parent window so that user cant access the parent window till&amp;nbsp;user closes the&amp;nbsp;pop up?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Access Repeater control ID in Javascript</title><link>http://forums.asp.net/thread/3530350.aspx</link><pubDate>Tue, 24 Nov 2009 16:12:28 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3530350</guid><dc:creator>raja.selvaraju</dc:creator><author>raja.selvaraju</author><slash:comments>3</slash:comments><comments>http://forums.asp.net/thread/3530350.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=130&amp;PostID=3530350</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;I have repeater control in .aspx page. How to access Repeater control ID in JavaScript? &lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Thanks in advance,&lt;/p&gt;&lt;p&gt;Raja S&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Is there any way to restrict.....</title><link>http://forums.asp.net/thread/3531632.aspx</link><pubDate>Wed, 25 Nov 2009 06:52:04 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3531632</guid><dc:creator>thirumaran007</dc:creator><author>thirumaran007</author><slash:comments>2</slash:comments><comments>http://forums.asp.net/thread/3531632.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=130&amp;PostID=3531632</wfw:commentRss><description>Hi Friends,

Is there any way to restrict, multiple instance of a browser will open the same URL ( ex. An IE has 10 tabs, each tab has same URL).How to avoid this?
</description></item><item><title>get Client Username, Domain name ???</title><link>http://forums.asp.net/thread/3532169.aspx</link><pubDate>Wed, 25 Nov 2009 11:13:43 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3532169</guid><dc:creator>yatinpatel13983</dc:creator><author>yatinpatel13983</author><slash:comments>3</slash:comments><comments>http://forums.asp.net/thread/3532169.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=130&amp;PostID=3532169</wfw:commentRss><description>&lt;p&gt;Dear All,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kindly let me know the &amp;quot;How&amp;nbsp;to get Client Name and Domain&amp;nbsp;Name ?&amp;quot;&lt;/p&gt;
&lt;p&gt;i have tried below code :&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;
&lt;p&gt;System.Security.Principal.WindowsIdentity.GetCurrent().Name&lt;/p&gt;&lt;/p&gt;
&lt;p&gt;but i m getting &amp;quot;NT AUTHORITY\NETWORK SERVICE&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;warms regards,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/font&gt;</description></item><item><title>calendar and dropdownlist problem</title><link>http://forums.asp.net/thread/3532702.aspx</link><pubDate>Wed, 25 Nov 2009 15:52:15 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3532702</guid><dc:creator>.netBeginner</dc:creator><author>.netBeginner</author><slash:comments>1</slash:comments><comments>http://forums.asp.net/thread/3532702.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=130&amp;PostID=3532702</wfw:commentRss><description>&lt;p&gt;hi,&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I need to create a drop downlist with the following options&lt;/p&gt;&lt;p&gt;*Entries within last week&lt;/p&gt;&lt;p&gt;*Entries within last month&lt;/p&gt;&lt;p&gt;*Custom&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;If the user selects the custom option , a calender should pop up , from which the user selects the dates. I am not sure how to get started on this. how would I trigger a javascript to &amp;nbsp;popout a calender control when the custom option is select , if I can how would i capture the date value entered.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;It would be great if someone could give me some direction on this.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>deploying clickonce application</title><link>http://forums.asp.net/thread/3529681.aspx</link><pubDate>Tue, 24 Nov 2009 09:24:10 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3529681</guid><dc:creator>iconsys</dc:creator><author>iconsys</author><slash:comments>7</slash:comments><comments>http://forums.asp.net/thread/3529681.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=130&amp;PostID=3529681</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;

&lt;/p&gt;
&lt;p style="margin:0in;font-family:Calibri;font-size:11pt;"&gt;My asp.net
application has two aspx pages myPage1.aspx and myPage2.aspx. I have created
one click once application which I launch from my aspx page.&lt;/p&gt;
&lt;p style="margin:0in;font-family:Calibri;font-size:11pt;"&gt;If I lauched my
click once application by clicking link from page myPage1.aspx, it gets
downloaded and installed on client machine properly. Then if click link on
myPage2.aspx which also initiated my click once application , but click once
application can not start it shows a meesage &amp;quot; Application can not start
becouse it is already installed from another location &amp;quot;.&lt;/p&gt;&lt;p style="margin:0in;font-family:Calibri;font-size:11pt;"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="margin:0in;font-family:Calibri;font-size:11pt;"&gt;Thanks&lt;/p&gt;&lt;p style="margin:0in;font-family:Calibri;font-size:11pt;"&gt;Shital&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Error: 'null' is null or not an object.</title><link>http://forums.asp.net/thread/3532927.aspx</link><pubDate>Wed, 25 Nov 2009 17:42:33 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3532927</guid><dc:creator>dpreznik</dc:creator><author>dpreznik</author><slash:comments>11</slash:comments><comments>http://forums.asp.net/thread/3532927.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=130&amp;PostID=3532927</wfw:commentRss><description>&lt;p&gt;In my javascript code I have the following line:&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;pre name="code" class="c-sharp"&gt;$get(&amp;#39;&amp;lt;%= this.GridView1.ClientID %&amp;gt;&amp;#39;).getElementsByTagName(&amp;#39;TH&amp;#39;);&lt;/pre&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt; And the code works, but when I move my javascript code into a separate .js file, I am getting an error:&lt;/p&gt;&lt;p&gt;Line: 11&lt;br /&gt;Error: &amp;#39;null&amp;#39; is null or not an object.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Can anybody please help me?&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Thanks, &lt;/p&gt;&lt;p&gt;Dmitriy&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div id="refHTML"&gt;&lt;/div&gt;</description></item><item><title>Event after file download...?</title><link>http://forums.asp.net/thread/3534977.aspx</link><pubDate>Thu, 26 Nov 2009 21:11:52 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3534977</guid><dc:creator>stevescotthome</dc:creator><author>stevescotthome</author><slash:comments>1</slash:comments><comments>http://forums.asp.net/thread/3534977.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=130&amp;PostID=3534977</wfw:commentRss><description>&lt;p&gt;I&amp;#39;ve got a button and onclick I show a loading image (in OnClientClick), it then calls back via OnClick to download a file&lt;/p&gt;&lt;p&gt;How can I then re-hide the loading panel once the file downloads?...I&amp;#39;ve tried in document.ready, but that doesnt seem to work&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Script works fine on Firefox but not in IE 7</title><link>http://forums.asp.net/thread/3534367.aspx</link><pubDate>Thu, 26 Nov 2009 11:58:52 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3534367</guid><dc:creator>nezz</dc:creator><author>nezz</author><slash:comments>5</slash:comments><comments>http://forums.asp.net/thread/3534367.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=130&amp;PostID=3534367</wfw:commentRss><description>&lt;p&gt;HI :)&lt;br /&gt;&lt;br /&gt;I try to use a script from another user post... it works fine on FF but not on ie7...can someone help me please with this....any ideas??:S&amp;nbsp;&lt;/p&gt;
&lt;p&gt;function ahah(url, target) {&lt;br /&gt;document.getElementById(target).innerHTML = &amp;#39; Fetching data...&amp;#39;;&lt;br /&gt;if (window.XMLHttpRequest) {&lt;br /&gt;req = new XMLHttpRequest();&lt;br /&gt;} else if (window.ActiveXObject) {&lt;br /&gt;req = new ActiveXObject(&amp;quot;Microsoft.XMLHTTP&amp;quot;);&lt;br /&gt;}&lt;br /&gt;if (req != undefined) {&lt;br /&gt;req.onreadystatechange = function() {ahahDone(url, target);};&lt;br /&gt;req.open(&amp;quot;GET&amp;quot;, url, true);&lt;br /&gt;req.send(&amp;quot;&amp;quot;);&lt;br /&gt;}&lt;br /&gt;} &lt;br /&gt;&lt;br /&gt;function ahahDone(url, target) {&lt;br /&gt;if (req.readyState == 4) { // only if req is &amp;quot;loaded&amp;quot;&lt;br /&gt;if (req.status == 200) { // only if &amp;quot;OK&amp;quot;&lt;br /&gt;document.getElementById(target).innerHTML = req.responseText;&lt;br /&gt;} else {&lt;br /&gt;document.getElementById(target).innerHTML=&amp;quot; AHAH Error:\n&amp;quot;+ req.status + &amp;quot;\n&amp;quot; +req.statusText;&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;function load(name, div) {&lt;br /&gt;ahah(name,div);&lt;br /&gt;return false;&lt;br /&gt;}&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m calling this on this Gevent function&lt;/p&gt;
&lt;p&gt;GEvent.addListener(gmarkers[i], &amp;quot;click&amp;quot;, function getStation() { &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;ahah(&amp;#39;teste2.aspx&amp;#39;,&amp;#39;news1&amp;#39;);&lt;br /&gt;&lt;br /&gt;return false;&lt;br /&gt;&lt;br /&gt;});&lt;br /&gt;&lt;br /&gt;}&lt;/p&gt;</description></item><item><title>Question about IIS Static Compression</title><link>http://forums.asp.net/thread/3534813.aspx</link><pubDate>Thu, 26 Nov 2009 18:00:14 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3534813</guid><dc:creator>ferrethouse</dc:creator><author>ferrethouse</author><slash:comments>1</slash:comments><comments>http://forums.asp.net/thread/3534813.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=130&amp;PostID=3534813</wfw:commentRss><description>&lt;p&gt;I just enabled it on my web application and it appears to be working fine. It is compressing and caching css, js, html, etc. files. My question is does compression impact the ability of client browsers to cache locally? Normally, a user would visit my webpage and the css and js files would be downloaded and cached locally on their client computer. So future requests would simply be served from their local cache. Does compression impact the way this functions? Will these files continue to be served from their local cache?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Flash web template into Ajax Enabled Asp.Net  Website.</title><link>http://forums.asp.net/thread/3534804.aspx</link><pubDate>Thu, 26 Nov 2009 17:53:56 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3534804</guid><dc:creator>vijayrawatsan</dc:creator><author>vijayrawatsan</author><slash:comments>1</slash:comments><comments>http://forums.asp.net/thread/3534804.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=130&amp;PostID=3534804</wfw:commentRss><description>&lt;p&gt;I wonder if I can use a flash web template downloaded by me from TemplateMonster.com in my Ajax Enabled Asp.Net &amp;nbsp;Website.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;If i can then please someone could guide me how.&lt;/p&gt;&lt;p&gt;Or provide me tutorials explaining enough of it.&lt;/p&gt;&lt;p&gt;Hoping for fine responses.&lt;/p&gt;</description></item><item><title>Do you compress images befor uploading to server ??</title><link>http://forums.asp.net/thread/3534622.aspx</link><pubDate>Thu, 26 Nov 2009 15:12:35 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3534622</guid><dc:creator>sialkot</dc:creator><author>sialkot</author><slash:comments>1</slash:comments><comments>http://forums.asp.net/thread/3534622.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=130&amp;PostID=3534622</wfw:commentRss><description>&lt;p&gt;Hey friends,&lt;/p&gt;
&lt;p&gt;Do you compress image before uploading to server ??&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If yes how is this don?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I upload iamges to server whit Fileupload controll&amp;#39;&amp;#39;&amp;#39;&amp;#39;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>OnMouseOver update Label.Text</title><link>http://forums.asp.net/thread/3534736.aspx</link><pubDate>Thu, 26 Nov 2009 16:58:57 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3534736</guid><dc:creator>nereo.lopez</dc:creator><author>nereo.lopez</author><slash:comments>1</slash:comments><comments>http://forums.asp.net/thread/3534736.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=130&amp;PostID=3534736</wfw:commentRss><description>&lt;p&gt;Hi everyone,&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve tried everything i could think of, but&amp;nbsp;didn&amp;#39;t work, so, i need your help.&amp;nbsp;I have a&amp;nbsp;&amp;quot;toolbar&amp;quot; (it&amp;#39;s a row with 6 image button&amp;nbsp;). There&amp;#39;s a row right under the &amp;quot;toolbar&amp;quot; which contains a label (lblDescrip). What i want is, that when the mouse is over the image button, the label text changes to the description of that image button. I thought of two possibilities (and i tried, but couldnt):&lt;/p&gt;
&lt;p&gt;1º Tried to use javascript. I can add an attribute to the imageButton, dont remember exactly the code but something like cmdGrupo0.Attributes.Add(&amp;quot;onmouseover&amp;quot;,value). Value is the hard thing, because i can, for example, change its image saying in value src=&amp;quot;myimage.jpg&amp;quot;, but, cant change anything on other controls, like&amp;nbsp; the label&amp;#39;s text (that&amp;#39;s what i want)&lt;/p&gt;
&lt;p&gt;Actually i tried in value saying lblDescrip.Text = myDataTable.Rows(0).Item(&amp;quot;Descripcion&amp;quot;) but when running the webpage, threw an error when the mouse passed over the imagebutton&lt;/p&gt;
&lt;p&gt;2º Using Ajax. I put the label inside an update panel. add a trigger (the imageButton) but, cannot say that MouseOver is the event that is gonna fire the updatePanel because MouseOver is not in the event&amp;#39;s collection&lt;/p&gt;
&lt;p&gt;So, how can i achieve this?&lt;/p&gt;
&lt;p&gt;Thanks for your help&lt;/p&gt;</description></item><item><title>Gridview autoscroll</title><link>http://forums.asp.net/thread/3534564.aspx</link><pubDate>Thu, 26 Nov 2009 14:20:55 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3534564</guid><dc:creator>paulo32</dc:creator><author>paulo32</author><slash:comments>5</slash:comments><comments>http://forums.asp.net/thread/3534564.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=130&amp;PostID=3534564</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;font size="3" face="Times New Roman"&gt;Hello&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;font size="3" face="Times New Roman"&gt;Can somme one give me&amp;nbsp;the code to &lt;/font&gt;&amp;nbsp;made a gridview autoscroll ?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks &lt;/p&gt;
&lt;p&gt;Paulo&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>jQuery: How to show div when an asp.net textbox is clicked?</title><link>http://forums.asp.net/thread/3533171.aspx</link><pubDate>Wed, 25 Nov 2009 20:17:09 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3533171</guid><dc:creator>mychucky</dc:creator><author>mychucky</author><slash:comments>7</slash:comments><comments>http://forums.asp.net/thread/3533171.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=130&amp;PostID=3533171</wfw:commentRss><description>&lt;p&gt;I want to show a div or table when an asp.net textbox control is click. Below are my code and it&amp;#39;s not working.&lt;/p&gt;&lt;p&gt;&lt;pre name="code" class="xhtml"&gt;&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;
        $(document).ready(function(){
            $(&amp;#39;.expanding&amp;#39;).autogrow();
            $(&amp;quot;#commands&amp;quot;).hide(&amp;quot;normal&amp;quot;);
        });
        $(function(){
            $(&amp;quot;#txtInsertComments&amp;quot;).click(function(){
                $(&amp;quot;#commands&amp;quot;).show(&amp;quot;normal&amp;quot;);
            });
        });
    &amp;lt;/script&amp;gt;&lt;/pre&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt; And here is my aspx code:&lt;/p&gt;&lt;p&gt;&lt;pre name="code" class="xhtml"&gt;&amp;lt;div id=&amp;quot;responseDiv&amp;quot;&amp;gt;
                                    &amp;lt;asp:HiddenField ID=&amp;quot;hdfInsCommentsID&amp;quot; runat=&amp;quot;server&amp;quot; Value=&amp;#39;&amp;lt;%# Bind(&amp;quot;CommentsID&amp;quot;) %&amp;gt;&amp;#39; /&amp;gt;
                                    &amp;lt;asp:TextBox ID=&amp;quot;txtInsertComments&amp;quot; AutoPostBack=&amp;quot;false&amp;quot; CssClass=&amp;quot;expanding&amp;quot; runat=&amp;quot;server&amp;quot; Width=&amp;quot;400px&amp;quot; Text=&amp;#39;&amp;lt;%# Bind(&amp;quot;comments&amp;quot;) %&amp;gt;&amp;#39;
                                        TextMode=&amp;quot;MultiLine&amp;quot; /&amp;gt;
                                    &amp;lt;ajaxToolkit:TextBoxWatermarkExtender ID=&amp;quot;TextBoxWatermarkExtender3&amp;quot; runat=&amp;quot;server&amp;quot;
                                        TargetControlID=&amp;quot;txtInsertComments&amp;quot; WatermarkText=&amp;quot;Write your comments&amp;quot; WatermarkCssClass=&amp;quot;waterMarkText&amp;quot;&amp;gt;
                                    &amp;lt;/ajaxToolkit:TextBoxWatermarkExtender&amp;gt;
                                    &amp;lt;div id=&amp;quot;commands&amp;quot;&amp;gt;
                                    &amp;lt;table cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; width=&amp;quot;400px&amp;quot; id=&amp;quot;tblCommands&amp;quot;&amp;gt;
                                        &amp;lt;tr&amp;gt;
                                            &amp;lt;td style=&amp;quot;width: 50%; text-align: center;&amp;quot;&amp;gt;
                                                &amp;lt;asp:LinkButton ID=&amp;quot;lnbInsertRes&amp;quot; runat=&amp;quot;server&amp;quot; CommandName=&amp;quot;Insert&amp;quot; Font-Underline=&amp;quot;false&amp;quot;&amp;gt;Insert&amp;lt;/asp:LinkButton&amp;gt;
                                            &amp;lt;/td&amp;gt;
                                            &amp;lt;td style=&amp;quot;width: 50%; text-align: center;&amp;quot;&amp;gt;
                                                &amp;lt;asp:LinkButton ID=&amp;quot;lnbCancelRes&amp;quot; runat=&amp;quot;server&amp;quot; CommandName=&amp;quot;Cancel&amp;quot; Font-Underline=&amp;quot;false&amp;quot;&amp;gt;Cancel&amp;lt;/asp:LinkButton&amp;gt;
                                            &amp;lt;/td&amp;gt;
                                        &amp;lt;/tr&amp;gt;
                                    &amp;lt;/table&amp;gt;
                                    &amp;lt;/div&amp;gt;
                            &amp;lt;/div&amp;gt;&lt;/pre&gt;&lt;br /&gt; By the way, aspx code above is inside of a nestes ListView control&amp;#39;s InsertItemTemplate.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>client side file browser</title><link>http://forums.asp.net/thread/3534245.aspx</link><pubDate>Thu, 26 Nov 2009 10:44:52 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3534245</guid><dc:creator>lloydz1</dc:creator><author>lloydz1</author><slash:comments>1</slash:comments><comments>http://forums.asp.net/thread/3534245.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=130&amp;PostID=3534245</wfw:commentRss><description>&lt;p&gt;Hi everyone&lt;/p&gt;&lt;p&gt;I&amp;#39;m in a pickle i need to give the client the option to browse their local machine so that they can select a file but i dont want to upload it. &lt;/p&gt;&lt;p&gt;The application will be run on an internal network and they will be browsing to a network drive which the server will have access to as well so all i want to do is grab the file path and save it my database, however the file&amp;#39;s im looking for are image files so it would be benificial if the client could view thumbnails aswell. &lt;/p&gt;&lt;p&gt;File upload works well but i dont need to upload the image file everytime therefore is it possible to manipulate the asp.net fileupload not to upload the file and just take the file path from the text box. Or the other theory i was considering was to try and create a input type file with javascript and steal the filepath before upload and then close it with javascript but i really dont know where to start with either of these any pointers or solutions would be greatly appreciated&amp;nbsp; &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Adding onblur event to a dynamic textbox</title><link>http://forums.asp.net/thread/1553662.aspx</link><pubDate>Mon, 29 Jan 2007 17:28:51 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1553662</guid><dc:creator>R_Edwards</dc:creator><author>R_Edwards</author><slash:comments>2</slash:comments><comments>http://forums.asp.net/thread/1553662.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=130&amp;PostID=1553662</wfw:commentRss><description>&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;need the help of a UI guru!&amp;nbsp; I'm currently working on a system to dynamically create forms from values held in a database. Now I have a parent user control that I drop onto my pages that goes off to the database and retrieves a set of control records from the db in the page_load method.&amp;nbsp; For each record I call a class factory that creates a control of a given type as given by the returned records. Each created control is then added to the parent control tree. Now here's the tricky part.&amp;nbsp; I need to wire in an onblur event on a child control that will call an update method on an AJAX update panel higher in the control tree. I've created an event delegate class and wired in the events ok, and I create my event handler to update the AJAX panel&amp;nbsp;when I create the child control but I can't find a way to add the event handler to the text box control.&amp;nbsp; I'm guessing I need to add an "onblur" attribute to the control but how do you get an event reference for the event? It's not a post back like an onClick. Anyone tried to do anything similar? Basically it's just using event delegates to add onblur events (can find loads of examples for onclick!).&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Anyway I'm not a UI guru so any help would be really gratefully received.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Rick Edwards&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Selecct two dates on datetimepickers </title><link>http://forums.asp.net/thread/3532128.aspx</link><pubDate>Wed, 25 Nov 2009 10:40:14 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3532128</guid><dc:creator>paulo32</dc:creator><author>paulo32</author><slash:comments>4</slash:comments><comments>http://forums.asp.net/thread/3532128.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=130&amp;PostID=3532128</wfw:commentRss><description>&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Hello &lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;I need to select two dates on two datetime pickers, but i still not get it.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;Can somme one help me ? here is my code :&lt;/font&gt;&lt;font size="2"&gt;&lt;/p&gt;
&lt;p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Private&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Sub&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; Button86_Click(&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;ByVal&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; sender &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; System.Object, &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;ByVal&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; e &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; System.EventArgs) &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Handles&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; Button86.Click&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Dim&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; dwEnrollNumber &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Long&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;&amp;nbsp;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Dim&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; name &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;String&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;&amp;nbsp;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Dim&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; password &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;String&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;&amp;nbsp;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Dim&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; privileg &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Long&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;&amp;nbsp;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Dim&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; enabled &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Boolean&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Dim&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; conexaoMySQL &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; MySqlConnection&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Dim&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; daMySQL &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; MySqlDataAdapter&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Dim&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; dsMySQL &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; DataSet&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Dim&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; strSQL &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;String&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt; &lt;/p&gt;
&lt;p&gt;conexaoMySQL=&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;New&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; MySqlConnection(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;server=localhost; user id=root; password=root; database=teste&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;)&lt;/font&gt;&lt;/p&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Dim&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; query &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;String&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; = &lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;SELECT * FROM MARCAOES1 WHERE DATAS=&amp;#39;&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; + DateTimePicker16.Text + &lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;&amp;#39; AND &amp;#39;&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; + DateTimePicker17.Text + &lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;&amp;#39; &amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Dim&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; connection &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;New&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; MySqlConnection(connStr)&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Dim&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; da &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;New&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; MySqlDataAdapter(query, connection)&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Dim&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; ds3 &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;New&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; DataSet()&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;If&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; da.Fill(ds3) &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Then&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/p&gt;
&lt;p&gt;DataGridView5.DataSource = ds3.Tables(0)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;conexaoMySQL.Open()&lt;/p&gt;
&lt;p&gt;conexaoMySQL.Close()&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;End&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Sub&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff" size="2"&gt;Paulo&lt;/font&gt;&lt;/p&gt;</description></item><item><title>how to close popup window and insert together on button click event</title><link>http://forums.asp.net/thread/3533849.aspx</link><pubDate>Thu, 26 Nov 2009 06:53:22 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3533849</guid><dc:creator>Associate</dc:creator><author>Associate</author><slash:comments>1</slash:comments><comments>http://forums.asp.net/thread/3533849.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=130&amp;PostID=3533849</wfw:commentRss><description>&lt;p&gt;Hello all,&lt;/p&gt;&lt;p&gt;I have a parent page and open a popup window on a hyperlink,In my popupwindow i have to insert image in database and after &lt;/p&gt;&lt;p&gt;insertion i need to close popup and refresh parent page,that i do in this way::&lt;/p&gt;&lt;p&gt;protected void btninsert_Click(object sender, EventArgs e)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; try&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; objDBInterface.InsertTempLogo(objUserTempLogo, UserId, out msg, out sysMsg);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (msg == &amp;quot;Success&amp;quot;)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; btninsert.Attributes.Add(&amp;quot;onclick&amp;quot;, &amp;quot;refreshParent();&amp;quot;);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; catch (Exception ex)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Trace.Warn(ex.Message);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;&lt;p&gt;refreshParent(); is javascript which i am calling on .aspx page to refresh parent window,&lt;/p&gt;&lt;p&gt;All this is working fine but my problem is that I have to click button two times,when first time button is clicked value inserted in database and on second time it closes the popup and refresh parent page so that i can be able to display image on parent page&lt;/p&gt;&lt;p&gt;I have also tried in following way::but at this time value is not inserted and popup closes with parent refresh.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;.aspx Page&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;lt;asp:Button CssClass=&amp;quot;button3&amp;quot; ID=&amp;quot;btninsert&amp;quot; runat=&amp;quot;server&amp;quot; Text=&amp;quot;Insert Image&amp;quot; OnClientClick=&amp;quot;refreshParent();&amp;quot; OnClick=&amp;quot;btninsert_Click&amp;quot; /&amp;gt;&lt;/p&gt;&lt;p&gt;in .Cs Page&lt;br /&gt;&lt;/p&gt;&lt;p&gt;protected void btninsert_Click(object sender, EventArgs e)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; try&lt;/p&gt;&lt;p&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; objDBInterface.InsertTempLogo(objUserTempLogo, UserId, out msg, out sysMsg);&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; catch (Exception ex)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Trace.Warn(ex.Message);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;&lt;p&gt;Is there any possibility that I can do both (insertion and close popup with parent refresh)on one click?????&lt;/p&gt;&lt;p&gt;Is there any other way to display image on parent page without saving it to database,means can i be able to just pass image name by javascript and display it in parent page since i do not have to save image in database by insert image from popup ,i have another button in parent page to save image in db,popup only allow user to select image from a list of images????&lt;/p&gt;&lt;p&gt;I am using VS 2.0,C# with sql server db,&lt;/p&gt;&lt;p&gt;If anybody have solution plz help.................................... &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Drag and drop / Gridviews</title><link>http://forums.asp.net/thread/3534242.aspx</link><pubDate>Thu, 26 Nov 2009 10:40:53 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3534242</guid><dc:creator>DotNet2010</dc:creator><author>DotNet2010</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3534242.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=130&amp;PostID=3534242</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi, &lt;/p&gt;
&lt;p&gt;I&amp;#39;m looking for a way to move multi selected rows from one gridview to another and in oppose direction&lt;/p&gt;
&lt;p&gt;By drag and drop&lt;/p&gt;</description></item></channel></rss>