CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

MS SQL 2008 on ASP.NET Hosting



Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 2/1/2008 3:22:54 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 4 Views: 32 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
5 Items, 1 Pages 1 |< << Go >> >|
rkpolavarapu
Asp.Net User
Masterpages with Iframe2/1/2008 3:22:54 PM

0/0

Hello All,

I am using 2005 Asp.Net and C#.

I have a master page with two Iframes. One Iframe(frame1) i am calling one content(content1) and another Iframe(frame2) I am calling second content(content2).  frame1, i have set Src as List.aspx and for frame2, I have set Src as Info.aspx.

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.

Please help me, its urgent.

Thanks  

 

 

 

carterwjeff
Asp.Net User
Re: Masterpages with Iframe2/2/2008 2:54:10 PM

0/0

what is the error and maybe a little code could help.

Thanks

rkpolavarapu
Asp.Net User
Re: Masterpages with Iframe2/2/2008 4:19:21 PM

0/0

I am gettng Object not found error.

 

 

carterwjeff
Asp.Net User
Re: Masterpages with Iframe2/2/2008 4:59:06 PM

0/0

Maybe some code could help...  Also you could just set Server variables then grab them on page load on the second frame

Amanda Wang - M
Asp.Net User
Re: Masterpages with Iframe2/4/2008 8:29:04 AM

0/0

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
5 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Microsoft Office SharePoint Server 2007: The Complete Reference Authors: David Matthew Sterling, David Sterling, Pages: 788, Published: 2007

Web:
Masterpages and iframes question Talk about Masterpages and iframes question. ... On the master page I have an iframe element that loads up another page. ...
opening page in iframe along with masterpage - ASP.NET Forums In our project we created the master page and assigning to all the pages. In one page say Catalog.aspx we are using iframe in contentplace ...
Best Practice: Frames Vs MasterPages Vs ICallBackEventHandler Vs ... “Bookmark a page and recall all the information on the specific page, not just the default frame page. A master page isn't really a frame. ...
Joe Coder: Why serious web developers can't use Master Pages Trying to mix and match master pages with Iframes can become trouble some. It's either Master Pages with Skins & Themes or IFrames with CSS, ...
CodeProject: Content Wrapping with Master Pages and HTTPModules ... Wrapping static content with Master Pages and an IHttpModule; Author: Sean ... If you just iframe the content then you don't pick up any styles (css). ...
Masterpages and iframes question - .NET ASP Masterpages and iframes question. Get answers to your questions in our .NET ASP forum.
Masterpages with Iframe - ASP.NET Forums I have a master page with two Iframes. One Iframe(frame1) i am calling one content(content1) and another Iframe(frame2) I am calling second ...
Microsoft Expression Expression Studio Masterpage and