"RadScheduler *" CSS Selector
RadAsyncUpload TemporaryFolder issue
Hi Telerik Team,
Our company is working on upgrade application to cloud environment. We are using RadAsyncUpload control on teleirk 2014.2.724.40 version and found an issue with TemporaryFolder. Can we customized how to read / write files in TemporaryFolder ?
Thanks in advance,
Lan
Breakpoint not hit
Thanks for answering so quickly Nikolay,
Here is my code. I'm trying to use the Grid for the first time in my own application.
public class CustomerViewModel
{
[ScaffoldColumn(false)]
public int CustomerID { get; set; }
[DisplayName("First name")]
public string FirstName { get; set; }
[DisplayName("Last name")]
public string LastName { get; set; }
public string Phone { get; set; }
public string Company { get; set; }
public string Address1 { get; set; }
public string Address2 { get; set; }
public string City { get; set; }
[DisplayName("State/Province")]
public string StateProvince { get; set; }
[DisplayName("Zip/Postal code")]
public string ZipPostalCode { get; set; }
[UIHint("ClientCountry")]
public CountryViewModel Country { get; set; }
[DisplayName("Country")]
public string CountryID { get; set; }
[DisplayName("VAT number")]
public string VatNumber { get; set; }
[DisplayName("Codice destinatario SDI")]
public string DestCode { get; set; }
public string Notes { get; set; }
[ScaffoldColumn(false)]
public int OrderCount { get; set; }
}
public class CountryViewModel
{
public string CountryID { get; set; }
public string CountryName { get; set; }
}
public class CustomerService : IDisposable
{
private static bool UpdateDatabase = false;
private devDeptMvcContext entities;
public CustomerService(devDeptMvcContext entities)
{
this.entities = entities;
}
public IList<
CustomerViewModel
> GetAll()
{
var result = HttpContext.Current.Session["Customers"] as IList<
CustomerViewModel
>;
if (result == null || UpdateDatabase)
{
result = entities.Customers.Select(customer => new CustomerViewModel
{
CustomerID = customer.customerID,
FirstName = customer.firstName,
LastName = customer.lastName,
Phone = customer.phone,
Company = customer.company,
Address1 = customer.address1,
Address2 = customer.address2,
City = customer.city,
StateProvince = customer.stateProvince,
ZipPostalCode = customer.zipPostalCode,
CountryID = customer.countryID,
Country = new CountryViewModel()
{
CountryID = customer.Country.countryID,
CountryName = customer.Country.countryName
},
VatNumber = customer.vatNumber,
DestCode = customer.destCode,
Notes = customer.notes,
OrderCount = customer.Orders.Count
}).ToList();
HttpContext.Current.Session["Customers"] = result;
}
return result;
}
public IEnumerable<
CustomerViewModel
> Read()
{
return GetAll();
}
public void Create(CustomerViewModel customer)
{
if (!UpdateDatabase)
{
/*var first = GetAll().OrderByDescending(e => e.CustomerID).FirstOrDefault();
var id = (first != null) ? first.CustomerID : 0;
customer.CustomerID = id + 1;
if (customer.CustomerID == null)
{
customer.CustomerID = 1;
}*/
if (customer.Country == null)
{
customer.Country = new CountryViewModel() {CountryID = "ITA", CountryName = "Italy"};
}
GetAll().Insert(0, customer);
}
else
{
var entity = new Customer();
entity.firstName = customer.FirstName;
entity.lastName = customer.LastName;
entity.company = customer.Company;
entity.address1 = customer.Address1;
entity.address2 = customer.Address2;
entity.city = customer.City;
entity.stateProvince = customer.StateProvince;
entity.zipPostalCode = customer.ZipPostalCode;
entity.vatNumber = customer.VatNumber;
entity.destCode = customer.DestCode;
entity.notes = customer.Notes;
entity.countryID = customer.CountryID;
/*if (entity.countryID == null)
{
entity.countryID = "ITA";
}*/
if (customer.Country != null)
{
entity.countryID = customer.Country.CountryID;
}
entities.Customers.Add(entity);
entities.SaveChanges();
customer.CustomerID = entity.customerID;
}
}
public void Update(CustomerViewModel customer)
{
if (!UpdateDatabase)
{
var target = One(e => e.CustomerID == customer.CustomerID);
if (target != null)
{
target.FirstName = customer.FirstName;
target.LastName = customer.LastName;
target.Phone = customer.Phone;
target.Company = customer.Company;
target.Address1 = customer.Address1;
target.Address2 = customer.Address2;
target.City = customer.City;
target.StateProvince = customer.StateProvince;
target.ZipPostalCode = customer.ZipPostalCode;
target.VatNumber = customer.VatNumber;
target.DestCode = customer.DestCode;
target.Notes = customer.Notes;
/*if (customer.Country != null)
{*/
customer.CountryID = customer.Country.CountryID;
/*}
else
{
customer.Country = new CountryViewModel()
{
CountryID = customer.CountryID,
CountryName = entities.Countries.Where(s => s.countryID == customer.CountryID)
.Select(s => s.countryName).First()
};
}*/
target.CountryID = customer.CountryID;
target.Country = customer.Country;
}
}
else
{
var entity = new Customer();
entity.customerID = customer.CustomerID;
entity.firstName = customer.FirstName;
entity.lastName = customer.LastName;
entity.company = customer.Company;
entity.address1 = customer.Address1;
entity.address2 = customer.Address2;
entity.city = customer.Address2;
entity.countryID = customer.CountryID;
/*if (customer.Country != null)
{*/
entity.countryID = customer.Country.CountryID;
/*}*/
entities.Customers.Attach(entity);
entities.Entry(entity).State = EntityState.Modified;
entities.SaveChanges();
}
}
public void Destroy(CustomerViewModel customer)
{
if (!UpdateDatabase)
{
var target = GetAll().FirstOrDefault(p => p.CustomerID == customer.CustomerID);
if (target != null)
{
GetAll().Remove(target);
}
}
/*else
{
var entity = new Customer();
entity.customerID = customer.CustomerID;
entities.Customers.Attach(entity);
entities.Customers.Remove(entity);
/*
var orderDetails = entities.Order_Details.Where(pd => pd.ProductID == entity.ProductID);
foreach (var orderDetail in orderDetails)
{
entities.Order_Details.Remove(orderDetail);
}
#1#
entities.SaveChanges();
}*/
}
public CustomerViewModel One(Func<
CustomerViewModel
, bool> predicate)
{
return GetAll().FirstOrDefault(predicate);
}
public void Dispose()
{
entities.Dispose();
}
}
This is my controller:
public class GridController : Controller
{
private CustomerService customerService;
public GridController()
{
customerService = new CustomerService(new devDeptMvcContext());
}
protected override void Dispose(bool disposing)
{
customerService.Dispose();
base.Dispose(disposing);
}
public ActionResult Index()
{
PopulateCountries();
return View();
}
private void PopulateCountries()
{
var dataContext = new devDeptMvcContext();
var countries = dataContext.Countries
.Select(c => new CountryViewModel {
CountryID = c.countryID,
CountryName = c.countryName
})
.OrderBy(e => e.CountryName);
ViewData["countries"] = countries;
ViewData["defaultCountry"] = countries.First();
}
public ActionResult ForeignKeyColumn_Read([DataSourceRequest] DataSourceRequest request)
{
return Json(customerService.Read().ToDataSourceResult(request));
}
[AcceptVerbs(HttpVerbs.Post)]
public ActionResult ForeignKeyColumn_Update([DataSourceRequest] DataSourceRequest request,
[Bind(Prefix = "models")]IEnumerable<
CustomerViewModel
> customers)
{
if (customers != null && ModelState.IsValid)
{
foreach (var customer in customers)
{
customerService.Update(customer);
}
}
return Json(customers.ToDataSourceResult(request,ModelState));
}
[AcceptVerbs(HttpVerbs.Post)]
public ActionResult ForeignKeyColumn_Create([DataSourceRequest] DataSourceRequest request,
[Bind(Prefix = "models")]IEnumerable<
CustomerViewModel
> customers)
{
var results = new List<
CustomerViewModel
>();
if (customers != null && ModelState.IsValid)
{
foreach (var customer in customers)
{
customerService.Create(customer);
results.Add(customer);
}
}
return Json(results.ToDataSourceResult(request, ModelState));
}
[AcceptVerbs(HttpVerbs.Post)]
public ActionResult ForeignKeyColumn_Destroy([DataSourceRequest] DataSourceRequest request,
[Bind(Prefix = "models")]IEnumerable<
CustomerViewModel
> customers)
{
foreach (var customer in customers)
{
customerService.Destroy(customer);
}
return Json(customers.ToDataSourceResult(request, ModelState));
}
}
And this is my view:
@using Corporate.Models
@(Html.Kendo().Grid<
CustomerViewModel
>()
.Name("grid")
.Columns(columns =>
{
columns.Bound(c => c.FirstName).Width(100);
columns.Bound(c => c.LastName).Width(100);
columns.Bound(c => c.Company);
columns.Bound(c => c.City).Width(100);
columns.Bound(c => c.OrderCount).Width(100).Title("Orders");
columns.ForeignKey(c => c.CountryID, (System.Collections.IEnumerable)ViewData["countries"], "CountryID", "CountryName")
.Title("Country").Width(100);
columns.Command(command => command.Edit());
columns.Command(command => command.Destroy());
})
.ToolBar(toolBar =>
{
toolBar.Create();
})
.Editable(editable => editable.Mode(GridEditMode.PopUp))
.Filterable()
.Groupable()
.Pageable()
.Sortable()
//.Scrollable()
.HtmlAttributes(new { style = "height:540px;" })
.DataSource(dataSource => dataSource
.Ajax()
.PageSize(10)
.ServerOperation(false)
.Events(events => events.Error("errorHandler"))
.Model(model =>
{
model.Id(c => c.CustomerID);
model.Field(c => c.CustomerID).Editable(false);
// model.Field(c => c.CountryID).DefaultValue("ITA");
})
.Read(read => read.Action("ForeignKeyColumn_Read", "Grid"))
.Update(update => update.Action("ForeignKeyColumn_Update", "Grid"))
.Create(create => create.Action("ForeignKeyColumn_Create", "Grid"))
.Destroy(destroy => destroy.Action("ForeignKeyColumn_Destroy", "Grid"))
)
)
<
script
type
=
"text/javascript"
>
function errorHandler(e) {
if (e.errors) {
var message = "Errors:\n";
$.each(e.errors, function (key, value) {
if ('errors' in value) {
$.each(value.errors, function() {
message += this + "\n";
});
}
});
alert(message);
}
}
</
script
>
I've also added this ClientCountry.cshtml without understanding how it's used:
@model Corporate.Models.CountryViewModel
@(Html.Kendo().DropDownListFor(m => m)
.DataValueField("CountryID")
.DataTextField("CountryName")
.BindTo((System.Collections.IEnumerable)ViewData["countries"])
)
The result is a NullReferenceException inside the public ActionResult ForeignKeyColumn_Destroy() method (customer collection is null).
I managed to make it work using:
.Destroy(destroy => destroy.Action("Destroy", "Grid"))
in the view and renaming the ForeignKeyColumn_Destroy() method as Destroy() but they are all blind attempts.
What am I doing wrong?
Thanks,
Alberto
ReportViewer sometimes missing tool bar icons in IE
Hello Kerry,
Internet Explorer is confirmed to have issues with loading icon fonts - occasionally it does not load the font that we use to display the toolbar buttons. We have clients complaining about the same, so we tested and managed to reproduce this problem consistently in a specific version of IE - 11.0.15063.0.
We also write a knowledge base article on the topic - Html5 Report Viewer toolbar icons not rendered in IE browser. It seems to be related to caching when the fonts for the icons are loaded from the browser cache an error is thrown (check the browser console). When the cache is cleared and the fonts are loaded from the real resources the Toolbar is displayed correctly.
Additionally, another approach will be to update the IE browser to overcome the issue.
Best Regards,Silviya
Progress Telerik
Breakpoint not hit
Actually to make it work, I use this controller action:
[AcceptVerbs(HttpVerbs.Post)]
public ActionResult Destroy(CustomerViewModel product)
{
RouteValueDictionary routeValues;
//Delete the record
customerService.Destroy(product);
routeValues = this.GridRouteValues();
//Redisplay the grid
return RedirectToAction("Index", routeValues);
}
Pre Filter Using DataSource .Filter
I'm trying to use the remote datasource to retrieve the possible values used for filtering:
columns.Bound(p => p.State).Width(50)
.Filterable(fb => fb.Multi(true).Search(true)
.DataSource(ds => ds.Read(
r => r.Url("http://localhost:5000/entityreferences/regulation-states")
)));
The datasource is list of enum values, serialized as JSON with the following structure:
[
{ Value: 0, Text: "Draft"},
{value: 1, Text: "Pending"}
]
So the result is bound to the search form, with checkboxes, but when I try to use the Filter icon, I get an error: "State is not defined".
I tried different property names, like {Id, State}, and there is no error, but when I click on the Filter button, to filter the data, I get an ajax call with filter:
State~eq~NaN
http://localhost:5000/dashboard/entries?filter=State~eq~NaN
Grid Editing -- Yes for Create, No for Edit
I found the answer I needed at the link below:
https://www.telerik.com/forums/column-readonly-in-edit-mode-but-editable-in-add-mode-
radhtmlchart resetzoom option in asp.net
I have dynamically generated radhtmlcharts in asp.net page. after zooming into radhtmlchart I don't want to zoomout but I need an option for reset zoom in asp.net.
can anyone show me how to do rest of zoom feature for radhtmlchart in asp.net c#?
Thank you :)
Cert Install Error
Required Validator with AutoUpload = False
I have autoupload = false, multiple=false and my own custom upload button that calls the uploadfiles method.
I am trying to use kendo reactive forms validation. However, the validator appears to consider the kendo upload empty/not set if the file has not been uploaded to the server.
How do I check that a file has been selected prior to calling uploadfiles?
Official Site (Buy Now):-http://pillsneed.com/just-keto-south-africa/
Move Strip element to new row on resize
I am using the RadCommandBar, and for the strip elements I have the overflow visibility set to collapse, as I don't want the user to turn the command items off or hide them. When I resize, the Controls in the strip elements disappear and only a reduced-sized footprint of the right-most strip elements appear (see attached), with no ability to select the control contained within.
I think the best solution would be to automatically move these to a new row in the CommandBar as the size of the form is reduced, then move them back to the top row as form is expanded again. I assume I could do this in the form.resize event, checking the width of command bar, but i'm not sure all the nested properties I would need to manipulate to accomplish this.
Please let me know how to accomplish this, or if there is a setting I am missing that might achieve my described desired result. Basically, I'm looking for a solution that prevents the user from hiding the buttons or strip elements, but still provide access to the buttons when the form is resized.
Thanks
Required Validator with AutoUpload = False
Not sure if this is the best way but I just used the event handlers to flag if a file is selected. Would be nice if the list of selected files was exposed.
selectEventHandler(e: SelectEvent) {
this.fileSelected = true;
}
clearEventHandler(e: ClearEvent) {
this.fileSelected = false;
}
Change Event
gridrowfilter disable menu filter
I am using Kendo Grid for MVC using Razor binding and want help with couple of features.
- Frstly, i want to remove the filter option from Edit Column settings menu which comes when using GridFilterRow. (Attached screenshot of the same)
- Secondly, I want to remove the "More Pages" option from Paging. (Attached screenshot)
Could I get some solution for the above?
Programmatically added RadPane Size
When I programatically add a radpane to docking. It is coming out only as tall as the header of a pane. (Picture attached of result.)
I have tried a few methods.
Here is what I am trying:
RadPane dockPaneCalc =
new
RadPane() {
IsHidden =
false
,
Content =
new
RadCalculator()
{
VerticalAlignment = VerticalAlignment.Stretch,
HorizontalAlignment = HorizontalAlignment.Stretch
}
};
RadPaneGroup paneGroup =
new
RadPaneGroup();
RadSplitContainer splitContainer =
new
RadSplitContainer() {
InitialPosition = Telerik.Windows.Controls.Docking.DockState.FloatingOnly,
Height = 350,
Width = 250
};
RadDocking.SetFloatingLocation(splitContainer,
new
Point(200, 200));
RadDocking.SetFloatingSize(splitContainer,
new
Size(250, 350));
paneGroup.Items.Add(dockPaneCalc);
splitContainer.Items.Add(paneGroup);
dockMain.Items.Add(splitContainer);
responsive images
I think this is at a dead end. I use Telerik components along with ngx-bootstrap in my angular project. I will scrap the scroll view and use the ngx-bootstrap carousel component.
The first image has a resolution of 1280X960, fairly typical for a digital camera. The second is a collated image at resolution 1920x514. Both images are askew with your settings. I have attached captures from the scroll view and the orginal images.
Thanks for the help.
RadGrid with UseStaticHeaders vertical scrollbar hides last column
I have a RadGrid that I added UseStaticHeaders="true" to and now the last column is partially hidden by the vertical scroll bar (as shown in attached image).
Here is my grid:
<
telerik:RadGrid
ID
=
"rgReorderParts"
runat
=
"server"
Skin
=
"Windows7"
CellSpacing
=
"0"
CellPadding
=
"0"
GridLines
=
"Both"
ShowHeader
=
"True"
ShowFooter
=
"True"
<br> AutoGenerateColumns="false" AllowMultiRowSelection="true"><
br
> <
ClientSettings
><
br
> <
Scrolling
AllowScroll
=
"True"
ScrollHeight
=
"300"
UseStaticHeaders
=
"true"
/><
br
> </
ClientSettings
><
br
> <
MasterTableView
DataKeyNames
=
"PartNumber"
CommandItemDisplay
=
"None"
><
br
> <
CommandItemSettings
ShowAddNewRecordButton
=
"false"
/><
br
> <
Columns
><
br
> <
telerik:GridTemplateColumn
HeaderText
=
"View"
HeaderStyle-Width
=
"40"
ItemStyle-Width
=
"40"
><
br
> <
ItemTemplate
><
br
> <
asp:ImageButton
ID
=
"btnViewPart"
runat
=
"server"
ImageUrl
=
"~/images/icons/pencil.png"
<br> OnClientClick='<%# String.Format("GetViewPartInfo(""{0}""); return false;", Eval("PartNumber").ToString.EncodeJsString) %>' /><
br
> </
ItemTemplate
><
br
> </
telerik:GridTemplateColumn
><
br
> <
telerik:GridBoundColumn
HeaderText
=
"Part #"
DataField
=
"PartNumber"
HeaderStyle-Width
=
"100"
ItemStyle-Width
=
"100"
/><
br
> <
telerik:GridBoundColumn
HeaderText
=
"Part Description"
DataField
=
"PartDescription"
HeaderStyle-Width
=
"200"
ItemStyle-Width
=
"200"
/><
br
> <
telerik:GridBoundColumn
HeaderText
=
"Max. Level"
DataField
=
"MaxStockLevel"
DataType
=
"System.Decimal"
DataFormatString
=
"{0:0.#####}"
<br> HeaderStyle-Width="70" ItemStyle-Width="70" /><
br
> <
telerik:GridBoundColumn
HeaderText
=
"Order Point"
DataField
=
"ReorderPoint"
DataType
=
"System.Decimal"
DataFormatString
=
"{0:0.#####}"
<br> HeaderStyle-Width="70" ItemStyle-Width="70" /><
br
> <
telerik:GridBoundColumn
HeaderText
=
"Min. Level"
DataField
=
"MinStockLevel"
DataType
=
"System.Decimal"
DataFormatString
=
"{0:0.#####}"
<br> HeaderStyle-Width="70" ItemStyle-Width="70" /><
br
> <
telerik:GridBoundColumn
HeaderText
=
"Expected Qty"
DataField
=
"QuantityExpected"
DataType
=
"System.Decimal"
DataFormatString
=
"{0:0.#####}"
<br> HeaderStyle-Width="70" ItemStyle-Width="70" /><
br
> <
telerik:GridTemplateColumn
HeaderText
=
"Supplier"
UniqueName
=
"OrderSupplierID"
HeaderStyle-Width
=
"210"
ItemStyle-Width
=
"210"
><
br
> <
ItemTemplate
><
br
> <
telerik:RadComboBox
ID
=
"ddlSupplierID"
runat
=
"server"
Width
=
"190"
/><
br
> </
ItemTemplate
><
br
> </
telerik:GridTemplateColumn
><
br
> <
telerik:GridTemplateColumn
HeaderText
=
"Order Quantity"
UniqueName
=
"OrderQuantity"
HeaderStyle-Width
=
"100"
ItemStyle-Width
=
"100"
><
br
> <
ItemTemplate
><
br
> <
telerik:RadNumericTextBox
ID
=
"txtOrderQuantity"
runat
=
"server"
Type
=
"Number"
MaxValue
=
"9999999.99999"
Width
=
"80"
<br> ClientEvents-OnBlur="FormatZeros_ZeroDecimals" ClientEvents-OnLoad="FormatZeros_ZeroDecimals"<
br
> EnabledStyle-HorizontalAlign="Right" DisabledStyle-HorizontalAlign="Right"><
br
> <
NumberFormat
DecimalDigits
=
"5"
/><
br
> </
telerik:RadNumericTextBox
><
br
> </
ItemTemplate
><
br
> </
telerik:GridTemplateColumn
><
br
> <
telerik:GridTemplateColumn
HeaderText
=
"UOM"
UniqueName
=
"OrderUOM"
HeaderStyle-Width
=
"100"
ItemStyle-Width
=
"100"
><
br
> <
ItemTemplate
><
br
> <
telerik:RadComboBox
ID
=
"ddlUOM"
runat
=
"server"
Width
=
"80"
/><
br
> </
ItemTemplate
><
br
> </
telerik:GridTemplateColumn
><
br
> <
telerik:GridBoundColumn
DataField
=
"Warehouse"
Display
=
"false"
/><
br
> <
telerik:GridBoundColumn
DataField
=
"UOM"
Display
=
"false"
/><
br
> <
telerik:GridBoundColumn
DataField
=
"QuantityOnHand"
Display
=
"false"
/><
br
> <
telerik:GridBoundColumn
DataField
=
"QuantityCommitted"
Display
=
"false"
/><
br
> <
telerik:GridBoundColumn
DataField
=
"QuantityAvailable"
Display
=
"false"
/><
br
> <
telerik:GridBoundColumn
DataField
=
"QuantityOpenPO"
Display
=
"false"
/><
br
> <
telerik:GridBoundColumn
DataField
=
"QuantityOpenMOComponent"
Display
=
"false"
/><
br
> <
telerik:GridBoundColumn
DataField
=
"QuantityOpenSO"
Display
=
"false"
/><
br
> <
telerik:GridBoundColumn
DataField
=
"QuantityExpected"
Display
=
"false"
/><
br
> <
telerik:GridDateTimeColumn
DataField
=
"LastPurchaseDate"
DataFormatString
=
"{0:d}"
Display
=
"false"
/><
br
> <
telerik:GridDateTimeColumn
DataField
=
"LastSaleDate"
DataFormatString
=
"{0:d}"
Display
=
"false"
/><
br
> <
telerik:GridBoundColumn
DataField
=
"MinOrderQuantity"
Display
=
"false"
DataFormatString
=
"{0:0.#####}"
/><
br
> <
telerik:GridBoundColumn
DataField
=
"SupplierID"
Display
=
"false"
/><
br
> <
telerik:GridBoundColumn
DataField
=
"SupplierName"
Display
=
"false"
/><
br
> <
telerik:GridBoundColumn
DataField
=
"QuantitySuggested"
Display
=
"false"
/><
br
> <
telerik:GridClientSelectColumn
HeaderText
=
"Select Line"
UniqueName
=
"SelectLine"
HeaderTooltip
=
"Select Line"
DataType
=
"System.Boolean"
<br> HeaderStyle-Width="18" ItemStyle-Width="18" /><
br
> </
Columns
><
br
> </
MasterTableView
><
br
> <
ClientSettings
><
br
> <
Selecting
AllowRowSelect
=
"true"
UseClientSelectColumnOnly
=
"true"
/><
br
> </
ClientSettings
><
br
><
br
> </
telerik:RadGrid
><
br
>
What do I need to change so the last "SelectLine" column is not partially hidden by the scroll bar?
RadGrid with UseStaticHeaders vertical scrollbar hides last column
I just figured this out right after I posted this.
I removed the Item-Style-Width settings from each grid column; leaving only the HeaderStyle-Width setting and that seems to have fixed this problem.
Localization not working
Hello,
I'm using telerik xamarin scheduler and I would like to translate the day and months showed up in the scheduler to my language.
Maybe I didn't understand that right but I followed this link and the localization didn't work for me:
https://docs.telerik.com/devtools/xamarin/localization-and-globalization#localization-using-custom-localization-manager
what I did is :
1. I created 'CustomTelerikLocalizationManager' class and translated the day and months names to my language,like following :
public override string GetString(string key)
{
if (key == "January")
{
return "ינואר";
}
if (key == "February")
{
return "פברואר";
}
if (key == "March")
{
return "מרץ";
}
if (key == "April")
{
return "אפריל";
}
if (key == "May")
{
return "מאי";
}
if (key == "June")
{
return "יוני";
}
if (key == "July")
{
return "יולי";
}
if (key == "August")
{
return "אוגוסט";
}
if (key == "September")
{
return "ספטמבר";
}
if (key == "FilterUISectionText")
{
return "filtre par";
}
if (key == "Contains")
{
return "contient";
}
return base.GetString(key);
}
2.I added
TelerikLocalizationManager.Manager = new Classes.CustomTelerikLocalizationManager();
to my app.xaml.cs file
before
InitializeComponent();
that didn't work so I did the same to the file that contains the scheduler and that didn't work either.
Thanks :).