﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - WebGrid Enterprise - WebButton issue</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebButton-issue/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>WebButton issue</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebButton-issue/</link><pubDate>Wed, 01 Dec 2010 22:29:32 GMT</pubDate><dc:creator>qq397472251</dc:creator><category>WebButton</category><category>issue</category><category>firefox.</category><description>&lt;p&gt;Any way,thanks Handy!&lt;/p&gt;</description></item><item><title>WebButton issue</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebButton-issue/</link><pubDate>Wed, 01 Dec 2010 16:04:33 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><category>WebButton</category><category>issue</category><category>firefox.</category><description>&lt;p&gt;Hello Frank,&lt;/p&gt;
&lt;p&gt;Please try to call alert with using timeout in firefox. &lt;/p&gt;
&lt;p&gt;E.g&lt;/p&gt;&lt;pre&gt;   function WebButton1_OnClientClick(controlId, parameter)
        {
            var WebButton1 = ISGetObject(controlId);
            window.setTimeout(function () { alert("1"); }, 100);
            return true;
        }

        &amp;lt;ISWebDesktop:WebButton ID="WebButton1" runat="server" Height="20px" OnClientClick="WebButton1_OnClientClick"
            Text="WebButton" &amp;gt;
&lt;/pre&gt;
&lt;p&gt;As I said before, it is browser behaviour. When it returns error from mozila. the page would postback.&lt;br /&gt;Somehow, in mozila, calliing alert directly would also returns an error. If you put timeout, you will that the page won't postback.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>WebButton issue</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebButton-issue/</link><pubDate>Tue, 30 Nov 2010 20:16:04 GMT</pubDate><dc:creator>qq397472251</dc:creator><category>WebButton</category><category>issue</category><category>firefox.</category><description>&lt;p&gt;I am so sad to hear that!&lt;br /&gt;I think I will use "alert()" usually.&lt;br /&gt;But when I use HtmlButton,it display normal   on fireFox.&lt;/p&gt;&lt;pre&gt;  &amp;lt;input id="Button1" type="button" onclick="myalert()" value="htmlBtn" /&amp;gt;
 function myalert()
    {
  alert(1);
    }&lt;/pre&gt;</description></item><item><title>WebButton issue</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebButton-issue/</link><pubDate>Tue, 30 Nov 2010 16:57:17 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><category>WebButton</category><category>issue</category><category>firefox.</category><description>&lt;p&gt;Hello Frank,&lt;/p&gt;
&lt;p&gt;If I am not mistaken, this is a default behaviour from the browser itself.&lt;br /&gt;Mozila would postback the page if there is an error in the script or process. However, when WebButton calls alert, mozila will assume it as an error result. If you don't use any alerts but set the text/value or call the function from WebButton click, it surely works well.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>WebButton issue</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebButton-issue/</link><pubDate>Tue, 30 Nov 2010 02:53:57 GMT</pubDate><dc:creator>qq397472251</dc:creator><category>WebButton</category><category>issue</category><category>firefox.</category><description>When I use WebButton&amp;nbsp; &lt;strong&gt;as a client button&lt;/strong&gt;:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&amp;lt;ISWebDesktop:WebButton ID="WebButton1" runat="server" Height="20px" Width="46px"
Text="save" OnClientClick="test()" AutoPostback="false"&amp;gt;
&amp;lt;/ISWebDesktop:WebButton&amp;gt;                                                             
&amp;lt;script&amp;gt;
function test()
 {alert(1);}
&amp;lt;/script&amp;gt;&lt;/pre&gt;
&lt;p&gt;The WebButton1 display normal on IE8.0,but it display  unnormal  on firefox 3.6.10.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;(when I click the WebButton1&amp;nbsp;,the page will be refreshed,how to &amp;nbsp;avoid it?)&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description></item></channel></rss>