Dynamic HTML in ASP.NET

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hello,

I can manage quite well in ASP but would like some
advice in the best way to achieve dynamic layout
in ASP.NET and still keep the page and code
separate.

Let's say I already have a data source which
contains a few records with a picture link and
a label. That's simple so far but now I would
like to display all the records in a table with
three items in a row, each item maybe in a
bordered cell with picture, label and a checkbox
for selection.

Now the question is what is the most efficient
way of laying this out. I have had a look at the
Repeater control but this will not do as I need
to add the checkboxes programmatically
depending on the item count.

So it seems that I could use a Placeholder control,
loop through my items and add all the table html
using Literal controls. Is this the best way of
doing this, or am I missing something completely?

Any advice will be much appreciated.


.



Relevant Pages

  • Re: Dynamic HTML in ASP.NET
    ... Easiest is making use of the gridview control and then modify a cell to ... bordered cell with picture, label and a checkbox ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Conditional Formatting for Image box on Continuous Forms - Again
    ... Thanks for your advice. ... Regarding the Flex Grid control, I got it by installing Visual Studio ... different records in a continuous form. ... Then you can just copy and paste your images into the relevant fields ...
    (microsoft.public.access.forms)
  • Re: Intensive glucose control in patients with poorly controlled type ?2 diabetes had no significant
    ... :> advice are medications suggested in any way. ... :> control their diabetes... ... exercise you adopt is up to you as a matter of choice. ... medication route (walking up through the quantity and quality of meds ...
    (alt.support.diabetes)
  • Re: ADA Releases First Food Guidelines
    ... along with blood work after blood work... ... If they have been following the ADA advice and thier PCP gets much of his ... they wonder "Where are all those lovely carbs that are so good for me?" ... once you have gained some control over your blood ...
    (alt.support.diabetes)
  • Re: School Design for AD
    ... I concur with the advice so far. ... off even though it offers very low security exposure (merely know the ... You control permission by GROUPS not OUs though. ... And since every domain in a forest effectively trusts every other domain ...
    (microsoft.public.win2000.active_directory)