<?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>Web Forms</title><link>http://forums.asp.net/18.aspx</link><description>All about building ASP.NET Pages - server controls, events, validation, etc.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: ImageButton on Command - not firing</title><link>http://forums.asp.net/thread/3308355.aspx</link><pubDate>Wed, 22 Jul 2009 18:47:07 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3308355</guid><dc:creator>BenHur</dc:creator><author>BenHur</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3308355.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=3308355</wfw:commentRss><description>&lt;p&gt;Thanks a lot for your help.&lt;/p&gt;&lt;p&gt;Seems to work like a charm, now.&lt;/p&gt;&lt;p&gt;The conclusion is to use ViewState for this kind of operation.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Thanks again.&lt;/p&gt;</description></item><item><title>Re: ImageButton on Command - not firing</title><link>http://forums.asp.net/thread/3275776.aspx</link><pubDate>Mon, 06 Jul 2009 02:26:48 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3275776</guid><dc:creator>Gary yang - MSFT</dc:creator><author>Gary yang - MSFT</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3275776.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=3275776</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi BenHur,&lt;/p&gt;
&lt;p&gt;Based on your description, it seems that you want to re-load and bing data to the Repeater with different condition. Actually, please try to fire the outside event of UpdatePanel with &lt;strong&gt;AsyncPostBackTrigger/PostBackTrigger&lt;/strong&gt;. And please refer to the following code:&lt;/p&gt;
&lt;p&gt;1.&amp;nbsp;I put a LinkButton outside UpdatePanel and regist it in UpdatePanel with AsyncPostBackTrigger(if you want to post back you can regist it with PostBackTrigger).&lt;/p&gt;
&lt;p&gt;2. Add related event on behind.&lt;/p&gt;
&lt;p&gt;//HTML&lt;/p&gt;&lt;pre class="xhtml:nogutter" name="code"&gt;&amp;lt;html xmlns=&amp;quot;http://www.w3.org/1999/xhtml&amp;quot;&amp;gt;
&amp;lt;head id=&amp;quot;Head1&amp;quot; runat=&amp;quot;server&amp;quot;&amp;gt;
    &amp;lt;title&amp;gt;Untitled Page&amp;lt;/title&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
    &amp;lt;form id=&amp;quot;form1&amp;quot; runat=&amp;quot;server&amp;quot;&amp;gt;
    &amp;lt;div&amp;gt;
       &amp;lt;AjaxToolkit:ToolkitScriptManager ID=&amp;quot;TSM&amp;quot; runat=&amp;quot;server&amp;quot;&amp;gt;
       &amp;lt;/AjaxToolkit:ToolkitScriptManager&amp;gt;
        &amp;lt;asp:UpdatePanel ID=&amp;quot;UpdatePanel1&amp;quot; runat=&amp;quot;server&amp;quot;&amp;gt;
        &amp;lt;ContentTemplate&amp;gt;
        
        
       &amp;lt;asp:Repeater ID=&amp;quot;rep_First&amp;quot; runat=&amp;quot;server&amp;quot; DataSourceID=&amp;quot;SqlDataSource1&amp;quot; 
            onitemcommand=&amp;quot;rep_First_ItemCommand&amp;quot;&amp;gt;
         &amp;lt;ItemTemplate&amp;gt;
         &amp;lt;table border=&amp;quot;1&amp;quot; width=&amp;quot;150px&amp;quot;&amp;gt;
           &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;
                &amp;lt;asp:Label ID=&amp;quot;Label1&amp;quot; runat=&amp;quot;server&amp;quot; Text=&amp;#39;&amp;lt;%#Eval(&amp;quot;CategoryName&amp;quot;) %&amp;gt;&amp;#39;&amp;gt;&amp;lt;/asp:Label&amp;gt;      
           &amp;lt;/td&amp;gt;
           &amp;lt;td&amp;gt;
               &amp;lt;asp:ImageButton ID=&amp;quot;ImageButton1&amp;quot; runat=&amp;quot;server&amp;quot; ImageUrl=&amp;quot;~/Image/x.jpg&amp;quot;
                CommandArgument=&amp;#39;&amp;lt;%#Eval(&amp;quot;CategoryID&amp;quot;) %&amp;gt;&amp;#39; CommandName=&amp;quot;Click&amp;quot; /&amp;gt;
           &amp;lt;/td&amp;gt;
           &amp;lt;/tr&amp;gt;
         &amp;lt;/table&amp;gt;
         &amp;lt;/ItemTemplate&amp;gt;
       &amp;lt;/asp:Repeater&amp;gt;
       &amp;lt;/ContentTemplate&amp;gt;
       &amp;lt;Triggers&amp;gt;
         &amp;lt;asp:AsyncPostBackTrigger ControlID=&amp;quot;LinkButton1&amp;quot;/&amp;gt;
       &amp;lt;/Triggers&amp;gt;
        &amp;lt;/asp:UpdatePanel&amp;gt;
        &amp;lt;asp:SqlDataSource ID=&amp;quot;SqlDataSource1&amp;quot; runat=&amp;quot;server&amp;quot; 
            ConnectionString=&amp;quot;&amp;lt;%$ ConnectionStrings:connstr %&amp;gt;&amp;quot; &amp;gt;&amp;lt;/asp:SqlDataSource&amp;gt;
        &amp;lt;asp:LinkButton ID=&amp;quot;LinkButton1&amp;quot; runat=&amp;quot;server&amp;quot; onclick=&amp;quot;LinkButton1_Click&amp;quot;&amp;gt;OutSiteUdatePanel&amp;lt;/asp:LinkButton&amp;gt;  
    &amp;lt;/div&amp;gt;
    &amp;lt;/form&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;&lt;/pre&gt;
