SharePoint 2013 question :
I have a custom Web Part using an Ajax UpdatePanel. The Web Part loads in its contents after Page Load via a timer.
On the same page I have a Newsfeed Web Part. On page load the Newfeed shows the correct contents but when the UpdatePanel triggers the Newsfeed updates to show "It's pretty quiet here...".
Any ideas?- I really don't want the hassle of rewriting using Web Services...
Here the code...
protected override void CreateChildControls()
{
base.CreateChildControls();
this.UpdtPnlMilestone.UpdateMode = UpdatePanelUpdateMode.Conditional;
LoadTimer = new Timer()
{
ID = this.ID + "LoadMilestoneTimer",
Interval = 1
};
LoadTimer.Tick += new EventHandler<EventArgs>(LoadTimer_Tick);
UpdtPnlMilestone.ContentTemplateContainer.Controls.Add(LoadTimer);
}
protected void LoadTimer_Tick(object sender, EventArgs e)
{
LoadTimer.Enabled = false;
CallTheMethod();
}