<?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>Re: Raise server event from the client with javascript</title><link>http://forums.asp.net/thread/2363290.aspx</link><pubDate>Fri, 16 May 2008 21:32:51 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2363290</guid><dc:creator>vikas_mahajan</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2363290.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=130&amp;PostID=2363290</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hello,&lt;/p&gt;&lt;pre class="coloredcode"&gt;document.getElementById(&lt;span class="st"&gt;&amp;#39;btnHidden&amp;#39;&lt;/span&gt;).click();&lt;/pre&gt;&lt;pre class="coloredcode"&gt;the above javascript code doesn&amp;#39;t work in firefox though it works fine in IE.&lt;/pre&gt;&lt;pre class="coloredcode"&gt;Is there any workaround to make it work in firefox browser.&lt;/pre&gt;&lt;pre class="coloredcode"&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre class="coloredcode"&gt;Thanks in advance &lt;/pre&gt;&lt;pre class="coloredcode"&gt;~VM&amp;nbsp;&lt;/pre&gt;</description></item><item><title>Raise server event from the client with javascript</title><link>http://forums.asp.net/thread/1740042.aspx</link><pubDate>Tue, 05 Jun 2007 13:42:02 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1740042</guid><dc:creator>JoshStodola</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1740042.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=130&amp;PostID=1740042</wfw:commentRss><description>&lt;p&gt;The way I have always accomplished this....&lt;/p&gt;
&lt;p&gt;Put a hidden button on the form:&lt;/p&gt;&lt;pre class="coloredcode"&gt;    &amp;lt;&lt;span class="tag"&gt;asp:Button&lt;/span&gt;&lt;span class="attr"&gt; ID=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;btnHidden&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; runat=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;server&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; style=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;display:none;&amp;quot;&lt;/span&gt; /&amp;gt;&lt;/pre&gt;And the server-side code you want to execute goes in the code-behind for this button:&lt;pre class="coloredcode"&gt;    &lt;span class="kwd"&gt;Protected Sub&lt;/span&gt; btnHidden_Click(&lt;span class="kwd"&gt;ByVal&lt;/span&gt; sender &lt;span class="kwd"&gt;As Object&lt;/span&gt;, &lt;span class="kwd"&gt;ByVal&lt;/span&gt; e &lt;span class="kwd"&gt;As&lt;/span&gt; System.EventArgs) &lt;span class="kwd"&gt;Handles&lt;/span&gt; btnHidden.Click
        &lt;span class="cmt"&gt;&amp;#39;Code goes here
&lt;/span&gt;    &lt;span class="kwd"&gt;End Sub&lt;/span&gt;&lt;/pre&gt;Now, you can programmatically invoke the click of this button with javascript, which will fire the code-behind:&amp;nbsp;&amp;nbsp; &lt;pre class="coloredcode"&gt;    document.getElementById(&lt;span class="st"&gt;&amp;#39;btnHidden&amp;#39;&lt;/span&gt;).click();&lt;/pre&gt;&amp;nbsp;&amp;nbsp; 
&lt;p&gt;Hope this helps!&amp;nbsp; Don&amp;#39;t forget to mark the most helpful post(s) as &lt;strong&gt;Answer&lt;/strong&gt; for the sake of future readers.&lt;/p&gt;</description></item><item><title>Re: raise server event from the client</title><link>http://forums.asp.net/thread/1739889.aspx</link><pubDate>Tue, 05 Jun 2007 12:23:10 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1739889</guid><dc:creator>venkatzeus</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1739889.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=130&amp;PostID=1739889</wfw:commentRss><description>&lt;p&gt;HI..&lt;/p&gt;
&lt;p&gt;please check this:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://msdn2.microsoft.com/en-us/library/ms227426.aspx"&gt;http://msdn2.microsoft.com/en-us/library/ms227426.aspx&lt;/a&gt;&lt;/p&gt;</description></item><item><title>raise server event from the client</title><link>http://forums.asp.net/thread/1739731.aspx</link><pubDate>Tue, 05 Jun 2007 10:17:02 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1739731</guid><dc:creator>yanivhanya</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1739731.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=130&amp;PostID=1739731</wfw:commentRss><description>&lt;p&gt;i have control that i use to raise mostlly javascript events, but in one condition i need to go to the server, how can i raise server event using javascript?&lt;/p&gt;</description></item></channel></rss>