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?
Hello,
I am using RadGrid with RadNumericTextBox, RadTextBox., etc, in Item template. I have to update the Other Columns in the Grid if Text changed in RadNumericTextbox. So, On OnTextChanged event of RadNumericTextBox, I am rebinding the Grid again. But after the postback, i am getting the below javascript error.
<<<<
Unhandled exception at line 8162, column 7 in http://localhost:51966/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=;;System.Web.Extensions,+Version=4.0.0.0,+Culture=neutral,+PublicKeyToken=31bf3856ad364e35:en-US:93a6b8ed-f453-4cc5-9080-8017894b33b0:ea597d4b:b25378d2;Telerik.Web.UI,+Version=2016.3.914.45,+Culture=neutral,+PublicKeyToken=121fae78165ba3d4:en-US:a519da8a-d673-48a9-9976-4b08756261d2:16e4e7cd:33715776:f7645509:24ee1bba:e330518b:2003d0b8:c128760b:1e771326:88144a7a:c8618e41:1a73651d:16d8629e;System.Web.Extensions,+Version=4.0.0.0,+Culture=neutral,+PublicKeyToken=31bf3856ad364e35:en-US:93a6b8ed-f453-4cc5-9080-8017894b33b0:76254418;Telerik.Web.UI,+Version=2016.3.914.45,+Culture=neutral,+PublicKeyToken=121fae78165ba3d4:en-US:a519da8a-d673-48a9-9976-4b08756261d2:8e6f0d33:864068a5:6a6d718d:b7778d6c:f46195d3:aa288e2d:b092aa46:6b3f73b3:e085fe68:8674cba1:7c926187:c08e9f8a:a51ee93e:59462f1:6d43f6d9:58366029:19620875:874f8ea2:b2e06756:4877f69a:92fe8ea0:fa31b949:490a9d4e:ddbfcb67
0x800a025e - JavaScript runtime error: Could not complete the operation due to error 800a025e.
>>>
Could you please let me know what will be the root cause of this error.
Regards,
Puru

Hi,
I uploaded 3 files using this control. Within a button click, i want to see the number of files that i uploaded. It always shows 0.
Why am i not getting proper count here?
<telerik:RadAsyncUpload runat="server" ID="RadAsyncUpload1" AllowedFileExtensions =".pdf,.jpg,.jpeg,.txt"
MultipleFileSelection="Automatic" BorderStyle="Groove" >
<Localization Select=" Select a file " />
</telerik:RadAsyncUpload>
for (int fileNum = 0; fileNum <= RadAsyncUpload1.UploadedFiles.Count - 1; fileNum++)
{
}
Thanks

Is it possible to determine RecurrenceState for an Appointment (by AppointmentID) in code without instancing a RadScheduler?
I can get the RecurrenceState for any Appointment by instancing a RadScheduler in code and databinding the instance, then looking up the Appointment by ID.
My concern is, as I process more Appointments that this process will be too slow.
