Drop Down List (in Update Panel) causing FULL PostBack!

前端 未结 11 1761
我在风中等你
我在风中等你 2020-12-10 05:13

I have a problem with my AJAX and ASP.NET 3.5 :( Problem is really weird, as I\'m using the same thing on different page and it works fine in there, but on this specific pag

11条回答
  •  死守一世寂寞
    2020-12-10 06:04

    How do you bind your DropDown? The code that you have provided works on my side with static items. Perhaps it is something in the other controls that is causing the problem.

    I have noticed that your UpdatePanel has its UpdateMode property set to conditional, however you haven't defined any triggers.You can try to explicitly set that the update panel should perform async postback when your dropdown triggers its selectedIndexChanged event. You can use something like the following markup:

    
        
            
            
        
        
            
        
    
    

提交回复
热议问题