Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • rsa 3 posts 23 karma points
    Jun 22, 2012 @ 20:13
    rsa
    0

    Presenting tabular data

    Here is a newbie with a basic understanding problem.
    (sorry for crossposting - in section Extending Umbraco, I did not get any replies, so I will try here once again)
    I need to present data from a table in tabular form on a page. (with paging)
    Think of a list of adresses: Name, Age, Adress...etc.. like

    NAME --- AGE --- Adress
    Steve --- 32 ----- Adress One
    Mike ---- 55 ----- Adress Two

    Page: 1 2 3 4 ...
    << FIRST < PREV NEXT> LAST>>

    I did this numerous times in ASP, ASP.NET...

    That data also has to be editable in a backend-page with CRUD-methods.

    My questions:

    1. How to access my own data-table, or can I customize the umbracos own content tables to store any kind of data-fields?

    2. How to setup a front-end page that displays not only one record but a table?
    2.1. How to setup paging for that page?

    3. How to setup a backend-page to let authors create-edit-update-delete records? (preferably also in a tabular form)

     

    Can someone PLEASE give me some hints how I can accomplish this - which seems to me a trivial task in "classic" asp.net...

     

    Thank you!!!
    Reinhard

  • Mike Chambers 621 posts 1203 karma points c-trib
    Jun 22, 2012 @ 21:59
    Mike Chambers
    0

    why not embrace umbraco completely, and forget about database tables...

    Perhaps take a look at uComponents, and create a datatype for you tabular data, the textstringArray datatype perhaps... http://ucomponents.codeplex.com/wikipage?title=TextstringArray&referringTitle=Documentation

    then you can have a parameter on a doctype of USERSTABLE, and your administrator can edit the user list as if a table right in front of them...

    then http://www.nibble.be/?p=11 has examples on paging functionality via xslt... you'd just need to extend that to deal with the array coming from you ucomponent:teststringArray

     

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies