<?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>Search results matching tag 'Trigger'</title><link>http://forums.asp.net/search/SearchResults.aspx?q=&amp;tag=Trigger&amp;orTags=0&amp;o=DateDescending</link><description>Search results matching tag 'Trigger'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Issue with FormView control inside of TabContainer</title><link>http://forums.asp.net/thread/3344208.aspx</link><pubDate>Wed, 12 Aug 2009 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3344208</guid><dc:creator>chuck-frank</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I&amp;#39;m having an issue with my formview control and using a tabcontainer. Right now I have a scriptmanger on the masterpage for all pages that are used. I use a treeview control inside of an update panel to control the navigation. This then updates another Update Panel that selects a usercontrol. So from this point the user control should be inside of an update panel. This first sections works perfrectly fine. &lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;So now the formview is inside of an TabContainer in a user control.&amp;nbsp;&amp;nbsp; The data populates correctly, and I have the settings inplace for insert, item, and edit templates. I attempt to place a button on the page and use this to switch between the item view and the edit view templates.&amp;nbsp; When I do this the user control page is removed from the page. I have attempted to wrap the formview as well as the whole template inside of a Update Panel with the approprate triggers. I have attempted to run this with just a formview and button, and it works perfectly. I going to use my test page as a mock and see if I can use an update panel with the formview control. I&amp;#39;m pretty sure that will work as well. &lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I believe the issue I am having has to do with the TabContainer being used inside of a Update Panel, and the subsequently the formview being inside of that TabContainer. &lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I can post code if anyone is will to help with my issue. I&amp;#39;m rather new to AJAX(1 week in), and would like to better understand why my formview will not switch properly. &lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I have attempted to search this forum with no luck :( &lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Thanks, &lt;/p&gt;&lt;p&gt;Chuck&lt;br /&gt;&lt;/p&gt;</description></item><item><title>INSTEAD OF UPDATE Trigger on a View</title><link>http://forums.asp.net/thread/3332388.aspx</link><pubDate>Thu, 06 Aug 2009 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3332388</guid><dc:creator>User45633</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;I am working on a project that requires that I be able to make changes to a view as though it were a table, and I have concluded that what I need is an INSTEAD OF UPDATE trigger, but my attempts so far to create one have failed.&amp;nbsp; I wanted to see if anyone out there could help me put one together.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Here is the structure of my View:&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;pre name="code" class="sql"&gt;SELECT     dbo.Addresses.AddressLine1,&lt;br /&gt;    dbo.Addresses.AddressLine2,&lt;br /&gt;    dbo.Addresses.City,&lt;br /&gt;    dbo.Addresses.STProvCode,&lt;br /&gt;    dbo.Addresses.CountRegCode,&lt;br /&gt;    dbo.Addresses.PostalCode,&lt;br /&gt;    dbo.Customer_Addresses.CustomerID AS Customer_Address_CustomerID,&lt;br /&gt;    dbo.Customer_Addresses.AddressID,&lt;br /&gt;    dbo.Customer_Addresses.DateAddressFrom,&lt;br /&gt;    dbo.Customer_Addresses.AddressTypeCode,&lt;br /&gt;    dbo.Ref_Address_Type.AddressTypeCode AS Ref_Address_Type_AddressTypeCode,&lt;br /&gt;    dbo.Ref_Address_Type.AddressTypeDescription,&lt;br /&gt;    dbo.Customers.CustomerID,&lt;br /&gt;    dbo.Customers.FirstName,&lt;br /&gt;    dbo.Customers.MiddleName,&lt;br /&gt;    dbo.Customers.LastName,&lt;br /&gt;    dbo.Customers.SuffixCode,&lt;br /&gt;    dbo.Customers.DateBecameCustomer,&lt;br /&gt;    dbo.Ref_Suffix.SuffixCode AS Ref_Suffix_SuffixCode,&lt;br /&gt;    dbo.Ref_Suffix.SuffixDescription,&lt;br /&gt;    dbo.Ref_STProv.STProvCode AS Ref_STProv_STProvCode,&lt;br /&gt;    dbo.Ref_STProv.STProvDescription,&lt;br /&gt;    dbo.Ref_CountryRegion.CountRegCode AS Ref_CountryRegion_CountRegCode,&lt;br /&gt;    dbo.Ref_CountryRegion.CountRegDescription,&lt;br /&gt;    dbo.Addresses.AddressID AS Addresses_AddressID,&lt;br /&gt;    dbo.Customers.ProjID,&lt;br /&gt;    dbo.Ref_Projects.ProjID AS Ref_Projects_ProjID,&lt;br /&gt;    dbo.Ref_Projects.ProjName,&lt;br /&gt;    dbo.Ref_Projects.ProjLabel,&lt;br /&gt;    dbo.Customers.StatusCode,&lt;br /&gt;    dbo.Customers.AcctStatusCode AS Customers_AcctStatusCode,&lt;br /&gt;    dbo.Customers.Email,&lt;br /&gt;    dbo.Customers.Email2,&lt;br /&gt;    dbo.Customers.Email3,&lt;br /&gt;    dbo.Customers.Phone,&lt;br /&gt;    dbo.Customers.Phone2,&lt;br /&gt;    dbo.Customers.Phone3,&lt;br /&gt;    dbo.Customers.Fax,&lt;br /&gt;    dbo.Customers.EquipWarrantyBeginDate,&lt;br /&gt;    dbo.Addresses.CustomerID AS Addresses_CustomerID,&lt;br /&gt;    dbo.Addresses.LocID,&lt;br /&gt;    dbo.Addresses.HouseType,&lt;br /&gt;    dbo.Addresses.AreaSubdivision,&lt;br /&gt;    dbo.Addresses.OccupancyDate,&lt;br /&gt;    dbo.Addresses.ISWCompDate,&lt;br /&gt;    dbo.Addresses.HomeWarrantyBeginDate,&lt;br /&gt;    dbo.Addresses.NumBedrooms,&lt;br /&gt;    dbo.Addresses.ForeignInsideWireInstalled,&lt;br /&gt;    dbo.Addresses.ForeignSecurityInstalled,&lt;br /&gt;    dbo.Addresses.ForeignCanInstalled,&lt;br /&gt;    dbo.Customers.Notes,&lt;br /&gt;    dbo.Ref_Contact_Status.StatusCode AS Ref_Contact_Status_StatusCode,&lt;br /&gt;    dbo.Ref_Contact_Status.StatusDescription,&lt;br /&gt;    dbo.Ref_Account_Status.AcctStatusCode,&lt;br /&gt;    dbo.Ref_Account_Status.AcctStatusDescription&lt;br /&gt;FROM         dbo.Addresses&lt;br /&gt;    INNER JOIN dbo.Customer_Addresses ON dbo.Addresses.AddressID = dbo.Customer_Addresses.AddressID&lt;br /&gt;    INNER JOIN dbo.Customers ON dbo.Customer_Addresses.CustomerID = dbo.Customers.CustomerID&lt;br /&gt;    INNER JOIN dbo.Ref_Address_Type ON dbo.Customer_Addresses.AddressTypeCode = dbo.Ref_Address_Type.AddressTypeCode&lt;br /&gt;    INNER JOIN dbo.Ref_CountryRegion ON dbo.Addresses.CountRegCode = dbo.Ref_CountryRegion.CountRegCode&lt;br /&gt;    INNER JOIN dbo.Ref_STProv ON dbo.Addresses.STProvCode = dbo.Ref_STProv.STProvCode&lt;br /&gt;    INNER JOIN dbo.Ref_Suffix ON dbo.Customers.SuffixCode = dbo.Ref_Suffix.SuffixCode&lt;br /&gt;    INNER JOIN dbo.Ref_Projects ON dbo.Customers.ProjID = dbo.Ref_Projects.ProjID&lt;br /&gt;    INNER JOIN dbo.Ref_Account_Status ON dbo.Customers.AcctStatusCode = dbo.Ref_Account_Status.AcctStatusCode&lt;br /&gt;    INNER JOIN dbo.Ref_Contact_Status ON dbo.Customers.StatusCode = dbo.Ref_Contact_Status.StatusCode&lt;/pre&gt;&lt;br /&gt; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;I was able to put together an INSTEAD OF INSERT trigger to enable me to insert &amp;quot;records&amp;quot; into the view, but I have not been able to create an INSTEAD OF UPDATE trigger that works.&lt;br /&gt;&lt;br /&gt;Here is the INSTEAD OF INSERT trigger that I used:&lt;br /&gt;&lt;br /&gt;&lt;pre name="code" class="sql"&gt;USE [Contact_Management]&lt;br /&gt;GO&lt;br /&gt;/****** Object:  Trigger [dbo].[tr_Customer_View]    Script Date: 07/01/2009 10:00:15 ******/&lt;br /&gt;SET ANSI_NULLS ON&lt;br /&gt;GO&lt;br /&gt;SET QUOTED_IDENTIFIER ON&lt;br /&gt;GO&lt;br /&gt;&lt;br /&gt;ALTER TRIGGER [dbo].[tr_Customer_View] on [dbo].[Customer_View]&lt;br /&gt;INSTEAD OF INSERT&lt;br /&gt;AS&lt;br /&gt;BEGIN&lt;br /&gt;&lt;br /&gt;    SET NOCOUNT ON;&lt;br /&gt;    &lt;br /&gt;    insert into Addresses&lt;br /&gt;        select Addresses_CustomerID, LocID, AddressLine1, AddressLine2, City, STProvCode, CountRegCode, PostalCode, HouseType, AreaSubdivision, OccupancyDate, ISWCompDate, HomeWarrantyBeginDate, NumBedrooms, ForeignInsideWireInstalled, ForeignSecurityInstalled, ForeignCanInstalled&lt;br /&gt;        from inserted&lt;br /&gt;&lt;br /&gt;    insert into Customers&lt;br /&gt;        select CustomerID, ProjID, StatusCode, Customers_AcctStatusCode, DateBecameCustomer, FirstName, MiddleName, LastName, SuffixCode, Email, Email2, Email3, Phone, Phone2, Phone3, Fax, EquipWarrantyBeginDate, Notes&lt;br /&gt;        from inserted&lt;br /&gt;&lt;br /&gt;END&lt;/pre&gt;&lt;br /&gt; If anyone can help me build an INSTEAD OF UPDATE trigger for use with this view, it would be greatly appreciated.&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;&lt;br /&gt;Tyler&lt;/p&gt;</description></item><item><title>Keep only one record in a table with a certain status</title><link>http://forums.asp.net/thread/3327558.aspx</link><pubDate>Mon, 03 Aug 2009 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3327558</guid><dc:creator>hugonne</dc:creator><description>&lt;p&gt;Hi all.&lt;/p&gt;
&lt;p&gt;I have a table which has a &amp;quot;Status&amp;quot; field. Whenever a record from that table changes its status to 1, which is &amp;quot;Active&amp;quot;, I want to automatically chage the rest of the records to 0, which is &amp;quot;Inactive&amp;quot;. That way, only one record at a time can be marked as Active.&amp;nbsp;I&amp;#39;ve tried to accomplish this with a trigger, and it works OK on table inserts, but on updates I can&amp;#39;t do, and I get a table mutatin error. I&amp;#39;ve tried it on before and after trigger types, and haven&amp;#39;t been able to make it work. &lt;/p&gt;
&lt;p&gt;Any thoughts on how the trigger should be written? Is it possible, or am I gonna have to build a custom SP to insert or update records to that table?&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;</description></item><item><title>Update Trigger</title><link>http://forums.asp.net/thread/3234604.aspx</link><pubDate>Mon, 15 Jun 2009 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3234604</guid><dc:creator>bcoffey</dc:creator><description>&lt;p&gt;I currently have the following trigger in place that will move&amp;nbsp;a deleted row of data from one table to another identical table which fires&amp;nbsp;when the user deletes a row:&lt;/p&gt;&lt;pre class="coloredcode"&gt;&lt;span class="sqlcmt"&gt;/****** Object:  Trigger [dbo].[trgTransitListDeleteHistory]    Script Date: 06/15/2009 10:55:50 ******/&lt;/span&gt;
&lt;span class="sqlkwd"&gt;SET&lt;/span&gt; ANSI_NULLS &lt;span class="sqlkwd"&gt;ON&lt;/span&gt;
GO
&lt;span class="sqlkwd"&gt;SET&lt;/span&gt; QUOTED_IDENTIFIER &lt;span class="sqlkwd"&gt;ON&lt;/span&gt;
GO
&lt;span class="sqlcmt"&gt;--SET IDENTITY_INSERT ON
--GO
-- =============================================
-- Author:		&amp;amp;lt;Author,,Name&amp;amp;gt;
-- Create date: &amp;lt;Create Date,,&amp;gt;
-- Description:	&amp;lt;Description,,&amp;gt;
-- =============================================
&lt;/span&gt;&lt;span class="sqlkwd"&gt;CREATE TRIGGER&lt;/span&gt; [dbo].[trgTransitListDeleteHistory]
   &lt;span class="sqlkwd"&gt;ON&lt;/span&gt;  [dbo].[tblTransitList]
  &lt;span class="sqlkwd"&gt;FOR DELETE
