Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
209 views

I'm working on a responsive website and I would like to use the mobile rendering mode on RadGrid. However anytime I set this property I don't get any of the mobile menu features illustrated in the documentation. Is there a bug using mobile render mode, or is there some other method to implement this other than just setting the RenderMode to Mobile?

 

I'm using Telerik version 2015.2.623.45.

Rumen
Telerik team
 answered on 17 Oct 2017
5 answers
250 views
Does exportPDF not work for rendering RadPageLayout contents?  A PDF is generated, but just of a solid white, blank section.  Maybe this is related to media settings or span values?
Rumen
Telerik team
 answered on 17 Oct 2017
1 answer
184 views

Are there any known workarounds to the Limitation of using GridTemplateColumns and Virtualization?

I have a grid with input values in multiple cells and when I applied Virtualization, all of my boundcolumns work perfectly, however my template columns just repeat in groups equal to the count of ItemsPerView.

ItemsPerView =50, scroll to item 51, I see items 1 - 50 of my template columns, scroll to 101, I see them repeated again.

Vessy
Telerik team
 answered on 17 Oct 2017
1 answer
151 views

Hi,

 

i've updated my solution with ASP.NET AJAX 2017 3 913, and it seems the cssclass above no more work on radButton so that they became transparent with png icon.

.rbClearButton {
    background-color: transparent !important;
    border: none !important;
    color: #000 !important; /* optional, depending on the background */
}

How can i resolve that ? thanks in advance.

Vessy
Telerik team
 answered on 17 Oct 2017
1 answer
190 views

Hello

We are using the telerik control "RadNav Editior" within an web based database application. We observed a strange behaviour when using the hyperlink function of the editor. When a hyperlink is set in a text it often happens that the hyperlink tag influences new added text especially when a special character as a hashtag is added, or the text has been formatted by a different background color. This can be shown, when the control view is changed to the "HTML" view and then back to "Design" view. Suddenly the whole text, starting from the last hyperlink, is either completely missing or the whole text below is shown as a hyperlink, because the </a> tag is vanished.

I attached screenshots in two .png files with an example what happens. Unfortunately the software developer of the database application hasn't a solution to fix this problem, but ensured us that he've used the newest telerik controls for his application.

Have you ever seen such a behaviour before, or did any software developer inform you about a similar case?

We would be much interested in a solution, because this behaviour is annoying for our users. I'm also only a key user and administrator of our application and no software developer, but I stay in a close contact with the software developer and could forward any answer to him.

Thank you in advance for your effort. I'm really looking forward to hear from you.

With best regards

Harald Hassler

Rumen
Telerik team
 answered on 16 Oct 2017
1 answer
279 views

I have a RadGrid control with Excel like filtering which will populate the values on demand. I want to reduce the height of the filter pop up and remove the (contains,equal to,...) dropdown from the pop up.

I used the below code to remove the dropdowns(HCFMRCMBFirstCond  and HCFMRCMBSecondCond ). But I was getting javascript error and my filter doesn't work.

void HeaderContextMenu_ItemCreated(object sender, RadMenuEventArgs e)
{
     foreach (Control c in e.Item.Controls)
     {
         RadComboBox combo = c as RadComboBox;
         if (combo != null)
         {
             if(combo.Items.Count == 16)
             {
                combo.Visible = false;
             }
         }
     }
 }

 

I used the following code to reduce the filter pop up height.

protected void RadGrid1_ItemCreated(object sender, GridItemEventArgs e)
 {
     if (e.Item is GridFilteringItem)
     {
         GridFilteringItem item = (GridFilteringItem)e.Item;
         item.Height = Unit.Pixel(100);
     }
 }

But doesn't seem to work.

I want to have only the Wild card Search box and the filterlist items on my filter with reduced filter pop up height. How could I do this? Please help!

 

Rumen
Telerik team
 answered on 16 Oct 2017
5 answers
240 views

I have many context menus that used to work just fine.  At one time I positioned them myself taking scroll into account (complicated) but then I changed to Telerik and the nice Telerik context menu placed them nicely itself as it should.

Now, when the main window is scrolled the context window displays without the scroll distances added - so it shows above the click. This error happens in Chrome and Opera, but it works fine in Safari, and Edge.  It used to work fine in Chrome, just noticed it does not now.

I simply use contextMenu.show(event); on a to display the RadContextMenu.  They all happen on a button click called to a javascript to show the RadContextMenu,

<asp:Button ID="AddFormRowButton"  CssClass="btn btn-default menubutton" runat="server" Text="Add Form Row ≡"
    OnClientClick="return ShowAddFormRow(event);" UseSubmitBehavior="False"/>                                    
 
function ShowAddFormRow(event) {
    var contextMenu = $find("<%= FormAddRowMenu.ClientID %>");
    if ((!event.relatedTarget) || (!$telerik.isDescendantOrSelf(contextMenu.get_element(), event.relatedTarget))) {
       contextMenu.show(event);
    }
    else {
        alert("Event error");
    }
    return false;
}

 

 

