Hi, I am using excel-like filtering on my RadGrid similar to this demo.
I am wondering if there is a way to hide the extra filtering option as highlighted in red in the attached image, but keep the excel-like filtering. I know that the css for the whole menu can be edited with .RadGrid_[skin] .rmGroup {} but I don't know about the filter. Thanks
Hi there,
Our development team are using Kendo UI with entity framework 6 database first. We're wanting to try using stored procedures for some complex CRUD operations, but the team are adamant that this isn't possible. Could you please advise?
We're using 2016.1.226.440 - Kendo web extensions for asp.net mvc. Library package name is Kendo.MVC. Runtime version 4.0.
Cheers,
Hello together, i don't get it working...
How can i change the start/end/interval values for the popup list of RadTimePicker clientside using javascript and how to repait that after manipulating?
I can read all the values with the apropriate methods:
Here is a sample code how i try to manipulate this (sample of an end-time):
1.
... get the endTimePicker...
2.
var
timeView = endTimePicker.get_timeView();
3.
var
endTime = timeView.getTime();
4.
endTime.setHours(17);
5.
endTime.setMinutes(0);
6.
endTime.setSeconds(0);
7.
timeView.set_endTime(endTime);
After manipulation, i try to write it back to the object:
Whe i than read the properties again, i only get the message "invalid date".
How can i manipulate these values in the correct way?
How can i repaint the popup list after the manipulation? With <timepicker-object>.repaint() ?
Thanks a lot for thinking about that.
Is there some way to add arrows to lines on the map?
Thank you
Is it possible to "paint" shape by using javascript after original load? To identify i can use some of the shape properties.
Thank you
<
telerik:RadGrid
ID
=
"RadGrid_ECNEntity"
runat
=
"server"
AutoGenerateColumns
=
"False"
GridLines
=
"None"
OnNeedDataSource
=
"RadGrid_ECNEntity_OnNeedDataSource"
OnInsertCommand
=
"DoInsert"
>
<
MasterTableView
CommandItemDisplay
=
"Top"
EditMode
=
"InPlace"
>
<
Columns
>
<
telerik:GridTemplateColumn
DataField
=
"EntityName"
HeaderText
=
"EntityName"
UniqueName
=
"EntityName"
SortExpression
=
"EntityName"
>
<
ItemTemplate
>
<
asp:Label
ID
=
"lblECNEntityName"
runat
=
"server"
Text='<%#Bind("EntityName") %>' />
</
ItemTemplate
>
<
EditItemTemplate
>
<
telerik:RadComboBox
ID
=
"RadComboBox_EntityName"
runat
=
"server"
EnableLoadOnDemand
=
"true"
DataTextField
=
"Value"
DataValueField
=
"Key"
OnItemsRequested
=
"RadComboBox_EntityName_OnItemsRequested"
AllowCustomText
=
"true"
ShowMoreResultsBox
=
"true"
OnClientSelectedIndexChanged
=
"LoadECnEntityKeys"
/>
</
EditItemTemplate
>
</
telerik:GridTemplateColumn
>
<
telerik:GridTemplateColumn
DataField
=
"EntityKeyName"
HeaderText
=
"EntityKeyName"
UniqueName
=
"EntityKeyName"
SortExpression
=
"EntityKeyName"
>
<
ItemTemplate
>
<
asp:Label
ID
=
"lblECNEntityKeyName"
runat
=
"server"
Text='<%#Bind("EntityKeyName") %>' />
</
ItemTemplate
>
<
EditItemTemplate
>
<
telerik:RadComboBox
ID
=
"RadComboBox_EntityKeyName"
runat
=
"server"
EnableLoadOnDemand
=
"true"
EnableViewState
=
"false"
DataTextField
=
"Value"
DataValueField
=
"Key"
OnItemsRequested
=
"RadComboBox_EntityKeyName_OnItemsRequested"
AllowCustomText
=
"true"
ShowMoreResultsBox
=
"true"
OnClientItemsRequested
=
"ItemsLoaded"
/>
</
EditItemTemplate
>
</
telerik:GridTemplateColumn
>
</
Columns
>
</
MasterTableView
>
</
telerik:RadGrid
>
<
telerik:RadScriptBlock
ID
=
"scriptBlock"
runat
=
"server"
>
<
script
type
=
"text/javascript"
>
function LoadECnEntityKeys(sender, eventArgs) {
var EntityKeyName = $find("<%= RadGrid_ECNEntity.ClientID%>").get_masterTableView().get_item().findControl("RadComboBox_EntityKeyName");
var item = eventArgs.get_item();
EntityKeyName.set_text("Loading...");
// if a Entity is selected
if (item.get_index() > 0) {
// this will fire the ItemsRequested event of the
// EntityKey combobox passing the EntityID as a parameter
EntityKeyName.requestItems(item.get_value(), false);
}
else {
// the -Select a Entity- item was chosen
EntityKeyName.set_text(" ");
EntityKeyName.clearItems();
}
}
function ItemsLoaded(sender, eventArgs) {
if (sender.get_items().get_count() > 0) {
// pre-select the first item
sender.set_text(sender.get_items().getItem(0).get_text());
sender.get_items().getItem(0).highlight();
}
sender.showDropDown();
}
</
script
>
</
telerik:RadScriptBlock
>
I am getting error for this line
var EntityKeyName = $find("<%= RadGrid_ECNEntity.ClientID%>").get_masterTableView().get_item().findControl("RadComboBox_EntityKeyName");