Sorting of columns in Tray.aspx

3 views
Skip to first unread message

heresandyboy

unread,
Sep 2, 2008, 12:51:59 PM9/2/08
to Sinergia Help Desk
Hi been a while,

Having given up on trying to add a new field for now, re:my last post.
I have been working on tweaking my exisiting helpdesk for use on a
Touch Diamond mobile, im all done with that and it looks great, ill
upload some pics of the end result. Im having some trouble though. On
the tray.aspx page i seem unable to control the sorting of the
trayview gridview. This means that my mobile and PC users constantly
have to scroll miles to the bottom of the page when looking at My
Cases to access the latest case. How can i change the order of the
gridview to sort by date DESC?, it seems currently to sort by date
asc, i think this is controlled somewhere in the casedataaccess,
surely i can change this without having to recompile?

Cheers

Andy

gabouy

unread,
Oct 5, 2008, 6:05:19 PM10/5/08
to sinergia-...@googlegroups.com
andy,

Cases are listed by invoking ListCases, in CaseDataAccess.cs.

The sql query is dinamically created in the CreateCaseSqlCommand method. You should add the order clause, and (unfortunately) recompile.

regards,
gabo
Reply all
Reply to author
Forward
0 new messages