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

hello,

i am exporting grid data to excel,pdf,csv......, i just wanna to add description with multi line as well in different format on the top of the exported file, could any one give any suggestion regarding this as i am unable to find any solution from anywhere .

 

 

Thanks

Viktor Tachev
Telerik team
 answered on 30 Jul 2015
4 answers
1.0K+ views
I am exporting a radgrid to Excel.  The columns are exporting, but the data is formatted incorrectly.  I am using OnExcelMLExportStylesCreated.  I would like to format a number column to include commas in the number (ex. 1,000) but with no decimals.  What am I doing wrong?  I've tried every number format type.

Also, how do I format a date field to be MM/dd?

Thanks in advance.

protected void grdOpenItemsByJurisdiction_ExcelMLExportStylesCreated(object source, GridExportExcelMLStyleCreatedArgs e)
        {
            StyleElement myStyle = new StyleElement("myCustomStyle");
           
            myStyle.NumberFormat.FormatType =  NumberFormatType.GeneralNumber;
            myStyle.NumberFormat.Attributes["ss:Format"] = "0";
            myStyle.FontStyle.Bold = true;
            e.Styles.Add(myStyle);
        }

protected void grdWorkItemsJurisdiction_ExcelMLExportRowCreated(object source, GridExportExcelMLRowCreatedArgs e)
        {
 
            e.Row.Cells.GetCellByName("TotalItems").StyleValue = "myCustomStyle";
   
        }
Eyup
Telerik team
 answered on 30 Jul 2015
2 answers
307 views

I've read this thread...

http://www.telerik.com/forums/problem-with-radeditor-insertion-point-jumping-to-end-of-line?actionMode=replyThread

...but I ​didn't want to hijack it so I started a new thread.

I've noticed the cursor jumping to the end too and I can recreate this on the default editor...

http://demos.telerik.com/aspnet-ajax/editor/examples/overview/defaultcs.aspx

in IE 11 or Chrome 43.0.2357.134 m, but not in Firefox 39.0

Demo:
https://drive.google.com/file/d/0By6eYrB-wqpFZEYzZklhUkUyV2M/view?usp=sharing​

Note: It would be so much easier if you allowed .txt files to be attached (just pictures?? draconian)
Download the source text if you need it and open in Notepad and copy from there: https://drive.google.com/file/d/0By6eYrB-wqpFc0dWa3hWTWRBbWs/view?usp=sharing​

 

kbteam
Top achievements
Rank 1
 answered on 30 Jul 2015
1 answer
141 views

Hi All,

Is there any clientside properties that can  be changed in javascript for this control?

I want to be able to adjust the image to display the full image when a user clicks on it.

I have added an attribute onclick which fires javascript when someone clicks on it, and can get the control. However, I cannot figure out how to set either the Height property, or the style property. Style would be easiest so I can just modify the max-height.

 

Thanks,

Will

Konstantin Dikov
Telerik team
 answered on 30 Jul 2015
6 answers
417 views

Is there a way to have the control scale the image to fit the width of the tile? I would like to show images in the tiles that are much larger than the standard widths of the tiles and everything I try ends up with the image clipped to fit. Since I don't always control the image shown, I need the image to scale down and fit in the tile. Can you show me how to do this? I am databinding with a list(of T). Thanks.

<telerik:RadTileList runat="server" ID="RadTileList1" AppendDataBoundItems="true" TileRows="4">
<DataBindings>
    <CommonTileBinding TileType="RadImageTile" Shape="Wide" DataTitleTextField="TileTexts" DataNavigateUrlField="tileNavUrls" />
    <ImageAndTextTileBinding DataTextField="TileTexts" DataImageUrlField="TileImagePaths" />
</DataBindings>
<Groups>
<telerik:TileGroup Name="Featured Vehicles">
<telerik:RadContentTemplateTile runat="server" Shape="Square" CssClass="noHover">
<ContentTemplate>
<div class="groupHeadingTitle">
<div class="innerTitle">Featured<br />
Vehicles</div>
</div>
</ContentTemplate>
</telerik:RadContentTemplateTile>
</telerik:TileGroup>
</Groups>
</telerik:RadTileList>

Vessy
Telerik team
 answered on 30 Jul 2015
1 answer
90 views

I am here after long time and I remembered, few years ago, Telerik was offering to buy single component from suite. I only need ASP.NET AJAX RadGrid control for my application. Is it possible to buy only this control?

 

Thanks,

Konstantin Dikov
Telerik team
 answered on 30 Jul 2015
1 answer
189 views
asp.net(vb) sample code to implement Telerik Webmail menu UI. 
Aneliya Petkova
Telerik team
 answered on 30 Jul 2015
6 answers
448 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
274 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
100 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?