Click here to Skip to main content
15,890,527 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionDisable Pop-up Blocker Pin
arunmisra10-Jan-13 8:32
arunmisra10-Jan-13 8:32 
AnswerRe: Disable Pop-up Blocker Pin
jkirkerx10-Jan-13 12:46
professionaljkirkerx10-Jan-13 12:46 
AnswerRe: Disable Pop-up Blocker Pin
Richard MacCutchan10-Jan-13 21:54
mveRichard MacCutchan10-Jan-13 21:54 
GeneralRe: Disable Pop-up Blocker Pin
arunmisra11-Jan-13 11:22
arunmisra11-Jan-13 11:22 
JokeRe: Disable Pop-up Blocker Pin
jkirkerx13-Jan-13 13:31
professionaljkirkerx13-Jan-13 13:31 
Question.i cant select master page as well as place code n seperate file textbox in vs 2008. Pin
mahi06079-Jan-13 22:48
mahi06079-Jan-13 22:48 
AnswerRe: .i cant select master page as well as place code n seperate file textbox in vs 2008. Pin
Sandeep Mewara10-Jan-13 3:07
mveSandeep Mewara10-Jan-13 3:07 
AnswerRe: .i cant select master page as well as place code n seperate file textbox in vs 2008. Pin
jkirkerx10-Jan-13 12:54
professionaljkirkerx10-Jan-13 12:54 
In the page, you build it like a regular webpage with the header and footer, and in the middle, you place a content placeholder object, a container that will hold that space in the seperate file you created.

Master page
<%@ Master Language="VB" CodeFile="en-us_store.master.vb" Inherits="masterpages_store" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <link rel="shortcut icon" href="/favIcon.ico" />
</head>
<body>
    <form id="form1" runat="server">
      <div id="DefaultHeader_Wrapper_III">
        <asp:ContentPlaceHolder ID="SiteMap" runat="server">
           <!- This is a blank container - leave it emtpy -->
        </asp:ContentPlaceHolder>
      </div>
   </form>
</body>
</html>


default.aspx - reference the container in the master page in your content page, and content below will be injected into the master page.
   <asp:Content ID="Content3" ContentPlaceHolderID="SiteMap" runat="server">
    <!-- Encode the Sitemap Content of the Page -->
    <div class="sitemap_container">
        Some content such as words or pictures in your seperate file
    </div>
</asp:Content>

QuestionStart Up for Project Required Pin
Ziad Aslam8-Jan-13 19:31
Ziad Aslam8-Jan-13 19:31 
AnswerRe: Start Up for Project Required Pin
Richard MacCutchan8-Jan-13 20:58
mveRichard MacCutchan8-Jan-13 20:58 
GeneralRe: Start Up for Project Required Pin
Ziad Aslam8-Jan-13 21:26
Ziad Aslam8-Jan-13 21:26 
GeneralRe: Start Up for Project Required Pin
Richard MacCutchan8-Jan-13 22:48
mveRichard MacCutchan8-Jan-13 22:48 
AnswerRe: Start Up for Project Required Pin
J4amieC9-Jan-13 0:42
J4amieC9-Jan-13 0:42 
GeneralRe: Start Up for Project Required Pin
Ziad Aslam9-Jan-13 1:07
Ziad Aslam9-Jan-13 1:07 
QuestionMVC 4.0 and JQuery .ajax Pin
AnalogNerd8-Jan-13 8:50
AnalogNerd8-Jan-13 8:50 
QuestionSample project ajax file upload with progress bar Pin
sheshagirirao N7-Jan-13 23:25
sheshagirirao N7-Jan-13 23:25 
AnswerRe: Sample project ajax file upload with progress bar Pin
Sandeep Mewara8-Jan-13 3:05
mveSandeep Mewara8-Jan-13 3:05 
QuestionGrouping Columns in Grid View Pin
AmitTalekar7-Jan-13 20:45
AmitTalekar7-Jan-13 20:45 
AnswerRe: Grouping Columns in Grid View Pin
Sandeep Mewara7-Jan-13 20:58
mveSandeep Mewara7-Jan-13 20:58 
GeneralRe: Grouping Columns in Grid View Pin
AmitTalekar7-Jan-13 22:54
AmitTalekar7-Jan-13 22:54 
QuestionHow to make gridview coloum in hyperlink and get the values in lightbox Pin
Krishna Varadharajan7-Jan-13 2:26
Krishna Varadharajan7-Jan-13 2:26 
AnswerRe: How to make gridview coloum in hyperlink and get the values in lightbox Pin
Sandeep Mewara7-Jan-13 2:57
mveSandeep Mewara7-Jan-13 2:57 
GeneralRe: How to make gridview coloum in hyperlink and get the values in lightbox Pin
Krishna Varadharajan7-Jan-13 4:23
Krishna Varadharajan7-Jan-13 4:23 
AnswerRe: How to make gridview coloum in hyperlink and get the values in lightbox Pin
piyush_dobariya7-Jan-13 18:41
piyush_dobariya7-Jan-13 18:41 
AnswerRe: How to make gridview coloum in hyperlink and get the values in lightbox Pin
David Mujica8-Jan-13 3:48
David Mujica8-Jan-13 3:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.