Hi,
I have drag/drop working ok from a grid to treeview node using this code:
function
RadGrid1_OnRowDropping(sender, args) {
if
(currentNode) {
var
fld = $get(
"<%= nodeValueHiddenField.ClientID %>"
);
fld.value = currentNode.get_value();
args.set_destinationHtmlElement(fld);
//args.set_destinationHtmlElement(fld.id);// Have tried both options
}
else
{
args.set_cancel(
true
);
}
}
currentNode gets set using mouseover/out of the treeview, fld is a valid reference to my <input type="hidden"/> field. Whenever the server side event is fired (by ajax) though, e.HtmlElement is always the string "undefined":
protected
void
RadGrid1_RowDrop(
object
sender, GridDragDropEventArgs e)
{
if
((!String.IsNullOrEmpty(e.HtmlElement)) &&
(e.DraggedItems.Count > 0))
I have an ascx page with radpagelayout, radgrid and radscheduler on the same page. the controls are layout in this sequence from top to bottom
radpagelayout
radgrid
radscheduler
When navigating or switching the day/week/month views on the scheduler, it will throw an error similar to one below. The scheduler would stop working after the second Ajax request as well.
Uncaught Sys.ArgumentOutOfRangeException: Sys.ArgumentOutOfRangeException: Value must be an integer.
Parameter name: y
Actual value was 1183.8889103171273.
But when the scheduler control is placed above the radpagelayout control on the page, everything works fine. Seems that the radpagelayout control is causing problems to the scheduler.
using the 2015 Q1 version.
Appreciate any help to solve this.
Thanks!
Hi
I have a radscheduler which uses Resource grouping and grouping direction is set to vertical. I would like to give the alternating rows a different background color.
For the resource gouping I use data from a database. (also for the appointments offcourse)
How can I do this?
Kind regards
Suzy
Hi Telerik,
I was implemented telerik grid filter in my project but the requirement is to have a unique filter menu options for every column in the grid, in your samples we dont see any customized filter menu.
Kindly help me how to implement this.
Note: My project and client details are highly confidential.
Thanks in advance.
Hi,
I've tried everything I can think of to right align the hours cell in this grid. I've used CssClass="RightAlignCell" and HorizontalAlign="Right". I've even tried to align it in the code-behind. One guy in a forum even suggested reducing the width of the cell. It had no effect. Nothing works.
I am attaching an example of the grid, and the html in the hopes that someone can see something I'm missing. In the html example, I'm using a CssClass of NumberAlign. However, I've tried RightAlignCell as well.
Thanks,
Paul
paul.burnham@calrecycle.ca.gov
Hi all, please help with implementing below logic.
<asp:Button id="btn1" />
<asp:Panel id="pnlMain">
<asp:Button id="btn2" />
<asp:Panel id="pnlInner"> </asp:Panel>
​</asp:Panel>
Ajaxified by:
RadAjaxMagager.AjaxSettings.AddAjaxSetting(btn1, pnlMain);
RadAjaxMagager.AjaxSettings.AddAjaxSetting(btn2,pnlInner);
Issue is: Then I clicking btn2, pnlMain updates too. I do not want to pnlMain to be updated on click btn2.
Is it possible? Why does it updates?
Hi,
Is there anyway Refresh TreeView from Client Side without RadAjaxManager?
Because my RadAjaxManager not working properly all the times(some times it works and some times it doesn't)
function RefreshTree(
{ var myajaxManager = $find("<%= RadAjaxManager.ClientID %>")
mya
jaxManager.ajaxRequest("client");getting error "Cannot read property 'ajaxRequest' of null"