AS 
BEGIN&lt;/span&gt;
	&lt;span class="sqlcmt"&gt;-- SET NOCOUNT ON added to prevent extra result sets from
	-- interfering with SELECT statements.
&lt;/span&gt;	&lt;span class="sqlkwd"&gt;SET NOCOUNT ON&lt;/span&gt;;

    &lt;span class="sqlcmt"&gt;-- Insert statements for trigger here
&lt;/span&gt;&lt;span class="sqlkwd"&gt;INSERT INTO&lt;/span&gt; tblTransitListDeleteHistory
&lt;span class="sqlkwd"&gt;SELECT&lt;/span&gt; * &lt;span class="sqlkwd"&gt;FROM&lt;/span&gt; DELETED

&lt;span class="sqlkwd"&gt;END&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class="coloredcode"&gt;&lt;span class="sqlkwd"&gt;I basically would like to do the same thing on an update event, with the exception that I would want to copy the row instead of moving it.  Is this possible via trigger?  Someone is maliciously changing our data.&lt;/span&gt;&lt;/pre&gt;&amp;nbsp;</description></item><item><title>can't register serialized assembly DLL to mssql 2005</title><link>http://forums.asp.net/thread/3234069.aspx</link><pubDate>Mon, 15 Jun 2009 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3234069</guid><dc:creator>piratejackus</dc:creator><description>&lt;p&gt;&amp;nbsp;hi i have a project on .net which includes a trigger, written with c#, now after the steps to work with CLR like: &lt;/p&gt;&lt;p&gt;- generates serialization assembly -&amp;gt; on&lt;/p&gt;&lt;p&gt;- Allow unsafe code&lt;/p&gt;&lt;p&gt;- &lt;code&gt;TRUSTWORTHY ON&lt;/code&gt; &lt;/p&gt;&lt;p&gt;form the article : http://www.codeproject.com/KB/database/SQLCLR.aspx&lt;/p&gt;&lt;p&gt;i couldn&amp;#39;t succeed at last step&amp;nbsp; which is to &lt;span class="code-keyword"&gt;register&lt;/span&gt; my Serialized Assembly DLL to my database. here is what i tried:&lt;/p&gt;&lt;p&gt;&amp;nbsp;CREATE ASSEMBLY [PCTrigger.XmlSerializers] FROM &amp;#39;C:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\Projects\HedeWebService\PCTrigger\bin\Debug\PCTrigger.XmlSerializers.dll&amp;#39;&lt;br /&gt;WITH PERMISSION_SET=EXTERNAL_ACCESS&lt;/p&gt;&lt;p&gt;result:&lt;/p&gt;&lt;p&gt;Msg 6501, Level 16, State 7, Line 6&lt;br /&gt;CREATE ASSEMBLY failed because it could not open the physical file &amp;#39;C:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\Projects\HedeWebService\PCTrigger\bin\Debug\PCTrigger.XmlSerializers.dll&amp;#39;: 5(error not found).&lt;br /&gt;&lt;/p&gt;&lt;p&gt;i&amp;#39;m sure that the path of the&amp;nbsp;&amp;nbsp;PCTrigger.XmlSerializers.dll is right. I already read some comments about this error but couln&amp;#39;t figure out. also i have another PCTrigger.XmlSerializers.dll file under [samepath]\obj\Debug\PCTrigger.XmlSerializers.dll , but i think i must use the one under \bin. i tried both of them and same result.&lt;/p&gt;&lt;p&gt;need help,thanks. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>SQL Server Audit Tables With Membership</title><link>http://forums.asp.net/thread/3088444.aspx</link><pubDate>Tue, 14 Apr 2009 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3088444</guid><dc:creator>r2007</dc:creator><description>&lt;p&gt;I would like to make 1 audit table or a copy of each table used for auditing in a SQL Server 2008 database.&amp;nbsp; I found a way to use triggers that will make a copy of the insert/ update into a copy of a table (it would only insert a blank row for a delete) however this approach will not work well for the user table with the membership provider because it is making a update for each page request by updating the lastactivitydate and will grow very large.&lt;/p&gt;&lt;p&gt;What is the best way to implement auditing on all the SQL tables and what is the best way to exclude or conditionally deal with updates to the main user table, not allowing an audit update trigger if it is just updating the lastactivitydate of the user membership table.&amp;nbsp; I would also like to know the record that is deleted from a trigger.&amp;nbsp; I made a custom membership provider for this.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Accordion Pane, UpdatePannel Trigger and Control trigger problem</title><link>http://forums.asp.net/thread/2965224.aspx</link><pubDate>Wed, 25 Feb 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2965224</guid><dc:creator>onofalt</dc:creator><description>&lt;p&gt;&amp;nbsp;Hi boys,&lt;/p&gt;&lt;p&gt;sorry for my english&amp;nbsp; i already try a search on the forum but i don&amp;#39;t found any answer.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I&amp;#39;m use Ajax Control Toolkit and i use the Accordion Pane where in content i put an update panel with a roundbutton list and same listitem added at runt-time (at page_load) in contenttemplete area with autopostback=&amp;quot;False&amp;quot;.&lt;/p&gt;&lt;p&gt;The problem is that Update Pannel has an AsyncPostBackTrigger on roundbottonlist on event SelectedIndexChanged but event don&amp;#39;t fire.&lt;/p&gt;&lt;p&gt;P.s. I&amp;#39;m use last stable buld&amp;nbsp; of Ajax Control Tollkit For Asp.net 3.5 Framework&lt;/p&gt;&lt;p&gt;Thanks a lot &lt;/p&gt;&lt;p&gt;Onofalt &lt;br /&gt;&lt;/p&gt;</description></item><item><title>button</title><link>http://forums.asp.net/thread/2948243.aspx</link><pubDate>Tue, 17 Feb 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2948243</guid><dc:creator>choong14</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I would like to know, if i would like to click zoom button in my webpage, will it be possible&amp;nbsp;to zoom in another applicationinstead of the webpage?&lt;/p&gt;</description></item><item><title>Is it possible to update a control outside of an UpdatePanel?</title><link>http://forums.asp.net/thread/2712699.aspx</link><pubDate>Wed, 29 Oct 2008 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2712699</guid><dc:creator>jamesewelch</dc:creator><description>&lt;p&gt;&amp;nbsp;I&amp;#39;m using ASP.NET AJAX (VS 2008, v3.5).&lt;/p&gt;&lt;p&gt;I am using the EnableHistory to provide users the ability to use back/forward browerser buttons. That part is working fine. However, my UpdatePanel triggers are outside of the UpdatePanel and I need to update those when I load the view via the ScriptManager&amp;#39;s Navigate method.&lt;/p&gt;&lt;p&gt;For example, I have a dropdownlist with a series of values. When the selection change, the UpdatePanel refreshes with new data. When the user clicks the back button, they see the previous view, but the dropdownlist is still set to the other value. So the dropdownlist (trigger) doesn&amp;#39;t match the UpdatePanel view.&lt;/p&gt;&lt;p&gt;I&amp;#39;ve tried clearing the selection, setting the selected index property, and setting item[x].selected=true, but it doesn&amp;#39;t appear that the dropdownlist&amp;#39;s selection is being updated. The only other way that I know how to do this would be to append some JavaScript code in the updated UpdatePanel to find and change the dropdownlist selectedindex value. However, I&amp;#39;d rather not add these little bits into the mix if I can avoid it.&lt;/p&gt;&lt;p&gt;Anyone have any ideas?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Problem with update panel triger</title><link>http://forums.asp.net/thread/2693932.aspx</link><pubDate>Mon, 20 Oct 2008 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2693932</guid><dc:creator>Skeewe</dc:creator><description>&lt;p&gt;Hello:&lt;/p&gt;&lt;p&gt;&amp;nbsp;Here is my problem:&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;UpdatePanel is (suppose to be) triggered by button that is placed in TabContainer.&amp;nbsp; When I try to open page got error:&lt;/p&gt;&lt;p&gt;&amp;quot;&lt;i&gt;A control with ID &amp;#39;Button1&amp;#39; could not be found for the trigger in 
UpdatePanel &amp;#39;UpdatePanel1&amp;#39;&amp;quot; .&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;Then I tried to remove trigger definition in UpdatePanel1 and try to update it from code: &amp;quot; UpdatePanel1.Update();&amp;quot;&lt;/p&gt;&lt;p&gt;This does not work either because whole page is being post backed.&amp;nbsp; Putting Tab container inside Update Panel is not an option.&lt;/p&gt;&lt;p&gt;&amp;nbsp;I also tried to put TabContainer.FindControl(&amp;quot;Button1&amp;quot;) on page load but no help...&lt;/p&gt;&lt;p&gt;&amp;nbsp;Anybody knows any solution for this ?&amp;nbsp; Thank you &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>