troubleshooting Question

Refreshing Asp:Calendar on MasterPage

Avatar of dejaanbu
dejaanbuFlag for Oman asked on
.NET ProgrammingASP.NET
4 Comments1 Solution337 ViewsLast Modified:
Hello All,

I have a asp:calendar control which is inside an updatepanel on the masterpage. In content page, i have the interface for adding /deleting/changing events. these changes should be reflected in the asp:calendar located on masterpage.   the functionalities in contentpage are handled in Javascript, so i am calling

__doPostBack('Themasterpage updatepanel's uniqueid' , '')  once event is added/deleted/changed in contentpage.

when i trace, it fires Calendar's Dayrender event, but the calendar shows old data . If i add another event and then trace, then the Calendar shows the previously added event correctly but not showing secondly added event and so on.

(each second time, the calendar shows previously added new event).

i have tried ClientId instead of uniqueId  , - > the same results

also tried having a hidden button on masterpage, and on click of that, calling, updatepanel's update method , instead of dopostback, called document.getelementbyid('btn.clientid').click()  -> the same results come

anyone can suggest what is wrong here?

Any help is greatly appreciated!
calendar.png
ASKER CERTIFIED SOLUTION
dejaanbu

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 4 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros