Hi,
rkpolavarapu:
I had a button on List.aspx, on click of button I want to pass information to Info.aspx page. On click of button on list.aspx page i am finding masterpage frame2 control and i am adding attribures Src as info.aspx. Here i am getting error on findcontrol.
You want to find the frame2's control when you click on the frame1's button?
Do you want to use the iframe instead of the contentpalceholder?
How about your code that used to find the conrol that is on the info.aspx? Do you use this.page.master. findcontrol? or this.master.findcontronl?
In fact, the MasterPage class derives from the UserControl class.. When the application is executing, the master page as just another child control. the master pages only as masters during design time. And you also can say the master page is not a "page".
If want to use the iframe instead of the master page, you should not use the master page, you should put the iframe a main page, but not a master page.
If I misunderstood you, please let me know.
Hope it helps.
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Yours sincerely,
Amanda Wang
Microsoft Online Community Support