Welcome Guest Search | Active Topics | Sign In | Register

Anchor tag within Calendar not working Options
JRE
Posted: Thursday, August 18, 2011 1:42:45 PM
Rank: Newbie
Groups: Member

Joined: 6/29/2011
Posts: 3
Anchor tags are being displayed correctly but navigation is not taking place upon clicking the link. However the links work as expected if right clicking and selecting "Open". It would appear as though a update panel is handling the click event but this page only contains the calendar control and the following within the DayRender event handler:

e.Writer.Write(e.Day.DayNumberText)
e.Writer.Write("<br /><div align=""left""><a href='http://www.essentialobjects.com'>Click Here</a></div>")
eo_support
Posted: Thursday, August 18, 2011 2:43:39 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

We tested this and it works fine here. Can you post the full test page? Also what browser do you use?

Thanks
JRE
Posted: Thursday, August 18, 2011 2:48:51 PM
Rank: Newbie
Groups: Member

Joined: 6/29/2011
Posts: 3
Currently using IE 9 and Visual Studio 8. Here is the link:
eo_support
Posted: Thursday, August 18, 2011 3:15:06 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

Thanks for the update. Please try the following code and see if it works for you:

<a href="javascript:void(0)"
onmousedown="window.location.href='http://www.essentialobjects.com'">Click Here</a>

The reason is IE 9 seems to implementing href based on onclick event, which has been canceled by the DatePicker when it triggers the select event that closes the popup.

Thanks!
JRE
Posted: Thursday, August 18, 2011 3:27:52 PM
Rank: Newbie
Groups: Member

Joined: 6/29/2011
Posts: 3
That did the trick...many thanks!
eo_support
Posted: Thursday, August 18, 2011 3:33:49 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
You are very welcome. Please feel free to let us know if you have any more questions.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.