470,612 Members | 2,242 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,612 developers. It's quick & easy.

Keeping track of instances of WebUserControl


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
0 994

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Joshua Russell | last post: by
3 posts views Thread by Vivek Sharma | last post: by
reply views Thread by Mike Levin | last post: by
1 post views Thread by DichkoSoft | last post: by
reply views Thread by Christian H | last post: by
2 posts views Thread by Oren | last post: by
reply views Thread by Giovanni | last post: by
10 posts views Thread by Karlo Lozovina | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.