I have several user controls (.ASCX) that exist on a page.
In each, when an event happens (sqldatasource.inserted), I need to refresh the data in a control on the main (parent) page.
Thinking in terms of programming practices commonly available for the last 20 years, I thought I could just get a reference to the page (the containing object) and call the method I need. Yeah. Right.
Google searches indicate that that obviously is too simple (you can't do things easily in .NET of course), and I have to write a pile of code somewhere to (re)define my page class or something to that effect.
Can someone explain this to me in some rational terms please?
This is in VS2005 in VB.
____________________________________
Don't Tread on Me
Overthrow the federal government NOW!
____________________________________