Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
175 views
Hi.  How would I access the Radeditor from within a user control?  
I have a user control (details.ascx) that has a user control embedded in it (editor.ascx) 
that only contains a radeditor control.  so, from within the details.ascx javascript code,
I want to be able to access the radedit control inside the editor.ascx.  I couldn't get a
reference to the radedit.  previously I had the editor.ascx replaced with just an RadTextBox
and it worked perfectly.    but, I just tried the user control yesterday, and I cannot find
a way to access the radeditor.  In the details.ascx page_load on serverside, I set a hidden
field to the usercontrol's radeditor ID, but that doesn't seem to work as in client side, I
get a not defined error. 

(also, this is all within a content page within a masterpage scenario (which didn't seem to
affect anything.) And, all the examples on the forums are just too simplistic as it is
accessing the radeditor from within an aspx page, not an ascx page.








My code sample below:  (from details.ascx)


function OnSearchClose(oWnd, args) {
//get the transferred arguments
var arg = args.get_argument();
if (arg) {
var ClauseName = arg.ClauseName;
var txtName = $find("<%= rtbClauseName.ClientID %>");
txtName.set_value(ClauseName);
                       //the above code works perfectly as it is just accessing
                        // a radtextbox within details.ascx



        
    //document.getElementById('hdEditorID').value;

//This code above is accessing the hiddenfield on the page, but just returns
//null, so I'm not sure how to get a reference to the radeditor on the usercontrol

         }
Rumen
Telerik team
 answered on 17 Feb 2011
1 answer
102 views
Hi,

I need to be able to select a tab using a button ("Next") rather than just selecting it.  I have the following code with the last two lines coming from the Classic.

var tabStrip = $find("<%= RadTabStrip1.ClientID %>");
var tab = tabStrip.AllTabs[tabStrip.SelectedIndex + 1];
tab.Select();

I get "AllTabs is null or not an object".  I realise that it is old syntax, but I can't find what I can replace it with.

Thanks,
Olga
Shinu
Top achievements
Rank 2
 answered on 17 Feb 2011
1 answer
95 views
Is it possible to set a tooltip to a fixed position on the page rather than relative to the targetcontrol, mouse or browser window?
Svetlina Anati
Telerik team
 answered on 17 Feb 2011
1 answer
136 views
Hi there.
I was hoping someone could help me.
I have a few problems with my RADeditor.

Im having problems with the dialog boxes, its says:
"Web.config registration missing!
 The Telerik dialogs require a HttpHandler registration in the web.config file. Please, use the control's Smart Tag to add the handler automatically, or see the help for more information: Controls > Editor > Dialogs"

Now before you say I must click on the smart tag, and set up the httphandlers etc.....
I have done this, and the dialogs work, on some of the editors.
I have the editors on many pages and the dialogs (image, format-code etc...) seem to work on the normal .aspx pages, but i also have some editors on controls (.ascx pages), and its these ones that give the dialog error.

Please help me, Im sure its just a simple fix.

BUT.... I have another issue concerning the 'Format Code Block' dialog.

If I paste code, in FF, it all works very well, and my output looks great.
If I paste code in IE8, it seems to be fine, but once i post the content into the form, it seems to convert all the white-space characters as '???', and because the code has lots of indenting, tabs, it really looks bad.
In the code behind, it seems to have this data FF - '&nbsp' and in IE8 - ' ' .
Im not sure what the difference may be, but please could you help.

Also, my content window is only 380px wide and if i dont set the 'format code block' width, it becomes much wider, pushing the output content off the page. is there a way to force the width of the 'format code block' output, and not let the user change it?

I realise this is a lot, but please help :)

Ian

PS, im running this RAD controls (Telerik RadControls for ASP.NET Ajax, build: '2008.1.619.35')

Rumen
Telerik team
 answered on 17 Feb 2011
1 answer
62 views
hi

i want to find control of a radtextbox  which is in the itemtemplate of the radgrid in the textchangeevent how to do it
Shinu
Top achievements
Rank 2
 answered on 17 Feb 2011
0 answers
95 views
Hi,

Has anybody translated the combobox global resource file to german?
I would be very thankful if someone could upload this file or do a quick translation of the phrases below :)

NoMatches - No matches   
ReservedResource - Please do not remove this key.   
ShowMoreFormatString - Items <b>1</b>-<b>{0}</b> out of <b>{1}</b>   
JH
Top achievements
Rank 1
 asked on 17 Feb 2011
0 answers
85 views
Hi,

Has anybody translated the radlistbox global resource file to german?
I would be very thankful if someone could upload this file or do a quick translation of the phrases below :)

AllToBottom - All to Bottom   
AllToLeft - All to Left   
AllToRight - All to right
AllToBottom - All to Bottom   
AllToLeft - All to Left   
AllToRight - All to Right   
AllToTop - All to Top   
Delete - Delete   
MoveDown - Move Down   
MoveUp - Move Up   
ReservedResource - Please do not remove this key.   
ToBottom - To Bottom   
ToLeft - To Left   
ToRight - To Right   
ToTop - To Top  
AllToTop - All to Top   
Delete - Delete   
MoveDown - Move Down   
MoveUp - Move Up   
ReservedResource - Please do not remove this key.   
ToBottom - To Bottom   
ToLeft - To Left   
ToRight - To Right   
ToTop - To Top   
JH
Top achievements
Rank 1
 asked on 17 Feb 2011
8 answers
103 views
Hi,

 I am displaying RadCalendar in my page, after that displaying repeater. while click on the particular date. 
 needs to be add a row in that row first field that date needs to be displayed. again if i click on the next date one more row needs to be displayed in that date should be displayed.....

 For that i am displaying calendar, repeater in my page.  while click on the date dispalying those dates in that repeater also. but if i click on the next date both the rows are updating the same date (last click). Could you help me out ot find out this.
Radoslav
Telerik team
 answered on 17 Feb 2011
1 answer
61 views
I need to get the value out of a hiddenfield of the item template on a client side click?  Any ideas?
Princy
Top achievements
Rank 2
 answered on 17 Feb 2011
1 answer
318 views
Hello,

I have a page with multiple user controls on it, inside a RadAjaxPanel.  I'm trying to figure out how I can use javascript to reload the user controls, which have data bound inside of them.  I just need a way to have them load as they would on initial load- how can I do this?
Tsvetina
Telerik team
 answered on 17 Feb 2011
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?