Click here to Skip to main content
16,004,927 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionscheduling in ASP.Net Pin
Amit Patel198518-May-10 4:14
Amit Patel198518-May-10 4:14 
AnswerRe: scheduling in ASP.Net Pin
John Bhajan18-May-10 4:41
John Bhajan18-May-10 4:41 
GeneralRe: scheduling in ASP.Net Pin
Sandeep Mewara18-May-10 6:55
mveSandeep Mewara18-May-10 6:55 
QuestionPrevent querystring from changing when using Response.Redirect or Server.Transfer Pin
Adam Brown 318-May-10 4:10
Adam Brown 318-May-10 4:10 
AnswerRe: Prevent querystring from changing when using Response.Redirect or Server.Transfer Pin
Sandeep Mewara18-May-10 6:59
mveSandeep Mewara18-May-10 6:59 
QuestionHow Can I Add MasterPage My Existing Projet Pin
nevzatagan18-May-10 3:37
nevzatagan18-May-10 3:37 
AnswerRe: How Can I Add MasterPage My Existing Projet Pin
Not Active18-May-10 3:52
mentorNot Active18-May-10 3:52 
AnswerRe: How Can I Add MasterPage My Existing Projet Pin
Sandeep Mewara18-May-10 7:12
mveSandeep Mewara18-May-10 7:12 
You have to do that manually for all of them.

First you have add the following code as follows:
1. Mention the Master Page File path in the Page Directory
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Default1.aspx.cs" Inherits="Default1" Title="Untitled Page" %>


2. Then add the content place holder code next to the page declarative code.
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> 
<!-- ContentPlaceHolderID Should match master pages's ContentPlaceHolder's IDRest of your html markups, including Server Controls goes here. -->
<asp:Content>


3. Then remove HTML tags from up to tag

P.S.: Be sure that you do not have a runat=server in form tag anymore. (because master page form tag contain the runat=server attribute.)

This way you can make the existing page to the master paged one.
Questionwebsite got hacked Pin
Rohit16db18-May-10 2:10
Rohit16db18-May-10 2:10 
AnswerRe: website got hacked Pin
R. Giskard Reventlov18-May-10 2:29
R. Giskard Reventlov18-May-10 2:29 
GeneralRe: website got hacked Pin
Rohit16db18-May-10 3:01
Rohit16db18-May-10 3:01 
GeneralRe: website got hacked Pin
Ankur\m/18-May-10 3:33
professionalAnkur\m/18-May-10 3:33 
AnswerRe: website got hacked Pin
Sandeep Mewara18-May-10 9:43
mveSandeep Mewara18-May-10 9:43 
QuestionProblem in form view empty data template in c#.net [modified] Pin
sudheera p18-May-10 0:52
sudheera p18-May-10 0:52 
AnswerRe: Problem in form view empty data template in c#.net Pin
Sandeep Mewara18-May-10 9:55
mveSandeep Mewara18-May-10 9:55 
QuestionHaving problem in my menu bar when using Lightbox jquery Pin
Member 438775718-May-10 0:09
Member 438775718-May-10 0:09 
AnswerRe: Having problem in my menu bar when using Lightbox jquery [modified] Pin
michaelschmitt18-May-10 0:25
michaelschmitt18-May-10 0:25 
QuestionWebservice with Data as parameter Pin
Priya Prk17-May-10 21:17
Priya Prk17-May-10 21:17 
AnswerRe: Webservice with Data as parameter [modified] Pin
Brij17-May-10 21:57
mentorBrij17-May-10 21:57 
QuestionException in C# Pin
rapsrik17-May-10 20:20
rapsrik17-May-10 20:20 
AnswerRe: Exception in C# Pin
Dinesh Mani17-May-10 20:24
Dinesh Mani17-May-10 20:24 
AnswerRe: Exception in C# Pin
nagendrathecoder17-May-10 20:25
nagendrathecoder17-May-10 20:25 
GeneralRe: Exception in C# Pin
rapsrik17-May-10 20:46
rapsrik17-May-10 20:46 
GeneralRe: Exception in C# Pin
rapsrik17-May-10 20:50
rapsrik17-May-10 20:50 
AnswerRe: Exception in C# Pin
nagendrathecoder17-May-10 22:47
nagendrathecoder17-May-10 22:47 

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.