CodeVerge.Net Beta
Login Idy
Register Password
  Forgot?
Explore    Item Entry    Profile   
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML





Zone: > newsgroup > asp.net forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 4/6/2006 4:38:42 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 2 Views: 5 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
3 Items, 1 Pages 1 |< << Go >> >|
coolvaas1
Asp.Net User
Master page problem4/6/2006 4:38:42 PM

0/0

In my master page I have 2 contentplace holders.

<table border=2>
<tr><td>
        <asp:contentplaceholder id="ContentPlaceHolder1" runat="server">
        </asp:contentplaceholder>
        </td></tr>
<tr><td>
        <asp:contentplaceholder id="ContentPlaceHolder2" runat="server">
        </asp:contentplaceholder>
        </td></tr>
</table>

Also I have 2 .aspx pages for the 2 contentplaceholders. I have a search text box and submit button in my first page (page1.aspx). When the user enters some data and clicks on the search button I want to send the contents of the text box to the second aspx page (page2.aspx). I simply use the response.redirect command to send the text. I have no problems in sending the text. My problem is the moment I click on the search page it disappears and the page 2 comes up. These 2 pages are in 2 different contentplaceholders. I am not sure why it is hiding one page. Am I doing anything wrong?
Please advice.
Your valuable feedback is greatly appriciated.

orzeh
Asp.Net User
Re: Master page problem4/6/2006 6:22:18 PM

0/0

hi!

on master page You can have several contentplaceholders, but only one aspx page can be processed during postback. so the content page has to have several  <asp:Content> controls.

Your problem can be easy fix using UserControls.

orzeh


code less, think more!
coolvaas1
Asp.Net User
Re: Master page problem4/7/2006 1:58:15 PM

0/0

Thanks for your feedback. Much appriciated.

3 Items, 1 Pages 1 |< << Go >> >|



Search This Site:


Meet Our Sponsors:



Other Resources:

Javascript + master page problem - newsgroup.asp-net-forum.general_asp-net-... Javascript + master page problem, > ROOT > NEWSGROUP > Asp.Net Forum > ... Javascript + master page problem. 8/24/2005 4:41:02 PM. 0/0 ...
ASP.Net, C#, SQL: Master Page Image Display Problem and Solution in Asp.net The reason of problem is Master Page is using absolute image url, which changes ... solution to problem is to define relative path for images inside master page. ...
Master Page Localization Problem - ASP.NET Forums ASP.NET Forums " Advanced ASP.NET " Localization " Master Page Localization Problem ... Master Page Localization Problem. Last post 08-24-2006 9:27 PM by ...
Master Page Problem | FreewayTalk | FreewayTalk Master Pages are great except I can't get it to work on one major time consuming ... You can use inline items in a Master Page, just not the way you'd like too. quote ...
Nested Master Page Problem - ASP.NET Forums Nested Master Page Problem. Last post 07-18-2008 12:07 PM by ShailAtlas. 2 replies. ... on how the page layouts will work. Re: Nested Master Page Problem ...
ASP.NET - Master Page Drawbacks Master Page Drawbacks. by ... Master pages are a needlessly confusing and slow solution ... biggest master page problems for me--the performance problems. ...
Master Pages Tutorials : The Official Microsoft ASP.NET Site Microsoft portal site for the ASP.NET ... Advanced Master Page Topics ... Questions or problems with www.asp.net? Visit our host: ORCS Web. Running IIS 7.0 ...
ASP.NET 2.0 Master Page Problem ASP.NET 2.0 Master Page Problem. Poster: gelid. Dated: Tuesday ... ASP.NET 2.0 master pages. Message: I was working on a problem with your menu when creating ...


 
All Times Are GMT