Tuesday, July 28, 2009

C#.NET creating controls at runtime?

I have created a control on page_load although when i try to fire an event off it, it doesnt recognize the control. I realize that it cant recognize it as it is being created at runtime, although how can i get around this? Do i have to bind the control before creating a method associated with it?

C#.NET creating controls at runtime?
is this ASP.NET?





try creating a function wrapper that verifies that an object is active before firing the event, if the event is being fired before the page is loaded it doesn't have the DOM to locate the control
Reply:Hi, Ask this question in MSDN forum. That you discover many answers!


No comments:

Post a Comment