Web Form
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngdatagridrepeaterdatalist' list.


Bay Kirk G Contr WRALC/LAOR
-- Moved from [aspfreeforall] to [aspngdatagridrepeaterdatalist] by Victor Von Doom <Click here to reveal e-mail address> --

Good Morning,

I have an ASP.net page that I'm using to present some data as well as a
textbox to add data to the item. The problem is the textbox won't show up on
the page unless I place it before the datalist. Is this by design, or am I
doing something wrong.

Thanks

Kirk

Code follows:

<body>
<p>
<asp:DataList id="MyDataList" runat="server" Width="606px"
BackColor="White" RepeatColumns="2" BorderStyle="None" GridLines="Both"
BorderWidth="1px" BorderColor="#CCCCCC" CellPadding="3" RepeatLayout="Flow"
Height="628px">
<ItemStyle forecolor="#000066"></ItemStyle>
<FooterStyle forecolor="#000066"
backcolor="White"></FooterStyle>
<HeaderStyle font-bold="True" forecolor="White"
backcolor="#006699"></HeaderStyle>
<SelectedItemStyle font-bold="True" forecolor="White"
backcolor="#669999"></SelectedItemStyle>
<ItemTemplate>
<asp:label runat="server" font-bold="True" text='<%# "Email
Address:<a href=mailto:" + databinder.eval(container.dataitem, "email") +
">"+databinder.eval(container.dataitem, "email")+"</a>"%> ' />
<br />
<br />
<asp:label runat="server" font-bold="True" text='<%# "Name:
" + databinder.eval(container.dataitem, "username") %>' />
<br />
<br />
<asp:label runat="server" font-bold="True" text='<%# "Short
Description: " + databinder.eval(container.dataitem, "subject") %>' />
<br />
<br />
<asp:label runat="server" font-bold="True" text='<%#
"Comment/Feedback: " + databinder.eval(container.dataitem, "Comment") %>' />
</ItemTemplate>
</asp:DataList>
</p>
<form method="post" runat="server">
<asp:TextBox id="TextBox1" runat="server"
TextMode="MultiLine"></asp:TextBox>
</form>
<p>
</p>
</body>

Reply to this message...
 
    
Alex Dresko
I'm really not sure if it matters, but it might help to place your
DataList within your form tags. I don't know ever everyone else is like
me, but since I've been using ASP.NET I've gotten into the habbit of
putting all of my visual code between the form tags.

Alex Dresko
Three Point Oh!

-----Original Message-----
From: Bay Kirk G Contr WRALC/LAOR [mailto:Click here to reveal e-mail address]
Sent: Monday, August 19, 2002 10:09 AM
To: aspngDataGridRepeaterDatalist
Subject: [aspngdatagridrepeaterdatalist] Web Form

-- Moved from [aspfreeforall] to [aspngdatagridrepeaterdatalist] by
Victor Von Doom <Click here to reveal e-mail address> --

Good Morning,

I have an ASP.net page that I'm using to present some data as well as a
textbox to add data to the item. The problem is the textbox won't show
up on the page unless I place it before the datalist. Is this by design,
or am I doing something wrong.

Thanks

Kirk

Code follows:

<body>
<p>
<asp:DataList id="MyDataList" runat="server" Width="606px"
BackColor="White" RepeatColumns="2" BorderStyle="None" GridLines="Both"
BorderWidth="1px" BorderColor="#CCCCCC" CellPadding="3"
RepeatLayout="Flow" Height="628px">
<ItemStyle forecolor="#000066"></ItemStyle>
<FooterStyle forecolor="#000066"
backcolor="White"></FooterStyle>
<HeaderStyle font-bold="True" forecolor="White"
backcolor="#006699"></HeaderStyle>
<SelectedItemStyle font-bold="True" forecolor="White"
backcolor="#669999"></SelectedItemStyle>
<ItemTemplate>
<asp:label runat="server" font-bold="True" text='<%#
"Email Address:<a href=mailto:" + databinder.eval(container.dataitem,
"email") + ">"+databinder.eval(container.dataitem, "email")+"</a>"%> '
/>
<br />
<br />
<asp:label runat="server" font-bold="True" text='<%#
"Name: " + databinder.eval(container.dataitem, "username") %>' />
<br />
<br />
<asp:label runat="server" font-bold="True" text='<%#
"Short
Description: " + databinder.eval(container.dataitem, "subject") %>' />
<br />
<br />
<asp:label runat="server" font-bold="True" text='<%#
"Comment/Feedback: " + databinder.eval(container.dataitem, "Comment")
%>' />
</ItemTemplate>
</asp:DataList>
</p>
<form method="post" runat="server">
<asp:TextBox id="TextBox1" runat="server"
TextMode="MultiLine"></asp:TextBox>
</form>
<p>
</p>
</body>
| [aspngdatagridrepeaterdatalist] member Click here to reveal e-mail address = YOUR ID
| http://www.aspfriends.com/aspfriends/aspngdatagridrepeaterdatalist.asp

| = JOIN/QUIT

Reply to this message...
 
    
Bay Kirk G Contr WRALC/LAOR
Alex,

I tried that too. Didn't help. But that's a good idea about keeping
everything within the form tag.

Thanks

Kirk

-----Original Message-----
From: Alex Dresko [mailto:Click here to reveal e-mail address]
Sent: Monday, August 19, 2002 10:58 AM
To: aspngDataGridRepeaterDatalist
Subject: [aspngdatagridrepeaterdatalist] RE: Web Form

