<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://weblogs.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>Fun with callbacks Part 4: what about postback events?</title><link>http://weblogs.asp.net/bleroy/archive/2005/06/27/415936.aspx</link><description>One thing that's certainly not that clear enough about callbacks is what happens with regular postback events and control state. During a callback, we reconstruct the state of the page as it was during the last postback. The reason we are doing this is</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>re: Fun with callbacks Part 4: what about postback events?</title><link>http://weblogs.asp.net/bleroy/archive/2005/06/27/415936.aspx#7150532</link><pubDate>Sun, 19 Jul 2009 04:49:41 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7150532</guid><dc:creator>Bertrand Le Roy</dc:creator><author>Bertrand Le Roy</author><description>&lt;p&gt;@ram: you should read this post: &lt;a rel="nofollow" target="_new" href="http://weblogs.asp.net/infinitiesloop/archive/2008/04/23/truly-understanding-dynamic-controls-by-example.aspx"&gt;weblogs.asp.net/.../truly-understanding-dynamic-controls-by-example.aspx&lt;/a&gt; and the one before it.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7150532" width="1" height="1"&gt;</description></item><item><title>re: Fun with callbacks Part 4: what about postback events?</title><link>http://weblogs.asp.net/bleroy/archive/2005/06/27/415936.aspx#7150510</link><pubDate>Sun, 19 Jul 2009 04:05:07 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7150510</guid><dc:creator>ram</dc:creator><author>ram</author><description>&lt;p&gt;hi, In my masterpage I am having a devexpress treelist and each time I click a node it will create a different user control in the content page based on the node I clicked during a callback of my focusednodechanged clientSideEvent of my treelist. When I click the treenode which I have already clicked before, I want my usercontrol to maintain its viewState. What is the best way to do it. I don&amp;#39;t want to load all usercontrols on page load. Thanks, Ram.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7150510" width="1" height="1"&gt;</description></item><item><title>re: Fun with callbacks Part 4: what about postback events?</title><link>http://weblogs.asp.net/bleroy/archive/2005/06/27/415936.aspx#6303675</link><pubDate>Sat, 21 Jun 2008 11:46:37 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6303675</guid><dc:creator>mohammad Javed</dc:creator><author>mohammad Javed</author><description>&lt;p&gt;hi i am trainee programmer in comm-it india(p) Ltd at new Delhi-110017.your articles is very helpfullto me about postback event. &lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6303675" width="1" height="1"&gt;</description></item><item><title>re: Fun with callbacks Part 4: what about postback events?</title><link>http://weblogs.asp.net/bleroy/archive/2005/06/27/415936.aspx#4866148</link><pubDate>Fri, 02 Nov 2007 17:28:23 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:4866148</guid><dc:creator>Bertrand Le Roy</dc:creator><author>Bertrand Le Roy</author><description>&lt;p&gt;I'm pretty sure Safari should work. Can you contact me through the contact form and send me a simple repro?&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=4866148" width="1" height="1"&gt;</description></item><item><title>re: Fun with callbacks Part 4: what about postback events?</title><link>http://weblogs.asp.net/bleroy/archive/2005/06/27/415936.aspx#4861006</link><pubDate>Fri, 02 Nov 2007 06:17:27 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:4861006</guid><dc:creator>Muthukumar</dc:creator><author>Muthukumar</author><description>&lt;p&gt;I have a question. we are using client call back in our application. its calling serverside event in mozilla and ie but safari does not call server side event. can you help me how to fix this&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=4861006" width="1" height="1"&gt;</description></item><item><title>re: Fun with callbacks Part 4: what about postback events?</title><link>http://weblogs.asp.net/bleroy/archive/2005/06/27/415936.aspx#3498317</link><pubDate>Tue, 14 Aug 2007 05:22:14 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:3498317</guid><dc:creator>Bertrand Le Roy</dc:creator><author>Bertrand Le Roy</author><description>&lt;p&gt;Snt: I don't know where you got this idea. There is no reason why postbacks wouldn't work normally even &amp;quot;when we have a client callback&amp;quot;, although I'm not sure what you mean by that.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=3498317" width="1" height="1"&gt;</description></item><item><title>re: Fun with callbacks Part 4: what about postback events?</title><link>http://weblogs.asp.net/bleroy/archive/2005/06/27/415936.aspx#3494040</link><pubDate>Mon, 13 Aug 2007 18:47:04 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:3494040</guid><dc:creator>Snt</dc:creator><author>Snt</author><description>&lt;p&gt;I have a question in the article its said that when we have a client call back the click event of a normal button with postback wont work... how can i fixed that problem i want to have some objects with client call back and some others with postbacks &lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=3494040" width="1" height="1"&gt;</description></item><item><title>re: Fun with callbacks Part 4: what about postback events?</title><link>http://weblogs.asp.net/bleroy/archive/2005/06/27/415936.aspx#3223777</link><pubDate>Thu, 19 Jul 2007 16:21:08 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:3223777</guid><dc:creator>Bertrand Le Roy</dc:creator><author>Bertrand Le Roy</author><description>&lt;p&gt;Jon: it's hard to say from just this description and without seeing the code. Are you handling the selected node changed event from the treeview to change what's in the table?&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=3223777" width="1" height="1"&gt;</description></item><item><title>re: Fun with callbacks Part 4: what about postback events?</title><link>http://weblogs.asp.net/bleroy/archive/2005/06/27/415936.aspx#3222819</link><pubDate>Thu, 19 Jul 2007 14:06:45 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:3222819</guid><dc:creator>Jon</dc:creator><author>Jon</author><description>&lt;p&gt;Ok, riddle me this if you please. &amp;nbsp;I am building an ASP.NET (VB) site using Master Pages. &amp;nbsp;The Masterpage is simply to have a common header. &amp;nbsp;In the content for the page in question, I have a two column table. &amp;nbsp;The left column has a treeview with a list of objects. &amp;nbsp;Each object has properties...each with potentially a different value. &amp;nbsp;The right column is a dynamically created table that in each row has either a label, dropdownlist, or a checkbox. &amp;nbsp;My postback code rebuilds this table and populates the values appropriate to the object selected in the treeview.&lt;/p&gt;
&lt;p&gt;My problem is that if I click from one object to another on the treeview, data is not updated on the table...even though I show in a logger (listbox) that I&amp;#39;m attempting to set the values.&lt;/p&gt;
&lt;p&gt;I toyed with the loadcomplete routine and changes made to the objects in the right column stick. &amp;nbsp;But the function that &amp;quot;rebuilds&amp;quot; the table during postback does not.&lt;/p&gt;
&lt;p&gt;Your help would be greatly appreciated.&lt;/p&gt;
&lt;p&gt;Jon&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=3222819" width="1" height="1"&gt;</description></item><item><title>re: Fun with callbacks Part 4: what about postback events?</title><link>http://weblogs.asp.net/bleroy/archive/2005/06/27/415936.aspx#2210505</link><pubDate>Wed, 11 Apr 2007 05:31:50 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:2210505</guid><dc:creator>Bertrand Le Roy</dc:creator><author>Bertrand Le Roy</author><description>&lt;p&gt;David: It's hard to debug your code without seeing it but apparently you're not recreating the controls in their current state on each postback, or maybe you're recreating the controls but with the wrong ids. There are many things that can go wrong, but I'd start by reading this:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://weblogs.asp.net/infinitiesloop/archive/2006/08/25/TRULY-Understanding-Dynamic-Controls-_2800_Part-1_2900_.aspx"&gt;http://weblogs.asp.net/infinitiesloop/archive/2006/08/25/TRULY-Understanding-Dynamic-Controls-_2800_Part-1_2900_.aspx&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=2210505" width="1" height="1"&gt;</description></item></channel></rss>