The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

landonbass (1) [Avatar] Offline
#1
When following your example in 10.1.1, I get an ArgumentNullException when I add the web part to the page if the rss url is not defaulted.
The CreateChildControls override checks for a null or empty rss url, but the OnPreRender does not. I can add the check to the beginning of the override, but is there a better approach? Is it better to encapulate the update in a separate method and tie the button (or a timer) to that and not even override OnPreRender?

Thanks,
Landon