I'm really not sure if it matters, but it might help to place your DataList
within your form tags. I don't know ever everyone else is like me, but since
I've been using ASP.NET I've gotten into the habbit of putting all of my
visual code between the form tags.

Alex Dresko
Three Point Oh!

-----Original Message-----
From: Bay Kirk G Contr WRALC/LAOR [mailto:Click here to reveal e-mail address]
Sent: Monday, August 19, 2002 10:09 AM
To: aspngDataGridRepeaterDatalist
Subject: [aspngdatagridrepeaterdatalist] Web Form

-- Moved from [aspfreeforall] to [aspngdatagridrepeaterdatalist] by Victor
Von Doom <Click here to reveal e-mail address> --

Good Morning,

I have an ASP.net page that I'm using to present some data as well as a
textbox to add data to the item. The problem is the textbox won't show up on
the page unless I place it before the datalist. Is this by design, or am I
doing something wrong.

Thanks

Kirk

Code follows:

<body>
<p>
<asp:DataList id="MyDataList" runat="server" Width="606px"
BackColor="White" RepeatColumns="2" BorderStyle="None" GridLines="Both"
BorderWidth="1px" BorderColor="#CCCCCC" CellPadding="3" RepeatLayout="Flow"
Height="628px">
<ItemStyle forecolor="#000066"></ItemStyle>
<FooterStyle forecolor="#000066"
backcolor="White"></FooterStyle>
<HeaderStyle font-bold="True" forecolor="White"
backcolor="#006699"></HeaderStyle>
<SelectedItemStyle font-bold="True" forecolor="White"
backcolor="#669999"></SelectedItemStyle>
<ItemTemplate>
<asp:label runat="server" font-bold="True" text='<%# "Email
Address:<a href=mailto:" + databinder.eval(container.dataitem,
"email") + ">"+databinder.eval(container.dataitem, "email")+"</a>"%> ' />
<br />
<br />
<asp:label runat="server" font-bold="True" text='<%#
"Name: " + databinder.eval(container.dataitem, "username") %>' />
<br />
<br />
<asp:label runat="server" font-bold="True" text='<%# "Short
Description: " + databinder.eval(container.dataitem, "subject") %>' />
<br />
<br />
<asp:label runat="server" font-bold="True" text='<%#
"Comment/Feedback: " + databinder.eval(container.dataitem, "Comment") %>' />
</ItemTemplate>
</asp:DataList>
</p>
<form method="post" runat="server">
<asp:TextBox id="TextBox1" runat="server"
TextMode="MultiLine"></asp:TextBox>
</form>
<p>
</p>
</body>
| [aspngdatagridrepeaterdatalist] member Click here to reveal e-mail address = YOUR ID
| http://www.aspfriends.com/aspfriends/aspngdatagridrepeaterdatalist.asp

| = JOIN/QUIT

| [aspngdatagridrepeaterdatalist] member Click here to reveal e-mail address = YOUR
| ID
| http://www.aspfriends.com/aspfriends/aspngdatagridrepeaterdatalist.asp
| = JOIN/QUIT

Reply to this message...
 
    
DavidW
Do you mean that, if you add the text box AFTER the ending datalist tag, but
BEFORE the ending form tag, it does not appear on the page?
Show us how your code is here just between body tags, showing the Datalist &
text box

David Wier
http://aspexpress.com
Home of ASP Express - the best ASP/ASP.Net text editor in the Galaxy

"Bay Kirk G Contr WRALC/LAOR" <Click here to reveal e-mail address> wrote in message
news:699771@aspngdatagridrepeaterdatalist...
[Original message clipped]

Reply to this message...
 
    
Bay Kirk G Contr WRALC/LAOR
The page is exactly as you see it at the bottom of this email. The form &
textbox are after the DataList.

Kirk

-----Original Message-----
From: DavidW [mailto:Click here to reveal e-mail address]
Sent: Monday, August 19, 2002 11:22 AM
To: aspngDataGridRepeaterDatalist
Subject: [aspngdatagridrepeaterdatalist] Re: Web Form

Do you mean that, if you add the text box AFTER the ending datalist tag, but
BEFORE the ending form tag, it does not appear on the page? Show us how your
code is here just between body tags, showing the Datalist & text box

David Wier
http://aspexpress.com
Home of ASP Express - the best ASP/ASP.Net text editor in the Galaxy

"Bay Kirk G Contr WRALC/LAOR" <Click here to reveal e-mail address> wrote in message
news:699771@aspngdatagridrepeaterdatalist...
[Original message clipped]

| [aspngdatagridrepeaterdatalist] member Click here to reveal e-mail address = YOUR
| ID
| http://www.aspfriends.com/aspfriends/aspngdatagridrepeaterdatalist.asp
| = JOIN/QUIT

Reply to this message...
 
    
Ravi Somepalli
(Type your message here)

--------------------------------
From: Ravi Somepalli

I have the same problem the <asp:TextBox
does not appear please let me know if you figured the problem
Reply to this message...
 
 
System.Web.UI.MobileControls.TextBox
System.Web.UI.WebControls.BorderStyle
System.Web.UI.WebControls.DataList
System.Web.UI.WebControls.GridLines
System.Web.UI.WebControls.RepeatLayout
System.Web.UI.WebControls.TextBox
System.Windows.Forms.BorderStyle
System.Windows.Forms.TextBox




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com