&lt;p style="PADDING-LEFT:30px;"&gt;//code&lt;/p&gt;&lt;pre class="c-sharp:nogutter" name="code"&gt;using System;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

public partial class Test4 : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
            DataBinds();
    }
    void DataBinds()
    {
        string strSelect = string.Empty;
        int strID = ViewState[&amp;quot;ID&amp;quot;] == null ? -1 : int.Parse(ViewState[&amp;quot;ID&amp;quot;].ToString());
        if (strID &amp;gt; -1)
        {
            strSelect = &amp;quot;SELECT [CategoryName], [CategoryID] FROM [Categories] where [CategoryID]=&amp;quot; + strID;
        }
        else
            strSelect = &amp;quot;SELECT [CategoryName], [CategoryID] FROM [Categories] &amp;quot;;
        SqlDataSource1.SelectCommandType = SqlDataSourceCommandType.Text;
        SqlDataSource1.SelectCommand = strSelect;
    }
    protected void rep_First_ItemCommand(object source, RepeaterCommandEventArgs e)
    {
        if (e.CommandName == &amp;quot;Click&amp;quot;)
        {
            ViewState[&amp;quot;ID&amp;quot;] = e.CommandArgument;
            DataBinds();
        }
    }
    protected void LinkButton1_Click(object sender, EventArgs e)
    {
        ViewState[&amp;quot;ID&amp;quot;] = null;
        DataBinds();
    }
}&lt;/pre&gt;
&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: ImageButton on Command - not firing</title><link>http://forums.asp.net/thread/3275376.aspx</link><pubDate>Sun, 05 Jul 2009 13:16:55 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3275376</guid><dc:creator>BenHur</dc:creator><author>BenHur</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3275376.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=3275376</wfw:commentRss><description>&lt;p&gt;Hi Gary,&lt;/p&gt;&lt;p&gt;Firstly, thanks for your patience with this problem.&lt;/p&gt;&lt;p&gt;You code is succesfully working but my scenario is a little bit more complex.&lt;/p&gt;&lt;p&gt;I will not put my entire page here because i have over 1000 lines of code but i do put only the thing that shows you&amp;nbsp;that i really need calling DataBind on my repeater:&lt;/p&gt;&lt;p&gt;So, on your example i put another Link Button outside of the updatePanel.&lt;/p&gt;&lt;p&gt;When clicking this link btn a full postback is being done.&amp;nbsp;&lt;/p&gt;&lt;p&gt;And i put this in page load:&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;pre name="code" class="c-sharp"&gt; if (!IsPostBack)
            DataBinds();
        else
        {
            SqlDataSource1.SelectCommandType = SqlDataSourceCommandType.Text;
            SqlDataSource1.SelectCommand = &amp;quot;SELECT [Nume], [Categorii_id] FROM [Categorii] &amp;quot;;
            //DataBind();
        }&lt;/pre&gt;&lt;p&gt;&lt;br /&gt;If you press the ImgBtn from the updatepanel, in our scenario it shows &lt;b&gt;only one category&lt;/b&gt;. And after that,&lt;/p&gt;&lt;p&gt;if i press this lnk btn it takes the new sql command (proved with debug) but without the DataBind() applied to the repeater it shows only that one category for previous rendering.&amp;nbsp;&lt;/p&gt;&lt;p&gt;Can you test and prove if i am right?&lt;/p&gt;&lt;p&gt;&lt;i&gt;Another chance would be to delete the previous state of the repeater and force it to do a refresh&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;every time when the page is postbacked, but i do not know how....&lt;/i&gt;&lt;/p&gt;&lt;p&gt;Thanks a lot&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: ImageButton on Command - not firing</title><link>http://forums.asp.net/thread/3274759.aspx</link><pubDate>Sat, 04 Jul 2009 15:05:21 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3274759</guid><dc:creator>Gary yang - MSFT</dc:creator><author>Gary yang - MSFT</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3274759.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=3274759</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi BenHur,&lt;/p&gt;
