First Item in dropdownlist doesn't fire SelectedIndexChanged at all

后端 未结 7 2250
盖世英雄少女心
盖世英雄少女心 2021-02-20 12:24

I have following simple code:

<%@ Page Language=\"C#\" AutoEventWireup=\"true\" CodeBehind=\"testForm.aspx.cs\" Inherits=\"Orbs.testForm\" %>

         


        
7条回答
  •  一个人的身影
    2021-02-20 12:44

    For Anyone still having the problem; I solved it in a different, yet easier way: Just add a dummy ListItem to the start of the DropDownList and set that item's Enabled property to false. i.e.

    
            
            
            
            
            
            
        
    

提交回复
热议问题