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

I was looking at the demos and playing around with the upload control.  It seems that its designed to either be File uploads or Directory uploads, not do both at the same time. It seems we would would have to have two buttons one to allow choosing files and one to allow choosing a directory. The same with drop locations we could have a custom zone that accepts files and we would have to have another custom zone that only accepts a directory.

Below are some scenarios to help explain. I would love to know if all of these scenarios are possible and if so how. If they all of them are not then I would like to know what the reasoning is behind this limitation.

Scenario One

The user click an "upload" button that they can choice either 1 or more files, or 1 or more directories and the control will handle uploading all of them

Scenario Two

The user drags some files to a drop location and it detects they are files and uploads

Scenario Three

The user drags one or more directories to the same drop location as above and it detects they are directories and uploads the files represented within

 

 

Marin Bratanov
Telerik team
 answered on 29 Jan 2019
5 answers
267 views

Rad Editor content is not coming in <p> tag for single line text.

In Current Version 2018.2.710.45

While I put single line text like "Test" in rad editor and getting value in debug mode as "Test" 

 

In Previous Version 2013.2.717.45
While I put single line text like "Test" in rad editor and getting value in debug mode as "<p>Test</p>" 

 

My expected result is "<p>Test</p>"  in this version 2018.2.710.45;

 

This is happening only for single line text .

 

Please give any solution.

 

Rumen
Telerik team
 answered on 29 Jan 2019
1 answer
322 views

     Hi, I am having strange behavior. When grid displays edit popup window and only one numeric field is changed Ok button closes the window. But if before changing the value of the box, I change different item from dropdown, database is updated but window stays open.

<telerik:RadGrid runat="server" ID="gvBudget" AllowPaging="True" AllowSorting="True" AllowFilteringByColumn="True" Skin="Office2010Blue" AutoGenerateColumns="False"
    OnNeedDataSource="gvBudget_NeedDataSource" OnInsertCommand="gvBudget_InsertCommand" OnUpdateCommand="gvBudget_UpdateCommand" OnDeleteCommand="gvBudget_DeleteCommand"
    OnItemDataBound="gvBudget_ItemDataBound" OnItemCommand="gvBudget_ItemCommand" OnBatchEditCommand="gvBudget_BatchEditCommand"
    ShowGroupPanel="true" ShowFooter="true">
    <PagerStyle Mode="NextPrevAndNumeric"></PagerStyle>
    <GroupingSettings CaseSensitive="false" ShowUnGroupButton="true" />
    <ClientSettings ReorderColumnsOnClient="true" AllowDragToGroup="true">
        <%--<Scrolling AllowScroll="True" UseStaticHeaders="True" />--%>
    </ClientSettings>
    <MasterTableView DataKeyNames="ItemID" ShowFooter="false" CommandItemDisplay="Top" PageSize="20" EditMode="PopUp"
        ItemStyle-HorizontalAlign="Left" AlternatingItemStyle-HorizontalAlign="Left" AllowFilteringByColumn="true"
        AllowMultiColumnSorting="true" ShowGroupFooter="true">
        <AlternatingItemStyle BackColor="AliceBlue" BorderColor="Red" />
        <BatchEditingSettings EditType="Cell"></BatchEditingSettings>
        <GroupByExpressions>
            <telerik:GridGroupByExpression>
                <SelectFields>
                    <telerik:GridGroupByField FieldAlias="TeamName" FieldName="TeamName" />
                    <telerik:GridGroupByField FieldAlias="BudgetType" FieldName="BudgetTypeDescription" />
                    <telerik:GridGroupByField FieldAlias="YearlyBudget" FieldName="YearlyBudget" Aggregate="Sum" HeaderText="Total" FormatString="{0:C}" />
                </SelectFields>
                <GroupByFields>
                    <telerik:GridGroupByField FieldName="TeamName" FieldAlias="teamName" />
                </GroupByFields>
            </telerik:GridGroupByExpression>
        </GroupByExpressions>
        <Columns>
            <telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="editColumn"  ItemStyle-Width="30px">
                <ItemStyle HorizontalAlign="Center" CssClass="MyImageButton" />
            </telerik:GridEditCommandColumn>
