Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
52 views

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))
 

 

 

 

 

 

Angel Petrov
Telerik team
 answered on 17 Jun 2015
6 answers
66 views

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!

Peter Filipov
Telerik team
 answered on 17 Jun 2015
7 answers
123 views

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

Suzy
Top achievements
Rank 2
 answered on 17 Jun 2015
0 answers
85 views

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.

Santhosh
Top achievements
Rank 1
 asked on 17 Jun 2015
1 answer
106 views

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 

 

Eyup
Telerik team
 answered on 17 Jun 2015
5 answers
120 views
I am transitioning from an older editor to the Telerik editor.  I saw that you can modify the FileExplorer dialog by editing the usercontrol itself, but my purpose for switching editors was to be able to control how the Editor looked without having to edit multiple files and having all the properties in one place.  It would be nice if there were properties to hide the delete button, new folder button, the left side file explorer, etc.

Can this be done?

Thank you.
Ianko
Telerik team
 answered on 17 Jun 2015
3 answers
178 views

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?



Eyup
Telerik team
 answered on 17 Jun 2015
1 answer
35 views
Please take a look at my website: www.voteclip.com 

The grid where the film clips are displayed is a telerik radgrid.. 

If you take notice of the "title" column 
I have been trying to make that more like your demo: 

http://demos.telerik.com/aspnet-ajax/grid/examples/overview/defaultcs.aspx

where you the row has the title column and you have to click an arrow to drop down 
all the other columns (votes, watch, download share etc...) 

Please please help I've tried literally everything. 
Konstantin Dikov
Telerik team
 answered on 17 Jun 2015
1 answer
101 views
We have a column in a Grid whose text is 'a&b' at html but on browser it is displaying as 'a'. When I edit that text to 'a & b' with single space before and after & then it is displaying correctly i.e 'a & b'. This is our client requirement to display the text on header as 'a&b'. Is there any possibility to allow that text to display in a grid header?
Kostadin
Telerik team
 answered on 17 Jun 2015
1 answer
83 views

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 %>")
myajaxManager.ajaxRequest("client");
}
 

getting error "Cannot read property 'ajaxRequest' of null"

 

Aneliya Petkova
Telerik team
 answered on 17 Jun 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?