Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
425 views
Hi Telerik,
I have tried to export a RadGrid to excel format: with these setting: - in grid mastertableview: UseAllDataFields = true, in code behind : ExportOnlyData = true, ExportSettings.Excel.Fornat = GridExcelExportFormat.ExcelML.
The result is only 1 column is appear on my excel report. Is there any thing else i am missing?
Thank you.
Konstantin Dikov
Telerik team
 answered on 30 Jul 2015
18 answers
251 views
I'm currently using the RadAsyncUpload for multiple file upload use.  The control works fine in Chrome, IE, Opera, Firefox, etc, but when i go to select multiple files and upload them in Safari, i get an error (see attached image).  Below is a snippet of my RadAsyncUpload code in my aspx file:
<telerik:RadAsyncUpload ID="Uploader" runat="server" Width="0" Skin="Vista" ToolTip="Choose images to upload." MultipleFileSelection="Automatic" AllowedFileExtensions="jpg,jpeg,png,bmp" AutoAddFileInputs="true" OnClientValidationFailed="ValidateType" OnClientFilesUploaded="CausePostback" OnPreRender="PictureGrid_OnPreRender" OnFileUploaded="UploadFiles_FileUploaded"><Localization Select="Upload Pictures" /></telerik:RadAsyncUpload>

Any idea why i'm getting the following error or how to fix it?

Thanks for the help,
 - Pat
Dimitar
Telerik team
 answered on 30 Jul 2015
1 answer
85 views
I am converting a legacy application which sets the NavigateUrl property in the RadTreeView to a value which is later used on the client side to build a dynamic URL to navigate to another page.  It appears that in the later versions the NavigateUrl property actually takes you to the page once a node is clicked on.  Is there any way to turn off that functionality so that the property is essentially static or is there another property that could be used to hold the URL value besides the Value property (That one is being used already)? Thanks
Aneliya Petkova
Telerik team
 answered on 30 Jul 2015
1 answer
81 views

My implementation of the RadImageAndTextTile (standalone tiles) is in an IFrame and I need set the target of the navigation link to "_top" so that the containing page navigates to the url, not just the frame contents. Can you tell me how to set the target?

 Thanks.

 

Charles

 

 

Ianko
Telerik team
 answered on 30 Jul 2015
1 answer
205 views

Is there anything in telerik to detect faces of human beings from image?

Pls Help me, I m Waiting........

Ianko
Telerik team
 answered on 30 Jul 2015
1 answer
203 views

I am converting a VB application to C#.

 As a novice in C#, I have a very basic question on how to deal with ToolBar settings.

The first line works in VB.

 The second line is as close as I get but I am stumped with how to indicate the NavigateUrl portion.

 

CType(Me.RadToolBar1.Items(toolbar_current), Telerik.Web.UI.RadToolBarButton).NavigateUrl = "lulavision.aspx?show=" & Show_Alias.ToString
 
(Telerik.Web.UI.RadToolBarButton)RadToolBar1.Items[Toolbar_Current] = "lulavision.aspx?show=" + Show_Alias;

Aneliya Petkova
Telerik team
 answered on 30 Jul 2015
1 answer
201 views

Hi,

I am using the RadAsyncUpload control file.

We want to limit the max upload file size at 30MB.

We have set this up in our Web.Config, and a standard FileUpload form control works fine.

If the user uploads more than 30MB, we handle the 404.13 httpErrors, and redirect to an error page if the user tries to upload more.

However, when testing this with the RadAsyncUpload control, the File upload hangs with a flashing yellow light. Analysing this with developer tools in different browsers, I can see that it tries to upload, but must hit the error, the next command is a call to our error page, URL is all correct, response body is correct, but nothing happens. It appears that the RadAsyncUpload Control somehow surpresses the Redirect and doesn't do anything, but I can see it trying to happen.

I have tried:

  • Setting the MaxFileSize in the control
  • Handling: OnClientFileUploadFailed, OnClientValidationFailed, neither of which hit.

What can I do to fix this? I am lost where to go next.

Thanks

 

Hristo Valyavicharski
Telerik team
 answered on 30 Jul 2015
1 answer
59 views
Going through the radgrid documentation there is a limitation that we cannot use the BatchEdit or inplace Mode with virtualization.
What is the alternate or workaround to that?
My client do not want to use paging but want to provide the editing feature on the GRID which has thousands of records. Additionally performance has to be handled as number of records in the GRID can be of order of 000's so definitely need to use virtualization or paging.
Any suggestion on to get around this and achieve this functionality.
Eyup
Telerik team
 answered on 30 Jul 2015
1 answer
262 views

Hi All,

I'm creating my grid pragmatically using the approach described here: 

http://docs.telerik.com/devtools/aspnet-ajax/controls/grid/defining-structure/changing-the-grid-structure-dynamically-on-postback

It works fine with only one concern - it only retain one column filter value at every turn. Let's say a user filtered results using the first filter. As soon as a second filter is selected, the first filter value will be lost after postback whereas the second filter value remains now. Users need to apply multiple column filters to get the desired results, is there a way to retain all filter values entered by users ?

I can't use bellow scripts because the grid is pragmatically created in Page_Init event and added to the placeholder control

var grid = $find("<%= RadGrid.ClientID %>");

            if (grid.get_clientState()) {
                var clientState = $.parseJSON(grid.get_clientState());
                var keys = clientState.checkListFilterKeys;

                for (var i = 0; i < keys.length; i++) {
                    var selectedValues = clientState.checkListFilterValues[i];
                    var fieldName = keys[i].split(",")[1];
                    var filterCell = grid.MasterTableView._getFilterCellByColumnUniqueName(fieldName);
                    var inputElement = filterCell.children[0];
                    inputElement.value = selectedValues.join(", ");
                }
            }

 â€‹Thanks in advance

Eyup
Telerik team
 answered on 30 Jul 2015
7 answers
1.6K+ views
Hi,

we have a radgrid and we are binding the radgrid with datatable the grid height and width is "0px" while we export to excel or csv we want to remove its header column name is there any possiblities to remove this? Below is my code :

//HTML code
<telerik:RadGrid ID="rgExport" runat="server" Height="0" Width="0"
                    onitemdatabound="rgExporthierarchical_ItemDataBound"
                    onexcelmlexportrowcreated="rgExporthierarchical_ExcelMLExportRowCreated">
                </telerik:RadGrid>

//.CS file Code
rgExport.DataSource=dt;
rgExport.DataBind();

please reply soon we will very thankful to you.

thanks & regards
BHARAT VEER
Eyup
Telerik team
 answered on 30 Jul 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?