Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
193 views
Hi,

I have placed a RadToolTip inside a user control like this:
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ToolTipWebUserControl.ascx.cs" Inherits="WebApplication.WebUserControls.ToolTipWebUserControl" %> 
<telerik:RadFormDecorator ID="RadFormDecorator1" runat="server" /> 
        <div> 
            <href="#" id="toolTipLink" > 
                <img src="../Images/ToolTip.gif" alt="" style="border: 0px" /></a>  
            <telerik:RadToolTip runat="server" ID="RadToolTip3"   
                TargetControlID="toolTipLink" ShowEvent="OnClick" IsClientID="true" OffsetY="4" OffsetX="4" HideEvent="LeaveToolTip" 
                Animation="None" Position="MiddleRight" RelativeTo="Element" Skin="Telerik">  
                <div class="ToolTip">  
                    <div id="toolTipTitle" runat="server" class="ToolTipTitle"><asp:Label id="ToolTipTitleLabel" runat="server" /></div>   
                    <hr /> 
                    <div> 
                        <asp:Label ID="ToolTipBodyLabel" runat="server" />                         
                    </div>                                       
                </div>    
                               
            </telerik:RadToolTip> 
        </div> 
Most of this I got from the demo page.

The code behind has properties to allow the user to set the title and body text that will display.
public string ToolTipTitle  
        {  
            get  
            {  
                return this.ToolTipTitleLabel.Text;  
            }  
            set  
            {  
                this.ToolTipTitleLabel.Text = value;  
            }  
        }  
 
        public string ToolTipMessage  
        {  
            get  
            {  
                return this.ToolTipBodyLabel.Text;  
            }  
            set  
            {  
                this.ToolTipBodyLabel.Text = value;  
            }  
        } 

When only one instance of the user control is on the page, it works just fine. But, if I have two instances of the user control on the page, only one of them will work. Is there a better way to associate the radtooltip so that I'm not trying to connect to multiple instances of the "toolTipLink" control?
Svetlina Anati
Telerik team
 answered on 30 Nov 2009
1 answer
91 views
Hi all

I have a dbound Menu (vers 2009.1).

When i click on the menu headers, i get the ie HTTP 403 error  (permissions).

The header items in the db table typically show the apps path only in the IE browsers bottom bar, where as the menu items (working fine) show the path to the Required page in the app
See attached jpg screen shots with relevant items circled in red.

i.e.  The data, to be bound to the menu would be  e.g.
  •  for the header items :

                Screen = "~/",   Parent screen = null,  ...., title="Planning" , descrip="blah blah"   screenId=149

  • for the menu items would be  e.g.
.
               Screen =  "~/WebForms/Planning/DrmPlan.aspx"  ,   parent screen = 149,   title = "Plan"   descrip ="xxxxx" ,screen id=128


How do I resolve this. i.e. if the user clicks on the menu headers, how do i ensure that the path of the menu header or it's attempt to navigate to the Apps root are denied.

The App and the menu runs in a master page.

TIA
Neal
T. Tsonev
Telerik team
 answered on 30 Nov 2009
1 answer
97 views
Hi,
I am using the 2009 version of telerik dll.. i am trying to bind Ajax PopupControlExtender inside each row of the rad grid. but it does not seems to be working. i embed the grid with Telerik rad ajax panel first. THen I removed and tried updatepanel alone. But nothing works for me. In the previous version of telerik control it worked like a charm... I could not figure out the issue .... here is my code .The imgPopUp control pop ups and hiding immediately. Pls help me

 <telerik:RadGrid ID="gridViewPograms" EnableEmbeddedSkins="false" Skin="Web20" Width="700px"
                AutoGenerateColumns="False" OnNeedDataSource="gridViewAccount_NeedDataSource"
                EnableAjaxSkinRendering="true" DataSourceID="" 
                MasterTableView-RetrieveAllDataFields="true" EnableAJAX="true" EnableAJAXLoadingTemplate="true"
                runat="server" AllowSorting="true" PageSize="10" AllowPaging="true">
                <MasterTableView>
                    <PagerStyle Mode="NumericPages" CssClass="pager" ShowPagerText="false" />
                    <Columns>
                        <telerik:GridTemplateColumn HeaderText="" HeaderStyle-Width="30px" ItemStyle-HorizontalAlign="Center"
                            ItemStyle-VerticalAlign="Middle">
                            <ItemTemplate>
                                <asp:Image ID="imgPopUp" ImageUrl="~/Images/icon_Grey.PNG" runat="server" />
                                <ajaxToolkit:PopupControlExtender ID="PopupControlExtender1" runat="server"  TargetControlID="pnlPopUp"
                                    PopupControlID="imgPopUp" Position="Right" />
                                <asp:Panel ID="pnlPopUp" CssClass="grdviewitemOpacity" runat="server">

                                </asp:Panel>
                            </ItemTemplate>
                            <ItemStyle HorizontalAlign="Left" VerticalAlign="Middle" BorderColor="#8AB3C9" BorderWidth="1px">
                            </ItemStyle>
                        </telerik:GridTemplateColumn>
