The calendar gets cut in half when adding an appointment. This issue is happening in all the browsers .
Telerik version:- 2016.1.113.45
Hi,
I'm trying to use jQuery to set a selected item in a RadComboBox. This is my HTML:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Test.aspx.cs" Inherits="EBuild.PWMS.UI.Pages.TestPage" %>
<%@ Register tagprefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
</head>
<body>
<form id="form1" runat="server">
<telerik:RadScriptManager ID="RadScriptManager1" runat="server" />
<table>
<tr>
<td>Buyer: </td>
<td>
<telerik:RadComboBox ID="RadComboBoxBuyers"
DataValueField="Id" DataTextField="PickerName"
DataSourceID="SqlDataSource1"
EnableAutomaticLoadOnDemand="true" ShowMoreResultsBox="true"
EnableVirtualScrolling="true" ItemsPerRequest="10"
runat="server">
</telerik:RadComboBox>
</td>
</tr>
</table>
<asp:SqlDataSource ID="SqlDataSource1"
ConnectionString="<%$ ConnectionStrings:APPDB %>"
ProviderName="System.Data.SqlClient"
SelectCommand="usp_GetUsersBuyers"
SelectCommandType="StoredProcedure"
runat="server">
<SelectParameters>
<asp:Parameter Name="IsSearch" Type="Boolean" DefaultValue="True" />
</SelectParameters>
</asp:SqlDataSource>
</form>
</body>
</html>
The problem is I'm not able to get a reference to the ComboBox. I searched the forum and found a bunch of code snippets but none of them works. This is what I tried:
<telerik:RadScriptManager ID="RadScriptManager1" runat="server" />
<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
<script type="text/javascript">
$(document).ready(function () {
el = $find("RadComboBoxBuyers"); // returns null
el = $("form").find("[id='RadComboBoxBuyers']"); // el.findItemByValue is undefined
el = $telerik.$("#RadComboBoxBuyers"); // el.findItemByValue is undefined
});
</script>
</telerik:RadCodeBlock>
I have hard-coded the name of the control to "RadComboBoxBuyers" in the above code because I know that it is the correct ClientID.
Any suggestions?
Thanks,
Leszek
As of R2 2017 SP2 the temporary files saved to the disk or via InputStream have the .tmp extension, which could break your existing file save logic. This change is due to the security improvement explained in the Insecure Direct Object Reference article.
If the .tmp extension causes any trouble, you can strip it programmatically.
<script type=
"text/javascript"
>
Telerik.Web.UI.RadScheduler.prototype.saveClientState =
function
() {
return
'{"scrollTop":'
+ Math.round(
this
._scrollTop) +
',"scrollLeft":'
+ Math.round(
this
._scrollLeft) +
',"isDirty":'
+
this
._isDirty +
'}'
;
}
</script>
<script type=
"text/javascript"
>
Telerik.Web.UI.RadListBox.prototype.saveClientState =
function
() {
return
"{"
+
"\"isEnabled\":"
+
this
._enabled +
",\"logEntries\":"
+
this
._logEntriesJson +
",\"selectedIndices\":"
+
this
._selectedIndicesJson +
",\"checkedIndices\":"
+
this
._checkedIndicesJson +
",\"scrollPosition\":"
+ Math.round(
this
._scrollPosition) +
"}"
;
}
</script>
<script type=
"text/javascript"
>
Telerik.Web.UI.RadTreeView.prototype.saveClientState =
function
() {
return
"{\"expandedNodes\":"
+
this
._expandedNodesJson +
",\"collapsedNodes\":"
+
this
._collapsedNodesJson +
",\"logEntries\":"
+
this
._logEntriesJson +
",\"selectedNodes\":"
+
this
._selectedNodesJson +
",\"checkedNodes\":"
+
this
._checkedNodesJson +
",\"scrollPosition\":"
+ Math.round(
this
._scrollPosition) +
"}"
;
}
</script>
We are looking at upgrading our .NET application from 3.5 to 4.7 and I am wondering what version of the Telerik Controls would be suitable for .NET 4.7
We are currently using 2014.1.403.35
I found that .NET 4.6 is supported from 2015.2.826, but could see no mention of .NET 4.7
Hey,
Is it possible to give the user the option to switch between week view and work week view?
Let me know - Thanks,
Samara
hi
I need older version
Telerik Reporting Version=4.2.10.1221
Telerik.Web.UI Version=2012.2.607.40
where can i find download link?
Thank you in advance.
Massimo
Hi there.
We're working on a project with RadGrid controls that are doing batch updates.
The event that we have attached to the update event (RadGridActionGroup_UpdateCommand) has 2 parameters where we're sending to the db for updates.
protected void RadGridActionGroup_UpdateCommand(object sender, GridCommandEventArgs e)
{
try
{
Hashtable newValues = (e.CommandArgument as GridBatchEditingEventArgument).NewValues;
performActionGroupModelUpdate(newValues);
}
catch (Exception ex)
{
ConfigurationController.AddMessage(ex.Message.ToString());
}
}
When a user updates only one field in a row of say, five values, I would expect that only changed values would be sent to this event method, however even though only one field was changed, all of the values (updated as well as non-updated) are sent to to this event.
Is this by design or am I doing something wrong?
Thanks in advance