Any idea if this has been noted and when it might be fixed.

Rumen
Telerik team
 answered on 16 Oct 2017
3 answers
209 views

I have a grid component with a user edit ascx control assigned to it. The default behavior, apparently, is for that edit control to be visible when the grid is first loaded/displayed. I do not want it visible. How do I go about hiding it at startup?

 

Here is the ending section of my radgrid definition. Is there something I can do in here to hide that form?

                </Columns>
                <CommandItemSettings ShowAddNewRecordButton="false" />
                <EditFormSettings  UserControlName="DiscountEditor.ascx" EditFormType="WebUserControl" >
                    <EditColumn UniqueName="EditCommandColumn1">
                    </EditColumn>
                </EditFormSettings>
            </MasterTableView>
            <ClientSettings>
                <ClientEvents OnRowDblClick="RowDblClick" OnPopUpShowing="onPopUpShowing" />
            </ClientSettings>
        </telerik:RadGrid>

Rumen
Telerik team
 answered on 16 Oct 2017
0 answers
132 views

Is there a way to show week numbers, not dates, on columns?

 

Cheers!

Mikko

Mikko
Top achievements
Rank 1
Veteran
 asked on 16 Oct 2017
3 answers
310 views
Hi,

is it possible that displaying gaps is not working any more for the new release Q3 2013?
I took the example you provided under
http://www.telerik.com/help/aspnet-ajax/htmlchart-types-scatterline-chart.html and
http://www.telerik.com/help/aspnet-ajax/htmlchart-types-line-chart.html

and for me it is not working.
The gaps are not visible but instead the line is interpolated.
Always giving me the attached result.

My Code:
<asp:Content ID="Content1" ContentPlaceHolderID="MainContentPlace" runat="server">
    <telerik:RadScriptManager ID="TrsmScriptManager" runat="server">
    </telerik:RadScriptManager>
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
    </telerik:RadAjaxManager>
    <h1>
        Testing</h1>
    <telerik:RadHtmlChart runat="server" ID="ScatterLineChart1" Transitions="true">
        <PlotArea>
            <Series>
                <telerik:ScatterLineSeries Name="0.8C" MissingValues="Gap">
                    <LabelsAppearance DataFormatString="{1}% in {0} minutes" Position="Below" />
                    <MarkersAppearance MarkersType="Circle" />
                    <SeriesItems>
                        <telerik:ScatterSeriesItem X="10" Y="10" />
                        <telerik:ScatterSeriesItem X="15" Y="20" />
                        <telerik:ScatterSeriesItem />
                        <telerik:ScatterSeriesItem X="32" Y="40" />
                        <telerik:ScatterSeriesItem X="43" Y="50" />
                        <telerik:ScatterSeriesItem X="55" Y="60" />
                        <telerik:ScatterSeriesItem X="60" Y="70" />
                    </SeriesItems>
                </telerik:ScatterLineSeries>
                <telerik:ScatterLineSeries Name="1.6C">
                    <LabelsAppearance DataFormatString="{1}% in {0} minutes" Position="Below" />
                    <MarkersAppearance MarkersType="Square" />
                    <SeriesItems>
                        <telerik:ScatterSeriesItem X="10" Y="40" />
                        <telerik:ScatterSeriesItem X="17" Y="50" />
                        <telerik:ScatterSeriesItem X="18" Y="70" />
                        <telerik:ScatterSeriesItem X="35" Y="90" />
                        <telerik:ScatterSeriesItem X="47" Y="95" />
                        <telerik:ScatterSeriesItem X="60" Y="100" />
                    </SeriesItems>
                </telerik:ScatterLineSeries>
            </Series>
            <XAxis AxisCrossingValue="0" Color="Black" MajorTickType="Outside" MinorTickType="Outside"
                Reversed="false" MinValue="0" MaxValue="90" Step="10">
                <LabelsAppearance DataFormatString="{0}m" RotationAngle="0" />
                <MajorGridLines Color="#EFEFEF" Width="1" />
                <MinorGridLines Color="#F7F7F7" Width="1" />
                <TitleAppearance Position="Center" RotationAngle="0" Text="Time" />
            </XAxis>
            <YAxis AxisCrossingValue="0" Color="Black" MajorTickSize="1" MajorTickType="Outside"
                MaxValue="100" MinorTickSize="1" MinorTickType="Outside" MinValue="0" Reversed="false"
                Step="20">
                <LabelsAppearance DataFormatString="{0}%" RotationAngle="0" />
                <MajorGridLines Color="#EFEFEF" Width="1" />
                <MinorGridLines Color="#F7F7F7" Width="1" />
                <TitleAppearance Position="Center" RotationAngle="0" Text="Charge" />
            </YAxis>
        </PlotArea>
        <ChartTitle Text="Charge current vs. charge time">
        </ChartTitle>
        <Legend>
            <Appearance Position="Bottom" />
        </Legend>
    </telerik:RadHtmlChart>
</asp:Content>

What do i do wrong?
Vessy
Telerik team
 answered on 16 Oct 2017
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?