Sortable datagrid and button

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi

I had a sortable datagrid and it worked fine when I clicked the headers. Then I introduced 2 textboxes and a button, so I can pull data based on user input. The data came out fine but the datagrid failed to perform any sorting function. I got an error on the browser saying "Object does not support this property or method". If I commented out the button, the datagrid could perform the sorting function again.

Is there a compatibility problem with button and sortable datagrid.

Thanks!
 
Sun,

I think it is better to show the line of code that gives the error and when
needed something around it, than that we all tell you that there is no
compatibility problem with button and sortable datagrid.

Cor
 
Hi Sun,

Maybe I ask to much, however can you tell what property or function is not
supported?

I do not see a button as well in this code.

Cor
 
Sun,

This is guessing however did you try to insert an empty click event in the
code.

Cor
 
Back
Top