Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
151 views

I'm working on customizing advanced form of the scheduler.

I have been able to achieve the customization part using user controls (AdvancedForm, ResourceControl and MultipleValuesResourceControl).

I have two controls of single value resource control type and one control of multiple values resource control type. Find the screenshot depicting this.

My requirement involves replacing this multiple values resource control from check boxes to a multi-select combo box.

I tried replicating the current multiple values resource by adding a new user control, called it MultipleValuesDropDownResourceControl.ascx, registered it in AdvancedForm and tried making changes in the MultipleValuesDropDownResourceControl.cs file to replace with but I wasn't able to achieve this functionality. I wasn't able to even partly achieve this, hence I don't have any code to share.

Can anyone please provide some guidance on how a control type can be modified. 

Links I have referred to achieve customized advanced form - http://www.telerik.com/support/code-library/customize-the-advanced-form-with-the-advanced-template-user-controls

http://www.telerik.com/videos/aspnet-ajax/advanced-aspnet-ajax-scheduler-customization (tutorial I followed)

http://docs.telerik.com/devtools/aspnet-ajax/controls/scheduler/how-to/customize-the-advanced-form-template

Swetha
Top achievements
Rank 1
 asked on 20 Jul 2017
1 answer
304 views

Hi, I have implemented RadAsyncUpload on my page. I run the project. When I select the file, the page does total refresh automatically as if it was ran for the first time. Please help!

I am using VS2017

Controls version 2014.2.724

My code:

 

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!DOCTYPE html>
 
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
            <telerik:RadAsyncUpload ID="RadAsyncUploadAttachment" runat="server" MultipleFileSelection="Automatic" TabIndex="300"
                AllowedFileExtensions="jpg,jpeg,png,gif,bmp,pdf">
            </telerik:RadAsyncUpload>
        </div>
    </form>
</body>
</html>
Kathleen Johnson
Top achievements
Rank 1
 answered on 20 Jul 2017
2 answers
148 views

I have two servers. I have set Telerik.AsyncUpload.TemporaryFolder in my web.config on both servers. On server # 1, the setting looks like this: "\\192.168.0.5\upload\". On server #2 (which hosts the shared folder), it looks like this: "c:\files\upload\". Both point to exactly the same folder, and both servers have write permissions. I do not have a target folder set.

This generally works, but occasionally fails. I end up with the uploaded file in "c:\files\upload" on server #1. When my process looks for the file in the shared folder on server #2, it is not there. Nowhere on server #1 is the temp file location set to that local folder - it is always set to the shared folder.

I modified the temp location on server #2 to use the same share path as server #1. This seems to be working, but I will need to watch it for a while.

So, two questions. First, was I causing my own problem by using two different strings to point to the same shared folder? And second, is there any issue with not using a target folder? I just pick up the files from the temp folder and move them where I need them. This seems to be ok, but I thought I would ask in case I am missing something.

Dan Ehrmann
Top achievements
Rank 1
 answered on 20 Jul 2017
0 answers
135 views
Hi want to remove Telerik HTML and Preview sections from RadEditor how do do that
Ravindranath
Top achievements
Rank 1
 asked on 20 Jul 2017
18 answers
2.9K+ views
Hello There, I have a RadGrid, populated using NeedDataSource Event.
Now, I want to get the names of all my groups(ie, values of cells in a column) on a button click as follows 
(note: the button is on the same page as grid, not inside the grid)

On Button Click Event :
 foreach (GridItem item in rgGroups.Items)
            {
                GridDataItem ditem = item as GridDataItem;
                if (ditem["GroupType"].Text.Trim() == "Customer")  //GroupType is a Template Column
                {
                    string grpname = ditem["GroupName"].Text;  //GroupName is BoundColumn
                    customers.Add(gname);
                }
            }
                        
            listGroups.DataSource = customers;
            listGroups.DataBind();

But, the string grpname is always null. Not sure, if this the right way.

Thanks,
Sri
Swati
Top achievements
Rank 1
 answered on 20 Jul 2017
9 answers
1.5K+ views
I'm just looking to add a few options to the drop down list of, make it 15,50,150,250. There's got to be an easy way to do this yes? I don't want to change anything else on paging, but I have a feeling I need to change the pager template? Is there a template I can use that is exactly the same but I can update the drop down? Wish there was a need date source for that drop down. Any ideas would be great, thanks.

Joshua
Tassilo
Top achievements
Rank 1
 answered on 20 Jul 2017
2 answers
267 views
Hi guys,

This should be an easy one:

I am making a radhtmlchart as a pie chart to show information. Currently, when the user hovers over a series the wedge changes color slightly and a tooltip stating the number of items (with a border the same color as the pie wedge) appears. I would like for no tooltip to appear, and for the chart to not change color slightly on hover.

The series for the chart is constructed in the c# codebehind, as well as all seriesitems in that series, due to the dynamic nature of the page. 

Thanks so much,

Kaleb
Maysam
Top achievements
Rank 1
 answered on 19 Jul 2017
6 answers
142 views
RadMenu doesn't response to click to display submenus after using Visual studio 2015. It works fine when we using Visual studio 2012 to debug
Xiaobo
Top achievements
Rank 1
 answered on 19 Jul 2017
1 answer
259 views

Hello Forum, 

I haven't seen this on the forums much so I am guessing this is a rare occurrence. We have a database with over 100,000 records and have the property set to "StartWith". When typing the letter "a" there is a 5-6 second delay before the dropdown appears and is populated. We are setting the datasource with a datatable containing only two fields (Description, ID). Our SectionList property is a datatable that when it's not populated will send a query call to SQL Server obtaining the data and then returning the datatable. The process of returning the datatable is fairly fast but the overall process is rather slow. I was wondering what suggestions you all may have.

Thanks

Here is the control itself

<telerik:RadSearchBox ID="cboSection"

runat="server"
            Width="300"
            Height="400"
            Skin="Bootstrap" 
            DataTextField="Description"
            DataValueField="ID"
            MaxResultCount="10"
            DropDownSettings-Width="400"
            LabelWidth="100%"
            OnClientLoad="cboSection_OnClientLoad"
            OnSearch="cboSection_Search"
            Filter="StartsWith">            >
        </telerik:RadSearchBox>

Server Side:

    protected void Page_Load(object sender, EventArgs e)
    {
        try
        {
            cboSection.DataSource = Settings.Section.SectionList;
        }
        catch (Exception ex)
        {

        }
    }

Peter Milchev
Telerik team
 answered on 19 Jul 2017
2 answers
328 views

I have the RadSearchBox connected to a datasource through a web service with autocomplete functionality enabled.

After the user selects an item from the Searchbox drop down list, is there a way to have the OnClientSearch event fire only when the user clicks the RadSearchBox search button and not when the user selects an item from the drop down list or Enter is pressed?

Thanks in advance.

Kevin
Top achievements
Rank 1
 answered on 18 Jul 2017
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?