<EditFormSettings InsertCaption="Add New Budget Item" CaptionFormatString="Edit Budget Item: {0}" CaptionDataField="BudgetTypeDescription" EditFormType="WebUserControl">
    <PopUpSettings Modal="True"></PopUpSettings>
</EditFormSettings>
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="CCBABudgetCtrlUpdate.ascx.cs" Inherits="ReportDriver.Controls.CCBABudgetCtrlUpdate" %>
<div class="grid_4 alpha">
    <div class="dockContent">
        <label>Year:</label>
        <div class="float-right">
            <telerik:RadNumericTextBox runat="server" ID="txtCurYear" ReadOnly="True" Enabled="False" Width="100px">
                <NumberFormat GroupSeparator="" DecimalDigits="0" />
            </telerik:RadNumericTextBox>
        </div>
    </div>
    <div class="dockContent">
        <label>Provider:</label>
        <div class="float-right">
            <telerik:RadComboBox runat="server" ID="ddlDoctor" DataSource='<%#CrossCurrent.Components.DoctorController.GetAllDoctors() %>' DataValueField="DoctorID" DataTextField="FullName" SelectedValue='<%# Bind("DoctorID")%>'
                EmptyMessage="Select Doctor/Facility" MarkFirstMatch="True" Width="280px" AutoPostBack="True" OnSelectedIndexChanged="ddlDoctor_OnSelectedIndexChanged">                                       
            </telerik:RadComboBox>
        </div>
    </div>
    <div class="dockContent">
        <label>Budget Type:</label>
        <div class="float-right">
            <telerik:RadComboBox runat="server" ID="ddlBudgetType" DataValueField="BudgetTypeID" DataTextField="BudgetTypeDescription"
                EmptyMessage="Select Budget Type" MarkFirstMatch="True" Width="280px" AutoPostBack="True" OnSelectedIndexChanged="ddlBudgetType_OnSelectedIndexChanged">                                       
            </telerik:RadComboBox>
        </div>
    </div>
    <div class="dockContent">
        <label>Annual Budget:</label>
        <div class="float-right">
            <telerik:RadNumericTextBox runat="server" ID="txtBudgetAmount" MinValue="0" EmptyMessage="Budget" Type="Currency" DbValue='<%# Bind("YearlyBudget")%>'></telerik:RadNumericTextBox>
        </div>
    </div>
</div>
<div class="clear"></div>
<div class="float-right">
    <asp:Button runat="server" ID="btnUpdate" Text='<%# (Container is GridEditFormInsertItem) ? "Insert" : "Update" %>' CommandName='<%# (Container is GridEditFormInsertItem) ? "PerformInsert" : "Update" %>' CssClass="button"/>
    <asp:Button ID="btnCancel" Text="Cancel" runat="server" CausesValidation="False" CommandName="Cancel" CssClass="button"></asp:Button>
</div>

 

 

Eyup
Telerik team
 answered on 29 Jan 2019
5 answers
229 views

     Hi,

I need to disable the tooltip on an appointment when I drop a  row on top of it.  Currently, if I do this, and remain atop the appointment (my cursor that is), it will bring up the tooltip and cancel my row drop if the background execution takes too long (which it does because this is a very busy calendar).

 

It would also help to disable it temporarily after a context menu selection.

 

Any help would be appreciated.

 

Thanks!

Attila Antal
Telerik team
 answered on 28 Jan 2019
0 answers
90 views

I am working with RadPanelBar and RadPanelItem objects.   On page load, I have anIEnumberable of a type that I iterate over to build my 1st and 2nd layers of PanelItems.   Iam using the ItemTemplate features and setting those to each object.   The issue I'm encountering is that when I postback to update some information,  The ItemTemplate for each PanelItem and it's children is null.   Below is a snippet of how i'm building out the PanelBar.  I need to be able to access the user controls inside each template to update some data.

 

