Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
187 views
Hi there,

I just want to ask, if it´s possible to change the duration of showing a picture (FrameDuration) with a javascript function feeded by a RadSlider?

Because I want my users to have the possibilty to change the showduration by their own. :)

I tried something like this:
JavaScript:
        function ChangeDuration(sender, eventArgs) { 
             
            var rotator = document.getElementById("RadRotator1"); 
             
            rotator.FrameDuration = sender.get_value(); //I think here is the problem!!! :/
             
            document.getElementById('TextBox_Duration').value = parseInt(sender.get_value() / 1000) + " sec"
             
        } 

Rotator:
<telerik:RadRotator ID="RadRotator1" runat="server" FrameDuration="3000" SlideShowAnimation-Type="Fade" 
            Width="800" Height="600" ItemWidth="800" ItemHeight="600" ScrollDirection="Left,Right" 
            RotatorType="Buttons"
            <ItemTemplate> 
                 "beatuiful pictures... ;)" 
            </ItemTemplate> 
            <ControlButtons LeftButtonID="prevButton" RightButtonID="nextButton" /> 
        </telerik:RadRotator> 
RadSlider:
            <telerik:RadSlider ID="RadSlider_Slideshow" runat="server" Width="200px" MinimumValue="1000" 
                MaximumValue="10000" Value="3000" Skin="Telerik" OnClientValueChange="ChangeDuration"/> 


Thank you very much.

Greetings Patrick
Patrick
Top achievements
Rank 1
 answered on 24 Apr 2009
1 answer
89 views
I've been looking for a complete sample page, where all RadControls are displayed with the different available skins. Is there such a page? If not, please put it on my wish-list :-)

/Fredrik
Svetlina Anati
Telerik team
 answered on 24 Apr 2009
1 answer
352 views
Hi

I´m using a telerik:RadWindow to launch a modal window to confirm a delete order. The problem is that this window is launched inside a frame and only the frame is blocked whith the modal state.

I want to know if telerik:RadWindow or another telerik component, has a property to block the main page where  the iframe who launches the modal RadWindow is contained.

Another problem is with the radconfirm command. I want launch a modal confirm window when i change the selected item in radcombobox. If the user accepts i want launch a javascript code but if the user cancels o closes this confirm window, i want cancel the  success event.

I want use a radconfirm window for do this:

function ChangeTab(sender, event)
{
var bool= confirm("Sure?");
                        if(bool){
                          //Ok code
                        }
                        else{
                            event.set_cancel(true);
                        }
}
Svetlina Anati
Telerik team
 answered on 24 Apr 2009
3 answers
498 views
I have a page with rad grid in it.  Filtering in grid is enabled and works fine when the filter the filter menu appears on clicking the funnel icon. However if we write something in the filter text boxes and press enter, the filter menu appears. Now if we click one of the choice in the menu say 'Equal To', the filtering of the column does not happen, the page posts back and full unfiltered data is presented.

Ideally filtering should take place on the grid column.  Pls suggest how to fix this.
Pavel
Telerik team
 answered on 24 Apr 2009
1 answer
180 views
hi

i'm using tool tip manager in rad sceduler,

Scenario  - if i have Continous 3 days same event in scheduler, For eg : In month view events are in  4,5,6 dates
  when i mouse over 4th date, tooltip is displayed, for 5 and 6 only normal tooltip is dispaying, i need to display tooltip for 5 & 6 dates also


is there any possiblity pls reply soon................


Thank you in advance..
Veselin Vasilev
Telerik team
 answered on 24 Apr 2009
1 answer
140 views
I am creating and managing my radpanelbar dynamically using server-side code.  When I click on a section, I want to run some code through its subsections before opening the section.  I also want the previously opened section to appear to close at the same time as the new section opens.  This would work fine if I could figure out how to get the default client-side script that expands the new section to not expand that section.  Any ideas on this?

Thanks.

Laurie
Shinu
Top achievements
Rank 2
 answered on 24 Apr 2009
1 answer
172 views

 

Hi Everyone,

I have grid with MasterTable TableLayout="Fixed" and I'm using static headers, below is the declaration for one of the columns in the grid.

<
telerik:GridButtonColumn CommandName ="Edit" DataTextField="Description" HeaderText="Description"

 

 

UniqueName="Description" SortExpression="Description" HeaderStyle-Width="250px" ItemStyle-Wrap="false" HeaderStyle-Wrap="false" />

As you can see I have explicitly set the width and Wrapping is turned off but the cell contents are still being wrapped.
Why is this happening, if I remove the width setting the cell contents are correctly truncated.
The only way to truncate the cell contents with the width being explicitly set is to add DataTextFormatString="<nobr>{0}</nobr>"
to the column declaration. This feels like yet another hack, shouldn't the ItemStyle-Wrap = false do this?

Many thanks
Antony

 

Antony
Top achievements
Rank 1
 answered on 24 Apr 2009
2 answers
223 views
Hi,
I have Radgrid. On top i have Add Recrod. when i click that Grid will expand and it will show templete designe.
I have a client side button on my page. when i click on that button i want to display grid in expand mode means it should ready for Entering data.
Thanks in advance.
Ramesh
Shinu
Top achievements
Rank 2
 answered on 24 Apr 2009
4 answers
201 views
Hi,
I got a serious problem with Radgrid. I am using Q1 2009.
There is a grid in my page. When this page loaded the first time, there are 20 rows data bound.
then user manually delete those rows from the client side using javascript. after that, user do a search,
we rebind the result to the grid using Ajaxpanel. problem comes from this point.
user cannot select another row using mouse click. but everything become normal again after first click.
in other words, the first mouse click is unhandled or trigger something weired. any mouse click after that is OK.
It is a strange behavior in Q1 2009, never happened before in 2008 build.
Thanks
--Humayon
Yavor
Telerik team
 answered on 24 Apr 2009
1 answer
137 views
I have a problem with the editor copying styles from my page which sometimes makes the editor content area unusable due to white-font on white background, for example.

Is there a way to switch off the copying of styles in code-behind, so that I can add a checkbox to the page to allow the user to choose whether styles are copied or not? I use the same code for editing lots of different types of pages and on the majority of pages the automatic copying of styles by the editor works perfectly. It is just a few pages that get the problem, so I want the feature to be selectable, either via a checkbox or a custom toolbar button, rather than permanently using an alternative CSS File for the content area.

I have tried assigning a ContentAreaCssFile in code-behind but the editor continues to copy the page styles regardless.

I am using 2008 Q3 1105.
Tervel
Telerik team
 answered on 24 Apr 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?