Hi Oleg, thanks for that. I actually wanted to print out the whole string
including the page name
e.g
if the usercontrol is contained in a page called index.aspx
and the page index.aspx has a querystring of ?ID=66666
then I want the usercontrol to print both the container page name
(index.aspx in this case) as well as the querystring (?ID=66666) as given in
the above example
thanks again
Mark
--
"Oleg Ogurok" <ol**@ogurok.com.ihatespammers.ireallydo.co> wrote in message
news:10*************@corp.supernews.com...
Page.Request["ID"]
-Oleg.
"John" <JD@noSpam.com> wrote in message
news:ca**********@lust.ihug.co.nz... Hi, is it possible for a UserControl to get the Page name and
querystring of its parent?
e.g If a userControl is inside a page called "index.aspx?ID=66" how can
a usercontrol print out this value? I was hoping there might be a
Parent.PageName or Parent.Querystring method :)
Thanks in advance
John