Showing posts with label link. Show all posts
Showing posts with label link. Show all posts

Monday, March 26, 2012

Window Pop up effect

I am trying to mimic the pop up effect on the Ajax showcase page. Moving the mouse over a link pops up a new window.

Is this done thru a particular AJAX extension/control or is it just a javascript pop using a hidden div

Thanks

You can use the hovermenu control from the AjaxControlToolkit to do the same...

Window Pop up effect

I am trying to mimic the pop up effect on the Ajax showcase page. Moving the mouse over a link pops up a new window.

Is this done thru a particular AJAX extension/control or is it just a javascript pop using a hidden div

Thanks

Umer

uriaz:

Is this done thru a particular AJAX extension/control or is it just a javascript pop using a hidden div

The showcase uses theDropShadow and theHoverMenu from the Control Toolkit, both of which are placed inside a standard ASP.NET Repeater control.
thnkas works like a charm
thanks works like a charm

window.opener.document.TextBoxRateLockDate is null or not an object

My ASP.Net page has a calendar picker link with an onclick event as shown below:

<a href="http://links.10026.com/?link=javascript:;" onclick="calendarPicker('TextBoxRateLockDate');" title="Pick Date from Calendar"><img src="http://pics.10026.com/?src=../../../../App_Images/simplecalendar/calendar.gif" border="0" /></a>

The above link is inside of a MultiView control, which is inside an UpdatePanel control. The link pops-up the date picker calendar just fine but when I select a date , I get the following error:

Microsoft Jscript runtime error:
'window.opener.document.TextBoxRateLockDate' is null or not an object

How can I resolve this issue?

Hi,

This is a pure javascript issue.

I'd suggest using document.getElementById() method to find the textbox. Usually like this: window.opener.document.getElementById("TextBoxRateLockDate")

Hope this helps.

Saturday, March 24, 2012

Working locally (both IE & FF), only working in FF on live server

I just got my personal website (link) updated with some Atlas enabled stuff, right there on the front page you can do "Show Different Image" in the top left or use the Calendar's left and right arrows to go through the months without postback.... but... as the subject says

Running on my laptop here: Atlas CTP installed, using studio's built in web server:
- All functions work in both browsers (IE 6, FF 1.5.0.4)

Up on my web server: Atlas CTP installed, IIS 6.0
- FF works 100%, but IE spews javascript errors on page load

And it's weird, one time i get one error (and this is the common one, btw that line # shown doesn't have anything!):

Other times, IE is totally confused! (i do not have that many lines in that page needless to say)

I've already tried seeing what's going on with Fiddler, not sure what i am exactly looking for, but all looks well in that tools... and just for good measure i uninstalled Atlas on my server and reinstalled it, that didn't help things either

Any ideas? (link again)

So i got by this problem by installing theMicrosoft Script Debugger and seeing what IE was whining about and it was the javascript for Google Analytics causing the above problems (although it makes *no* sense why it worked 100% in FF)

So now I have the "css refresh" problem where IE/Atlas is working, but the whole page's CSS refreshes, i swear i saw a blog post by someone at Microsoft to fix it... gotta track that down