Loading...

Interacting with qListView webpart programatically

Interacting with qListView webpart programatically

  • This topic is empty.
Viewing 0 reply threads
  • Author
    Posts
    • #4600
      Anonymous
      Anonymous
      Participant

      I have created a custom qListView webpart, by inheriting the ListView class from the WA.DataViewer.dll so that I can add a consumer connection to the webpart.

      n

      The consumer connection provides a list of ID’s that I am parsing into the CAMLFilter property of the qListView that I have created. 

      n

      This happens in the OnPreRender event after I have called the base.OnPreRender.

      n

      At the end of my OnPreRender code after the CAMLFilter has been updated I set SaveProperties to true and I call the Save on the webpart. 

      n

      However, even though the CAMLFilter gets set properly and everything looks good the filter doesn’t seem to take affect unless I leave the page and come back OR if I upen the EZEdit UI and press the OK button. 

      n

      I can only assume that there is some other property I need to set or another method I need to call in the OnPreRender event to get the webpart to apply the filter immediately. 

      n

      Can anyone help with this?

Viewing 0 reply threads

You must be logged in to reply to this topic.