|
-
Feb 28th, 2009, 01:34 AM
#1
Thread Starter
Fanatic Member
[2005] RJS Calender.
I am using RJS popcalendar inside the update panel.
I have no problem with calendar control if calendar control is visible in intial page loading.
For example:
In a page, i have a 2 section.
1st is visible and 2nd is Invisible in initial loading.
2nd section having calendar control.
After loaded the page, i have button in the 1st section to make the 2nd section as visible.
After making the 2nd section visible, RJS calendar control(both older and new version) doesnot work. It throws Object expected Javascript ERROR.
If I make the script manager property partial rendering to false, it works fine.
But I want solution without making the partial rendering to false. Because it reloads the entire screen.
Visual Studio.net 2010
If this post is useful, rate it

-
Mar 10th, 2009, 03:19 PM
#2
Fanatic Member
Re: [2005] RJS Calender.
Look in the View Source of the page and see if your controls are present in the HTML markup. I suspect not as apparently ASP.Net doesn't emit the HTML if a control's visibility is set to false. So the option for you is to run a JS after page load and set the display property of the controls to "none".
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|