&lt;p&gt;Here, I create a whole demo that you can refer to, if you have any problem, please post your whole code for us checking.&lt;/p&gt;&lt;pre class="xhtml:nogutter" name="code"&gt;&amp;lt;html xmlns=&amp;quot;http://www.w3.org/1999/xhtml&amp;quot;&amp;gt;
&amp;lt;head runat=&amp;quot;server&amp;quot;&amp;gt;
    &amp;lt;title&amp;gt;Untitled Page&amp;lt;/title&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
    &amp;lt;form id=&amp;quot;form1&amp;quot; runat=&amp;quot;server&amp;quot;&amp;gt;
    &amp;lt;div&amp;gt;
       &amp;lt;AjaxToolkit:ToolkitScriptManager ID=&amp;quot;TSM&amp;quot; runat=&amp;quot;server&amp;quot;&amp;gt;
       &amp;lt;/AjaxToolkit:ToolkitScriptManager&amp;gt;
        &amp;lt;asp:UpdatePanel ID=&amp;quot;UpdatePanel1&amp;quot; runat=&amp;quot;server&amp;quot;&amp;gt;
        &amp;lt;ContentTemplate&amp;gt;
        
        
       &amp;lt;asp:Repeater ID=&amp;quot;rep_First&amp;quot; runat=&amp;quot;server&amp;quot; DataSourceID=&amp;quot;SqlDataSource1&amp;quot; 
            onitemcommand=&amp;quot;rep_First_ItemCommand&amp;quot;&amp;gt;
         &amp;lt;ItemTemplate&amp;gt;
         &amp;lt;table border=&amp;quot;1&amp;quot; width=&amp;quot;150px&amp;quot;&amp;gt;
           &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;
                &amp;lt;asp:Label ID=&amp;quot;Label1&amp;quot; runat=&amp;quot;server&amp;quot; Text=&amp;#39;&amp;lt;%#Eval(&amp;quot;CategoryName&amp;quot;) %&amp;gt;&amp;#39;&amp;gt;&amp;lt;/asp:Label&amp;gt;      
           &amp;lt;/td&amp;gt;
           &amp;lt;td&amp;gt;
               &amp;lt;asp:ImageButton ID=&amp;quot;ImageButton1&amp;quot; runat=&amp;quot;server&amp;quot; ImageUrl=&amp;quot;~/Image/x.jpg&amp;quot;
                CommandArgument=&amp;#39;&amp;lt;%#Eval(&amp;quot;CategoryID&amp;quot;) %&amp;gt;&amp;#39; CommandName=&amp;quot;Click&amp;quot; /&amp;gt;
           &amp;lt;/td&amp;gt;
           &amp;lt;/tr&amp;gt;
         &amp;lt;/table&amp;gt;
         &amp;lt;/ItemTemplate&amp;gt;
       &amp;lt;/asp:Repeater&amp;gt;
       &amp;lt;/ContentTemplate&amp;gt;
        &amp;lt;/asp:UpdatePanel&amp;gt;
        &amp;lt;asp:SqlDataSource ID=&amp;quot;SqlDataSource1&amp;quot; runat=&amp;quot;server&amp;quot; 
            ConnectionString=&amp;quot;&amp;lt;%$ ConnectionStrings:FirstString %&amp;gt;&amp;quot; &amp;gt;&amp;lt;/asp:SqlDataSource&amp;gt;
            
    &amp;lt;/div&amp;gt;
    &amp;lt;/form&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/pre&gt;
&lt;p style="PADDING-LEFT:30px;"&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Code:&lt;/p&gt;&lt;pre class="c-sharp:nogutter" name="code"&gt;using System;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

public partial class _Default : System.Web.UI.Page 
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
            DataBinds();
    }
    void DataBinds()
    {
        string strSelect = string.Empty;
        int strID = ViewState[&amp;quot;ID&amp;quot;] == null ? -1 : int.Parse(ViewState[&amp;quot;ID&amp;quot;].ToString());
        if (strID &amp;gt; -1)
        {
            strSelect = &amp;quot;SELECT [CategoryName], [CategoryID] FROM [Categories] where [CategoryID]=&amp;quot; + strID;
        }
        else
            strSelect = &amp;quot;SELECT [CategoryName], [CategoryID] FROM [Categories] &amp;quot;;
        SqlDataSource1.SelectCommandType = SqlDataSourceCommandType.Text;
        SqlDataSource1.SelectCommand = strSelect;
    }
    protected void rep_First_ItemCommand(object source, RepeaterCommandEventArgs e)
    {
        if (e.CommandName == &amp;quot;Click&amp;quot;)
        {
            ViewState[&amp;quot;ID&amp;quot;] = e.CommandArgument;
            DataBinds();
        }
    }
}
&lt;/pre&gt;
&lt;p style="PADDING-LEFT:30px;"&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: ImageButton on Command - not firing</title><link>http://forums.asp.net/thread/3274541.aspx</link><pubDate>Sat, 04 Jul 2009 10:18:33 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3274541</guid><dc:creator>BenHur</dc:creator><author>BenHur</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3274541.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=3274541</wfw:commentRss><description>&lt;p&gt;Not solved yet....&lt;/p&gt;&lt;p&gt;Any suggestions?&lt;/p&gt;</description></item><item><title>Re: ImageButton on Command - not firing</title><link>http://forums.asp.net/thread/3273871.aspx</link><pubDate>Fri, 03 Jul 2009 17:31:36 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3273871</guid><dc:creator>BenHur</dc:creator><author>BenHur</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3273871.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=3273871</wfw:commentRss><description>&lt;p&gt;Hi Gary,&lt;/p&gt;&lt;p&gt;I took your example, put it to my page and was not running...&lt;/p&gt;&lt;p&gt;I made a NEW page, only with your example and it was running !!!!&lt;/p&gt;&lt;p&gt;After another hour of struggling my head with the code...i discovered the point.&lt;/p&gt;&lt;p&gt;Why my function (your or that old mine) was not firing????&lt;/p&gt;&lt;p&gt;Because i manually put a SELECT command to my datasource and after that i bind it to the repeater.&lt;/p&gt;&lt;p&gt;And if i call &lt;span style="font-weight:bold;" class="Apple-style-span"&gt;repeaterDetalii.DataBind() &lt;/span&gt;(this my repeater which contains the ImageButton...and this repeater is a child of an updatePanel like said before), &lt;u&gt;&lt;span style="font-weight:bold;" class="Apple-style-span"&gt;the method for the ImageButton Click is no longer fired.&lt;/span&gt;&lt;/u&gt;&lt;/p&gt;&lt;p&gt;If i comment //repeaterDetalii.DataBind() it works like a charm!!&lt;/p&gt;&lt;p&gt;Do you know why this things happen? I mention that i need to call the refresh of my repeater for some operation&lt;/p&gt;&lt;p&gt;when changing the select!&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Please let me know if you have any solution.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;pre name="code" class="c-sharp"&gt; public void getCarti()
    {
        sqlDataSourceCarti.SelectCommand = select;
        sqlDataSourceCarti.DataBind();
        //repeaterDetalii.DataBind();
        repeaterImagini.DataBind();
        //aici punem curentpage ca fiind lastPage
        Session[&amp;quot;lastPage&amp;quot;] = currentPage;
        UpdatePanelSortTop.Update();
    }&lt;/pre&gt;&lt;p&gt;&lt;br /&gt;Gary you can just try to put Repeater1.DataBind() in your Page_Load method, and you&amp;#39;ll see that your example is no longer working........&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: ImageButton on Command - not firing</title><link>http://forums.asp.net/thread/3270132.aspx</link><pubDate>Thu, 02 Jul 2009 02:36:05 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3270132</guid><dc:creator>Gary yang - MSFT</dc:creator><author>Gary yang - MSFT</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3270132.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=3270132</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/fan/images/icon-quote.gif"&gt; &lt;strong&gt;BenHur:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt; 
