see:www.learnasp.com/freebook/learn/usercontrols.aspxIn the page_load sub of the .ascx file you can use:request.FilePathto get filename and pathorrequest.RawURLto get the filename and path and querystring