Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
123 views

Hello

 

We use the RadTreeView in our site and all the nodes have his own context menu. The problem is when the node tree is so long and when we show the context menu with right clic, the context menu appears a few pixels higher than the clic was done. I attach a picture of that problem.

 

The node I clic is marked in yellow. I try with the Telerik example and the problem still continue. There is no CSS or custom styles.

 

Thanks in advance

 

Alvaro
Top achievements
Rank 1
 answered on 06 Oct 2017
2 answers
143 views

Hi,
Can you please correct me where I'm wrong and educate me where I need it here -  I've just discovered that the
Parent Node property of the RadTreeNode object is read-only and a couple things come to mind.

1.
I discovered this after writing some recursive sql to retrieve an entire branch (all descendants, all levels) of a root node.  I populate my treeview via LoadOnDemand->WebMethod approach and in certain scenarios I want the option to retrieve either one level deep or the entire branch. I intended to populate the parentnode values as I built the tree but now see I cannot do that.
Do I have any options?

2.
It also seems that in a LoadOnDemand scenario, in order to re-establish your CurrentNode positioning (Selected, Focused, and In View) after a page reload you would have to (if Current Node was not a root node) load down the branch at
least to the level of the Current Node in order to establish positioning. Am I missing something? Is there a standard or best-practice approach to accomplishing this?

Why is Parent Node read-only? If the source code is available is it reasonable
to consider my own version where parent node is not read-only?

Thanks!
Eric

Darren
Top achievements
Rank 1
 answered on 05 Oct 2017
12 answers
223 views

I am continuously receiving this error within my pages (through the javascript console)

SCRIPT5007: Unable to get property 'handleEvent' of undefined or null reference

Telerik.Web.UI.WebResource.axd (647,33)

It is within this chunk of code

}}if($telerik.useDetachEvent(c)){c.detachEvent("on"+d,a);
}else{if(c.removeEventListener)

{c.removeEventListener(d,a,false);    // <<<< 
} //<<<<

}b.splice(f,1);

Me thinks something is wrong with the Telerik.Web.UI.WebResource.axd resource handler.

Rumen
Telerik team
 answered on 05 Oct 2017
22 answers
500 views
I seem to have this problem with my context menu, but only in Chrome.  In FF it displays just fine, but in Chrome it displays all the way at the bottom of the screen.  Please see the attached FF and Chrome screenshots from the same identical page.  i looked at the markup using inspector and it seems that in Chrome there are hard coded left, and top coordinates that are placing the menu at the bottom of the page.  where do these come from and how can this behavior be corrected?

Thanks!
-Mark
Rumen
Telerik team
 answered on 05 Oct 2017
0 answers
159 views

I would like to generate large XLSX and CSV file in MVC as given on below URL 

http://demos.telerik.com/aspnet-mvc/spreadstreamprocessing

I am unable to download Model and Class File above example.

1) using Telerik.Documents.SpreadsheetStreaming;
2) using Kendo.Mvc.Examples.Models.SpreadStreamProcessing;
3) DocumentSettings class

Please help me to resolve this issue.

Thanks in adv.

Atul
Top achievements
Rank 1
 asked on 05 Oct 2017
2 answers
92 views

Hi,

We are placing markers when the user clicks on the map. A problem is that the OnClick event is also fired when the user clicks on one of the zoom-buttons (but not on one of the pan-buttons). 

Is there anyway to separate a button click from a normal click? Alternative solutions could be using right clicks or even click/drag a marker itself.

 

Kind regards

Robert

 

Warnestam
Top achievements
Rank 1
 answered on 05 Oct 2017
7 answers
326 views


I'm new to using Rad Controls.

We're using the latest version 2008.1 619 of Asp.net Ajax controls.

In my NeedDataSource event, after retrieving my DataTable I filter the data and set my Grid's datasource to the Filter DV, but it's not filtered.

Excerpt, 

dv = dtFast.DefaultView

dv.RowFilter =

"buot_BaseUnitID = buot_BareFanBaseUnitID"

Me.rgFast.DataSource = dv

dv is filtered, DT has 248 rows, DV has 182
but my grid is still showing all 248 rows.

What am I missing?



prakash
Top achievements
Rank 1
 answered on 05 Oct 2017
4 answers
117 views

Hello,

I'm looking to implement a solution for tracking activities through a 24-hour period for a dynamic number of employees. I believe the scheduler is the object I may be able to utilize to do this but haven't seen any solutions that fit the need.

Can someone please provide some insight on whether or not this object is the right tool for the job, or if there's another method I might go about using to accomplish this? I'm going to attach a screenshot with a visual representation of the need.

 

Thanks!

ww1711
Top achievements
Rank 1
 answered on 04 Oct 2017
4 answers
167 views

Hi Telerik team,

I have added RadContextMenu for RadGrid. In that context menu  Adding ,removing items and all actions performing using Javascript.

 Problem Scenario:

                If I right click on grid first row, menu showing normally in down. We don’t have any issue on this. But if I right click on last row, the menu coming out side of the grid. Please check the attached screenshots and sample project for your reference.

 I have tried to change currentStyle property for RadContextMenu using JS. But, it’s showing not editable.

  •  ContextMenuId._contextMenuElement.currentStyle.top=”200px”;

Kindly provide solution for right click menu to adjust height and width inside the grid when right click on any place of grid.

 Note: I have fixed the grid size and please provide the solution/fix using JavaScript.

Thanks,

Swetha

Swetha
Top achievements
Rank 1
 answered on 04 Oct 2017
0 answers
223 views

 

I am using this CSS Class for aligning text and setting the size.

It does not increase the size of the text. Why is it not changing the size of the text on this button?

.rbSave
    {
        text-align: center !important;
        font-size:x-large !important;
    }
<telerik:RadButton ID="btnSaveClient" runat="server" IsBackgroundImage="true" OnClick="btnSaveClient_Click"
                                   Text=" Update Client " CssClass="rbSave" >
                                  <Icon PrimaryIconCssClass="classCart" PrimaryIconUrl="~/Images/Save.png" />
                              </telerik:RadButton>

 

If i remove the CSS Class and manually set the size, it increases the size but does not align the text.It does not center the text. It appears as shown in the image below.

What should i do align text and also set the size of the text?

 

Thanks in Advance

 

 

 

 

Jagat
Top achievements
Rank 1
 asked on 03 Oct 2017
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?