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({});
}
}
Hi,
In the Week View, I can't resize the appointments that are All-day. Is it possible to get this functionality somehow?
This can be seen in your demo:
http://demos.telerik.com/aspnet-ajax/scheduler/examples/overview/defaultvb.aspx
The all-day appointments can be resized in the month view, but not in the week-view!
Regards
Andreas
Hi,
I have 2 listbox controls on my web page. I have one on the left that is populated from a SQL table in my database. I can then select one or more row from the left listbox and then click the right-arrow button to move the row to the right-side listbox. But I do not want to allow the right-side listbox items to be moved to the left-side listbox. So I want to know if there is a way to not display the left arrow button when items are selected on the right-side listbox.
Thanks in advance!
Here is the code for each listbox:
<telerik:RadListBox ID="lstAvailable"
runat="server"
Width="270px"
Height="200px"
SelectionMode="Multiple"
AllowTransfer="true"
TransferToID="lstMapped"
ButtonSettings-AreaWidth="40px"
AutoPostBackOnTransfer="true"
DataTextField="ReportName"
DataValueField="ReportID"
OnTransferring="lstAvailable_Transferring">
</telerik:RadListBox>
<telerik:RadListBox ID="lstMapped"
runat="server"
Width="270px"
Height="200px"
SelectionMode="Multiple"
AllowDelete="true"
AllowReorder="true"
AllowTranfer="false"
ButtonSettings-AreaWidth="40px"
AutoPostBackOnTransfer="false"
DataTextField="ReportName"
DataValueField="ReportID"
OnDeleting="lstMapped_Deleting">
</telerik:RadListBox>
Hello,
I am working with a RadTreeView using a node template. It is databound against a datatable.
<
TELERIK:RadTreeView
ID
=
"tvOrgChart"
runat
=
"server"
DataValueField
=
"staffmemberid"
DataTextField
=
"title"
DataFieldID
=
"staffmemberid"
DataFieldParentID
=
"supervisor"
>
<
NodeTemplate
>
<
strong
><%# Eval("casualname") %>,</
strong
> <
em
><%# Eval("title") %></
em
> <
small
>[<%# Eval("staffclassname") %>]</
small
>
</
NodeTemplate
>
</
TELERIK:RadTreeView
>
My initial question was supposed to be how can I enable editing on this tree so that only the "title" attribute is edited. It turns out that by adding DataTextField="title", that this functionality is built in!! Pretty cool!
But I do have a problem. When the edit is complete, the node still displays the original text of the template, without any of the updates to the title field. There is a great Outlook-like example showing how to implement ClientNodeEditStart and ClientNodeEdited to restore a message counter after a rename.I attempted to use this pattern.
I want to get the original displayed text, save it, and, after the edit, replace the old title with the new title. Here is the problem... in the ClientNodeEditStart event, the .get_text() does not actually return the text that is displayed on the node! With DataTextField defined, it returns the value of the specified column. Without a text value defined, it returns "System.Data.DataRowView".
How can I get the HTML that is displayed by the node??
Joel