Telerik Forums
UI for ASP.NET AJAX Forum
8 answers
675 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
115 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
231 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
104 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
57 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
71 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
91 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
1 answer
70 views
I am trying to hide the edit column fro a bound column with user id=25 using getcolumn() method in prerender.But it hides the column for all users.How to hide the column for single user?
Princy
Top achievements
Rank 2
 answered on 25 May 2012
2 answers
1.1K+ views
Hi everyone,
I'd like to run a JS-function wich does several stuff to the available controls, right after the loading of the site.
Now, I tried to us window.onload but the problem is if i use there the $.find method, the page is not yet loaded completely and the return of the $find-call is empty.
Are there other ways to solve this, like other events, which are only called when the page was toatally loaded?
How to use this other possibilities?

Greetings,
Marcel
Marcel
Top achievements
Rank 1
 answered on 25 May 2012
6 answers
120 views
We have an application developed in .net framework 2.0. All rad controls are working fine in IIS6. But when we host the application in IIS 7.0 all controls except rad editor is working fine. The rad editor is showing as a text area. Is there any fix?
josephjijo
Top achievements
Rank 1
 answered on 25 May 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?