Composite control not rendering

A

Aaron Prohaska

I have a composite control that for some reason doesn't get executed
when a load the page containing it. This is a strange problem because
I'm not getting any errors and the page loads, but doesn't execute my
control.

I have been able to make the control execute by instantiating it in the
codebehind of the page. Its when the controls tag is placed in the html
that it doesn't execute.

Has anyone seen this type of problem before. I'll post the code if it
will help. I didn't post the code with this post because there is a lot
of it.

Regards,

Aaron Prohaska

-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-
Wrench Science Inc.
http://www.wrenchScience.com/
Phone: 510.841.4748 x206
Fax: 510.841.4708
-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-
 
A

Aaron Prohaska

Aaron said:
I have a composite control that for some reason doesn't get executed
when a load the page containing it. This is a strange problem because
I'm not getting any errors and the page loads, but doesn't execute my
control.

I have been able to make the control execute by instantiating it in the
codebehind of the page. Its when the controls tag is placed in the html
that it doesn't execute.

Has anyone seen this type of problem before. I'll post the code if it
will help. I didn't post the code with this post because there is a lot
of it.

Regards,

Aaron Prohaska

-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-
Wrench Science Inc.
http://www.wrenchScience.com/
Phone: 510.841.4748 x206
Fax: 510.841.4708
-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-

Sorry about this lame post, the problem was my fault. Always happens as
soon as I send the post.

Regards,

Aaron Prohaska

-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-
Wrench Science Inc.
http://www.wrenchScience.com/
Phone: 510.841.4748 x206
Fax: 510.841.4708
-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-
 
V

Victor Garcia Aprea [MVP]

Hi Aaron,

What exactly do you mean by "doesn't get executed" ? It is not firing any
events or what exactly?
Note that for dynamically created controls there are some gotchas to watch
out, see if this helps[1].

[1] http://weblogs.asp.net/vga/archive/2003/08/11/23498.aspx

--
Victor Garcia Aprea
Microsoft MVP | ASP.NET
Looking for insights on ASP.NET? Read my blog:
http://obies.com/vga/blog.aspx

To contact me remove 'NOSPAM'. Please post all questions to the newsgroup
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,011
Latest member
AjaUqq1950

Latest Threads

Top