| 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"; |
| } |
| <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> |
| <telerik:RadSlider ID="RadSlider_Slideshow" runat="server" Width="200px" MinimumValue="1000" |
| MaximumValue="10000" Value="3000" Skin="Telerik" OnClientValueChange="ChangeDuration"/> |
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