Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
191 views

I have a RadListBox that has items which are wiped and binded every 4 seconds. I have a linkbutton in each listbox item that I want to open a tooltip. At the moment I use a RadToolTipManager, the content in an ASCX file, and an OnAjaxUpdate function. This -sort of- works but the content in the tooltip is broken when the radlistbox refreshes on the timer.

Realistically I'll only ever have one RadToolTip open at once, and the content it loads (four linkbuttons) won't be changing. I have tried other methods like putting a RadToolTip directly into the listboxes ItemTemplate, but then the tooltip closes itself every time the listbox refreshes/posts-back. I'd love to avoid the whole ToolTipManager + ASCX thing because it loads goofy and shows a loading panel every time it opens.

Marin Bratanov
Telerik team
 answered on 05 May 2015
12 answers
188 views
I think the loading image positioned in the grid pager works fairly well, but it has a couple drawbacks. For one, it is not always noticeable. If the grid is tall and the user clicks on a column header to sort, they are not necessarily going to see the grid pager loading image. So, they might be wondering if anything is going on. Also, if the grid doesn't have paging enabled, then the pager isn't displayed. so you get no loading image. The solution would be to provide a loading image which is displayed over the entirety of the grid content (not the column heders, command item, pager/footer, etc.. just the rows). Can you provide a way of accomplishing this?

Also, IMO it would be good if you move the default loading image here. It seems like a more natural location for it.

As an example.. I believe your Rad Window Loading IMage used to be in the Window status bar, and now it appears in the center of the window.. much better behavior.
Daniel
Telerik team
 answered on 05 May 2015
1 answer
167 views

If I have a splitbutton and open the content menu first by clicking on the arrow and then click on the main button it doesnt execute the onclick event. I have to click it again in order to execute. Can the button be setup so that the main button always clicks the first time you click it regardless of if the context menu of the button is expanded first?

 

<telerik:RadButton EnableSplitButton="true" ID="btnSave" runat="server" Text="Save Contact" OnClick="RadButton1_Click" OnClientClicked="OnClientClicked">
                </telerik:RadButton>
                <telerik:RadContextMenu ID="rmContextMenu1" runat="server" OnItemClick="RadMenu1_ItemClick" style="z-index: 1009" CollapseAnimation-Type="None" ExpandAnimation-Type="None">
                    <Items>
                        <telerik:RadMenuItem Text="Save & Create New" Value="0">
                        </telerik:RadMenuItem>
                        <telerik:RadMenuItem Text="Run Spell Checker" Value="1">
                        </telerik:RadMenuItem>
                        <telerik:RadMenuItem Text="Cancel & Close" Value="2">
                        </telerik:RadMenuItem>
                    </Items>
                </telerik:RadContextMenu>

Danail Vasilev
Telerik team
 answered on 05 May 2015
3 answers
303 views

I'm using 2015.1.401 and I have several RadListBoxes throughout my project with a width setting of 100px. The problem is that they now appear to not go below a width of around 140px. I created a simple page I created to rule out all other possibilities.

 

 

<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="WebForm9.aspx.vb" Inherits="PWOnline.WebForm9" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
<head runat="server">
    <title></title>
</head>
 
<body>
    <form id="form1" runat="server">
 
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server"></telerik:RadScriptManager>
 
        <div>
            <telerik:RadListBox ID="RadListBox1" runat="server" Height="250px" Width="50px">
            </telerik:RadListBox>
        </div>
 
    </form>
</body>
</html>

 

Even at this 50px setting it renders as this: http://imgur.com/k3SKVZF

You can increase the width, but it never goes lower than about 140px now. I didn't see this listed as a known issue in any searches I performed. I was able to get it to look correctly by using CSS and "max-width", but this only made it look correct but the effective width of the control remained about 140px. What I mean is that it rendered at 50px but there was a "ghost" width of 140px as any control placed to the right of the list box couldn't be interacted with for the first 90 pixels.

 

Anyone else experience this or have a work around?

 

TIA

 

Magdalena
Telerik team
 answered on 05 May 2015
1 answer
485 views

I have a chart which shows two series, a column series and a line series. The line series should not always be visible. So I created it like this:

 

