473,320 Members | 1,828 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

nested server controls, is that allowed?

ASP.NET 2.0

Here I have a repeater control and a table server control, I wonder if this
approach is allowed in ASP.NET 2.0 or should I use a html table instead?

Originally I used a html table but now wants to convert it to a server
control so that I can apply themes to it

<asp:Repeater ID="rptUsers" runat="server"
OnItemDataBound="rptUsers_ItemDataBound" >
<HeaderTemplate><asp:Table ID="Table1" Width="100%"
runat="server"></HeaderTemplate>
<ItemTemplate >
<asp:TableRow>

any suggestions?

Feb 26 '07 #1
2 924
sure, not a problem

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net
"Jeff" <it************@hotmail.com.NOSPAMwrote in message
news:Oj**************@TK2MSFTNGP04.phx.gbl...
ASP.NET 2.0

Here I have a repeater control and a table server control, I wonder if
this
approach is allowed in ASP.NET 2.0 or should I use a html table instead?

Originally I used a html table but now wants to convert it to a server
control so that I can apply themes to it

<asp:Repeater ID="rptUsers" runat="server"
OnItemDataBound="rptUsers_ItemDataBound" >
<HeaderTemplate><asp:Table ID="Table1" Width="100%"
runat="server"></HeaderTemplate>
<ItemTemplate >
<asp:TableRow>

any suggestions?

Feb 26 '07 #2
Howdy,

Yes, it is. Please note you won't be able to change SkinID programmatically
if you add cells declaratively. If you want to change SkinID
programmatically, do it before adding to Cells collection.

Hope this helps,

Milosz
"Jeff" wrote:
ASP.NET 2.0

Here I have a repeater control and a table server control, I wonder if this
approach is allowed in ASP.NET 2.0 or should I use a html table instead?

Originally I used a html table but now wants to convert it to a server
control so that I can apply themes to it

<asp:Repeater ID="rptUsers" runat="server"
OnItemDataBound="rptUsers_ItemDataBound" >
<HeaderTemplate><asp:Table ID="Table1" Width="100%"
runat="server"></HeaderTemplate>
<ItemTemplate >
<asp:TableRow>

any suggestions?

Feb 26 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: ~~~ .NET Ed ~~~ | last post by:
Hi, As you all know when an ASP.NET web form is created that will include web controls and such, it contains a FORM that that identifies the web form and its containing controls. Well, I have a...
20
by: Robert | last post by:
Need some help to stop me going around in circles on this one.... Have a nested subform (subform2) which simulates a continuous form for the record on the parent subform. Subform2 has rows of...
8
by: =?Utf-8?B?QW1yaXQgS29obGk=?= | last post by:
Okay, after much research, I have discovered a few interesting things in ASP.NET. I have a MasterPage that has a WebForm on it and it looks like this: <body> <form id="controls"...
2
by: brad | last post by:
Group, I'm using Visual Studio 2003 to create an ASP.NET 1.1 project which contains nested server user controls in order to create a tree-like hierarchy. The tree is a sort of question and...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.