Results 1 to 2 of 2

Thread: [2005] RJS Calender.

  1. #1

    Thread Starter
    Fanatic Member vijy's Avatar
    Join Date
    May 2007
    Location
    India
    Posts
    548

    [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


  2. #2
    Fanatic Member
    Join Date
    Jun 2004
    Location
    All useless places
    Posts
    917

    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
  •  



Click Here to Expand Forum to Full Width