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: Thanks for your reply. Basically I need to reapply the SPCascadeDropDown with different query. OnPage Load (Ready()) : Call SPCascadeDropDown with Query 'Active' On RadioButton change event Call SPCascadeDropDown with Query 'InActive' to same controls/Columns. while applying SPCascadeDropDown second time its not updated/applied as expected. Please help me to solve this requirement. Thanks, Arun.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: Thanks for your reply. Basically I need to reapply the SPCascadeDropDown with different query. OnPage Load (Ready()) : Call SPCascadeDropDown with Query 'Active' On RadioButton change event Call SPCascadeDropDown with Query 'InActive' to same controls/Columns. while applying SPCascadeDropDown second time its not updated/applied as expected. Please help me to solve this requirement. Thanks, Arun.M