Using Codebehind to communicate between frames
Posted on 2004-08-04
Lets say I have a Framset that has a top, framtop.aspx and a botton, frame bottom.aspx. In frame top, I have a button that executes a query and I want to put into frame bottom the results of that query in a data grid. I want to do all of this in the framtop code behind.
LEts say my DatGrid is called DG4
How do I do that? What is all of the code nescessary that I have to put in my framtop to communicate with my fram bottom.
Bonus points of 50 if you can tell me how if my frambottom is initially 0% that when the button clicks the bottom fram goes to 30%.