Telerik Forums
UI for ASP.NET AJAX Forum
7 answers
121 views

Okay, we just undertook a HUGE project of using the PageLayout for our application to make things 'responsive'. After the first phase roll out, things do NOT look good on phones. They page elements are actually smaller than what they were in the older version? What the heck did we do wrong?

It is showing the small/medium version, but there is a TON of space to the right that I would expect to NOT be there. Any ideas?

Magdalena
Telerik team
 answered on 04 Jul 2016
3 answers
82 views
is there any optional to set such that the editor is able to be adjustable like the usual html text area?
Marin Bratanov
Telerik team
 answered on 04 Jul 2016
1 answer
54 views

I've created a one page website that relies on cloning sections of the DOM to generate new subpages. Initially there is an instance of RadAsyncUpload in the page, generated server side on page load. but I need to be able to add further instances of RadAsyncUpload without doing a postback. 

I've cloned the relevant section of the DOM (generating unique IDs for each element), and registered the new RadAsyncUpload element thus:  Sys.Application.add_init(function() {
    $create(Telerik.Web.UI.RadAsyncUpload, {... etc

This succesfully creates an uploader control in the form, which uploads files to the correct temporary location, and when I finally do a postback to submit the data to the server, the RadAsyncUpload control appears correctly in the Page.Controls collection, but the uploadedFiles collection is empty for the cloned control.

Can anyone tell me how the link between the control and the temporary file is managed on postback, and if there is a way to achieve my goal of cloning a RadAsyncUpload control without doing a postback?

 

Many thanks

 

Will

Veselin Tsvetanov
Telerik team
 answered on 04 Jul 2016
1 answer
193 views

I am using RadHtmlChart (Telerik UI for ASP.NET AJAX - Visualizations 2015 Q3).  

Can we put scrolling for chart legend, When there are many items in legend. Is there any solution? 

Urgently required.

Thanks in advance

Joana
Telerik team
 answered on 04 Jul 2016
9 answers
476 views
 hi
i have grid in batch mode in last textbox of row i wont if press Enter select next row and open it for edit .i use get_batchEditingManager().openRowForEdit
in another button it works good but in key press of textbox it doesn't work
what should i do?
Andy
Top achievements
Rank 1
 answered on 02 Jul 2016
5 answers
769 views

I have the following code and I'm trying to add a confirmation dialog to the delete button. No matter what I tried I couldn't manage to get the dialog to fire. The latest method I used is this one which I found in a, admittedly, very old thread from this forum. Any ideas?

.aspx file

 

<telerik:RadListView ID="RadListView1" runat="server" DataSourceID="CompNotesSqlDataSource" >
            <ItemTemplate>
               
            <ul>
                <li>
                    <asp:Label ID="TimeLabel" runat="server" Text="Date/Time:"></asp:Label>
                    <asp:Label ID="TimeText" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "NoteDate","") %>'></asp:Label> <br />
                    <asp:Label ID="Label19" runat="server" Text="Company:"></asp:Label>
                    <asp:Label ID="FullNameLabel" runat="server" Text='<%# Eval("Description") %>' />
                    <br />
                    <asp:Label ID="Label20" runat="server" Text="Notes:"></asp:Label>
                    <asp:Label ID="RankLevelLabel" runat="server" Text='<%# Eval("Comments") %>' />
                    <br />
                    </li>
                

                <asp:UpdatePanel runat="server" UpdateMode="Conditional" ID="updatePanel1">
                    <ContentTemplate>
                       <%--<telerik:RadButton ID="btndelete" CommandArgument='<%# Eval("Id")%>' OnCommand="btndelete_Command" runat="server" Text="Delete"></telerik:RadButton>--%>
                        <telerik:RadButton ID="btndelete" OnClientClick='<%# confirmDelete( Eval("Id").ToString() ) %>' CommandArgument='<%# Eval("Id")%>' OnCommand="btndelete_Command" runat="server" Text="Delete"></telerik:RadButton>
                        <telerik:RadButton id="btnedit" CommandArgument='<%# Eval("Id")%>' OnCommand="btnedit_Command" runat="server" text="Edit"></telerik:RadButton>                        
                    </ContentTemplate>    
                    <Triggers>
                        <asp:AsyncPostBackTrigger ControlID="btndelete" EventName="Command" />        
                        <asp:AsyncPostBackTrigger ControlID="btnedit" EventName="Command" />        
                    </Triggers>
                </asp:UpdatePanel>                                  
            </ul>
             
            </ItemTemplate>
        </telerik:RadListView>

 

----------------------------------

.cs file

 

        public string confirmDelete(string Name)
        {
            return @"javascript:if(!confirm('This action will delete the "
               + Name
               + @". Are you sure?')){return false;}";
        }

Marios
Top achievements
Rank 1
 answered on 01 Jul 2016
1 answer
125 views

We are having a strange layout behavior happening with the Recurrence Editor. The internal controls are overlapping (please see attached imaged).

Does anyone know how I can fix this?

 

-Ben

Peter Milchev
Telerik team
 answered on 01 Jul 2016
1 answer
108 views
In other words, are the corresponding values for NoFilter, Contains, Does Not Contain, etc at the same index for other languages? We'd like to filter out some values but want to make sure they're all located at the same index. Thanks. 
Eyup
Telerik team
 answered on 01 Jul 2016
10 answers
137 views

I don't know why this would be happening but when I use a PivotGrid, it interrupts or distorts the RadMenu CSS (see images attached). Below is the mark up for the page. This is in IE11, Telerik v.2015.2.729.45.

Please do not advise that I upgrade, I do not have the funds, but I would appreciate a work-around.

<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Summary.aspx.cs" Inherits="bccwfm.REACH.Summary" %>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder_Main" runat="server">
    <table border="0" class="label" style="margin:5px;border-collapse:separate;border-spacing:5px;padding-top:5px">
        <tr>
            <td> Start Date</td>
            <td>
                <telerik:RadDatePicker ID="RDP_StartDate" runat="server" ShowPopupOnFocus="true" ToolTip="Select a start date" Culture="en-US" TabIndex="1"  AutoPostBack="true" Width="110px" CssClass="hvr-glow">
                    <Calendar ID="Calendar2" runat="server" UseRowHeadersAsSelectors="False" UseColumnHeadersAsSelectors="False" ViewSelectorText="x" ShowRowHeaders="false"></Calendar>
                    <DateInput ID="DateInput2" runat="server" TabIndex="1" DisplayDateFormat="M/d/yyyy" DateFormat="M/d/yyyy" AutoPostBack="True" LabelWidth=""></DateInput>
                    <DatePopupButton TabIndex="1"></DatePopupButton>
                </telerik:RadDatePicker>
            </td>
            <td>End Date</td>
            <td>
                <telerik:RadDatePicker ID="RDP_EndDate" runat="server" ShowPopupOnFocus="true" ToolTip="Select a end date" Culture="en-US" TabIndex="2"  AutoPostBack="true" Width="110px" CssClass="hvr-glow">
                    <Calendar ID="Calendar1" runat="server" UseRowHeadersAsSelectors="False" UseColumnHeadersAsSelectors="False" ViewSelectorText="x" ShowRowHeaders="false"></Calendar>
                    <DateInput ID="DateInput1" runat="server" TabIndex="1" DisplayDateFormat="M/d/yyyy" DateFormat="M/d/yyyy" AutoPostBack="True" LabelWidth=""></DateInput>
                    <DatePopupButton TabIndex="2"></DatePopupButton>
                </telerik:RadDatePicker>
            </td>
            <td>
                <telerik:RadButton ID="RB_Export" runat="server" Text="Export" OnClick="RB_Export_Click" CssClass="hvr-glow"/>
            </td>
        </tr>
    </table>
    <telerik:RadPivotGrid ID="RadPivotGrid1" runat="server" AllowPaging="True" AllowSorting="True" DataSourceID="SqlDataSource1" EmptyValue="0" EnableZoneContextMenu="true" AllowFiltering="true" ClientSettings-EnableFieldsDragDrop="true" Width="99%" style="margin:10px" PageSize="50" >
        <ExportSettings FileName="REACH Summary" UseItemStyles="true">
            <Excel Format="Xlsx" />
        </ExportSettings>
        <Fields>
            <telerik:PivotGridRowField DataField="Dot4Desc" Caption="Franchise"/>
            <telerik:PivotGridRowField DataField="CreatedBy" Caption="Created By"/>
            <telerik:PivotGridRowField DataField="Decision" Caption="Decision"/>
            <telerik:PivotGridColumnField DataField="ReasonDesc" Caption="Reason"/>
            <telerik:PivotGridColumnField DataField="PositionDesc" Caption="Position"/>
            <telerik:PivotGridColumnField DataField="StatusDesc" Caption="Status"/>
            <telerik:PivotGridAggregateField DataField="ReqID" Caption="Requests" Aggregate="Count" TotalFormat-GroupName="Requests"/>
        </Fields>
    </telerik:RadPivotGrid>
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:CWFMO %>" SelectCommand="REACH_GetSummary" SelectCommandType="StoredProcedure">
        <SelectParameters>
            <asp:ControlParameter ControlID="RDP_StartDate" DbType="Date" Name="startdate" PropertyName="SelectedDate" />
            <asp:ControlParameter ControlID="RDP_EndDate" DbType="Date" Name="enddate" PropertyName="SelectedDate" />
        </SelectParameters>
    </asp:SqlDataSource>
</asp:Content>

 

 

Maria Ilieva
Telerik team
 answered on 01 Jul 2016
5 answers
408 views

I'm trying to use the new print button on my rad grid but it is not showing, what am I missing. I'm using VS2013 and I upgraded the Telerik.Web.UI dll to version 2016.2.607.45. below is the example code I put together. The Add New record and the Refresh buttons do show, but not the print

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
<telerik:RadScriptManager ID="RadScriptManager1" runat="server"></telerik:RadScriptManager>
<telerik:RadGrid ID="RadGrid1" RenderMode="Lightweight" runat="server" DataSourceID="SqlDataSource2" GridLines="Both" AutoGenerateColumns="true">
<MasterTableView DataSourceID="SqlDataSource2" CommandItemDisplay="Top">
<CommandItemSettings ShowPrintButton="true" ShowRefreshButton="true" />
</MasterTableView>
</telerik:RadGrid>
</div>
</form>
<asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:Northwind %>"
SelectCommand="SELECT top 20 * FROM Customers" >
</asp:SqlDataSource>

</body>
</html>

Pavlina
Telerik team
 answered on 01 Jul 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?