N
news
Hello All,
As a VB6/C/C++ (and some Java) developer, I've been toying with c# for
the last couple of weeks. I'm currently trying to create a grid of 3x3
with each cell containing numbers from 1 to 9. The idea is that if you
push one of the numbers, it gets 'blown up' to the full size of the
control, hiding all the other ones. It should also be possible to
enable/disable some cells in the grid through calling a method.
I've actually managed to do all this in a "Web User Control". I used 9
textboxes because I found it to be impossible (?) to use the datagrid
control without an automated datasource. Furthermore I suspected that a
datagrid wouldn't give me the option of disabling/enabling cells at
will.
I'm sad to say I was very disappointed with the build-up speed of my
website using these controls (I have to use a 9x9 grid of them) and
worst of all they didn't work at all in Firefox!
I would appreciate it very much if anyone can point me in the right
direction here about what's the best thing to do, should I:
1) Get rid of the textboxes and use some sort of grid-control to
improve build-up speed
2) Use a WebCustomControl and generate some HTML myself (for build-up
speed and Firefox compatibility)
3) Create a datasource and link it to the DataGrid
4) ???
In case 2) I would be totally lost about how to store the values
selected.
I'm not expecting 'free code', just some pointers showing me 'the right
way of doing things'. After all, this is meant as a personal study
project
As a VB6/C/C++ (and some Java) developer, I've been toying with c# for
the last couple of weeks. I'm currently trying to create a grid of 3x3
with each cell containing numbers from 1 to 9. The idea is that if you
push one of the numbers, it gets 'blown up' to the full size of the
control, hiding all the other ones. It should also be possible to
enable/disable some cells in the grid through calling a method.
I've actually managed to do all this in a "Web User Control". I used 9
textboxes because I found it to be impossible (?) to use the datagrid
control without an automated datasource. Furthermore I suspected that a
datagrid wouldn't give me the option of disabling/enabling cells at
will.
I'm sad to say I was very disappointed with the build-up speed of my
website using these controls (I have to use a 9x9 grid of them) and
worst of all they didn't work at all in Firefox!
I would appreciate it very much if anyone can point me in the right
direction here about what's the best thing to do, should I:
1) Get rid of the textboxes and use some sort of grid-control to
improve build-up speed
2) Use a WebCustomControl and generate some HTML myself (for build-up
speed and Firefox compatibility)
3) Create a datasource and link it to the DataGrid
4) ???
In case 2) I would be totally lost about how to store the values
selected.
I'm not expecting 'free code', just some pointers showing me 'the right
way of doing things'. After all, this is meant as a personal study
project
