Thank you for your reply. I correct this problem but I can't understand how??!! so I write my scenario for you, be patient.....
I have a gridview that supports 2 status:
1- Show in queue SMS (grouped by date).
2- Show SMS templates (grouped by SMSTitle)
I supposed first status in design mode, and add my custom column in design mode, and then remove auto generated column after binding completed.(because if I set autogenerate=false then grouping dose not work??!!)
and for second status I write this code in page load.
In fact I remove my custom column, and it worked, but I can't understand why??!!
answered on 03 Mar 2009, 11:18 AM
I am glad to hear that you have found solution for this issue.
The FieldName property is used to associate a column with the corresponding data field in the data table. The grouping uses the same FiledName value. Because of this, you will observe this effect when you change the value for a grouped column.
I you have any further questions, please write us back.