Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
83 views
Hi,

When expanding a tree using for example two level:
- treenode 1
  - treenode 1_1
    - treenode 1_1_1
  - treenode 1_2

When I collapse treenode 1 en expand again treenode 1, all childnodes will be opened exactly how they are opened. Is it possible to only open the first level of childnodes.
- treenode 1
  - treenode 1_1
  - treenode 1_2 

Thanks for all reply.

Wouter
Princy
Top achievements
Rank 2
 answered on 25 May 2012
3 answers
52 views
I'm trying implement something like this:
1. User clicks button that is placed somewhere on the page
2. RadTreeView expands some nodes (ServerSideCallback is used for nodes) to show some node
3. RadTreeView is scrolled to show this node (there are many nodes in the tree)

The problem is that OnClientNodePopulated is called before nodes are showed, so scrollIntoView method doesn't scroll to this node.
Is there any event that occurs after nodes are showed?

Browser: IE 8
Plamen
Telerik team
 answered on 25 May 2012
2 answers
288 views
Hi,

I trying to use "SpellCheckValidator" rad control in of my UserControl.
I have included
1.  <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> - in UserControl
2. Added reference to Teleric.web.UI to my project (V2010.1.415.35)
3. Manually copied teleric.web.ui dll to my site "bin" folder
4.  <%@ Register Assembly="System.Web.Extensions" Namespace="System.Web.Extensions" TagPrefix="webExtensions" %> - in UserControl
5. Added reference to web.extensions to my project
6. And I am using teleric dll from BIN35
7. I am good with ajaxifying

 


This is how I am trying to use teleric control

<
telerik:SpellCheckValidator ID="SpellCheckValidator1" runat="server" ControlToValidate="RadSpell1" ErrorMessage="Please Check Spell"></telerik:SpellCheckValidator>

 

 

<telerik:RadSpell ID="RadSpell1" runat="server" ButtonType="PushButton" ControlToCheck="txtMessage" />

I still get below error

 

"Could not load file or assembly 'System.Web.Extensions' or one of its dependencies. The system cannot find the file specified."

Please help me out !!

Thnx
N

Rumen
Telerik team
 answered on 25 May 2012
8 answers
710 views

Hi all

I have a radEditor which has suddenly for some reason developed the habit of displaying handles on the content area when the user clicks on the content area to start typing. Specifically, it appears that these are selection handles, for moving and /or resizing, which appear on the BODY element inside the Iframe of the content area. I'm not exactly sure what change could have been made to the radEditor code to cause the BODY element to begin behaving like this, but I'm assuming that I need to use Javascript on the radEditor elements to explicitly disable this behaviour.

I have so far been working on the basis that I need to use addExternalHandler on the Iframe element, to disable drag and drop behaviour of the BODY element within that IFrame, but I can't get this to work in the way I was expecting, using a client-side OnClientLoad event handler for the radEditor in question - and no amount of research has revealed a relevant answer. This is what I have so far, which I have found from piecing together other info on the forum etc, and which runs OK and gives no error ... but also seems to have no effect on the problem: the OnClientLoad function is as follows, with input parameters 'editor' and 'eventArgs' from the event:

var contentelement = editor.get_contentArea;  //gets reference to content area BODY element 

var myeditoriframe = contentelement.parentNode.parentNode;   //navigates up to the iFrame object

var myevent = myeditoriframe.all ? "drop" : "dragstart";  // *** I think this is the problem line!! ****


$telerik.addExternalHandler(myeditoriframe, myevent, function(e) {

      $telerik.cancelRawEvent(e);

      return false;

});

But the 'addExternalHandler' function never appears to run when the content area is clicked, so it looks like I am either not constructing the external handler parameter object 'myevent' correctly, or that this is simply the wrong approach to addressing this issue! 

Would it be possible for somebody to point me in the right direction with this problem. If you could help me out I would be enormously grateful!

Many regards

Rumen
Telerik team
 answered on 25 May 2012
1 answer
119 views
Hi
We are able to download files with RadAjaxManager.ResponseScripts.Add("window.location.href=.....

However when we want to download an HTML file, then the browser window opens and displays the HTML file instead of presenting a download dialog which let's us choose the download folder.

Do you have any suggestions how to download an HTML file ?

Daniel
Telerik team
 answered on 25 May 2012
4 answers
246 views
How can i get the ComboBox to display items with HTML tags properly? right now is just displays the tag rather then understanding it's HTML.
Ivana
Telerik team
 answered on 25 May 2012
0 answers
110 views
Hi team,
Need your help,
I want to apply validation on Rad Grid filter.
Example: If grid having four column like "Name","Age","City" and "Phone".
Now user want to search on grid with age it should take only numeric value( for example: 20,30,40 etc..).
 Filter don't except text field for example (Age: "Twenty","Fifty",etc..)
When user trying to give "Age" in text field then error message should be display.

Thanks
Chandan SIngh





chandan singh
Top achievements
Rank 1
 asked on 25 May 2012
0 answers
62 views
Hello EveryBody,
            
            I am using 4 Comboboxes and one Grid control, I am binding large amount of data to the comboboxes(I am fetching total amount of data at a time and then I stored in viewstate) . When I am trying to open a grid to add a new record (after binding the data to the comboboxes it takes long time(that grid contain one combobox in it) when i try to select one item in the combobox it is showing error Page Requestmanager server error exception (see that attachment...) after that i can't do any thing on the page.

If I open the same grid before selecting the data  it is working fine.i don;t have any problem  with the grid
please help me how to solve this problem...
thank in advance.....
Madhuri
Top achievements
Rank 1
 asked on 25 May 2012
4 answers
74 views
RoundedCorners disappear if I use TextMode = "MultiLine"
Works if i use singelline.
Kjell
Top achievements
Rank 1
Iron
Iron
 answered on 25 May 2012
0 answers
99 views
Hello EveryBody,

    I am using Rad menu control in my Website, but some times it is not working properly(means when i am trying to open the menu it is opening), if I press F5 the page had refreshed and it is working fine. why i got this problem i don't know please give me your valuable suggestions..............


thanks in advance.
Madhuri
Top achievements
Rank 1
 asked on 25 May 2012
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?