Question : asp.net I want to limit the number of images a user can enter  and display the counter 1 to 6 to the user and to inbibit the upload button on a count of 6

I want to limit the number of images a user can enter and display a counter 1 to 6 images (have upload to the host), and to inhibit the upload button on a count of 6.

Answer : asp.net I want to limit the number of images a user can enter  and display the counter 1 to 6 to the user and to inbibit the upload button on a count of 6

just keep track of the postback that happens on each upload ...then disable the control...

if all items are uploaded at one time...you might not just limit the number..but check the file size as well.....this scenario would be done client side

if this is 3rd party control the above example is one way...but that truly is determined on how the 3rd party control exposes those methods.
Random Solutions  
 
programming4us programming4us