Click here to Skip to main content
15,891,248 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionRe: ASP.NET Active Directory Pin
Abhijit Jana7-Aug-08 19:53
professionalAbhijit Jana7-Aug-08 19:53 
AnswerRe: ASP.NET Active Directory Pin
Socheat.Net7-Aug-08 20:12
Socheat.Net7-Aug-08 20:12 
GeneralRe: ASP.NET Active Directory Pin
Abhijit Jana7-Aug-08 20:19
professionalAbhijit Jana7-Aug-08 20:19 
GeneralRe: ASP.NET Active Directory Pin
Socheat.Net7-Aug-08 21:51
Socheat.Net7-Aug-08 21:51 
GeneralRe: ASP.NET Active Directory Pin
Abhijit Jana7-Aug-08 22:24
professionalAbhijit Jana7-Aug-08 22:24 
QuestionA page can have only one server-side Form tag. Pin
snouto7-Aug-08 11:59
snouto7-Aug-08 11:59 
AnswerRe: A page can have only one server-side Form tag. Pin
Abhijit Jana7-Aug-08 18:19
professionalAbhijit Jana7-Aug-08 18:19 
GeneralRe: A page can have only one server-side Form tag. Pin
snouto7-Aug-08 20:46
snouto7-Aug-08 20:46 
Thanks my friend for your reply

i don't make any form run at server in the content page , i just insert a content tag which points to a content place holder inside the master page file

but the problem is that when i want to place for example two contentplace holders inside the master page suppose the first contentplace holder will contain a login control from the content page

if i want to place another content tag which points to another content place holder inside the master page file which contains controls that must be placed inside a form tag when i either put a form tag which runs at server in either the master page file or content page i got that exception .


the master page code is

<![CDATA[<%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage.master.cs" Inherits="MasterPage" %>]]>



<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Untitled Page</title>
    <asp:contentplaceholder id="head" runat="server" xmlns:asp="#unknown">
    </asp:contentplaceholder>
</head>
<body>
    <form id="form1" runat="server">
    <div>
          <asp:contentplaceholder id="ContentPlaceHolder1" runat="server" xmlns:asp="#unknown">
        
        </asp:contentplaceholder>
        
        
        
    </div>
    </form>
  <form id="form2" runat="server">
  <asp:contentplaceholder id="ContentPlaceHolder2" runat="server" xmlns:asp="#unknown">
        </asp:contentplaceholder>
  </form>
</body>
</html>



this is the content page

<![CDATA[<%@ Page Language="C#" AutoEventWireup="true" CodeFile="content.aspx.cs" Inherits="content" MasterPageFile="~/MasterPage.master" %>]]>


<asp:content id="content1" contentplaceholderid="ContentPlaceHolder1" runat="server" xmlns:asp="#unknown">
    <asp:login id="Login1" runat="server">
    </asp:login>
</asp:content>

<asp:content id="content2" runat="server" contentplaceholderid="ContentPlaceHolder2" xmlns:asp="#unknown">
    <asp:login id="Login2" runat="server">
    </asp:login>
</asp:content>

i got that error

Human knowledge belongs to the world.

QuestionSearch Page Pin
scottichrosaviakosmos7-Aug-08 9:31
scottichrosaviakosmos7-Aug-08 9:31 
AnswerRe: Search Page Pin
NeverHeardOfMe7-Aug-08 9:47
NeverHeardOfMe7-Aug-08 9:47 
GeneralRe: Search Page Pin
led mike7-Aug-08 9:54
led mike7-Aug-08 9:54 
GeneralRe: Search Page Pin
NeverHeardOfMe7-Aug-08 9:59
NeverHeardOfMe7-Aug-08 9:59 
GeneralRe: Search Page Pin
led mike7-Aug-08 11:52
led mike7-Aug-08 11:52 
GeneralRe: Search Page Pin
NeverHeardOfMe7-Aug-08 13:01
NeverHeardOfMe7-Aug-08 13:01 
AnswerRe: Search Page Pin
Mike Ellison7-Aug-08 10:09
Mike Ellison7-Aug-08 10:09 
AnswerRe: Search Page Pin
Paul Conrad7-Aug-08 11:05
professionalPaul Conrad7-Aug-08 11:05 
GeneralRe: Search Page Pin
scottichrosaviakosmos8-Aug-08 9:40
scottichrosaviakosmos8-Aug-08 9:40 
GeneralRe: Search Page Pin
Paul Conrad8-Aug-08 9:43
professionalPaul Conrad8-Aug-08 9:43 
QuestionWebService under Moss Pin
Member 36653157-Aug-08 8:53
Member 36653157-Aug-08 8:53 
NewsRe: WebService under Moss Pin
led mike7-Aug-08 9:52
led mike7-Aug-08 9:52 
GeneralRe: WebService under Moss Pin
Member 36653157-Aug-08 12:43
Member 36653157-Aug-08 12:43 
QuestionRe: WebService under Moss Pin
led mike8-Aug-08 5:23
led mike8-Aug-08 5:23 
QuestionRe: WebService under Moss Pin
Member 36653158-Aug-08 10:19
Member 36653158-Aug-08 10:19 
AnswerRe: WebService under Moss Pin
Member 36653159-Aug-08 0:18
Member 36653159-Aug-08 0:18 
QuestionGoogle AdWords Pin
Member 39190497-Aug-08 8:21
Member 39190497-Aug-08 8:21 

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.