How to validate dynamically created control?

后端 未结 4 1079
醉酒成梦
醉酒成梦 2020-12-18 14:04

I have an asp.net page, some of its controls are created dynamically, these controls are one of the following; textbox, calendar, or dropdownlist.

These controls in

4条回答
  •  盖世英雄少女心
    2020-12-18 14:29

    When you are creating any control dynamically, also attach with them desired Validator control and you can enable/disable validator controls at run time.

提交回复
热议问题