I have a Webpart that extends the content query webpart, that is currently pointed to List X. On the click of a button I want that webpart to be changed to point to List Y.
This seems like a very simple requirement, but it apparently isn't :) Does anyone know how to do this?
I have tried:
- Changing the ListGuid property
- Changing the ListName property
- Changing ListOverride property (I didn't do this correctly, as it just threw an error :) )
Any help would be greatly appreciated :)