By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
428,684 Members | 1,439 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 428,684 IT Pros & Developers. It's quick & easy.

Keeping track of instances of WebUserControl

P: n/a

In a repeater-control, in the <SeparatorTemplatei have placed a
webusercontrol, I have made. That works great-

However, I want to know be able to only display this WebUserControl a
certain number of times. Basicly I need the WebUserControl itself to know,
how many other instances of the webusercontrol was displayed on the page,
when I run it.

Kind of like if I was displaying banners adds between posts, and only wanted
banner-ads between the first 3 posts.

Any ideas on how to do that?

Thanks in advance


May 29 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.