I'm having the same problem.. which even prompted me to register on here...
I am using SelfServicing, run time 2.0.50727...
My GridView points to an LLBLGenProDataSource... and I have a column like this:
<asp:TemplateField HeaderText="Email">
<ItemTemplate>
<asp:Label ID="Label5" runat="server" Text='<%# ((MyEntity)Container.DataItem).Contact.Email %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
I can't set SortExpression="Email", right? I thought maybe setting up relationToUse to include MyEntity's relation with Contact table.. that I could then set SortExpression to "Contact.Email" ? but that doesn't make sense. I tried to capture the OnSorting event and if the user picked e.SortExpression = "Email" then I would set sorterToUse for the LLBLGenProDataSource to Email field... but this didn't work either.
Thanks for the assistance!
Darrell