c# - How to bind "OnDataBound" event of "DropDownList" in declarative syntax to a static method in some other class? -
How to bind the "OnDatabound" event of "dropdownlists" to a static method in another category in the delicate syntax?
example
and asp: dropdown list runat = "server" id = "d1" ordattack = "some other classifications this page. Static method" & gt; & Amp; Asp: dropdown list & gt;
This will give an error, "There are no other definitions for this page in some other class.
Is this possible or it should be done behind the code only < / P>
This is not possible. Event handler must be declared behind the code.
Comments
Post a Comment