First Item in dropdownlist doesn't fire SelectedIndexChanged at all

后端 未结 7 2221
盖世英雄少女心
盖世英雄少女心 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:40

    I had the same problem, but I solved it by calling onindexchanged function manually, like this:

    ddl_SelectedIndexChanged(null, null);
    

    I know this may not be the perfect way but it's working for me.

提交回复
热议问题