Home     |     .Net Programming    |     cSharp Home    |     Sql Server Home    |     Javascript / Client Side Development     |     Ajax Programming

Ruby on Rails Development     |     Perl Programming     |     C Programming Language     |     C++ Programming     |     IT Jobs

Python Programming Language     |     Laptop Suggestions?    |     TCL Scripting     |     Fortran Programming     |     Scheme Programming Language

Cervo Technologies
The Right Source to Outsource

MS Dynamics CRM 3.0

Asp.Net Programming

Keeping track of instances of WebUserControl


In a repeater-control, in the <SeparatorTemplate> i 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


Add to del.icio.us | Digg this | Stumble it | Powered by Megasolutions Inc