Telerik Forums
UI for ASP.NET AJAX Forum
7 answers
178 views
Hi,
I was wondering if there is a way to apply a global skin for shared calendars, eg the popup calendar on the DatePicker in the grid filtering column. I currently have the following in my skin file which is working for all Calendars of DatePickers, but the calendar in the grid filtering column appears to be of type SharedCalendar and  is not rendering the same. I can do it with code in the OnItemDataBoundEvent for the grid, but I have a lot of grids as well as some that are generated at runtime..

Any help would be most appreciated..

Thanks.

Matt.

<telerik:RadDatePicker runat="server" skin="Vista">
    <DateInput runat="server"
        onkeydown="return datePickerToday(this, event);"
        IncrementSettings-InterceptArrowKeys="false"
        IncrementSettings-InterceptMouseWheel="false"
        DateFormat="MM/dd/yyyy"
        ToolTip="Shortcut Keys:  Press 'T' for today. Use up and down arrows to change day/month/year based on cursor location." />
        <Calendar ShowRowHeaders="false" >
            <SpecialDays>
             <telerik:RadCalendarDay Repeatable="Today" Date="" IsToday="true">
               <ItemStyle CssClass="rcToday" />
             </telerik:RadCalendarDay>
            </SpecialDays>
        </Calendar>
</telerik:RadDatePicker>
Matthew
Top achievements
Rank 2
 answered on 30 Dec 2010
4 answers
101 views
I'm trying to run some code in the RadGrid1_ItemDataBound and RadGrid1_UpdateCommand events and am running into problems now that I have added a detail grid to the equation. I am using sqlDataSource for both grids, not using NeedDataSource. What is the best way to determine which grid raised the events? Should I be using NeedDatasource with the sqlDataSource as well? Thanks for any help.
AkAlan
Top achievements
Rank 2
 answered on 30 Dec 2010
5 answers
151 views
Is it possible to have a tooltip with multiple HideEvents? For example, to have ManualClose and FromCode specified so that the tooltip can either be closed by the user or closed from server-side?
Clayton
Top achievements
Rank 1
 answered on 30 Dec 2010
5 answers
379 views
If possible, how can I set the viewpaths property for the imagemanager in the Radeditor dynamically? I need to set this based on something like a TempData variable. I tried ...

 RadEditor_HTMLSource.ImageManager.ViewPaths = (String[])TempData["mykey"];

But it's not set.

Thanks
Matt
Matt
Top achievements
Rank 1
 answered on 30 Dec 2010
4 answers
178 views
Hello - I have a scenario where a random number of .jpg files get placed in a folder and my web page's responsibility is to simply display, in slide-show format, those images. Having not used either the RadRotator or RadSlider controls, I'm a bit confused about which direction to take. The demo's I've seen for the Slider control seem to be geared around those scenarios where the number of images to be displayed is fixed, whereas the Rotator is better suited for a situation like mine, where the images can be changed frequently.

Ideally, I'd like to be able to simply "point" the control at the directory that contains the images and it would automatically display everything in that path as a slideshow. I'm able to accomplish this with the Ajax Control toolkit. Is this possible with either the RadSlider or RadRotator? Thanks.

Matt
Matt Low
Top achievements
Rank 1
 answered on 30 Dec 2010
4 answers
217 views
I have a page with a RadGrid (auto generated columns). I want to store how the user is setting their column sizes in Personalization so that it automatically reloads the column sizes each time they load the page/grid.

In order to do this I need to be able to (after a postback of some sort) retrieve the size (pixels) of the columns, but whenever I loop through the GridBoundColumns ItemStyle widths to get the value it is always blank.

How would I be able to get the width of the columns after a postback or partial postback?
Raddy Rad
Top achievements
Rank 1
 answered on 30 Dec 2010
2 answers
136 views
Telerik Devs and Experts,

I have 2 RadMenus on one page and both are wrapped in a usercontrols and for some reason for menu #2 the submenu items will not display... don't really know where to start with this one.  Please help.
Kevon Hayes
Top achievements
Rank 1
 answered on 30 Dec 2010
1 answer
65 views
We have a very strange problem, with sorting not working in  RadGrid. The problem is, it should work!

We have two very similar web applications, both set up in the same way getting data via an Object Data Source (an Extended Object Data Source to be exact). In one of the application, setting the AllowSorting=true works perfectly fine without any problems at all, in the other application, it seem to work, even the RadGrid itself seem to think it is working (processing, taking some time, showing the loading panel etc. etc. etc.) but it doesn't! The order or the rows never change. Everything else like filtering, even custom filtering, works 100%. Sorting expressions etc are in both applications generated by the RadGrid itself from the Data Source, and should be correct.

We have done exactly as described here:
http://www.telerik.com/help/aspnet-ajax/grdbasicsorting.html

If nothing had happended, that would have been one thing, but now it seems like the RadGrid is actually doing some kind of sorting, just that we never get to see the results. We really need some ideas here on what could be wrong, because as we see it, the way we are doing it should be correct, and it works fine in one application, but not the other.

Please advice :)
Marin
Telerik team
 answered on 30 Dec 2010
2 answers
261 views
Hi,

I'm using a RadComboBox which, via a DataSource, is populated with a list of monetary values, i.e. 50, 100, 1,000, 2,000. We need to sort the list from low to high, but because the 'value' of each option is not the same as the text, we need to sort it by text, however, the list is being sorted as strings, rather than as numbers, so anything beginning with a '1' is listed before anything beginning with a '2', i.e. 100, 1,000, 2,000, 50 etc. Is there are way to resolve this so that the text is treated as numeric? We are unable to alter the DataSource.

Here is my code:

.ASCX:
<telerik:RadComboBox runat="server" ID="cbMoney" AutoPostBack="false" width="200px" DataSourceID="MoneyDataSource" DataTextField="Descr" DataValueField="CodeValue" Sort="Ascending"></telerik:RadComboBox>

.ASCX.VB:
Protected Sub cbMoney _DataBound(ByVal sender As Object, ByVal e As System.EventArgs) Handles cbMoney.DataBound
   
cbMoney.Items.Sort()
End Sub

Thanks in advance,

Hugh
hugh
Top achievements
Rank 1
 answered on 30 Dec 2010
1 answer
140 views
Hi,

I need the dropPosition (like I could request in the nodeDropping event from the eventArgs) already in the nodeDragging event.

The issue is that I can sort nodes within the tree (drag them in between) and certain nodes (determined by an attribute value) may be moved everywhere BUT to the first position (under certain parent nodes with the same attribute value).

I could simply cancel the dropping event - but that would confuse the user: All other checks are done in nodeDragging and if the drop target is invalid the not-allowed cursor style is displayed. This should also be the case when this certain node type is dragged directly under the certain parent nodes if this has no other children or above the first child of these parents.

So how can I determine the current dropPosition in the dragging event?
Sebastian P.R. Gingter
Top achievements
Rank 2
 answered on 30 Dec 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?