foreach (var integration in integrations)
           {
               RadPanelItem integrationGroup = new RadPanelItem(integration.Name);
               integrationGroup.ItemTemplate = new IntegrationItemEnabledTemplate(integration.UniqueId, integration.IsActive);
               foreach (var param in integration.Parameters)
               {
                   if (!string.IsNullOrEmpty(param.Key))
                   {
                       var pnlItem = new RadPanelItem();
                        
                       pnlItem.ItemTemplate = new IntegrationItemTemplate(param.Integration, param.Key, param.Value);
                       integrationGroup.Items.Add(pnlItem);
                   }
               }
 
               integrationsPanel.Items.Add(integrationGroup);
 
           }
           integrationsPanel.DataBind();
Taylor
Top achievements
Rank 1
 asked on 28 Jan 2019
4 answers
189 views
Dears,

I am having problem with Legend when I have item (series) more than 5 then it will repeat from the first color. I am using the multi series which generated dynamically so I can't set the specific color each series.

Example:
series1: Red
series2: Blue
......
series6: Red


it makes the chart messy and can't be understood as the color are same.

I appreciate your comments and advice. Thanks.
Marin Bratanov
Telerik team
 answered on 28 Jan 2019
9 answers
83 views

Hi,

 

On the demo page: https://demos.telerik.com/aspnet-ajax/editor/examples/toolbarmode/defaultcs.aspx

 

The PageTop toolbar sticks under the top part of the page.

In Chrome, FF and Edge all the same.

 

Marc

Rumen
Telerik team
 answered on 28 Jan 2019
3 answers
410 views
Hello Telerik,

I use the RadEditor control to display html pages with embedded images, like so:

<img width="436" height="184" alt="" id="Bild_x0020_1" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUg" />

This works fine as long as the image is small (enough). When it gets larger, the data seems to be truncated, so that the image becomes invalid. Note that the resulting html code is not truncated, only the value of the source attribute is truncated.

Is there any limitation in the size of embedded images? How can I override any limitation?

Thanks for your appreciated help!
Roland
Rumen
Telerik team
 answered on 28 Jan 2019
2 answers
150 views

I have a web form master page that has a menu across the top, then I have 3 RAD Dropdown lists.

When I access the menu, the menu items are displaying BEHIND the drop down lists, not in front of them.

I am using "default" code from Microsoft for the contents of the master page, and I added the telerik items to that page.

Here is a snippet of the code:

I know it probably has something to do with CSS, but I am not sure where to look?

<form id="form1" runat="server">
    <div class="page">
        <div class="header">
            <div class="title">
                <h1>GLISA Score Entry and Report Processor</h1>
            </div>
            <div class="clear hideSkiplink">
                <asp:Menu ID="NavigationMenu" runat="server" CssClass="menu" EnableViewState="false" IncludeStyleBlock="false" Orientation="Horizontal">
                </asp:Menu>
            </div>
        </div>
        <div class="main">
            <telerik:RadStyleSheetManager ID="RadStyleSheetManager1" runat="server">
            </telerik:RadStyleSheetManager>
            <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
                <Scripts>
                    <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
                    <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
                    <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
                </Scripts>
            </telerik:RadScriptManager>
            <telerik:RadDropDownList
                AppendDataBoundItems="true"
                AutoPostBack="true"
                Width="300px"
                ID="ddl_Season"
                runat="server"
                SelectedText="Please select Season"
                DataSourceID="dsSeasonName"
                DataTextField="SeasonName"
                DataValueField="ID">

 

Marin Bratanov
Telerik team
 answered on 25 Jan 2019
1 answer
104 views

hi

i want to create a webform for entering orders in raddataform as master table and order details in radgrid as detail table

please help me

Marin Bratanov
Telerik team
 answered on 25 Jan 2019
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?