C# .NET - I am using ultrawebgrid in asp.net need to show tooltip pop upto 4000 charachers

Asked By balu Eswar on 20-Jun-12 09:57 AM
Earn up to 20 extra points for answering this tough question.
Hi All,

I am using asp.net 2008 in my application i am using ultrawebgrid need to show tooltip for the particular column which contains 4000 characters..

Can any person advice how can i acheive the subjected matter.Default tooltip popup is showing 500 characters only need to show 4000 characters..

Thanks in advance,
Bala.
Vikram Singh Saini replied to balu Eswar on 27-Jun-12 06:36 AM
I tried same requirement in demo application.

Declared UltraWebGrid, binded same to AccessDataSource, set styles to it in DisplayLayout tag, and then set rows and columns values in Bands tag.

For setting tooltip I used Title attribute in Header caption. And I placed 4000 characters there. It worked fine. Here is the code:

<infra:UltraWebGrid ID="UltraWebGrid1" runat="server" DataSourceID="adsUsers">

        <DisplayLayout AllowColSizingDefault="Free" AllowColumnMovingDefault="OnServer" AllowDeleteDefault="Yes"

          AllowSortingDefault="OnClient" AllowUpdateDefault="Yes" BorderCollapseDefault="Separate"

          RowHeightDefault="20px" RowSelectorsDefault="No" SelectTypeRowDefault="Extended"

          StationaryMargins="Header" StationaryMarginsOutlookGroupBy="True" TableLayout="Fixed"

          Version="4.00" ViewType="OutlookGroupBy">

          <Pager MinimumPagesForDisplay="2">

            <PagerStyle BackColor="LightGray" BorderStyle="Solid" BorderWidth="1px">

              <BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px" WidthTop="1px" />

            </PagerStyle>

          </Pager>

          <FooterStyleDefault BackColor="LightGray" BorderStyle="Solid" BorderWidth="1px">

            <BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px" WidthTop="1px" />

          </FooterStyleDefault>

          <HeaderStyleDefault BackColor="LightGray" BorderStyle="Solid" HorizontalAlign="Left">

            <BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px" WidthTop="1px" />

          </HeaderStyleDefault>

          <RowStyleDefault BackColor="Window" BorderColor="Silver" BorderStyle="Solid" BorderWidth="1px"

            Font-Names="Segoe UI" Font-Size="8.25pt">

            <Padding Left="3px" />

            <BorderDetails ColorLeft="Window" ColorTop="Window" />

          </RowStyleDefault>

        </DisplayLayout>

        <Bands>

          <infra:UltraGridBand>

            <Columns>

              <infra:UltraGridColumn BaseColumnName="UserLogon" DataType="System.String" IsBound="True"

                Key="UserLogon">

                <Header Caption="User Logon" Title="">

                  <RowLayoutColumnInfo OriginX="0" />

                </Header>

              </infra:UltraGridColumn>

              <infra:UltraGridColumn BaseColumnName="UserName" DataType="System.String" IsBound="True"

                Key="UserName">

                <Header Caption="User Name">

                  <RowLayoutColumnInfo OriginX="1" />

                </Header>

              </infra:UltraGridColumn>

              <infra:TemplatedColumn>

                <CellTemplate>

                  <asp:HyperLink ID="hlOrder" runat="Server" Text="View Order"></asp:HyperLink>

                </CellTemplate>

                <Header Caption="Order here">

                  <RowLayoutColumnInfo OriginX="2" />

                </Header>

              </infra:TemplatedColumn>

            </Columns>

          </infra:UltraGridBand>

        </Bands>       

      </infra:UltraWebGrid>

      <asp:AccessDataSource ID="adsUsers" runat="server" DataFile="~/App_Data/Data.mdb"

        SelectCommand="SELECT * FROM Users" />


 I have not put the value in Title (which works as Tooltip) for saving space (see highlighted). You can see action in snapshot. It's displaying tooltip for first column with 4000 and more characters.



