.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
Kaviya Balasubramanian
Imran Ghani
Post New Web Links

Balloon Tooltips that have actions

Posted By:      Posted Date: October 07, 2010    Points: 0   Category :Windows Application
 

I have a balloon popup in a certain case, and I want to make it so if I click on that balloon message, it does something. How do i set that up?




View Complete Post


More Related Resource Links

Advanced Basics: Predicates and Actions

  

The System.Array and System.Collections.Generic.List classes provide methods that let you avoid writing code to loop through every element of an array or list to find the items you're looking for. Ken Getz explains.

Ken Getz

MSDN Magazine September 2006


Smart Tags: Simplify UI Development with Custom Designer Actions in Visual Studio

  

Windows Forms 2.0 components expose smart tags by utilizing Designer Actions. By taking advantage of this feature, you can add smart tags to your own custom components to make setting their properties and other actions much easier and developer-friendly.

Michael Weinhardt

MSDN Magazine July 2005


How to hide 'no actions' on BDC toolbar

  

On my BDC list web part, I want the pager feature on the toolbar, but not the 'actions' drop down on the toolbar itself, since it never has any actions in it.

Follow up bonus question, why does that 'Actions' option appear there anyway?  It never has any actions that I can find.

Can you actually assign some sort of action there (as opposed to the line items actions in the web part).

Thanks.


--[_]-[_]--

Displaying the Server Ribbon and Site Actions Menu on Customized Search Pages Upgraded to SharePoint

  
Learn how to add the Site Actions menu and SharePoint Server ribbon to SharePoint Server 2007 search pages that you upgrade to SharePoint Server 2010 by using visual upgrade.

No "Site Actions" Menu Available in Sharepoint 2007

  
I installed Sharepoint Designer 2007 on my home pc. It does not have the "Site Actions" menu. I originally created my Web site (I upload files via FTP) using MS Frontpage. How do I change the theme created in MS Frontpage? Or, how do I find the "Site Actions" menu?

Any help will be appreciated.

B Goldberg

Tooltips for rectangles - there must be a standard way of doing this

  
I am implementing a graphic display that shows a bar with lighting changes over time.  Lights turn on and off according to a schedule. I already have code to show a series of different colored adjacent rectangles, with the color indicating the light level.  This is all drawn on a Graphics object, using FillRect. I would like to have a ToolTip for each rectangle, showing the lighting value (in Lux).  There seems to be no way to assign a ToolTip to a FillRect area, so I assume that I will have to dynamically create either Panel or PictureBox objects that show the colors.  Of course these will have to be Disposed when the window is redrawn. In some cases, I need to show a Hatch pattern (with HatchStyle) so it will not always be a solid color. Is there a simple and straightforward way to do this?  Is there another component that I am overlooking. I'm using VS2008 and C#, .NET 2.0. Thanks in advance, Michael Bate    

Summary of actions...

  
Hi guys,With the help of the community, I got this piece of code working beautifully...Imports System Imports System.Data Imports System.IO Imports System.Xml Imports System.Text Imports System.Web Imports System.Web.UI Imports System.Web.UI.WebControls Imports System.Web.UI.HTMLControls Imports System.Data.OleDb Partial Public Class folderMaster Inherits Page Protected Sub onClick_folderMaster(ByVal sender As Object, ByVal e As System.EventArgs) Using fmcParksConnection = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0; Data Source=|DataDirectory|folderMasterControl.mdb;") Dim name As String = "" Dim id As Integer = 0 Dim archive As Boolean = False Dim fmcParksCommand = New OleDbCommand("SELECT * FROM fmcParks", fmcParksConnection) fmcParksCommand.CommandType = CommandType.Text fmcParksConnection.Open() Dim fmcParksDataReader As OleDbDataReader fmcParksDataReader = fmcParksCommand.ExecuteReader() While (fmcParksDataReader.Read()) id = fmcParksDataReader.GetInt32(0).ToString() name = fmcParksDataReader.GetString(1).ToString().Trim() archive = fmcParksDataReader.GetBoolean(2).ToString.Trim() If (archive = False) Then System.IO.Director

