<?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>ASP.NET AJAX UI</title><link>http://forums.asp.net/1008.aspx</link><description>Here you can discuss UI-related issues with AJAX such as controls and client-side functionality including Silverlight controls for ASP.NET</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Update Panel throws "Server cannot modify cookies after HTTP headers have been sent." error in new Ajax .NET 1.0 release</title><link>http://forums.asp.net/thread/2048833.aspx</link><pubDate>Sun, 09 Dec 2007 07:40:51 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2048833</guid><dc:creator>Dougnutz</dc:creator><author>Dougnutz</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2048833.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1008&amp;PostID=2048833</wfw:commentRss><description>&lt;p&gt;I had the same problem but after some more digging and testing I found that adding a longer timeout to the roles cookie fixed the problem as well, plus you don&amp;#39;t take the performance&amp;nbsp;hit for going to your database and getting the user roles information for every request.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I used&amp;nbsp;cookieTimeout&lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;720&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt; because we validate for 8 hours anyway.&lt;/p&gt;Hope this helps&lt;font color="#ff0000" size="2"&gt;&lt;/font&gt;&lt;font color="#ff0000" size="2"&gt; 
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;nbsp;&lt;/p&gt;&lt;/font&gt;</description></item><item><title>Re: Update Panel throws "Server cannot modify cookies after HTTP headers have been sent." error in new Ajax .NET 1.0 release</title><link>http://forums.asp.net/thread/1788065.aspx</link><pubDate>Thu, 05 Jul 2007 08:57:02 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1788065</guid><dc:creator>yinix</dc:creator><author>yinix</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1788065.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1008&amp;PostID=1788065</wfw:commentRss><description>&lt;p&gt;thanks very much,I got the problem too&amp;nbsp; ,and with setting the cacheRolesInCookie=false,i resovle the problem already!&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Update Panel throws "Server cannot modify cookies after HTTP headers have been sent." error in new Ajax .NET 1.0 release</title><link>http://forums.asp.net/thread/1599215.aspx</link><pubDate>Wed, 28 Feb 2007 19:43:47 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1599215</guid><dc:creator>akcapsis</dc:creator><author>akcapsis</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1599215.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1008&amp;PostID=1599215</wfw:commentRss><description>&lt;p&gt;I am using asp.net 1.1 and handcoding javascript using the xmlhttprequestobject to do some ajax updating of a dropdownlist etc&lt;/p&gt;
&lt;p&gt;I got the same error message and setting cacheRolesInCookie="false" solved the problem.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;</description></item><item><title>Re: Update Panel throws &amp;quot;Server cannot modify cookies after HTTP headers have been sent.&amp;quot; error in new Ajax .NET 1.0 release</title><link>http://forums.asp.net/thread/1574188.aspx</link><pubDate>Mon, 12 Feb 2007 04:59:50 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1574188</guid><dc:creator>psychodotnet</dc:creator><author>psychodotnet</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1574188.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1008&amp;PostID=1574188</wfw:commentRss><description>&lt;p&gt;&lt;strong&gt;kevyau, t&lt;/strong&gt;hanks for that piece of information. Even though it resolves the issue, there would be a reason why it throws that exception. I will try looking in to the cause, unless its a bug in role manager.&lt;/p&gt;&lt;p&gt;&amp;nbsp;If you come across any information, kindly post it. Thanks again.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Cheers,&lt;/p&gt;&lt;p&gt;Sameer.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Update Panel throws "Server cannot modify cookies after HTTP headers have been sent." error in new Ajax .NET 1.0 release</title><link>http://forums.asp.net/thread/1561814.aspx</link><pubDate>Fri, 02 Feb 2007 22:36:20 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1561814</guid><dc:creator>Eilon</dc:creator><author>Eilon</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1561814.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1008&amp;PostID=1561814</wfw:commentRss><description>&lt;p&gt;Hi everyone,&lt;/p&gt;
&lt;p&gt;This is now a known issue in AJAX 1.0. We've logged a bug on it and will try to address it in a future release. Thanks for all the feedback!&lt;/p&gt;
&lt;p&gt;- Eilon&lt;/p&gt;</description></item><item><title>Re: Update Panel throws "Server cannot modify cookies after HTTP headers have been sent." error in new Ajax .NET 1.0 release</title><link>http://forums.asp.net/thread/1560577.aspx</link><pubDate>Fri, 02 Feb 2007 09:43:05 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1560577</guid><dc:creator>tditiecher</dc:creator><author>tditiecher</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1560577.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1008&amp;PostID=1560577</wfw:commentRss><description>&lt;p&gt;Thank you! Setting cacheRolesInCookies="false" did the trick for me.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;With kind regards,&lt;/p&gt;&lt;p&gt;Taco.&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Update Panel throws &amp;quot;Server cannot modify cookies after HTTP headers have been sent.&amp;quot; error in new Ajax .NET 1.0 release</title><link>http://forums.asp.net/thread/1559740.aspx</link><pubDate>Thu, 01 Feb 2007 21:13:28 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1559740</guid><dc:creator>kevyau</dc:creator><author>kevyau</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1559740.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1008&amp;PostID=1559740</wfw:commentRss><description>&lt;p&gt;From further investigation, seems that this issue relates to &lt;a href="http://forums.asp.net/1/1546340/ShowThread.aspx" title="http://forums.asp.net/1/1546340/ShowThread.aspx"&gt;http://forums.asp.net/1/1546340/ShowThread.aspx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;We believe that Response has already been posted back to client browser, before the roleManager (where cacheRolesInCookie="true" from web.config) attempts to modify the client cookie and update the use role. &lt;/p&gt;&lt;p&gt;The solution would be to set cacheRolesInCookie="false", to correct this error from being thrown.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Update Panel throws "Server cannot modify cookies after HTTP headers have been sent." error in new Ajax .NET 1.0 release</title><link>http://forums.asp.net/thread/1559739.aspx</link><pubDate>Thu, 01 Feb 2007 21:12:19 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1559739</guid><dc:creator>kevyau</dc:creator><author>kevyau</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1559739.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1008&amp;PostID=1559739</wfw:commentRss><description>&lt;p&gt;From further investigation, seems that this issue relates to &lt;a href="http://forums.asp.net/1/1546340/ShowThread.aspx" title="http://forums.asp.net/1/1546340/ShowThread.aspx"&gt;http://forums.asp.net/1/1546340/ShowThread.aspx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;We believe that Response has already been posted back to client browser, before the roleManager (where cacheRolesInCookie="true" from web.config) attempts to modify the client cookie and update the use role. &lt;/p&gt;&lt;p&gt;The solution would be to set cacheRolesInCookie="false", to correct this error from being thrown.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Update Panel throws "Server cannot modify cookies after HTTP headers have been sent." error in new Ajax .NET 1.0 release</title><link>http://forums.asp.net/thread/1556225.aspx</link><pubDate>Tue, 30 Jan 2007 22:17:48 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1556225</guid><dc:creator>kevyau</dc:creator><author>kevyau</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1556225.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1008&amp;PostID=1556225</wfw:commentRss><description>&lt;p&gt;I understand your point, however, as far as I am aware there is no code we have written which writes/modifies cookies on postback, the code which is writing to the cookie I believe is internal to .NET. &lt;/p&gt;&lt;p&gt;What is strange is there was no code change, the only change was the update from Ajax .NET RC 1.0 to Ajax .NET 1.0. If I roll back to use Ajax .NET RC 1.0, the this "Server cannot modify cookies after HTTP header have been sent." error does not throw. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Repeater and collections</title><link>http://forums.asp.net/thread/1556204.aspx</link><pubDate>Tue, 30 Jan 2007 22:02:26 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1556204</guid><dc:creator>happybuddy</dc:creator><author>happybuddy</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1556204.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1008&amp;PostID=1556204</wfw:commentRss><description>&lt;p&gt;Thanks a lot.&lt;/p&gt;
&lt;p&gt;HB&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Repeater and collections</title><link>http://forums.asp.net/thread/1554533.aspx</link><pubDate>Tue, 30 Jan 2007 03:21:44 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1554533</guid><dc:creator>jodywbcb</dc:creator><author>jodywbcb</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1554533.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1008&amp;PostID=1554533</wfw:commentRss><description>&lt;p&gt;Repeater controls:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.411asp.net/home/tutorial/specific/web/userinte/webcontr/repeater"&gt;http://www.411asp.net/home/tutorial/specific/web/userinte/webcontr/repeater&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://msdn.microsoft.com/msdnmag/issues/05/06/CuttingEdge/"&gt;http://msdn.microsoft.com/msdnmag/issues/05/06/CuttingEdge/&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: Update Panel throws "Server cannot modify cookies after HTTP headers have been sent." error in new Ajax .NET 1.0 release</title><link>http://forums.asp.net/thread/1554530.aspx</link><pubDate>Tue, 30 Jan 2007 03:19:25 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1554530</guid><dc:creator>jodywbcb</dc:creator><author>jodywbcb</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1554530.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1008&amp;PostID=1554530</wfw:commentRss><description>&lt;p&gt;I think your issue is about where you are setting cookies - but not knowing your setup there I'll point you to a decent link at least and perhaps that will shed light on your situation.&amp;nbsp; &lt;a href="http://www.webdeveloper.com/forum/showthread.php?t=74202"&gt;http://www.webdeveloper.com/forum/showthread.php?t=74202&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Hopefully that helps - otherwise would probably need code (specifically where you are setting the cookies if you are handling that in code - which should be the only time that misconfig of cookies should occur...)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Repeater and collections</title><link>http://forums.asp.net/thread/1554410.aspx</link><pubDate>Tue, 30 Jan 2007 01:25:17 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1554410</guid><dc:creator>happybuddy</dc:creator><author>happybuddy</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1554410.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1008&amp;PostID=1554410</wfw:commentRss><description>&lt;p&gt;Hi All,&lt;/p&gt;
&lt;p&gt;Please can someone&amp;nbsp;suggest me a good site or link dealing with repeater control&amp;nbsp;in detail. &lt;/p&gt;
&lt;p&gt;Like - how to use , various events, how to embed controls in repeater and later access them from code. (asp.net and c#)&lt;/p&gt;
&lt;p&gt;Similarly looking for some good links for collections and how to use them (c#)&lt;/p&gt;
&lt;p&gt;thanks a ton,&lt;/p&gt;
&lt;p&gt;Happy buddy&lt;/p&gt;</description></item><item><title>Update Panel throws "Server cannot modify cookies after HTTP headers have been sent." error in new Ajax .NET 1.0 release</title><link>http://forums.asp.net/thread/1554389.aspx</link><pubDate>Tue, 30 Jan 2007 01:01:27 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1554389</guid><dc:creator>kevyau</dc:creator><author>kevyau</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1554389.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1008&amp;PostID=1554389</wfw:commentRss><description>&lt;p&gt;In latest release of Ajax .NET (1.0), after any post back event (e.g. LinkButton On Click, DropDownList change with AutoPostBack enabled, etc.) an error throw and caught in the Application_Error() method of Global.asax. &lt;/p&gt;&lt;p&gt;This did not occur in &lt;u&gt;&lt;b&gt;ANY&lt;/b&gt;&lt;/u&gt; of the previous CTP or RC releases of Atlas/Ajax .NET libraries. Does anyone what is going on and why the new release would throw this error ? &amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;br /&gt;Error message below:&lt;br /&gt;&lt;br /&gt;&lt;i&gt;Inner Exception&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ---------------&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Type : System.Web.HttpException, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Message : Server cannot modify cookies after HTTP headers have been sent.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Source : System.Web&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Help link : &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ErrorCode : -2147467259&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Data : System.Collections.ListDictionaryInternal&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; TargetSite : Void BeforeCookieCollectionChange()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Stack Trace :&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Web.HttpResponse.BeforeCookieCollectionChange()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; at System.Web.HttpCookieCollection.Add(HttpCookie cookie)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; at System.Web.Security.RoleManagerModule.OnLeave(Object source, EventArgs eventArgs)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously)&lt;/i&gt;&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>