Bug in calendar control

Discussion in 'ASP .Net Web Controls' started by Adam, Jul 18, 2004.

  1. Adam

    Adam Guest

    When you hold the shift key and click the next month link the Calendar control fails.
    --
    Adam of
    Teamworx
     
    Adam, Jul 18, 2004
    #1
    1. Advertising

  2. Alvin Bruney [MVP], Jul 18, 2004
    #2
    1. Advertising

  3. Adam

    Adam Guest

    Thanks Alvin,
    This is also true for any link on the calendar control.. Holding the shift and clicking any link, including the dates

    --
    Adam of
    Teamworx


    "Alvin Bruney [MVP]" wrote:

    > i can confirm that. i'll submit it as a bug
    >
    > --
    > Regards,
    > Alvin Bruney
    > [ASP.NET MVP http://mvp.support.microsoft.com/default.aspx]
    > Got tidbits? Get it here... http://tinyurl.com/27cok
    > "Adam" <> wrote in message
    > news:...
    > > When you hold the shift key and click the next month link the Calendar
    > > control fails.
    > > --
    > > Adam of
    > > Teamworx

    >
    >
    >
     
    Adam, Jul 21, 2004
    #3
  4. I've submitted this as a bug to the product group. They are looking into it.

    --
    Regards,
    Alvin Bruney
    [ASP.NET MVP http://mvp.support.microsoft.com/default.aspx]
    Got tidbits? Get it here... http://tinyurl.com/27cok
    "Adam" <> wrote in message
    news:D...
    > Thanks Alvin,
    > This is also true for any link on the calendar control.. Holding the shift
    > and clicking any link, including the dates
    >
    > --
    > Adam of
    > Teamworx
    >
    >
    > "Alvin Bruney [MVP]" wrote:
    >
    >> i can confirm that. i'll submit it as a bug
    >>
    >> --
    >> Regards,
    >> Alvin Bruney
    >> [ASP.NET MVP http://mvp.support.microsoft.com/default.aspx]
    >> Got tidbits? Get it here... http://tinyurl.com/27cok
    >> "Adam" <> wrote in message
    >> news:...
    >> > When you hold the shift key and click the next month link the Calendar
    >> > control fails.
    >> > --
    >> > Adam of
    >> > Teamworx

    >>
    >>
    >>
     
    Alvin Bruney [MVP], Jul 22, 2004
    #4
  5. Adam

    ray Guest

    i wonder, if that shift click tries to open in new window. i can't open a
    javascrip: link correctly by clicking on anything.
    Adam <> wrote in message
    news:D...
    > Thanks Alvin,
    > This is also true for any link on the calendar control.. Holding the shift

    and clicking any link, including the dates
    >
    > --
    > Adam of
    > Teamworx
    >
    >
    > "Alvin Bruney [MVP]" wrote:
    >
    > > i can confirm that. i'll submit it as a bug
    > >
    > > --
    > > Regards,
    > > Alvin Bruney
    > > [ASP.NET MVP http://mvp.support.microsoft.com/default.aspx]
    > > Got tidbits? Get it here... http://tinyurl.com/27cok
    > > "Adam" <> wrote in message
    > > news:...
    > > > When you hold the shift key and click the next month link the Calendar
    > > > control fails.
    > > > --
    > > > Adam of
    > > > Teamworx

    > >
    > >
    > >
     
    ray, Aug 7, 2004
    #5
  6. Adam

    Adam Guest

    It is actually more than just javascript: links.. It is ANY hyperlink that
    will cause this problem.
    I am starting to think it is an IE problem, rather than Calendar control's.
    I tried to regenerate it in Netscape and couldn't! Although Netscape has a
    different problem on general links.
    Any of you IE guys out there.. if it is a feature of IE to spawn new windows
    when holding a shift key then it is bad news for postback-ers

    I managed to suppress this behaviour using a client side script..
    Here is the code:

    <HEAD>
    <script language="jscript">
    function IgnoreShift()
    {
    if (window.event.shiftKey ||
    window.event.ctrlKey ||
    window.event.altKey)
    {
    window.event.returnValue = false;
    }

    else window.event.returnValue = true;
    }

    </script>
    </HEAD>

    <body onclick="IgnoreShift()">
    ...
    ...

    </body>


    cheers,
    Adm
    http://teamworx.ca

    "ray" wrote:

    > i wonder, if that shift click tries to open in new window. i can't open a
    > javascrip: link correctly by clicking on anything.
    > Adam <> wrote in message
    > news:D...
    > > Thanks Alvin,
    > > This is also true for any link on the calendar control.. Holding the shift

    > and clicking any link, including the dates
    > >
    > > --
    > > Adam of
    > > Teamworx
    > >
    > >
    > > "Alvin Bruney [MVP]" wrote:
    > >
    > > > i can confirm that. i'll submit it as a bug
    > > >
    > > > --
    > > > Regards,
    > > > Alvin Bruney
    > > > [ASP.NET MVP http://mvp.support.microsoft.com/default.aspx]
    > > > Got tidbits? Get it here... http://tinyurl.com/27cok
    > > > "Adam" <> wrote in message
    > > > news:...
    > > > > When you hold the shift key and click the next month link the Calendar
    > > > > control fails.
    > > > > --
    > > > > Adam of
    > > > > Teamworx
    > > >
    > > >
    > > >

    >
    >
    >
     
    Adam, Aug 11, 2004
    #6
    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. Shevek
    Replies:
    3
    Views:
    6,051
    Shevek
    Jun 23, 2004
  2. =?Utf-8?B?TWFyaWFubyBQYWRpbGxh?=

    Possible Bug In the Calendar Control on web forms.

    =?Utf-8?B?TWFyaWFubyBQYWRpbGxh?=, Jan 28, 2006, in forum: ASP .Net
    Replies:
    2
    Views:
    472
    Otis Mukinfus
    Jan 28, 2006
  3. Keith

    bug - calendar control and .css

    Keith, Mar 27, 2007, in forum: ASP .Net
    Replies:
    3
    Views:
    436
    Scott M.
    Mar 28, 2007
  4. luca

    [BUG] calendar control

    luca, Jul 29, 2003, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    84
  5. Shevek
    Replies:
    0
    Views:
    393
    Shevek
    Jun 23, 2004
Loading...

Share This Page