c# - error using FindControl on div id

前端 未结 4 1241
小蘑菇
小蘑菇 2021-02-15 14:32

I have an ASP.NET site that I am trying to access div elements by their ID from the C# code behind file. Essentially I want to see if a div element exists, and if so, alter its

4条回答
  •  不思量自难忘°
    2021-02-15 15:10

    I cannot seem to be able to reproduce your problem, any chance your DIV's are within a template control such as UpdatePanel, Repeater, or Grid?

提交回复
热议问题