Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
109 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
101 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.6K+ 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.4K+ 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
229 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
75 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
234 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
275 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
4 answers
200 views

I have a series of ASPX files which are use RadGrid. One of the ASCX's contains this code:

<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
             <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="Ignore_SearchTerm">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadComboBox_FK_PT_GUID" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="RadComboBox_FK_PT_GUID">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadComboBox_FK_SOC_GUID" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>

 

I have two web sites running identical code (one test, one production). I part of the "Security advisory" received last month, I downloaded the newer version of the Telerik controls and updated the project, and pushed to Test. No other changes have been made to the code base, just the DLL version for the new controls (2017.6.621.45). Production is still on 2017.1.228.45.

When using this ASPX file with DLL version 2017.2.621.45, I am getting an error "Unknown control type Telerik.Web.UI.RadAjaxManagerProxy" in my try/catch exception block for that page. If I change the project back to 2017.1.228.45 and push to test, it runs fine.

Not sure what has changed to cause this behaviour. Any suggestions on how to work around/correct?

 

 
ToltingColtAcres
Top achievements
Rank 2
Veteran
Iron
 answered on 18 Jul 2017
3 answers
104 views

I have very simple RadGrid that is being loaded from database

 <telerik:RadGrid ID="RadGrid1" runat="server" Skin="MetroTouch"  OnPreRender="RadGrid1_PreRender" OnItemDataBound="RadGrid1_ItemDataBound" ></telerik:RadGrid>

 

This populates my tooltip:

 protected void RadGrid1_PreRender(object sender, EventArgs e)
        {

foreach (GridDataItem dataItem in radgrid2.MasterTableView.Items)
            {
                dataItem["Offset_Rank"].ToolTip = dataItem["OffsetToolTip"].Text;
            }
        }

 

My problem is, once I change my lookup parameters and reload the radGrid my tool tip becomes null,  what am I missing?

 

Any help would be helpful.

Thanks

Marin Bratanov
Telerik team
 answered on 18 Jul 2017
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?