Controls disappear in a dataview control

  1. #1

    Controls disappear in a dataview control

    Hello everyone,

    I have a dataview control that binds to a objectdatasource. I place a ext:button and a ext:label to display count or other information. The problem is when I navigate to the next page in dataview control, ext controls disappear. Where do I go wrong? what is the best solution to come over this?

    Thanks in advance for your help,
    Kamal
  2. #2

    RE: Controls disappear in a dataview control

    Are you recreating the ext button and label control when you navigate to the next page? Dynamic controls must be recreated on every postback. This is a general ASP.NET issue.
  3. #3

    RE: Controls disappear in a dataview control

    No I don't. However, if I add a normal asp:button control, I don't recreate it at all. How do I recreate the controls and labes in postback? I am using ajax and trying not to do many postback on my page!

Similar Threads

  1. [CLOSED] Control Rendering is taking time after mask disappear
    By rnachman in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Apr 12, 2011, 7:01 PM
  2. Serverside control in Dataview
    By pooja in forum 1.x Help
    Replies: 0
    Last Post: Oct 15, 2010, 6:53 AM
  3. Replies: 0
    Last Post: Jun 14, 2010, 9:20 PM
  4. Replies: 10
    Last Post: May 05, 2009, 1:50 PM
  5. Replies: 0
    Last Post: Mar 05, 2009, 10:55 PM

Posting Permissions