eService - Gridview problems

1.Have to add more attributes to the My services entity grid which displays all the cases related to my company or to what i have created. I have looked at the eService Console and edited the Case Entity which provides
me with the attributes from case entity but for some reason i can’t select the “statecode” attribute which is of type state?

2.When i add new attributes to the case entity by adding html code to eService Config V1 then the column appears on the grid but it errors when i try to create new cases? As seen in
Error 1

3.When my Grid paging occurs it does not allow me to select the next page index from the webpage. As seen in
Error 2

Hope you can assist me with my questions please.

Error 1

Server Error in '/' Application.

Server was unable to process request.

Description:
An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated
in the code.

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified
using the exception stack trace below.

thanks for that and do edit the configuration XML on eservice config V1 when i get the error. I added the portal subject on and it works fine so don't know why i can't add in custom attributes or state entity attributes?

i have edited the grid by adjusting the xml successfully (added modification date, statecode and ownerid). Did you manage to get anything working on the viewcase page?
Ill try adding a custom field tomorrow...

Cool thanks for the feedback but would like to know how you got around the[thrownewNotImplementedException(String.Format("Attributes
of type {0} are unable to be saved by the EntityEditor control.",attributeType.ToString)));
exception on EntityEditor.ascx.cs when you have added the Statecode attribute to portal and want to create a new case or view an existing case?

Was puzzled for a minute but then saw what is different.....you are using the statusCode of type Status which is handled but i am using the statecode of type state to give me Active, Resolved,
Cancelled ext. This field is necessary for me to show because i need to show all cases on the portal and need to see the state of each case in the grid. By adding this field i get the exception error.

just added it and it works on the grid but fails when editing the individual case, but i get a more useful error message (see below).

Server Error in '/' Application.

Attributes of type State are unable to be displayed in the EntityEditor control.

Description:
An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NotImplementedException: Attributes of type State are unable to be displayed in the EntityEditor control.

Source Error:

Line 638:
Line 639: default:
Line 640: throw new NotImplementedException(
Line 641: String.Format("Attributes of type {0} are unable to be displayed in the EntityEditor control.",
Line 642: attributeData.AttributeType.Value.ToString()));

Yes that is the error i get too. It is because the state type is not supported in the case statement on EntityEditor.ascx.cs. I know how to add in the extra case but have no idea of what to add
to the statement....What i am busy doing as a workaround is to add a new customer attribute and update the newStatusCode with statuscode through workflow and plugin. Workflow is to update the field every time a case is created and plugin for when case is resolved
or cancelled....because entity is marked as read only by the time the workflow want to update resolved status.....don’t know if this is the correct way of doing it....i would have liked to just update the ascx.cs page to handle state types....