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,datagrid...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


.



Relevant Pages

  • Software engineer
    ... I have a BS in Electrical Engineering and computer science and worked on my ... I have also been involved in hardware design. ... Developed an ATL DCOM based Server and MFC client GUI using Visual C++6.0. ... User can control the data acquisition parameters by modifying the script file. ...
    (FreeBSD-Security)
  • Re: Using SQl to store aspx pages and memory problems
    ... The solution I was looking at would be to create some specific server side ... I want the data to be saved in the page so I thought that a asp.net control ... the original design and one that ensures that future system changes will not ... > database isn't some sort of magic pixie dust that solves all problems. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: File locking
    ... client is Windows XP SP2 and the server is Windows Server 2003. ... If you do not have control over these file operations, ... know how you would even know which cell is being modified. ...
    (microsoft.public.win32.programmer.networks)
  • Re: can I ensure data integrity with mmap?
    ... as each file is "done" it needs to be uploaded to a server. ... I don't think "my design" is in the picture here. ... have control over the uploading algorithm but that's it. ...
    (comp.unix.programmer)
  • RE: How to move radio buttons into table cells?Help!
    ... If you drag and drop a table onto the page in design view and then add rowws ... and TD in HTML tab page. ... ASP table control as below ... select a cell), then right click Paste. ...
    (microsoft.public.dotnet.framework.aspnet)

Loading