Thanks for the reply. It works but the problem is it removes the button along with the results table. I would like to reproduce the effect of when you hit the maxfileslimit and the browse button grays out. I wonder if i can dynamically trigger the maxfileslimit property.