Hi we have a dataset generated from SQL and within this dataset we also have an extra table where its the source of a lookup.
We have a grid operating in batchmode (inline editing) which we create programmatically. We want to have a dropdowncolumn which is bound to that extra table.
Please dont tell me that to implement this we need to implement templates its a simple requirement .
Hi everybody,
I have a question about how I can compare the current time against the schedule appointment. I set up the appointment with the Start date time (12-01-2016 7:00 PM), End date time (12-01-2016 7:15 PM), and the Recurrence Rule(Recur 1 time every week on Thursday). When the time comes, I'll display my image. For instance, if the current time is 12-01-2016 5:00 PM, my application does not show the image, and it does show up when the time is 7:01 PM. What is the best way to compare the current time against the appointment. I attach my screenshot here as well.
We purchased UI for ASP.NET AJAX from Telerik. If you need our license number, I can ask our IT department. Thank you.
D.
Hello,
I use a rad Gantt control in which I try to populate a custom task field through a custom database provider. Unfortunalty, I did not succeed to make it work. I use the latest version of telerik UI for ASP.NET Ajax (2016.3.1027.35).
The provided examples does not compile with this version. Could you please provide me an example working with this version.
Thanks a lot.
Hi all,
I've managed to add a filter on a dropdown column in my grid, which allows me to easily look for the correct data in my list. But the issue here is that I cannot filter the list with the filter option "Contains". It always returns me the "EqualTo" values. I need it to work with Contains.
Here is my code:
<
telerik:RadGrid
ID
=
"GridOffences"
runat
=
"server"
DataSourceID
=
"GETOffence"
RenderMode
=
"Auto"
AutoGenerateColumns
=
"False"
ShowFooter
=
"true"
OnItemDataBound
=
"GridOffences_ItemDataBound"
OnItemCommand
=
"GridOffences_ItemCommand"
OnUpdateCommand
=
"GridOffences_UpdateCommand"
OnInsertCommand
=
"GridOffences_InsertCommand"
>
<
MasterTableView
AutoGenerateColumns
=
"False"
DataKeyNames
=
"offId"
CommandItemDisplay
=
"Top"
CommandItemSettings-AddNewRecordText
=
"Add Offence"
AllowSorting
=
"false"
>
<
CommandItemSettings
ShowAddNewRecordButton
=
"true"
ShowRefreshButton
=
"false"
ShowExportToCsvButton
=
"false"
ShowExportToExcelButton
=
"false"
ShowExportToPdfButton
=
"false"
ShowExportToWordButton
=
"false"
/>
<
EditFormSettings
>
<
EditColumn
UniqueName
=
"EditColumnColumn"
ButtonType
=
"PushButton"
EditText
=
"Edit"
CancelText
=
"Cancel"
InsertText
=
"Add"
UpdateText
=
"Save"
></
EditColumn
>
</
EditFormSettings
>
<
Columns
>
<
telerik:GridDropDownColumn
DataSourceID
=
"GETOffenceList"
ListTextField
=
"offName"
ListValueField
=
"offListId"
UniqueName
=
"offNameList"
HeaderText
=
"Offence"
DataField
=
"offListId"
AllowAutomaticLoadOnDemand
=
"true"
DropDownControlType
=
"RadComboBox"
AllowVirtualScrolling
=
"true"
ShowMoreResultsBox
=
"true"
ItemsPerRequest
=
"10"
>
<
ColumnValidationSettings
EnableRequiredFieldValidation
=
"true"
EnableModelErrorMessageValidation
=
"true"
>
<
RequiredFieldValidator
ForeColor
=
"Red"
ErrorMessage
=
"This field is required"
></
RequiredFieldValidator
>
<
ModelErrorMessage
BackColor
=
"Red"
/>
</
ColumnValidationSettings
>
<
FilterTemplate
>
<
telerik:RadComboBox
ID
=
"RadCbox_File"
runat
=
"server"
DataSourceID
=
"GETOffenceList"
DataTextField
=
"offName"
DataValueField
=
"offListId"
Filter
=
"Contains"
AppendDataBoundItems
=
"true"
SelectedValue='<%# ((GridItem)Container).OwnerTableView.GetColumn("offListId").CurrentFilterValue %>'
OnClientSelectedIndexChanged="FileComboIndexChanged">
<
Items
>
<
telerik:RadComboBoxItem
Text
=
"Select an Offence"
/>
</
Items
>
</
telerik:RadComboBox
>
<
telerik:RadScriptBlock
ID
=
"RadScriptFiles"
runat
=
"server"
>
<
script
type
=
"text/javascript"
>
function FileComboIndexChanged(sender, args) {
var tableView = $find("<%# ((GridItem)Container).OwnerTableView.ClientID %>");
tableView.filter("offListId", args.get_item().get_value(), "Contains");
}
</
script
>
</
telerik:RadScriptBlock
>
</
FilterTemplate
>
</
telerik:GridDropDownColumn
>
</
Columns
>
</
MasterTableView
>
</
telerik:RadGrid
>
Thanks in advance for your help
Requirements |
|
Telerik Product and Version |
Telerik.Web.Spreadsheet.dll - Version 2016.3.1024.40 Telerik.Windows.Documents.Core.dll - Version 2016.3.1021.40 |
Supported Browsers and Platforms |
IE |
Components/Widgets used (JS frameworks, etc.) |
VS2010 - Framework4.0 |
Hi,
We have a requirement to always show the checkbox even if the node is disabled. We can achieve the functionality in JavaScript by handling and then canceling the event, but need a visual representation too. We've tried overriding the background image of the checkbox without success. Is there a way to do this? We are using version 2013.3.1234.35.
Thanks,
Dave
We are currently using 2015.2.826.40 and I know that is not the latest version but if we upgrade will this resolve the issues?