<Series>
             <telerik:ColumnSeries DataFieldY="Emission" Name="Year">
                 <Appearance>
                     <Overlay Gradient="None"></Overlay>
                 </Appearance>
                 <LabelsAppearance DataFormatString="0.00">
                     <TextStyle Color="#62BAE4" FontFamily="Tahoma" FontSize="10px" />
                 </LabelsAppearance>
                 <TooltipsAppearance DataFormatString="0.00" ClientTemplate="#=kendo.format(\'{0:N2}\', dataItem.Emission)# ton co<sub>2</sub>" />
             </telerik:ColumnSeries>
             <telerik:LineSeries DataFieldY="AbsoluteGoalEmission" Name="Goal" Visible="false" >
                 <Appearance>
                     <Overlay Gradient="None"></Overlay>
                 </Appearance>
                 <Appearance FillStyle-BackgroundColor="Green" />
                 <LabelsAppearance DataFormatString="0.00" Position="Below" Visible="false"  >
                     <TextStyle Color="Green" FontFamily="Tahoma" FontSize="10px"  />
                 </LabelsAppearance>
             </telerik:LineSeries>
         </Series>

 

Note how both the lineseries and the labelsappearance are set to Visible="false"

 

However...... this doesn't hide the label under the x-axis at all (the line series itself is nicely invisible), all it does is make the label grey as if disabled.

I need it to do what it implies: completely hide the label.

What am i missing?

Danail Vasilev
Telerik team
 answered on 05 May 2015
6 answers
982 views

Hi,

I have radgrid, with inline editing.  Problem is that the edit field is not set to 80%. see image in attachment.

Below is the setting of the GridBoundColumn :

<telerik:GridBoundColumn DataField="Description" HeaderStyle-Width="50%" ItemStyle-Width="80%" FilterControlWidth="80%" HeaderText="Description" SortExpression="Description" UniqueName="Description" ShowFilterIcon="false" CurrentFilterFunction="Contains" AutoPostBackOnFilter="true">
                        <ColumnValidationSettings EnableRequiredFieldValidation="true">
                            <RequiredFieldValidator Text="<img src='/CMIT/Images/Warning.gif' border='0'>" Display="Dynamic" ToolTip="Description is required." ErrorMessage="-Description is required." ></RequiredFieldValidator>
                        </ColumnValidationSettings>
</telerik:GridBoundColumn>

How can I make the edit column wider?

Kind regard

Suzy

 

Suzy
Top achievements
Rank 2
 answered on 05 May 2015
1 answer
55 views
When the RadTreeView is set to ExpandMode.WebService, is there a mechanism to know when a node.expand() client javascript call is completed (jQuery promise, ect)?  I want to defer the OnNodeDrop postback event until an expand is completed.  Thanks!
Hristo Valyavicharski
Telerik team
 answered on 05 May 2015
5 answers
180 views

Is there anything wrong with this scenario?  (For a change this only seems to happen in Chrome, both from the server and when run in Visual Studio.  IE and Firefox don't have this problem.)

This is a Dot Net 4.0 C# web app.  I have a Master page with a RadAjaxPanel.  The panel contains an asp:Repeater which functions as a menu at the top of the page.  The repeater contains and item template using an asp:LinkButton.  The link buttons all fire a single event handler.

In the page using this master page I have another RadAjaxPanel.  This contains an assortment of RadComboBoxes and one RadMenu, just added.  

If I change the setting of any of the RadComboBoxes or the RadMenu (if any SelectedIndexChanged event fires) the repeater link buttons are disabled.   The click event does not fire. (Sometimes.  It seems to be intermittent.)  If I refresh the page the links work again.

Suggestions?

Maria Ilieva
Telerik team
 answered on 05 May 2015
1 answer
94 views

Hello,

I am currently exporting my grid using the grid.MasterTableView.ExportToExcel() method. I am looking to format the outputted excel spreadsheet. I have read that this is possible using HTML/CSS-based formatting, but I would prefer not to change my current implementation of export. Would someone be able to provide an up-to-date example on how to format the excel export when using ExportToExcel()?

Thanks,
Matt

Kostadin
Telerik team
 answered on 05 May 2015
1 answer
71 views
Any body can help me how to do this? I have one rad grid with Start and End radgrid button column . What I want to do is when I click Start button only that row enable and the rest rows must be disable.
Eyup
Telerik team
 answered on 05 May 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?