Postback

  • Thread starter Thread starter MA
  • Start date Start date
M

MA

Hi all!

I have a web page with a datagrid that are connected to a database. Here are
my questions:
1. Is it possible to have an onClick event on a single cell, so if I click
on a cell in my grid, I can figure out witch one it is and the value in it?
2. How can I change data in a single cell without postback? Let´s say I set
focus on one cell, push a button and changes the value/text in this cell
without postback. Is this possible?

/Marre
 
MA said:
Hi all!

I have a web page with a datagrid that are connected to a database. Here
are my questions:
1. Is it possible to have an onClick event on a single cell, so if I click
on a cell in my grid, I can figure out witch one it is and the value in
it? 2. How can I change data in a single cell without postback? Let´s say
I set focus on one cell, push a button and changes the value/text in this
cell without postback. Is this possible?

Yes, you can use client side c# to manipulate the elements of the datagrid.
 
MA said:
Hi all!

I have a web page with a datagrid that are connected to a database. Here
are my questions:
1. Is it possible to have an onClick event on a single cell, so if I click
on a cell in my grid, I can figure out witch one it is and the value in
it?

Of course. The whole point of the datagrid is to respond to events within
the grid. That's how you can do deletes and inserts of records.
 
Back
Top