I have a problem if the RadDiagram is within a Web Form, which must be scrolled vertically. The vertical scrolling of the Web Form is not possible within the diagram control although the following properties are defined for the diagram (the interaction with the diagram and with its shapes is not required).
Editable="false" Selectable="false" ZoomMax="1" ZoomMin="1"
How do I solve the problem so that the vertical scrolling also works within the diagram control?
This problem only started after an upgrade to Version 2013.3.1324.45, previous version had no issues for 5+ years
I have a page with two grids where we move records between the two. If a user manually resizes any column in either grid I get the error below and it does not fire my code behind function. everything works fine if you don't resize.
GRID 1
<telerik:radgrid runat="server" ID="UnAssignedStudentGrid"
GridLines="None" Skin="Default" Height="300" Width="300" AllowMultiRowSelection="True" AllowSorting="False"
NeedDataSource="gvSearchResults_NeedDataSource" OnPreRender="gvSearchResults_PreRender">
<itemstyle backcolor="#fbfbfb" />
<alternatingitemstyle backcolor="#f7f7f7"/>
<ClientSettings>
<Selecting AllowRowSelect="True" />
<Scrolling AllowScroll="True" UseStaticHeaders="True" />
<Resizing AllowColumnResize="True" />
</ClientSettings>
</telerik:radgrid>
GRID 2
<telerik:radgrid runat="server" ID="AssignedStudentGrid"
GridLines="None" Skin="Default" Height="300" Width="300" AllowMultiRowSelection="True" AllowSorting="False"
NeedDataSource="gvSearchResults_NeedDataSource" OnPreRender="gvSearchResults_PreRender">
<itemstyle backcolor="#fbfbfb" />
<alternatingitemstyle backcolor="#f7f7f7"/>
<ClientSettings>
<Selecting AllowRowSelect="True" />
<Scrolling AllowScroll="True" UseStaticHeaders="True" />
<Resizing AllowColumnResize="True" />
</ClientSettings>
</telerik:radgrid>
Add/Remove Buttons
<td style="vertical-align: middle;" align="center">
<asp:Button runat="server" ID="btnAdd" style="width: 30px; height: 30px; font-size: 10px; font-weight: bold; text-align: left;" Text=">>" OnClick="btnAdd_Click" OnClientClick="return disableButtonAndPostback(this,'');" />
<br /><br /><br />
<asp:Button runat="server" ID="btnRemove" style="width: 30px; height: 30px; font-size: 10px; font-weight: bold; text-align: left;" Text="<<" OnClick="btnRemove_Click" OnClientClick="return disableButtonAndPostback(this,'');" />
</td>
Error:
Uncaught Error: Sys.WebForms.PageRequestManagerServerErrorException: Cannot find a column with UniqueName 'LastName'
at Function.Error$create [as create] (ScriptResource.axd?d=7WioxZREwXZsC3Sq5E6JW_HL_KwG15-f1UStXZ2tayYLOnsQN7i3vcodPHScg4wUGTm0lg-hkWJweK…:237)
at Sys$WebForms$PageRequestManager$_createPageRequestManagerServerError [as _createPageRequestManagerServerError] (ScriptResource.axd?d=zR4pyxVmekBi9sdTxStBjr4h3ahfFHlVKntH7rN5dT3I5SiXOX6zyzMaDAwp-0fr_MI5LwGBAqwF7X…:656)
at Sys$WebForms$PageRequestManager$_parseDelta [as _parseDelta] (ScriptResource.axd?d=zR4pyxVmekBi9sdTxStBjr4h3ahfFHlVKntH7rN5dT3I5SiXOX6zyzMaDAwp-0fr_MI5LwGBAqwF7X…:1534)
at Sys$WebForms$PageRequestManager$_onFormSubmitCompleted [as _onFormSubmitCompleted] (ScriptResource.axd?d=zR4pyxVmekBi9sdTxStBjr4h3ahfFHlVKntH7rN5dT3I5SiXOX6zyzMaDAwp-0fr_MI5LwGBAqwF7X…:1314)
at Array.<anonymous> (ScriptResource.axd?d=7WioxZREwXZsC3Sq5E6JW_HL_KwG15-f1UStXZ2tayYLOnsQN7i3vcodPHScg4wUGTm0lg-hkWJweK…:47)
at ScriptResource.axd?d=7WioxZREwXZsC3Sq5E6JW_HL_KwG15-f1UStXZ2tayYLOnsQN7i3vcodPHScg4wUGTm0lg-hkWJweK…:3484
at Sys$Net$WebRequest$completed [as completed] (ScriptResource.axd?d=7WioxZREwXZsC3Sq5E6JW_HL_KwG15-f1UStXZ2tayYLOnsQN7i3vcodPHScg4wUGTm0lg-hkWJweK…:6376)
at XMLHttpRequest.Sys$Net$XMLHttpExecutor._onReadyStateChange (ScriptResource.axd?d=7WioxZREwXZsC3Sq5E6JW_HL_KwG15-f1UStXZ2tayYLOnsQN7i3vcodPHScg4wUGTm0lg-hkWJweK…:5996)
Error$create @ ScriptResource.axd?d=7WioxZREwXZsC3Sq5E6JW_HL_KwG15-f1UStXZ2tayYLOnsQN7i3vcodPHScg4wUGTm0lg-hkWJweK…:237
Sys$WebForms$PageRequestManager$_createPageRequestManagerServerError @ ScriptResource.axd?d=zR4pyxVmekBi9sdTxStBjr4h3ahfFHlVKntH7rN5dT3I5SiXOX6zyzMaDAwp-0fr_MI5LwGBAqwF7X…:656
Sys$WebForms$PageRequestManager$_parseDelta @ ScriptResource.axd?d=zR4pyxVmekBi9sdTxStBjr4h3ahfFHlVKntH7rN5dT3I5SiXOX6zyzMaDAwp-0fr_MI5LwGBAqwF7X…:1534
Sys$WebForms$PageRequestManager$_onFormSubmitCompleted @ ScriptResource.axd?d=zR4pyxVmekBi9sdTxStBjr4h3ahfFHlVKntH7rN5dT3I5SiXOX6zyzMaDAwp-0fr_MI5LwGBAqwF7X…:1314
(anonymous) @ ScriptResource.axd?d=7WioxZREwXZsC3Sq5E6JW_HL_KwG15-f1UStXZ2tayYLOnsQN7i3vcodPHScg4wUGTm0lg-hkWJweK…:47
(anonymous) @ ScriptResource.axd?d=7WioxZREwXZsC3Sq5E6JW_HL_KwG15-f1UStXZ2tayYLOnsQN7i3vcodPHScg4wUGTm0lg-hkWJweK…:3484
Sys$Net$WebRequest$completed @ ScriptResource.axd?d=7WioxZREwXZsC3Sq5E6JW_HL_KwG15-f1UStXZ2tayYLOnsQN7i3vcodPHScg4wUGTm0lg-hkWJweK…:6376
Sys$Net$XMLHttpExecutor._onReadyStateChange @ ScriptResource.axd?d=7WioxZREwXZsC3Sq5E6JW_HL_KwG15-f1UStXZ2tayYLOnsQN7i3vcodPHScg4wUGTm0lg-hkWJweK…:5996
XMLHttpRequest.send (async)
Sys$Net$XMLHttpExecutor$executeRequest @ ScriptResource.axd?d=7WioxZREwXZsC3Sq5E6JW_HL_KwG15-f1UStXZ2tayYLOnsQN7i3vcodPHScg4wUGTm0lg-hkWJweK…:6076
Sys$Net$_WebRequestManager$executeRequest @ ScriptResource.axd?d=7WioxZREwXZsC3Sq5E6JW_HL_KwG15-f1UStXZ2tayYLOnsQN7i3vcodPHScg4wUGTm0lg-hkWJweK…:6302
Sys$Net$WebRequest$invoke @ ScriptResource.axd?d=7WioxZREwXZsC3Sq5E6JW_HL_KwG15-f1UStXZ2tayYLOnsQN7i3vcodPHScg4wUGTm0lg-hkWJweK…:6481
Sys$WebForms$PageRequestManager$_onFormSubmit @ ScriptResource.axd?d=zR4pyxVmekBi9sdTxStBjr4h3ahfFHlVKntH7rN5dT3I5SiXOX6zyzMaDAwp-0fr_MI5LwGBAqwF7X…:1292
Sys$WebForms$PageRequestManager$_doPostBack @ ScriptResource.axd?d=zR4pyxVmekBi9sdTxStBjr4h3ahfFHlVKntH7rN5dT3I5SiXOX6zyzMaDAwp-0fr_MI5LwGBAqwF7X…:824
(anonymous) @ ScriptResource.axd?d=7WioxZREwXZsC3Sq5E6JW_HL_KwG15-f1UStXZ2tayYLOnsQN7i3vcodPHScg4wUGTm0lg-hkWJweK…:47
disableButtonAndPostbackWithArgument @ sfafStandardScript1.js:464
disableButtonAndPostback @ sfafStandardScript1.js:445
onclick @ EditStudentsInClassroom.aspx?ids=53yb&p=1&sy=2016%2F2017&syid=73&gp=Baseline&gpid=1&su=&xxyz=10d0d5…:1154
I've implemented dropdown filters and have a problem filtering items that have single or double quotes.
<FilterTemplate>
<telerik:RadComboBox RenderMode="Lightweight" ID="RadComboBoxArea" DataSourceID="SqlDataSource9" DataTextField="area"
DataValueField="area" Width="200px" AppendDataBoundItems="true" SelectedValue='<%# ((GridItem)Container).OwnerTableView.GetColumn("area").CurrentFilterValue %>'
runat="server" OnClientSelectedIndexChanged="AreaChanged">
<Items>
<telerik:RadComboBoxItem Text="All" />
</Items>
</telerik:RadComboBox>
<telerik:RadScriptBlock ID="RadScriptBlockArea" runat="server">
<script type="text/javascript">
function AreaChanged(sender, args) {
var tableView = $find("<%# ((GridItem)Container).OwnerTableView.ClientID %>");
tableView.filter("area", args.get_item().get_value(), "EqualTo");
alert(args.get_item().get_value());
}
</script>
</telerik:RadScriptBlock>
</FilterTemplate>
The problem seems to be in the statement: tableView.filter("area", args.get_item().get_value(), "EqualTo");
I can see the value from args.get_item().get_value() and it looks fine, the single and double quotes are there (see alert I put in to view the value).
Any suggestions or work arounds? Is this a problem with the Grid?
When using a prior version of the RadHtmlChart, right-clicking on a bar-series could instantly launch the attached RadContextMenu. But with the latest version (2017.2.621.45), it appears that you have to left-click on the bar-series first to 'select' the dataitem, and then right-click to launch the context menu.
Any ideas how I can get back to where a single right-click can launch the context menu?
Hi
I have an an asp.net radgrid using webforms. The Excel export seems to work in debug mode when in visual studio but faisl when in environment. If I debug I can see the items being hit via debug/watch window and all works well. Any idea why it does not work when not in debug mode. Please see below sample code:
<ClientSettings ReorderColumnsOnClient="False" AllowDragToGroup="False" AllowColumnsReorder="False">
<Selecting AllowRowSelect="True" />
</ClientSettings>
<ExportSettings IgnorePaging="true" OpenInNewWindow="true" ExportOnlyData="true" >
<Excel Format="ExcelML" AutoFitImages="true" />
<Pdf PageHeight="210mm" PageWidth="297mm" DefaultFontFamily="Arial Unicode MS" PageBottomMargin="5mm" PageTopMargin="5mm" PageLeftMargin="5mm" PageRightMargin="5mm" />
</ExportSettings>
With GridView1
.ExportSettings.FileName = "ProjectTrackerAt" & Now().ToString("dd-MMM-yy")
.ExportSettings.IgnorePaging = True
.ExportSettings.OpenInNewWindow = True
.HeaderStyle.Font.Bold = True
.ExportSettings.Excel.Format = GridExcelExportFormat.Html
.MasterTableView.ExportToExcel()
End With
Hello.
I open a new radwindow from JavaScript with radopen(url?mode = 1)
in the aspx of the url i do a redirect response.Redirect(url?mode=2)
in the aspx i do a response.QueryString and i get a 2
5 minutes later i return to the same radwindow and do a response.querystring and i get a 1.
The url associated with the radwidow has returned to the original state when i opened the radwindow.
i'd like to know if it´s posible to actualice the url associated with the radwindow when i do a redirect.
Thanks
Hi,
How can I trigger the RadAjaxLoadingPanel when I click on radtreeview context menu item.
Adding this to the ajax manager does not work
<telerik:AjaxSetting AjaxControlID=
"RadTreeViewContextMenu1"
>
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID=
"RadTreeView1"
LoadingPanelID=
"gridLoadingPanel"
UpdatePanelCssClass=
""
/>
</UpdatedControls>
</telerik:AjaxSetting>
Likewise if I add this then the RadAjaxLoadingPanel is shown everytime a node is clicked, which I dont want,
<telerik:AjaxSetting AjaxControlID=
"RadTreeView1"
>
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID=
"RadTreeView1"
LoadingPanelID=
"gridLoadingPanel"
UpdatePanelCssClass=
""
/>
</UpdatedControls>
</telerik:AjaxSetting>
Any idea please?
It's as the title says. I can't figure out what is causing this to occur. The page in question has minimal changes made the past month, and these revolve around the addition of a new lookup control (based on RadComboBox) and some internal system logic unrelated to UI. My understanding is that if ViewState is enabled on the control, then PageIndexChanged should fire before NeedDataSource, but it does not.
The end result is paging on a grid that worked a month ago no longer works. It continues to load the first 15 records every time the page is changed.
Any thoughts? I'm sorry, I can't provide code, because this issue isn't from a simple solution. I'm mainly looking for ideas on how to debug/correct this that I haven't thought of.
I have a problem when i try to load my data after choosing one item from my features list, i'm using Ajax and my Jsonresult is fine, after a few debugging tests, but how can i tell the grid to load my data correctly, i'm using code instead of the filter Junction.
Here is my Controller :
public JsonResult OptionData(Features Option)
{
try
{
List<Data> ls = new List<Data> { };
foreach (var item in db.Data.ToList())
{
if (item.Feature_ID== Option.Feature_ID)
ls.Add(item);
}
return new JsonResult()
{
Data = ls,
MaxJsonLength = Int32.MaxValue,
JsonRequestBehavior = JsonRequestBehavior.AllowGet
};
}
catch (Exception e)
{
return Json(e.Message);
}
}
And my Dropdown List in View
var dropdown = grid.find("#Feature).kendoDropDownList({
dataTextField: "Feature_Name",
dataValueField: "Feature_ID",
autoBind: false,
optionLabel: "All",
dataSource: Shared_Data,
change: function () {
var value = this.value();
if (value) {
Selected_Data = value;
$.ajax({
data: {"Feature_ID":Selected_Data },
url: "/KhachHang/DanhSachKhachTheoLoai",
type: "GET",
dataType: "json",
success: function()
{
}
});
} else {
Selected_Data = value;
grid.data("kendoGrid").dataSource.filter({});
}
}