Click here to Skip to main content
14,973,838 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionHow to merge corresponding cells of Table control Pin
Rameez Raja11-Jul-08 18:31
MemberRameez Raja11-Jul-08 18:31 
AnswerRe: How to merge corresponding cells of Table control Pin
Imran Khan Pathan11-Jul-08 19:04
MemberImran Khan Pathan11-Jul-08 19:04 
QuestionProblem with IIS when some one Authenticates Pin
maryam.saboor11-Jul-08 18:24
professionalmaryam.saboor11-Jul-08 18:24 
Questionsuggestion is needed Pin
Rameez Raja11-Jul-08 18:11
MemberRameez Raja11-Jul-08 18:11 
QuestionCannot figure this one out.... SQL datasource & c# Pin
Jacob Dixon11-Jul-08 15:20
MemberJacob Dixon11-Jul-08 15:20 
AnswerRe: Cannot figure this one out.... SQL datasource & c# Pin
Mike Ellison11-Jul-08 15:31
MemberMike Ellison11-Jul-08 15:31 
GeneralRe: Cannot figure this one out.... SQL datasource & c# Pin
Jacob Dixon12-Jul-08 4:31
MemberJacob Dixon12-Jul-08 4:31 
Questionhow to close/hide the popup onmouseout event Pin
For_IT11-Jul-08 15:06
MemberFor_IT11-Jul-08 15:06 
Hi all,

I have created helptooltip usercontrol and using it on my other controls and pages.

aspx is
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="HelpTooltipButton.ascx.cs" Inherits="Controls.HelpTooltipButton" %>
<asp:ImageButton ID="TooltipButton" runat="server" Height="19px" Width="19px" ImageUrl="~/Images/HelpIcon_sm.gif" />


the code behind is :


protected override void OnPreRender(EventArgs e)
  {
      this.TooltipButton.TabIndex = 1000;
      functionScript = new System.Text.StringBuilder("showPopup('" + Content + "','" + Title + "','" + TooltipButton.ClientID + "');return false;");
      TooltipButton.OnClientClick = functionScript.ToString();
      TooltipButton.CausesValidation = ButtonValidator;
  }



This control is being used in other user controls.

In my main aspx page, I have used multiview control, to use for tabstrip.
when I am on one tab, and if help button is clicked, helptooltip opens.
without closing that tooltip if I move to other tab, the tooltip is still open.

I would like to close that popup when I move from one tab to other.

I tried to use mouseover and mouseout events for the tooltip as:

protected override void OnPreRender(EventArgs e)
      {
          if ((TEAMAppConstants.m_AppMode == TEAMAppConstants.AppMode.AdminPages) && (TEAMAppConstants.SelectedUseCase == TEAMAppConstants.DASHBOARD_STATUS))
          {
              return;
          }
          this.TooltipButton.TabIndex = 1000;
          functionScript = new System.Text.StringBuilder("showPopup('" + Content + "','" + Title + "','" + TooltipButton.ClientID + "');return false;");
//          TooltipButton.OnClientClick = functionScript.ToString();
          TooltipButton.Attributes.Add("onmouseover", functionScript.ToString());
          TooltipButton.Attributes.Add("onmouseout", "hidePopup('" + TooltipButton.ClientID.ToString() + "');");
          TooltipButton.CausesValidation = ButtonValidator;
      }


here, onmouseover tooltip opens, but on mouseout I javascript exception as object not found.

can anyone please suggest me, how can I handle onmouseout event to close the already opened tooltip help?

Many thanks.
QuestionControlling page elements from a .config file Pin
Cyberpulse11-Jul-08 14:10
MemberCyberpulse11-Jul-08 14:10 
AnswerRe: Controlling page elements from a .config file Pin
Mike Ellison11-Jul-08 15:36
MemberMike Ellison11-Jul-08 15:36 
QuestionCustom control for FormView? Pin
equalizer70011-Jul-08 8:49
Memberequalizer70011-Jul-08 8:49 
AnswerRe: Custom control for FormView? Pin
Paul Conrad11-Jul-08 9:59
professionalPaul Conrad11-Jul-08 9:59 
QuestionHelp - &gt;SQLException Pin
AprNgp11-Jul-08 8:19
MemberAprNgp11-Jul-08 8:19 
AnswerRe: Help - &gt;SQLException Pin
ToddHileHoffer11-Jul-08 9:27
MemberToddHileHoffer11-Jul-08 9:27 
QuestionGetting information from datalist Pin
Jacob Dixon11-Jul-08 7:14
MemberJacob Dixon11-Jul-08 7:14 
AnswerRe: Getting information from datalist Pin
Parwej Ahamad11-Jul-08 7:26
professionalParwej Ahamad11-Jul-08 7:26 
AnswerRe: Getting information from datalist Pin
Sherin Iranimose11-Jul-08 7:35
MemberSherin Iranimose11-Jul-08 7:35 
GeneralRe: Getting information from datalist Pin
Jacob Dixon11-Jul-08 9:46
MemberJacob Dixon11-Jul-08 9:46 
AnswerRe: Getting information from datalist Pin
Sneha Bisht11-Jul-08 21:31
MemberSneha Bisht11-Jul-08 21:31 
QuestionRegular expression for valid time format (hr:min:sec) entered by user in text box Pin
For_IT11-Jul-08 6:51
MemberFor_IT11-Jul-08 6:51 
AnswerRe: Regular expression for valid time format (hr:min:sec) entered by user in text box Pin
Paul Conrad11-Jul-08 10:00
professionalPaul Conrad11-Jul-08 10:00 
GeneralRe: Regular expression for valid time format (hr:min:sec) entered by user in text box Pin
For_IT11-Jul-08 14:54
MemberFor_IT11-Jul-08 14:54 
GeneralRe: Regular expression for valid time format (hr:min:sec) entered by user in text box Pin
Paul Conrad11-Jul-08 15:00
professionalPaul Conrad11-Jul-08 15:00 
GeneralRe: Regular expression for valid time format (hr:min:sec) entered by user in text box Pin
For_IT13-Jul-08 13:03
MemberFor_IT13-Jul-08 13:03 
QuestionHow to edit FormView Templates in WYSIWYG mode? Pin
equalizer70011-Jul-08 5:24
Memberequalizer70011-Jul-08 5:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.