&lt;p&gt;So i have an UpdatePanel set to Conditional.&lt;/p&gt;
&lt;p&gt;Inside it, i have a Repeater which contains that Image Button&lt;/p&gt;
&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;Based on your description, it seems that you want to fire the Click event of ImageButton which host in Repeater. If this is the case, I suggest you solve it by using &lt;strong&gt;Repeater1_ItemCommand&lt;/strong&gt; event instead of ImageButton_Click. Please refer to the following code:&lt;/p&gt;&lt;pre class="c-sharp:nogutter" name="code"&gt;    &amp;lt;form id=&amp;quot;form1&amp;quot; runat=&amp;quot;server&amp;quot;&amp;gt;
    &amp;lt;asp:ScriptManager ID=&amp;quot;ScriptManager1&amp;quot; runat=&amp;quot;server&amp;quot;&amp;gt;
    &amp;lt;/asp:ScriptManager&amp;gt;
    &amp;lt;asp:UpdatePanel ID=&amp;quot;UpdatePanel1&amp;quot; runat=&amp;quot;server&amp;quot;&amp;gt;
     &amp;lt;ContentTemplate&amp;gt;
         &amp;lt;asp:Repeater ID=&amp;quot;Repeater1&amp;quot; runat=&amp;quot;server&amp;quot; DataSourceID=&amp;quot;SqlDataSource1&amp;quot; 
             onitemcommand=&amp;quot;Repeater1_ItemCommand&amp;quot; &amp;gt;
         &amp;lt;ItemTemplate&amp;gt;
          &amp;lt;table&amp;gt;
            &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;
               &amp;lt;asp:ImageButton ID=&amp;quot;ImageButton1&amp;quot; runat=&amp;quot;server&amp;quot;    
                        ImageUrl=&amp;quot;~/Images/aspdotnet.png&amp;quot;    
                        CommandName=&amp;quot;Click&amp;quot;    
                        CommandArgument=&amp;#39;&amp;lt;%#Eval(&amp;quot;CategoryID&amp;quot;) %&amp;gt;&amp;#39; /&amp;gt;  
                         &amp;lt;asp:Label ID=&amp;quot;Label1&amp;quot; runat=&amp;quot;server&amp;quot; Text=&amp;quot;Label&amp;quot;&amp;gt;&amp;lt;/asp:Label&amp;gt;
            &amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;
          &amp;lt;/table&amp;gt;   
         &amp;lt;/ItemTemplate&amp;gt;
         &amp;lt;/asp:Repeater&amp;gt;
     &amp;lt;/ContentTemplate&amp;gt;
    &amp;lt;/asp:UpdatePanel&amp;gt;
    &amp;lt;asp:SqlDataSource ID=&amp;quot;SqlDataSource1&amp;quot; runat=&amp;quot;server&amp;quot; 
        ConnectionString=&amp;quot;&amp;lt;%$ ConnectionStrings:connstr %&amp;gt;&amp;quot; 
        SelectCommand=&amp;quot;SELECT [CategoryID], [CategoryName] FROM [Categories]&amp;quot;&amp;gt;&amp;lt;/asp:SqlDataSource&amp;gt;
    &amp;lt;/form&amp;gt;&lt;/pre&gt;
&lt;p style="PADDING-LEFT:30px;"&gt;Code:&lt;/p&gt;&lt;pre class="c-sharp:nogutter" name="code"&gt;    protected void Repeater1_ItemCommand(object source, RepeaterCommandEventArgs e)
    {
        if (e.CommandName == &amp;quot;Click&amp;quot;)
        {
            Label obj = e.Item.FindControl(&amp;quot;Label1&amp;quot;) as Label;
            obj.Text = e.CommandArgument as string;
        }
    }&lt;/pre&gt;
