Hi,
Actually I have 2 dropdowns with parent child relationship. Along with this I have to filter the dropdown based on column status (Active/InActive).
I have successfully did this with the help of SPCascadeDropDown + CAML Query.
Now I have a requirement to allow user to see Active or Inactive records based on their selection (Radio button). So user can select View Active/InActive records. Initially i have loaded the records to filter the Active records.
But while updating the CAMLQuery to show InActive records on change event its not updating the data. I am always getting the Active records.
When i look at the request in Fiddler it always has the where query with Active. Once the CAMLQuery set I couldn't update the query on client side second time. Is the camlQuery cached ? How can I update the camlQuery on user selection at client side?
Please any one help me on this.....
Version : jquery.SPServices-0.7.2
Thanks,
Arunkumar.M
Comments: This is working as intended. The CAMLQuery is only applied on the call to SPCascadeDropdowns and is not reevaluated during the page lifecycle. M.
Actually I have 2 dropdowns with parent child relationship. Along with this I have to filter the dropdown based on column status (Active/InActive).
I have successfully did this with the help of SPCascadeDropDown + CAML Query.
Now I have a requirement to allow user to see Active or Inactive records based on their selection (Radio button). So user can select View Active/InActive records. Initially i have loaded the records to filter the Active records.
But while updating the CAMLQuery to show InActive records on change event its not updating the data. I am always getting the Active records.
When i look at the request in Fiddler it always has the where query with Active. Once the CAMLQuery set I couldn't update the query on client side second time. Is the camlQuery cached ? How can I update the camlQuery on user selection at client side?
Please any one help me on this.....
Version : jquery.SPServices-0.7.2
Thanks,
Arunkumar.M
Comments: This is working as intended. The CAMLQuery is only applied on the call to SPCascadeDropdowns and is not reevaluated during the page lifecycle. M.