DropDownList AppendDataBoundItems (first item to be blank and no duplicates)

后端 未结 6 752
醉梦人生
醉梦人生 2020-12-02 20:24

I have a DropDownList inside an UpdatePanel that is populated on postback from a SqlDataSource. It has a parameter which is another co

6条回答
  •  鱼传尺愫
    2020-12-02 20:58

    Here's an Idea.

    There's a property in the drop down list called AutoPostBack set it to true and then in the code behind you put all the binding method inside the if(!Page.IsPostBack). That worked for me.

    regards.

提交回复
热议问题