This is a migrated thread and some comments may be shown as answers.

[Solved] Building an auto-hide windows style taskbar

3 Answers 148 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
rdochert
Top achievements
Rank 1
rdochert asked on 19 Dec 2009, 03:11 AM
i've read a few threads regarding this in the forums but didnt really come upon anything satisfatory. i'm not expecting sample code as a response, just a pointer in the right direction of which controls to go with to implement this.

my application runs pretty much full browser width. at the top there is a radmenu to access all the functions. all the main pages in my site are based on a single master page. what i need now is an auto-hide taskbar to live at the bottom of the browser window. the task bar would have part of a logo still visible and when the user hovers over the logo, the taskbar shows. on the taskbar are a few button controls to access help, quick search, logout, etc. but the main purpose of the taskbar is to display system messages such as "record inserted" or "update failed", etc, etc. most of these messages will be generated from ajax enabled controls on the individual pages so these controls need to have a way of communicating client side with the taskbar to post the message and force it into view.

my initial thoughts are that a full-width tooltip is the best option although i haven't yet looked into the ajax client side requirements. am i heading in the right direction or is radwindow a better option?

cheers,
rob


3 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 19 Dec 2009, 01:10 PM
Hi Rob,

That's right, you should go with RadToolTip. Its features and behavior make it a lot more suitable for such a scenario, compared to RadWindow.

http://demos.telerik.com/aspnet-ajax/tooltip/examples/default/defaultcs.aspx

Best wishes,
Dimo
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
rdochert
Top achievements
Rank 1
answered on 20 Dec 2009, 06:53 PM
The first issue i have come across is that when i set the tooltip width to 100%, it actually seems to go to 100pixels. how can i get the tooltip to appear full screen width?
thanks.
0
Svetlina Anati
Telerik team
answered on 22 Dec 2009, 11:11 AM
Hello rdochert,

The RadToolTip as well as the RadWindow does not support percentages size and thus I assume that it becomes as big as its content which in your case is 100px. In order to make the RadToolTip be 100% of the viewport you should catch the OnClientBeforeShow event, calculate the width and height of the viewport in pixels and set them to the tooltip by using the set_width and set_height methods.

Regards,
Svetlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
General Discussions
Asked by
rdochert
Top achievements
Rank 1
Answers by
Dimo
Telerik team
rdochert
Top achievements
Rank 1
Svetlina Anati
Telerik team
Share this question
or