how can I dynamically display the footer text of datagrid

L

lal

I have a datagrid.which has 4 columns and last column is a radiobuttonlist.
List has 4 options-A,B,C and D.
Below that I have to display the no.of As,Bs etc.
I got a variable with this no.of values.But how can I assign it into the
datagrid footer.
I also use a label in the template column.But the
datagrid.findcontrol("labelname") did n't find the control.

I have to get the total for every databind.
I used the radiobutton click event for updating database.so for each and
every click datagrid updates.So that time I also update the total.I user
several event for this datagrid..

..it only shows initialised state ie 0 0 0 0 .If I click on A it must change
to 1 0 0 0 and so on.for every click I am updating the grid..but that is why
I want to get the footer value for every datagrid load..

When I used the onItemDataBound event of radiobuttonlist it works only at
the first loading of datagrid.it is not working with radiobutton click
event.I am updating the grid at everytime ..it is working.autopostback is
true.You please help me for writing this in "ondatabinding event" of
datagrid..I think then it will works..

I am waiting for ur reply..becos it is very urgent..
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,576
Members
45,054
Latest member
LucyCarper

Latest Threads

Top