jeevitha
Top achievements
Rank 1
 answered on 30 Nov 2009
1 answer
113 views
Hi

There is an empty space that looks like it is intended for a toolbar, below the box where the
content is edited.   All the needed toolbars are at the top, so I would like to regain this
vertical space - about 110 px .

How can I do this?

Thanks

Clive
Rumen
Telerik team
 answered on 30 Nov 2009
2 answers
321 views
Hi, can anyone tell me how to configure a grid to use different images for the expand/collapse buttons?

Scenario: I'm using a grid set with a skin (Sunset) whose expand/collapse icons are not acceptable. Another skin, Office2007, has much better icons (boxed plus/minus symbols, which is an industry standard). I want to use those images without either replacing the Sunset skin images in place, defining a new custom skin, or changing which skin the grid uses.

This should be trivial and on the surface the means to do it appear to be there, but...

What I've tried (which obviously hasn't worked): I've copied the two images into my own images folder within the web app, I've changed the grid's ExpandCollapseColumn ButtonType to ImageButton, and set the CollapseImageURL and ExpandImageURL to the paths to my copies of the images (in my images folder). I've made these changes in both the top-level grid properties and in the grid's MasterTableView properties.

The result is that the e/c column still displays the icons taken from the grid's skin definition.

Thanks in advance for any help
Chris
Chris
Top achievements
Rank 1
 answered on 30 Nov 2009
2 answers
155 views
I have a java applet in my page(more info: http://www.mindfusion.eu/onlinehelp/netdiagram/index.htm)  and my RadToolTip is beeing covered by the applet.Is there an option for RadToolTip like 'always on top' or how can i fix this?
Is working only in IE

Tiberiu Saulean
Top achievements
Rank 1
 answered on 30 Nov 2009
2 answers
169 views
Hello

maybe you respond this answer later but i can't find it

I have a page with a button when i click on it, call a Radwindow. but every time i do a refresh to the page
the Radwindow appears again

Why?

please help

Thanks
Georgi Tunev
Telerik team
 answered on 30 Nov 2009
2 answers
368 views
I have a grid based on a pivot table returned from SQL server, using the tsql pivot function. The pivot returns null values in some cases. Ideally, I would address null values in the pivot function, but have not figured that out yet.

This caused two issues in the grid.

1) Calculated column for totals on the right of the grid. Since Null + Anything = Null, any null value produces. I found that using IsNull in the expression for the calculation works, so I am ok on that one.

2) Footer agregates - same issue, but I cannot use IsNull in the dataformatstring. So Agregate sums for footers are not working properly.

Also, the zero's just look better, as opposed to an empty cell.

So the question is, what is the best/easiest approach for converting null values in grid items to zeros? Can it be done declaritively, or must it be done in code behind, i.e., in the ItemCreated event?

Thanks,

Paul
Lynn
Top achievements
Rank 2
 answered on 30 Nov 2009
4 answers
115 views
Hi All,

I have a RadGrid with a column "Status".

How can i make the value of Status column in RED color when value is "Open".

Please help me regarding this.
PM
Top achievements
Rank 1
 answered on 30 Nov 2009
1 answer
185 views
Hello,

I need to format the group header text of a gridtemplatecolumn. Currently, I change the formatstring in the GroupsChanging event. Do you plan to add the possibility of using the FormatString directly in the GroupByExpression?

best regards,

Laurent
Johny
Top achievements
Rank 1
 answered on 30 Nov 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?