Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
144 views
Hello, I'm running version 3Q 2009 of the ASP.NET AJAX controls. I wanted to implement the Rotator with index buttons as in this tutorial

http://demos.telerik.com/aspnet-ajax/rotator/examples/pagerintegration/defaultcs.aspx

however, I'm getting a javascript error Object does not support method or property when the JS function tries to excute the line
oRotator.set_currentItemIndex(index);

I did a "Quick Watch" using the visual studio debugger and noticed that that this function is missing from the available functions. Is this feature not available in 3Q 2009 version? if not is there a workaround to display buttons to represent each slide and then have those buttons clicked to display the corresponding slide in the rotator?

function showItemByIndex(index)
{
    // get reference to the rotator object
    var oRotator = $find("<%= RadRotator1.ClientID %>");
 
    // Set currently shown item by its index
    oRotator.set_currentItemIndex(index);
}

Thanks
Cliff
Niko
Telerik team
 answered on 05 May 2011
27 answers
422 views
hi!
        In radupload control, when press add button , just fileinput box only appear... when click each time add button in radupload,  I want two textbox also....can anyone help me?..thanks
Peter Filipov
Telerik team
 answered on 05 May 2011
4 answers
112 views
Hi guys,

I just noticed that ShowOnFocus doesn't work properly in my solution anymore.
This seems to have happened after I update to Q1 2011.

When the editor gets focus, it displays an empty toolbar.

As soon as I remove the ShowOnFocus attribute the toolbar works as expected.

So far I've tested this in Chrome and FF, looks the same in both browsers.

<edit>
I checked the demos and I see nothing has broken there, so it must be something else.
I still have no idea what it might be though.
</edit>

Regards,
-DJ-
-DJ-
Top achievements
Rank 1
 answered on 05 May 2011
4 answers
359 views
Hello,

I am using radgrid control in which I had done the same has displayed in your demo. Here I wish add one more functionality.

I want to display total count of cases and aging in header. Please see attached image.

In front of text CHINA I want to display cases as 4 and aging is average of those two values. I am not very sure how I can perform that ?

Can you please suggest how i can get those values there in header ?

P.N.:- I don't want those values in footer.
prayag ganoje
Top achievements
Rank 1
 answered on 05 May 2011
1 answer
99 views
Hi

A client has requested that in the editor the selection is maintained when you switch modes. I coulnd't find an example of this on the site but I noticed that I can grab the selection using OnClientSelectionChange, and I can detect the event BEFORE a mode change using OnClientModeChange. I just couldn't see how to perform a selection event AFTER the mode change in order to maintain the selection position.

I think that I'd have to find the string position of the html source of the selection in the html editing textarea, and use setSelectionRange() ( or IE hack / equivalent) to mark the selection area.

Is there a built-in method for doing this?

Tim
Stanimir
Telerik team
 answered on 05 May 2011
7 answers
228 views
Is there an example out there that would show me how to force all client-side expanded rows to be selected (meaning, display that row with the rgSelectedRow class) and then when it's collapsed, it of course needs to not be selected.

I already have it set to auto expand and select on rowclick but it needs also auto select/unselect when I use the expand/collapse arrows too (client-side).

TIA!
Iana Tsolova
Telerik team
 answered on 05 May 2011
2 answers
254 views
Hi,

Is it possible to change icon of filter button in RadGrid ?
Shinu
Top achievements
Rank 2
 answered on 05 May 2011
2 answers
387 views
Hi Everyone,

Please, some help with a simple doubt...

I have a combobox and I add items dynamically by filter with another combobox.
I need to add an item after combobox loaded with items.

What function is called after the combox is loaded with items? 

Thanks, best

Daniel
Daniel Aquere
Top achievements
Rank 2
 answered on 05 May 2011
7 answers
154 views
Hi,

I need to show Week Numbers in the Column Header. How can I achieve this since I don't think it is possible to create a format string for week numbers in ColumnHeaderDateFormat?

thanks
Aaron
Veronica
Telerik team
 answered on 05 May 2011
3 answers
255 views
Friends,

I want to find out how we can get html control if any which are placed inside RadEditor. I tried but didnt work for me.

Code 1:

var

 

 

editor = $find("<%=reFormEditor.ClientID%>"); //return a reference to RadEditor

 

 

 

var oDocument = editor.get_document(); //get a reference to the editor's document

 

 

var

 

 

oControl = oDocument.getElementsById("image1");

 

 

 

 

 

Code 2:

 

 

var editor = $find("<%=reFormEditor.ClientID%>"); //return a reference to RadEditor

 

 

 

var oDocument = editor.get_html(true);

 

 

var oControl = oDocument.getElementsById("image1");

Can anyone help me how can i find the image1 control???

 

Stanimir
Telerik team
 answered on 05 May 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?