&lt;p style="PADDING-LEFT:30px;"&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: ImageButton on Command - not firing</title><link>http://forums.asp.net/thread/3269704.aspx</link><pubDate>Wed, 01 Jul 2009 19:25:39 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3269704</guid><dc:creator>BenHur</dc:creator><author>BenHur</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3269704.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=3269704</wfw:commentRss><description>&lt;p&gt;It&amp;#39;s not putted in !isPostBack. It is running every time the page loads.&lt;/p&gt;</description></item><item><title>Re: ImageButton on Command - not firing</title><link>http://forums.asp.net/thread/3269699.aspx</link><pubDate>Wed, 01 Jul 2009 19:22:11 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3269699</guid><dc:creator>mudassarkhan</dc:creator><author>mudassarkhan</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3269699.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=3269699</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/fan/images/icon-quote.gif"&gt; &lt;strong&gt;BenHur:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt; 
&lt;div class="bar"&gt;
&lt;div class="tools"&gt;&lt;a&gt;view plain&lt;/a&gt;&lt;a&gt;copy to clipboard&lt;/a&gt;&lt;a&gt;print&lt;/a&gt;&lt;a&gt;?&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;
&lt;ol class="dp-c"&gt;
&lt;li class="alt"&gt;&lt;span&gt;&lt;span&gt;Repeater&amp;nbsp;repeaterDetalii&amp;nbsp;=&amp;nbsp;(Repeater)Tab1.FindControl(&lt;/span&gt;&lt;span class="string"&gt;&amp;quot;repeaterDetalii&amp;quot;&lt;/span&gt;&lt;span&gt;); &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="keyword"&gt;foreach&lt;/span&gt;&lt;span&gt;&amp;nbsp;(RepeaterItem&amp;nbsp;rptItem&amp;nbsp;&lt;/span&gt;&lt;span class="keyword"&gt;in&lt;/span&gt;&lt;span&gt;&amp;nbsp;repeaterDetalii.Items) &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{ &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ImageButton&amp;nbsp;imgBtnWishList&amp;nbsp;=&amp;nbsp;(ImageButton)rptItem.FindControl(&lt;/span&gt;&lt;span class="string"&gt;&amp;quot;imgBtnWishList&amp;quot;&lt;/span&gt;&lt;span&gt;); &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;AsyncPostBackTrigger&amp;nbsp;triggerWishList&amp;nbsp;=&amp;nbsp;&lt;/span&gt;&lt;span class="keyword"&gt;new&lt;/span&gt;&lt;span&gt;&amp;nbsp;AsyncPostBackTrigger(); &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="comment"&gt;//triggerWishList.EventName&amp;nbsp;=&amp;nbsp;&amp;quot;Click&amp;quot;; &lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;triggerWishList.ControlID&amp;nbsp;=&amp;nbsp;imgBtnWishList.UniqueID.ToString(); &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;UpdatePanelSortTop.Triggers.Add(triggerWishList); &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;_scriptMan.RegisterAsyncPostBackControl(imgBtnWishList); &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If this part is present in &lt;/p&gt;
&lt;p&gt;!isPostBack condition remove from it so that it is executed on each request&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;</description></item><item><title>Re: ImageButton on Command - not firing</title><link>http://forums.asp.net/thread/3269684.aspx</link><pubDate>Wed, 01 Jul 2009 19:15:59 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3269684</guid><dc:creator>BenHur</dc:creator><author>BenHur</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3269684.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=3269684</wfw:commentRss><description>&lt;p&gt;Sorry, but i do not understand what you mean.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;So i have an UpdatePanel set to Conditional.&lt;/p&gt;&lt;p&gt;Inside it, i have a Repeater which contains that Image Button&lt;/p&gt;&lt;p&gt;I put: &lt;/p&gt;&lt;div style="position:absolute;left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden;" id="_mcePaste"&gt;&amp;lt;asp:ImageButton ID=&amp;quot;imgBtnWishList&amp;quot; runat=&amp;quot;server&amp;quot;&amp;nbsp;&lt;/div&gt;
&lt;div style="position:absolute;left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden;" id="_mcePaste"&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;OnClick=&amp;quot;addProductToWishList&amp;quot;&amp;nbsp;&lt;/div&gt;
&lt;div style="position:absolute;left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden;" id="_mcePaste"&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;ImageUrl=&amp;quot;../Site/images/featured-wishlist.jpg&amp;quot;&amp;nbsp;&lt;/div&gt;
&lt;div style="position:absolute;left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden;" id="_mcePaste"&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;gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;pre name="code" class="xhtml"&gt;&amp;lt;asp:ImageButton ID=&amp;quot;imgBtnWishList&amp;quot; runat=&amp;quot;server&amp;quot; 
                        OnClick=&amp;quot;addProductToWishList&amp;quot; 
                        ImageUrl=&amp;quot;../Site/images/featured-wishlist.jpg&amp;quot; 
                        /&amp;gt;&lt;/pre&gt;&lt;p&gt;&lt;br /&gt;When the page is loading i register this ImageButton for the UpdatePanel as trigger:&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;pre name="code" class="c-sharp"&gt; Repeater repeaterDetalii = (Repeater)Tab1.FindControl(&amp;quot;repeaterDetalii&amp;quot;);

        foreach (RepeaterItem rptItem in repeaterDetalii.Items)
        {
            ImageButton imgBtnWishList = (ImageButton)rptItem.FindControl(&amp;quot;imgBtnWishList&amp;quot;);
            AsyncPostBackTrigger triggerWishList = new AsyncPostBackTrigger();
            //triggerWishList.EventName = &amp;quot;Click&amp;quot;;
            triggerWishList.ControlID = imgBtnWishList.UniqueID.ToString();
            UpdatePanelSortTop.Triggers.Add(triggerWishList);
            _scriptMan.RegisterAsyncPostBackControl(imgBtnWishList);
        }&lt;/pre&gt;&lt;p&gt;&lt;br /&gt;And when the image button is clicked is should fire this method:&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;pre name="code" class="c-sharp"&gt; public void addProductToWishList(object sender, EventArgs e)
    {
        ImageButton imgButton = (ImageButton)(sender);
        RepeaterItem rptParentItem = (RepeaterItem)imgButton.Parent;


        ImageButton imgBtnWishList = (ImageButton)sender;
        RepeaterItem repetear = (RepeaterItem)imgBtnWishList.Parent;

        if (MySession.Current.userId != 0)
        {
            int userId = MySession.Current.userId;
            wishQ.insertInWishList(userId, utils.getCategoryAliasById(category), getProductId(rptParentItem.ItemIndex));
        }
        else
        //
        {
            ModalPopupExtender loginPopUp = (ModalPopupExtender)Page.FindControl(&amp;quot;loginPopUp&amp;quot;);
            loginPopUp.Show();
        }

    }&lt;/pre&gt;&lt;p&gt;&lt;br /&gt;That&amp;#39;s all. If i put the ImageButton outside the UpdatePanel and comment the lines that triggers it,&lt;/p&gt;&lt;p&gt;it causes a postback and the method is fired.&lt;/p&gt;&lt;p&gt;But within the UpdatePanel, as i showed above the method is not FIRED :((&lt;/p&gt;&lt;p&gt;.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Anyone knows WHY???&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&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>Re: ImageButton on Command - not firing</title><link>http://forums.asp.net/thread/3269655.aspx</link><pubDate>Wed, 01 Jul 2009 18:59:09 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3269655</guid><dc:creator>mudassarkhan</dc:creator><author>mudassarkhan</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3269655.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=3269655</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;It will not fire the event unless the eent is binded to the control before the click event handler is called&lt;/p&gt;
&lt;p&gt;meaning every time you needto bind the event when the button is clicked&amp;nbsp;and then only the event wil get called&lt;/p&gt;</description></item><item><title>Re: ImageButton on Command - not firing</title><link>http://forums.asp.net/thread/3269540.aspx</link><pubDate>Wed, 01 Jul 2009 17:59:25 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3269540</guid><dc:creator>BenHur</dc:creator><author>BenHur</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3269540.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=3269540</wfw:commentRss><description>&lt;p&gt;Yes, u are right.&lt;/p&gt;&lt;p&gt;Now the image button fires the method when clicked and do a postback too.&lt;/p&gt;&lt;p&gt;BUT if i put it inside the UpdatePanel and register the control like i showed above,&lt;/p&gt;&lt;p&gt;it no longer fires...&lt;/p&gt;&lt;p&gt;Do u know why?&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: ImageButton on Command - not firing</title><link>http://forums.asp.net/thread/3269501.aspx</link><pubDate>Wed, 01 Jul 2009 17:39:22 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3269501</guid><dc:creator>mudassarkhan</dc:creator><author>mudassarkhan</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3269501.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=3269501</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;You can get command argument on onclick event too&lt;/p&gt;
&lt;p&gt;refer my article&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.aspsnippets.com/post/2009/06/27/ASPNet-GridView-Get-Row-Index-on-RowCommand-and-Click-events.aspx"&gt;http://www.aspsnippets.com/post/2009/06/27/ASPNet-GridView-Get-Row-Index-on-RowCommand-and-Click-events.aspx&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: ImageButton on Command - not firing</title><link>http://forums.asp.net/thread/3269469.aspx</link><pubDate>Wed, 01 Jul 2009 17:17:23 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3269469</guid><dc:creator>BenHur</dc:creator><author>BenHur</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3269469.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=3269469</wfw:commentRss><description>&lt;p&gt;Hi&amp;nbsp;&lt;a style="color:#034efa;" href="http://forums.asp.net/members/mudassarkhan.aspx"&gt;mudassarkhan&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a style="color:#034efa;" href="http://forums.asp.net/members/mudassarkhan.aspx"&gt;I&lt;/a&gt;&amp;nbsp;cannot use OnClick event because i need to send this&amp;nbsp;CommandArgument=&amp;quot;&amp;lt;%# Container.ItemIndex%&amp;gt;&amp;quot;&lt;/p&gt;&lt;p&gt;because i need it in the method.&lt;/p&gt;</description></item><item><title>Re: ImageButton on Command - not firing</title><link>http://forums.asp.net/thread/3269464.aspx</link><pubDate>Wed, 01 Jul 2009 17:15:35 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3269464</guid><dc:creator>BenHur</dc:creator><author>BenHur</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3269464.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=3269464</wfw:commentRss><description>&lt;p&gt;My ImageButton is inside a repeater which is inside an UpdatePanel.&lt;/p&gt;&lt;p&gt;I have registered as postback trigger like i;ve made for other buttons that worked.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;pre name="code" class="c-sharp"&gt;Repeater repeaterDetalii = (Repeater)Tab1.FindControl(&amp;quot;repeaterDetalii&amp;quot;);

        foreach (RepeaterItem rptItem in repeaterDetalii.Items)
        {
            ImageButton imgBtnWishList = (ImageButton)rptItem.FindControl(&amp;quot;imgBtnWishList&amp;quot;);
            AsyncPostBackTrigger triggerWishList = new AsyncPostBackTrigger();
            //triggerWishList.EventName = &amp;quot;Click&amp;quot;;
            triggerWishList.ControlID = imgBtnWishList.UniqueID.ToString();
            UpdatePanelSortTop.Triggers.Add(triggerWishList);
            _scriptMan.RegisterAsyncPostBackControl(imgBtnWishList);
        }&lt;/pre&gt;&lt;p&gt;&lt;br /&gt;But the problem is the same.&lt;/p&gt;&lt;p&gt;My method (although i put it protected) still does not work.&lt;/p&gt;&lt;p&gt;I put breakpoints before started this thread but the method is not firing...&lt;/p&gt;&lt;p&gt;Any other advice?&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="position:absolute;left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden;" id="_mcePaste"&gt;Repeater repeaterDetalii = (Repeater)Tab1.FindControl(&amp;quot;repeaterDetalii&amp;quot;);&lt;/div&gt;
&lt;div style="position:absolute;left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden;" id="_mcePaste"&gt;&lt;/div&gt;
&lt;div style="position:absolute;left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden;" id="_mcePaste"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;foreach (RepeaterItem rptItem in repeaterDetalii.Items)&lt;/div&gt;
&lt;div style="position:absolute;left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden;" id="_mcePaste"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/div&gt;
&lt;div style="position:absolute;left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden;" id="_mcePaste"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ImageButton imgBtnWishList = (ImageButton)rptItem.FindControl(&amp;quot;imgBtnWishList&amp;quot;);&lt;/div&gt;
&lt;div style="position:absolute;left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden;" id="_mcePaste"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;AsyncPostBackTrigger triggerWishList = new AsyncPostBackTrigger();&lt;/div&gt;
&lt;div style="position:absolute;left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden;" id="_mcePaste"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//triggerWishList.EventName = &amp;quot;Click&amp;quot;;&lt;/div&gt;
&lt;div style="position:absolute;left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden;" id="_mcePaste"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;triggerWishList.ControlID = imgBtnWishList.UniqueID.ToString();&lt;/div&gt;
&lt;div style="position:absolute;left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden;" id="_mcePaste"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;UpdatePanelSortTop.Triggers.Add(triggerWishList);&lt;/div&gt;
&lt;div style="position:absolute;left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden;" id="_mcePaste"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;_scriptMan.RegisterAsyncPostBackControl(imgBtnWishList);&lt;/div&gt;
&lt;div style="position:absolute;left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden;" id="_mcePaste"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>