Data Reload issues: header shown multiple sorting icons per column header
Data Reload issues: header shown multiple sorting icons per column header
dvnandover
Posts: 42Questions: 0Answers: 0
I have a dropdown list and a table in my aspx page and when the user make a selection and click the submit button, the codes pulled data from the server and populated the table using jquery dataTables and datatables.editable plugin. Everything seems to work correctly and inside my ashx file, i was able to get the right columnname and value from the context.request.params to update the database table. I am experienced the following problems when the user change the selection of the dropdown list:
1. Eventhough the table seems to show the right data, some of the column headers shown one extra sorting icons and the number of sorting icons growed as the selection increased. i.e...if the user change the selection of the dropdown 5 times, there are 5 sorting icons shown on some of the column headers.
2. When the user double click to edit a column, the context.request.params.columnName in my ashx file no longer have the actual columnname but instead it has the garbage as shown below:
%3cDIV+class%3dDataTables_sort_wrapper+sizcache%3d%22788%22+sizset%3d%224%22%3eActive%3cSPAN+class%3d%22DataTables_sort_icon+css_right+ui-icon+ui-icon-carat-2-n-s%22%3e%3c%2fSPAN%3e%3c%2fDIV%3e&ASP.NET_SessionId=nhgiqgyvrfplk245s5r0vszx&ALL_HTTP=HTTP_CACHE_CONTROL%3ano-cache%0d%0aHTTP_CONNECTION%3aKeep-Alive%0d%0aHTTP_CONTENT_LENGTH%3a253%0d%0aHTTP_CONTENT_TYPE%3aapplication%2fx-www-form-urlencoded%0d%0aHTTP_ACCEPT%3atext%2fhtml%2c+*%2f*%3b+q%3d0.01%0d%0aHTTP_ACCEPT_ENCODING%3agzip%2c+deflate%0d%0aHTTP_ACCEPT_LANGUAGE%3aen-us%0d%0aHTTP_COOKIE%3a
I can use some help. What did i do wrong?
1. Eventhough the table seems to show the right data, some of the column headers shown one extra sorting icons and the number of sorting icons growed as the selection increased. i.e...if the user change the selection of the dropdown 5 times, there are 5 sorting icons shown on some of the column headers.
2. When the user double click to edit a column, the context.request.params.columnName in my ashx file no longer have the actual columnname but instead it has the garbage as shown below:
%3cDIV+class%3dDataTables_sort_wrapper+sizcache%3d%22788%22+sizset%3d%224%22%3eActive%3cSPAN+class%3d%22DataTables_sort_icon+css_right+ui-icon+ui-icon-carat-2-n-s%22%3e%3c%2fSPAN%3e%3c%2fDIV%3e&ASP.NET_SessionId=nhgiqgyvrfplk245s5r0vszx&ALL_HTTP=HTTP_CACHE_CONTROL%3ano-cache%0d%0aHTTP_CONNECTION%3aKeep-Alive%0d%0aHTTP_CONTENT_LENGTH%3a253%0d%0aHTTP_CONTENT_TYPE%3aapplication%2fx-www-form-urlencoded%0d%0aHTTP_ACCEPT%3atext%2fhtml%2c+*%2f*%3b+q%3d0.01%0d%0aHTTP_ACCEPT_ENCODING%3agzip%2c+deflate%0d%0aHTTP_ACCEPT_LANGUAGE%3aen-us%0d%0aHTTP_COOKIE%3a
I can use some help. What did i do wrong?
This discussion has been closed.
Replies