var getCars () {
var serviceUrl = "URL your services";
var paramData = {
};
var req = $.ajax({
type: 'POST',
url: serviceUrl,
contentType: 'application/json; charset=utf-8',
data: JSON.stringify(paramData ),
dataType: 'Json',
});
req.then(
function () {
_console.log("Cars->getCars success") : null;
},
function () {
console.log("Cars->getCars failed") : null;
}
);
return req;
}
var loadCars = function () {
var _cboYourControl = $telerik.findComboBox("_cboYourControl");
_cboYourControl .clearItems();
var req = getCars();
req.success(function (cars) {
for (var i = 0; i < cars.length; i++) {
var car = cars[i];
var comboItem = new Telerik.Web.UI.RadComboBoxItem();
comboItem.set_text(car.Name);
comboItem.set_value(car.ID);
_cboYourControl .trackChanges();
_cboYourControl .get_items().add(comboItem);
_cboYourControl .commitChanges();
}
});
}
We have discovered a problem in the RadPivotGrid appearance in various scenarios in Q2 2015 SP1 release. The data content does not scroll correctly and the issue can be fixed with the following CSS rule
.RadPivotGrid .rpgContentZoneDiv {
overflow
:
hidden
;
}
Nevertheless, it will be included in the next internal build on 4th of August 2015 and upcoming SP2 release.
I am trying to format the numeric text box so that it allows up to 8 decimal places and will not show trailing 0's. However this is a currency field and we would only like to show trailing 0's for the first two decimal places ( 20.00 we want instead of 20). I cannot seem to satisfy all of these requirements with the numeric text box control. This is what I have.
<telerik:RadNumericTextBox runat="server" EnabledStyle-HorizontalAlign="Right" ID="rtbPrice" NumberFormat-AllowRounding="False" NumberFormat-DecimalDigits="8" />
This will remove trailing 0's but will leave 20.00 showing as 20. Is there a way to do this?
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
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";
}
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
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
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>
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,