Design a matrix (rows and column) control in ASP.NET

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • MSK

    #1

    Design a matrix (rows and column) control in ASP.NET

    Hi

    I am trying to design a small WEB application to track the employees
    holiday/leave details using .Net technologies ( ASP.NET/ SQL server)

    I wan to design a matrix control (using listview,datagr id...etc) like
    the following

    _______________ _______________ _______________ ____
    Jan | Feb | Mar .............. | Dec
    _______________ _______________ _______________ ____
    1 Morning
    -------------------------------------------------------------------------------------
    Afternoon
    _______________ _______________ _______________ ____
    2 Morning
    -------------------------------------------------------------------------------------
    Afternoon
    _______________ _______________ _______________ ____
    3 Morning
    -------------------------------------------------------------------------------------
    Afternoon
    _______________ _______________ _______________ ____..
    ...
    ...
    31
    _______________ _______________ _______________ ____
    (just imagine this grid has vertical lines which makes cells for each
    entry)

    if user selects any cell then I want to change the cell's background
    color

    How to design a grid to show the matrix values [like the above] also I
    don't know which control will be helpful [datagrid, listview..etc] ?
    can my requirements [like changing each cell value] be achievable ?

    Thanks
    MSK

  • =?Utf-8?B?YnJ1Y2UgYmFya2Vy?=

    #2
    RE: Design a matrix (rows and column) control in ASP.NET

    how you do it depends on your design choices. are you doing an ajax
    application, or server based one with postbacks? changing cell color is just
    setting styles, so either will work, though rollover effects will require
    javascript code in either case.

    if you want to use ajax see the jquery controls, if serverside, see gridview
    or 3rd party control if you want effects and don't know dom/javascript.


    -- bruce (sqlwork.com)


    "MSK" wrote:
    Hi
    >
    I am trying to design a small WEB application to track the employees
    holiday/leave details using .Net technologies ( ASP.NET/ SQL server)
    >
    I wan to design a matrix control (using listview,datagr id...etc) like
    the following
    >
    _______________ _______________ _______________ ____
    Jan | Feb | Mar .............. | Dec
    _______________ _______________ _______________ ____
    1 Morning
    -------------------------------------------------------------------------------------
    Afternoon
    _______________ _______________ _______________ ____
    2 Morning
    -------------------------------------------------------------------------------------
    Afternoon
    _______________ _______________ _______________ ____
    3 Morning
    -------------------------------------------------------------------------------------
    Afternoon
    _______________ _______________ _______________ ____..
    ...
    ...
    31
    _______________ _______________ _______________ ____
    (just imagine this grid has vertical lines which makes cells for each
    entry)
    >
    if user selects any cell then I want to change the cell's background
    color
    >
    How to design a grid to show the matrix values [like the above] also I
    don't know which control will be helpful [datagrid, listview..etc] ?
    can my requirements [like changing each cell value] be achievable ?
    >
    Thanks
    MSK
    >
    >

    Comment

    Working...