Showing posts with label screen. Show all posts
Showing posts with label screen. Show all posts

Wednesday, March 21, 2012

Event on HoverMenu before it appears on screen

I have created <asp:table> and on each cell I have attached new <cc1:HoverMenuExtender>
Now i want to display different information in HoverMenu based on the id of the cell or id of the HoverMenuExtender when mouse is moved on that cell.

Is it possible to catch some event right before HoverMenu is displayed, where i can change information in that? How can I do that.

I want to keep logic for displaying information in one function so same function will be used for all <cc1:HoverMenuExtender> events.

Did you get an answer for this? I have to do something similar. When the user rollovers the cell, then different options will be loaded on the HoverMenu Exterder.

ErrorTemplate

Hi, How can I reposition the errorTemplate to the center of the screen when an error occurs? Any chance of an example?

Hi Ian,

In design view in your ASPX page, go to the ScriptManager and in its Smart Tasks menu there's a link to create a default error template. That template gets rendered in the center of the screen, so you could probably work off of that.

Thanks,

Eilon


Wow... Thanks guys. I'll remember to look for the smart tags in future.

How can the errorTemplate be centered vertically, so that despite where the user is on the page the errorTemplate appears in the viewable window. Another words what if the viewable area is at the bottom of the page and an error occurs. At the moment the template appears at the top of the page.


Hi Ian,

Those are known issues with the April CTP of Atlas. We have opened bugs to track these issues.

Thanks,

Eilon