Search

You searched for the word(s): userid:742747

Matching Posts

  • Re: Trying to understand poststate and viewstate...

    Some time ago I created a sample of a similar web page. Unfortunately I lost images in this post, but you ZIP file with the sample is still available. While this sample does not use UpdatePanels the same approach work fine with UpdatePanels and it should not be a problem if you update input box or hidden via JavaScript. See : http://couldbedone.blogspot.com/2007/07/dynamically-created-controls-dynamic.html
    Posted to State Management (Forum) by ysw on 9/9/2008
  • New version of ILMerge, what about aspnet_merge?

    Hi, Mike Barnett announced new version of ILMerge which includes fixes for multiple bugs. As aspnet_merge is based on the same code base, I would like to know when updated version of WEB Deploment Projects will be released. I verified that new version of ILMerge does not fail as previous version did, so new release of web deployment projets will be very helpful. Thanks Yuriy http://weblogs.asp.net/ysolodkyy
    Posted to VS Web Deployment Projects (Forum) by ysw on 12/2/2007
  • Re: LoadControl and ViewState issue

    Hi, I suggest you look on this sample: http://couldbedone.blogspot.com/2007/07/dynamically-created-controls-dynamic.html It shows how to manage a list of dynamically loaded user controls. You only need to change this sample to work with checkboxes. The most important is that you need to restore the same controls as were rendered and only then remove or add other. -yuriy
    Posted to State Management (Forum) by ysw on 10/25/2007
  • Re: LoadControl and ViewState issue

    Do your user controls do anything in onload? They will see old posted data in onload and it may look like they receive wrong viewstate. You should not access any textboxes, dropdowns in your user controls before events fire unless you change they way how your page loads user contorls. -yuriy
    Posted to State Management (Forum) by ysw on 10/25/2007
  • Re: LoadControl and ViewState issue

    Hi, I see one problem with your approach. You r code does not recreate user controls if postback was caused by something else than chanes in listbox. You can try adding just a buton to your page and click it. I think that all user controls will be lost. This alsomeans that your user controls will not process postback data. I.e. if you have any textboxes in user controls, they will not load data on postback. (This is not ViewSate, but it looks similar). I sugest you initially to make two changes:
    Posted to State Management (Forum) by ysw on 10/24/2007
  • Re: Update Panel runtime modification

    Hi, I understandf that what I suggest is not what you asked for, but it maybe helpful for you. To solve such problems I typically wrap almost the whole content of the page into UpdatePanel with UpdateMode = conditional and with ChildrenAsTriggers = false. Then, if during the asyncpostback affecting samller update panels I see that the whole content needs to be reloaded, I can invoke Update() on main UpdatePanel. Will it work for you, or do you have something there that cannot be trabsferred as UpdatePanel
  • Re: LoadControl and ViewState issue

    Hi, can you post your code which re-loads controls on postback and let us know when (onload, loadview state etc) do you reload previously loaded controls on postback? -yuriy
    Posted to State Management (Forum) by ysw on 10/24/2007
  • Re: Problem with XSLT - to refer to Satellite Assembly

    Hi, you can either use <msxsl:assembly> element http://msdn2.microsoft.com/en-us/library/ms256188(vs.80).aspx or load assemly in ASPX and pass it to the XslCompiledTransform.Transform in the XsltArgumentList - http://msdn2.microsoft.com/en-us/library/ms163435.aspx Actually, pass not assembly, but some object wich uses translated assembly. XSLT will invoke methods on this object in this scenario. -yuriy
    Posted to Client Side Web Development (Forum) by ysw on 10/23/2007
  • Re: Load Control. Need Advice.

    Hi, If UpdatePanel is ok for you, the folowing sample is quite similar to what you have described http://www.couldbedone.com/downloads/DynamicallyCreatedControlsAjax.zip -yuriy
  • Re: DoPostBack on a button inside updatePanel

    Hi, if you disable async postbacks on ScriptManager, does everything work smoothly? I do not recommend you to disable async postbacks, but sometimes it helps to see other prolems which are not easy to see with syncpostbacks. -yuriy
    Posted to ASP.NET AJAX Control Toolkit (Forum) by ysw on 10/23/2007
Page 1 of 52 (513 items) 1 2 3 4 5 Next > ... Last »