If I misinterpreted your requirements please elaborate more along with your code in which you are trying to show tooltip.
help
Hi All, I have an asp.net 2.0 C# application. I am using Infragistics UltraWebGrid. Along with this grid I have other text boxes on page. These textboxes have required field Validators. UltraWebGrid has checkboxes as one of the columns. My business requirement is that when submit button BorderStyle = "Outset" BorderWidth = "1px"> < Margin Left = "0px" / > < / DefaultItemHoverStyle > < Groups > < iglbar : Group Text = "Desktop" TextAlign = "Left" ToolTip = "Desktop"> < Labels Collapsed = "" Expanded = "" Selected = "" / > < Items > < iglbar : Item Text = "Dashboard" ToolTip = "Dashboard" Tag = "Path = ~ / Views / DashboardView.ascx"> < Labels Selected = "" / > < / iglbar : Item > < iglbar : Item Text = "ToDo List" ToolTip = "ToDo List"> < Labels Selected = "" / > < / iglbar : Item > < iglbar : Item Text = "Notes ToolTip = "Notes"> < Labels Selected = "" / > < / iglbar : Item > < / Items > < / iglbar : Group > < iglbar : Group Text = "Physicians" TextAlign = "Left" ToolTip = "Physicians"> < Labels Collapsed = "" Expanded = "" Selected = "" / > < Items > < iglbar : Item Text = "Search" ToolTip = "Search" Tag = "Path = ~ / Views / ListView.ascx | TableName = Prescribers"> < Labels Selected = "" / > < / iglbar : Item > < iglbar : Item Text
I have a google maps setup. On mouseover the marker show a tooltip, onclick the tooltip disappears and an infowindow opens. However when I mouseover again over the marker the tooltip shows. I want the tooltip to not open when my infowindow is open and when I close the infowindow the tooltip should show when on mouse o0ver. Below code. anybody ? < script type = "text / javascript"> var map 0, 20); icon.infoWindowAnchor = new GPoint(5, 1); var marker = new GMarker(center, icon); var tooltip = new Tooltip(marker, 'HEB Grocery Store' , 4); marker.tooltip = tooltip; map.addOverlay(marker); map.addOverlay(tooltip); GEvent
Hi, Am using a calender control in asp.net and have rendered a tooltip to display events in it.How can i change the bgcolor for that tooltip? Hi, you cannot change the style of the default tooltip. . . . you need to create your own tooltip using div control. . . . . or you can use the thrid party scrips for this . chek here http: / / www.walterzorn.com / tooltip / tooltip_e.htm end of post keywords: ASP.NET, background color, tooltip tooltip, tooltip description: Changing background color of tooltip Hi, Am using a calender control in asp
I have a very unique requirement, I have to add a tooltip in a grid view control, the tooltip should be similar to this link: http: / / web-graphics.com / mtarchive / BubbleTooltips.html . . .(hover at suggestion on this. . Thanks ASP.NET 2.0 / C# Hi, By setting isballoon property of tooltip object you can close to what you are asking in the link: ToolTip toolTip = new ToolTip(); toolTip.IsBalloon = true; Thanks and Regards, Manish Bafna. MCP and MCTS. keywords: Visual Studio .NET, ASP
hi all once again this time i am seeing the tooltip in ie but without css settings although i m getting the desired tooltip in fox any suggestions hi http: / / onehackoranother.com / projects / jquery / tipsy / Brijesh, Share your code keywords: tipsy tooltip, tooltip description: tipsy tooltip hi all once again this time i am seeing the tooltip in ie but without css settings although i m getting the desired tooltip in fox any su
I have a custom button class using the standard Tooltip window (TOOLTIPS_CLASS). It only adds one tool to the tooltip. The tooltip works fine as long as the mouse leaves the button before the timeout value for before the mouse leaves the button's rect, or b) the button is clicked, the tooltip will not pop up again. My tooltip is not subclassed, it is using RelayEvent to send the mouse messages to the tooltip. When it stops working, the relay event is still being called. If I add a tool in the relay event (which is wrong I know, but just seeing if the tooltip window is alive) the tooltip shows back up, so it seems that the tooltip window
string.replace(" \ ", "backslash") not working JavaScript 28-Oct-12 08:09 PM Hi, function tooltip(tip) { if(!document.getElementById('tooltip')) newelement('tooltip'); var lixlpixel_tooltip = document.getElementById('tooltip'); var i; / / document.write(tip.length); for(i = 0;i<tip.length;i++){ tip = tip getmouseposition; } In the above code is working fine, in database * / \ & % is the input but in tooltip it is coming has * / and % , the \ backslash is not coming in tooltip, i also tried to replace like tip = tip.replace(" \ ", "backslash"); it gives error , i have of a slash with the existing slash, Like, tip = tip.replace(" \ ", "backslash"); keywords: database, backslash, tooltip description: string.replace( \ , backslash) not working Hi, function tooltip(tip){ if(!document.getElementById('tooltip')) newelement('tooltip'); var lixlpixel_tool
Hi I want to manually show a tooltip (using Tooltip.Show method) under the mouse cursor. I have the mouse location but I want to tooltip to be displayed beneath the mouse. I tried m_tooltip.Show("my text", this, e.X actual cursor icon is smaller so there is a gap and it looks the the tooltip is too far away from the cursor. How do I get the tooltip to be dispayed right under the actual cursor icon. Thanks. .NET WinForms Controls Discussions Cursor Size.Height (1) Show (1) Tooltip (1) Xpost (1) Icon (1) Genl (1) [Canned response] You have posted this question individually my opinion. Look here: http: / / www.oakroadsystems.com / genl / unice.htm#xpost) keywords: HELP, -, Position, tooltip, relative, to, mouse, cursor description: Hi I want to manually show a tooltip (using Tooltip
Hi I want to manually show a tooltip (using Tooltip.Show method) under the mouse cursor. I have the mouse location but I want to tooltip to be displayed beneath the mouse. I tried m_tooltip.Show("my text", this, e.X actual cursor icon is smaller so there is a gap and it looks the the tooltip is too far away from the cursor. How do I get the tooltip to be dispayed right under the actual cursor icon. Thanks .NET WinForms Controls Discussions Cursor Size.Height (1) Image (1) Show (1) JeffThanks (1) Tooltip (1) F120A0B79CBD (1) Havent (1) Bitmap (1) You'd have to do a lot of under the Image however I too still havent found a way. keywords: Help, -, Showing, a, Tooltip, below, Mouse, Cursor description: Hi I want to manually show a tooltip (using Tooltip.Show