Y
yefei
i have a grid view, with two hyperlink fields declared decratively, and
few bound fields added dynamically in my code
i have enabled the sorting and paging for the gridview, and also
declared sort expression programmatically.
but when i rendered the grid view and click the column header, the
girdview just gone, like rendered without any data
it is the same situation when i click page index other than 1.
Price.SortExpression = "Unit Price";//for bound field
Do I have to handle the pageindexchange or sorting event
programmatically, or need other settings?
few bound fields added dynamically in my code
i have enabled the sorting and paging for the gridview, and also
declared sort expression programmatically.
but when i rendered the grid view and click the column header, the
girdview just gone, like rendered without any data
it is the same situation when i click page index other than 1.
Price.SortExpression = "Unit Price";//for bound field
Do I have to handle the pageindexchange or sorting event
programmatically, or need other settings?