Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
71 views
I don't know what I am doing wrong but I basically display a RadCalendar for a range selection:

<telerik:RadCalendar runat="server" ID="RadCalendar1" RangeSelectionMode="ConsecutiveClicks"
                EnableViewSelector="True" EnableKeyboardNavigation="True" SelectedDate="" Skin="Metro">
                <ClientEvents OnDateClick="onDateClick"></ClientEvents>
                <WeekendDayStyle CssClass="rcWeekend" />
                <CalendarTableStyle CssClass="rcMainTable" />
                <OtherMonthDayStyle CssClass="rcOtherMonth" />
                <OutOfRangeDayStyle CssClass="rcOutOfRange" />
                <DisabledDayStyle CssClass="rcDisabled" />
                <SelectedDayStyle CssClass="rcSelected" />
                <DayOverStyle CssClass="rcHover" />
                <FastNavigationStyle CssClass="RadCalendarMonthView RadCalendarMonthView_Metro" />
                <ViewSelectorStyle CssClass="rcViewSel" />
 </telerik:RadCalendar>

the following code executes when onDateClick handler executes

var rangeText = $("#RangeText");
var rc = $find("RadCalendar1");
var startDate = rc.get_rangeSelectionStartDate();
var datepattern = 'MM/dd/yyyy';
rangeText[0].value = rc.DateTimeFormatInfo.FormatDate(startDate, datepattern);


The problem is that the value of the textbox is set to: "0undefined/0undefined/undefined" (returned by the FormatDate() method).
If I take a look at the startDate value in the watch window it says: "Thu Jun 13 00:00:00 EDT 2013"
However when I expand the startDate instance there's a [prototype] child with a value of "Invalid Date"
Is this normal behavior? Why isn't the formatting working?

Thank you.
Vasil
Telerik team
 answered on 21 Jun 2013
1 answer
109 views
I don't understand what setting or property of the menu or menuitems will cause ALL the dropdown menus to left-align.

My dropdowns always align under the top-level item.

I was able to acheive left alignment by doing this CSS hack. But this cant be the right way of doing this. My page is here:

http://kw.my.etghost.net

.Item1 .rmSlide
   {
       left: 0px !important;
   }   
.Item2 .rmSlide
   {
       left: -170px !important;
   }   
.Item3 .rmSlide
   {
       left: -340px !important;
   }
Kate
Telerik team
 answered on 21 Jun 2013
3 answers
122 views
I have a radgrid I am creating dynmically including an editcolumn but when I click on the edit Column button I get the following error?

"An error has occurred because a control with id 'dgCompGrid$ctl00$ctl04$EditButton' could not be located or a different control is assigned to the same ID after postback. If the ID is not assigned, explicitly set the ID property of controls that raise postback events to avoid this error."

I have changed the grids viewstate = True but still get the same error?

        With dgCompGrid
            .Columns.Clear()
            .DataSource = Nothing
            .EnableViewState = True
            .DataSource = ippService.Select(ID)
        End With

        Dim oEditColumn As New GridEditCommandColumn
        With oEditColumn
            .ButtonType = GridButtonColumnType.ImageButton
            .UniqueName = "EditColumn"
            .CancelImageUrl = "~/Images/small/x_out.gif"
            .EditImageUrl = "~/Images/small/pencil.gif"
            .UpdateImageUrl = "~/Images/small/save_blue.gif"
            .ItemStyle.Wrap = False
        End With

        dgCompGrid.MasterTableView.Columns.Add(oEditColumn)


If I comment out the buttontype were the column shows EDIT instead of an image button it have no problems?

I use the Needdatasource to call a sub that loads the data.

Thanks in Advance.
Stefan
Top achievements
Rank 2
 answered on 21 Jun 2013
1 answer
77 views
Hi,
is there a way to check which RadTreeviewContextMenu was selected. (Server Side)
I have 3 contextmenus
Kate
Telerik team
 answered on 21 Jun 2013
2 answers
212 views

I am using the RadNotification control to notify the user of their session timeout due to inactivity.  I am basically following the example from the demo on the site.  But notification keeps showing even if there was ajax calls that keeps the session alive. I couldn't find any documentation on handling sliding session timeouts with radnotification control.
Marin Bratanov
Telerik team
 answered on 21 Jun 2013
4 answers
165 views
I have a radcombobox control on a pop rad window on a web server that will not open to display the items.
It does work on my laptop though
What is the work around?
Marin Bratanov
Telerik team
 answered on 21 Jun 2013
5 answers
44 views
I'm using VS 2012 on Windows 8.  Works fine on Chrome, but when I'm using IE it's blank every time I manually select it.  If I set it programatically at the start then I can see it. Or if I set AutoPostback=true, then I can see it too.

I'm just using a dictionary to fill my combo box

<telerik:RadComboBox ID="rcbSeasonsFilt"
 
    EmptyMessage="Change Season" DataTextField="Key"
    runat="server" DataValueField="Value" />

EDIT, I'm using q1 2013 asp.net 4.5 v 2013.1.220.45
Nencho
Telerik team
 answered on 21 Jun 2013
1 answer
513 views
I downloaded this file:
TelerikControlPanelSetup_2013_1_530.exe

and this file:
RadControlsForAspNetAjaxControlPanel_2013_2_611.exe

Executing either throws error stating I have a connection problem.  Which I don't as you can see by virtue of me adding this post. Please help
Thanks

Dyanko
Telerik team
 answered on 21 Jun 2013
2 answers
197 views
I have an asp.net page with 2 raddatepickers on it.  I would like for the user to be able to pick a date from picker_1 and picker_2 would get populated with that same date.  How can this be done??
Rusty
Top achievements
Rank 1
 answered on 21 Jun 2013
3 answers
76 views
I have deployed an ASP.Net app that uses ASP.Net Ajax controls to different servers in different environments and all is fine with the exception of one page within the site that the Telerik controls do not appear correctly.

I've examined the source for the page that works and the page that doesn't and the only difference is the fact the in the head section there are two <link> WebResource references missing on the page that does not work. For reference, the controls that do not display correctly are used on other pages in the site and they display correctly.

If have compared every file in the site (source, DLL, etc.) and they are all identical from server to server.

Any idea why certain WebResource references would not be generated on one server but would be on another?

Hugh
Marin Bratanov
Telerik team
 answered on 21 Jun 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?