Bug in calendar control

A

Adam

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 said:
i can confirm that. i'll submit it as a bug
 
A

Alvin Bruney [MVP]

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 said:
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 said:
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 said:
When you hold the shift key and click the next month link the Calendar
control fails.
 
R

ray

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 said:
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 said:
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 said:
When you hold the shift key and click the next month link the Calendar
control fails.
 
A

Adam

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 said:
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 said:
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 said:
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
When you hold the shift key and click the next month link the Calendar
control fails.
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top