get reference to the hosting web part

Nov 20, 2007 at 4:55 PM
Hi all,
if i'm using smart part to host my control, can i get reference to the hosting web part object, so i can access the web part properties from inside my user control ?

Thank you
Nov 20, 2007 at 5:00 PM
I got it, thank you
just cast the page parent object to the webpart type :)