locked
updatepanel.update is not updating RRS feed

  • Question

  • User1458325554 posted

    I am using one updatepanel to do the partial update. This works well when I call the method UpdatePanel.Update and the Update mode is "Conditional". This panel is not updating when there any required field validators are included in the page and they have some error. Can I update the updatepanel even there are some validation errors on the page.

    I have hidden field filed in the form and on a button click event of updatepanel, I will open a popup and call the __dopostback() method. This causes the post back of the page and hit the HiddenfieldforCallTax_ValueChanged event, where I am trying to update the update panel

    protected void HiddenfieldforCallTax_ValueChanged(object sender, EventArgs e)
        {
            
            UpdatePanel updatePanelItems = panelTaxCaller.FindControl("UpdatePanelForItem") as UpdatePanel;
     BindItems(); // Rebinds the items in the Repeater which is in updatepanel which in turn contains table and gridview inside
            updatePanelItems.Update(); 
    
        }
    
    

     

    Wednesday, December 18, 2013 3:03 AM

Answers