AJAX Calendar extender issue

Discussion in 'ASP .Net' started by Abhilash, Jun 12, 2008.

  1. Abhilash

    Abhilash Guest

    Hi,
    I am using AJAX calendar extender.Everything is works fine on date selection
    from pop up image option but when i dont select a date and click outside on
    the page,calender remains poped up,it doesn't hide.It hides only when date is
    selected.Is there any workaround for this?

    Thanks
    Abhilash, Jun 12, 2008
    #1
    1. Advertising

  2. Abhilash

    Mick Wilson Guest

    On Jun 12, 5:34 pm, Abhilash <Abhilash @discussions.microsoft.com>
    wrote:
    > Hi,
    > I am using AJAX calendar extender.Everything is works fine on date selection
    > from pop up image option but when i dont select a date and click outside on
    > the page,calender remains poped up,it doesn't hide.It hides only when date is
    > selected.Is there any workaround for this?
    >
    > Thanks


    The solution my coworker came up with was to make the TargetControlID
    property and PopupButtonID property both refer to the extended
    control.

    <ajax:CalendarExtender ID="CalendarExtender1" runat="server"
    TargetControlID="SomeControl"
    PopupButtonID="SomeControl"
    Format="M/d/yyyy" />

    Seems to work fairly well.
    Mick Wilson, Jun 13, 2008
    #2
    1. Advertising

  3. Abhilash

    Abhilash Guest

    Hello,
    Thanks for the response.I tried your way but it is not responding
    well.Popupbutton ID for me is Image1 and TargetControlID is Date3(which is
    Textbox control).Should i change the name of TextboxID itself?



    "Mick Wilson" wrote:

    > On Jun 12, 5:34 pm, Abhilash <Abhilash @discussions.microsoft.com>
    > wrote:
    > > Hi,
    > > I am using AJAX calendar extender.Everything is works fine on date selection
    > > from pop up image option but when i dont select a date and click outside on
    > > the page,calender remains poped up,it doesn't hide.It hides only when date is
    > > selected.Is there any workaround for this?
    > >
    > > Thanks

    >
    > The solution my coworker came up with was to make the TargetControlID
    > property and PopupButtonID property both refer to the extended
    > control.
    >
    > <ajax:CalendarExtender ID="CalendarExtender1" runat="server"
    > TargetControlID="SomeControl"
    > PopupButtonID="SomeControl"
    > Format="M/d/yyyy" />
    >
    > Seems to work fairly well.
    >
    Abhilash, Jun 14, 2008
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. BillE
    Replies:
    4
    Views:
    6,804
    Thomas Hansen
    Apr 18, 2007
  2. Wannabe

    Formatting Calendar Extender

    Wannabe, Feb 11, 2008, in forum: ASP .Net
    Replies:
    2
    Views:
    5,139
    Wannabe
    Feb 12, 2008
  3. Steve Blain

    Calendar Extender Problem

    Steve Blain, Jun 24, 2008, in forum: ASP .Net
    Replies:
    2
    Views:
    554
    Steve Blain
    Jun 25, 2008
  4. pvong

    AJAX - Calendar Extender Format

    pvong, Aug 1, 2008, in forum: ASP .Net
    Replies:
    0
    Views:
    569
    pvong
    Aug 1, 2008
  5. E L

    Ajax calendar extender behavior

    E L, Jul 10, 2007, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    104
Loading...

Share This Page