Balloon Tooltip doesn't display at the correct position when form is maximized

  
Having a problem with display balloon tooltip at the right bottom of form, the balloon tooltip displays fine if form is not maximized. However, the balloon tooltip doesn't display at the correct location when form is maximized(I guess because there is no room to display it on the right bottom of screen, so it moves up a bit). Is there a way to correct it? Such as displaying the balloon tooltip box above the control with stem points to the control. It displays the tooltip box below  the control right now which might cause the issue. Any help will be great appreciated.

Balloon Tooltip doesn't display at the correct position when form is maximized

  
Having a problem with display balloon tooltip at the right bottom of form, the balloon tooltip displays fine if form is not maximized. However, the balloon tooltip doesn't display at the correct location when form is maximized(I guess because there is no room to display it on the right bottom of screen, so it moves up a bit). Is there a way to correct it? Such as displaying the balloon tooltip box above the control with stem points to the control. It displays the tooltip box below the control which might cause the issue. Any help will be great appreciated.

Unable to load workflow actions from the server - problem!

  
Hi, I have problem on Sharepoint 2010 RTM (new installation). I use workflows from the begining and I had no problem since yesterday. I tried to make custom workflow and the SP designer has frozen when saving it. Since than I get message "unable to load workflow actions from server. Please contact your server administrator." every time I want to customize or make new workflow. Need fast solution, Please help. Regards, Luka

Custom actions and URL tokens when working with the Ribbon

  
I'm trying to add a new item to the Ribbon using a custom action in a VS SP2010 project. The new action shows up where we want it but the problem we are facing is that tokens like {ItemId} or {SelectedItemId} are not parsed when used in the CommandAction attribute. I would like to use these tokens and construct a URL pointing to an application page we've created. In the same way one can do using UrlAction when adding custom actions to the ECB menu (this is working fine in our project). The custom action below simply prints out different tokens. When run it seems like the tokens {SiteUrl},{SelectedListId} and {SelectedItemId}are parsed but for me both SelectedListId and SelectedItemId are null. Are there any other tokens that can be user or is there a better way to get hold of the item and list for the context? <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <CustomAction Id="{1f2da003-2069-4d4a-8fc5-1deeb98ecdda}" Location="CommandUI.Ribbon" Sequence="20"> <CommandUIExtension> <CommandUIDefinitions> <CommandUIDefinition Location="Ribbon.ListForm.Display.Manage.Controls._children"> <Button Id="{ca157255-5ef3-4f1c-bcb6-6ff5ff7610fe}" Command="{7887e42e-

ToolTips are flashing.

  
ToolTips for Button and PictureBox controls are flashing, if "toolTip.Hide()" is activated. The same code for ListView works fine. What should I do ? The actual code is as follows. Thanks ToolTip pbTp = new ToolTip(); private void DF_Set_PictureBoxToolTip() {      pbTp.ShowAlways = true;      pbTp.OwnerDraw = true;      pbTp.Draw += new DrawToolTipEventHandler(DF_PbTp_Draw);      pictureBox3.MouseMove += new MouseEventHandler(DF_PictureBox_MouseMove);      pictureBox3.MouseLeave += new EventHandler(DF_PictureBox_MouseLeave); } public void DF_PictureBox_MouseMove(object sender, MouseEventArgs e) {      Point location = new Point();      location.X = e.X;      location.Y = e.Y;      string text = "---------------------------------------------------------------------------";      pbTp.Show(text, pictureBox3, location); } public void DF_PictureBox_MouseLeave3(object sender, EventArgs e) {     pbTp.Hide(pictureBox3); <---------------------------------------------------- Whenever activated this, starts flashing !! } public void DF_PbTp_Draw(object sender, DrawToolTipEventArgs e) {     using (e.Graphics)     {

New / Upload / Actions / Settings / View menus on a document library are hidden

  
I have a Document library. On the View Page (All Documents) for the Document library, I do not see the menu bar with the "New / Upload / Actions / Settings / View" menus. It looks like one of the users with owner permissions did something to cause this behavior. No custom code exists on the page. I am not sure how this menu bar can be hidden. Can someone please clarify. I am a site collection administrator.
Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend