Hello,
I have a Button(s) in the Editor, when User clicks on that Button then a Telerik Window will be opened with a Terlerik Grid (in that Window) (SEE attached Files)
So .. if i click on it, and choose a Row from the Grid .. and then save the selected option (SEE attached Files) and then try to save the Event (Without changing another Value) ..
So normally if i change the selected option from any DropDownList or any Item that directly Programmed in that way :
<div class=
"k-edit-label"
>
<label
for
=
"Prioritaet"
>Priorität</label>
</div>
<div data-container-
for
=
"Prioritaet"
class=
"k-edit-field"
>
@(Html.Kendo().DropDownListFor(model => model.Prioritaet)
.DataTextField(
"Prioritaet"
)
.DataValueField(
"Prioritaet"
)
.OptionLabel(
"auswählen"
)
.Events(events => events.DataBound(
"onDataBound_DropDownListFor_Prioritaet_KOMM"
))
.ValuePrimitive(
true
)
//.Value(ViewData["Prioritaet"].ToString())
.BindTo(
new
[]
{
new
{Prioritaet =
"1 = Niedrig"
, PrioritaetColor =
"blue"
},
new
{Prioritaet =
"2 = Normal"
, PrioritaetColor =
"green"
},
new
{Prioritaet =
"3 = Hoch"
, PrioritaetColor =
"red"
}
})
)
</div>
So this "data-container-for" will take care of it usually .... but not in my situation ! Because I'm selecting the Value from the Grid and Not From the Button, Exp. :
<div class=
"k-edit-label"
>
<label
for
=
"Recid_person"
>Person</label>
</div>
<div data-container-
for
=
"Recid_person"
class=
"k-edit-field"
>
@(Html.Kendo().Button()
.Name(
"PersonenSuche_BTN"
)
.HtmlAttributes(
new
{type =
"button"
} )
.Content(
"Personen Suchen"
))
</div>
So i need that the Event Editor the Update() calls, so that i can Update only that Field (if Only one Field (Value) changed) ..
Steps To Follow :
1 - Editor_Buttons_Grid
2 - Editor_Buttons_Grid_Button
3 - Update_Speichern_X
Thank you in advance
regards Karam
When profiling load time on my UI for ASP.NET MVC web app, the slowest is kendo.all.min.js and is causing significant delay in start-up time for my web app.
However, most of the Telerik demos and docs seem to reference kendo.all.min.js rather than the individual scripts for the individual controls.
When I attempt to use only kendo.menu.min.js and kendo.grid.min.js, I get various errors including the following: window.kendo is undefined, D is undefined, etc, etc, etc.....
So what additional scripts are required for use with kendo.menu.min.js?
What additional scripts are required for use with kendo.grid.min.js?
Telerik should provide meaningful documentation and demos for use with individual controls and individual scripts that do NOT require use of kendo.all.min.js!!!!
That file kendo.all.min.js has grown way too large and slow on download and startup of a web app if placed at the top of a web page. However every time I have attempted to place it at bottom of web page, it does not seem to work properly.
So what about some better demos and docs that provide alternatives to use of kendo.all.min.js and that pay attention to speed and load time at startup???
Telerik could also consider improving speed and response time of its own support web site as demonstration example??? I often find myself waiting and waiting just to login to the site and/or access my products page looking for updates on my products. Why so slow?
I have a column which is an enum ( -1 :Error, 0:False, 1:True)
The column in the grid displays this correctly, but the filter drop down is not sizing to display the options. ( see attachment)
My assumption is that it is adjusting the width to the values (-1,0,1) rather than the text?
Is there something I need to do with the model or a way I can manually adjust?
The whole filter row sizing is crazy too big.. something else I need to sort out. ( I always struggle trying to compress the grid down to a compact size)
Cheers
Rob
Hey,
all kendo widgets I'm using are set to German and all of them are working properly except for the PDFViewer. I set the localization like that for all the widgets:
<
script
src
=
"https://kendo.cdn.telerik.com/2020.1.219/js/cultures/kendo.culture.de-DE.min.js"
></
script
>
<
script
src
=
"https://kendo.cdn.telerik.com/2020.1.219/js/messages/kendo.messages.de-DE.min.js"
></
script
>
<
script
>
$(function () {
kendo.culture("de-DE");
})
</
script
>
But only the PDFViewer is in English. How can I change that?
- Daniel
I have a MVC .NET application. In one of the page I have Kendo chart and dropdownlist .
the problem is when I <script src="~/Scripts/kendo/kendo.all.min.js"></script> charts will render but it throws error for dropdownlist
Uncaught TypeError: kendo.ui.DropDownList.requestData is not a function
at Object.data ((index):730)
at init.setup (kendo.all.js:5945)
at init.read (kendo.all.js:5924)
at kendo.all.js:7006
at init._queueRequest (kendo.all.js:7221)
at init.read (kendo.all.js:6999)
at init.query (kendo.all.js:7422)
at init._filterSource (kendo.all.js:29706)
at init._filter (kendo.all.js:29807)
at init.search (kendo.all.js:29842)a
and if I remove <script src="~/Scripts/kendo/kendo.all.min.js"></script> dropdown works fine but charts will not work. throws error saying kendoChart is not a function
Please if anyone can Help me on this..
I have a function that runs an SQL query, creates a DataTable from it, then creates a DataSourceResult based on the DataSourceRequest parameters.
I would like create a filteredDataTable with the results of filteredDataSourceResult.
How can I do that? My code is below:
public ActionResult GrabFiltersApplytoQueryProcessFilteredResults([DataSourceRequest]DataSourceRequest request){
String sqlConnectionString = db.Database.Connection.ConnectionString;
SqlConnection sqlConnection = new SqlConnection(sqlConnectionString); sqlConnection.Open();
string sqlCommandText = "";
sqlCommandText = "execute sp_query";
SqlCommand sqlCommand = new SqlCommand(sqlCommandText, sqlConnection); SqlDataAdapter dataAdapter = new SqlDataAdapter();
dataAdapter.SelectCommand = sqlCommand;
DataTable dataTable = new DataTable();
dataAdapter.Fill(dataTable);
sqlConnection.Close();
DataSourceResult filteredDataSourceResult = dataTable.ToDataSourceResult(request);
//copy columns
DataTable filteredDataTable = dataTable.Clone();
//how do I add filteredDataSourceResult.data into filteredDataTable?
...
// other processing that requires a DataTable
...
}
Thanks,
Peter
i have added js and example code but i have getting widh issue for all view and dont look good pdf.
please help me..
Hi Team,
I have a requirement that to load child data from database every time i clicked on expand icon but right now its only load data on first time of expand button but I need it on every click.
Using MVC, I've placed a stepper in a container of a tilelayout with 4 tiles with a colspan of 4.
The colored background bar is contained to just the first "cell" on load. If I resize the page the stepper resizes to fit the entire width of the spanned container.
I went through the events for the tile lay out and the stepper, but I found nothing that seems to facilitate the ability to capture and resize the stepper when the tile layout has finished loading using jquery.
i have added export PDF code and js file but when i click on export to pdf button i have getting big column width file.
check following attached file.
please help .