Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
88 views
Hello all ,

 I have create a Dynamic RadDatePicker Using the following code

 RadDatePicker _DatePicker = new RadDatePicker();
        //_DatePicker.ID = "MileStone" + _iIndexCount.ToString() + ":" + _iMileStoneId.ToString() + ":ColumnName:" + _ColumnName.ToString();
        _DatePicker.ID = "M" + _iMileStoneId.ToString() + ":" + _ColumnName.ToString();
        _DatePicker.Calendar.ID = "C" + _iMileStoneId.ToString() + ":" + _ColumnName.ToString();
        _DatePicker.DateInput.ID = "D" + _iMileStoneId.ToString() + ":" + _ColumnName.ToString();

later i will be adding the DatePicker to a table cell , while loading the page , am getting some javascript error saying "}" expected , if i comment this line

        _DatePicker.ID = "M" + _iMileStoneId.ToString() + ":" + _ColumnName.ToString();
things are alllright , wht iam doing wrong ?

Thanks
-Prince




Dimo
Telerik team
 answered on 12 Mar 2010
3 answers
115 views
Hi,

I got a problem with the order of selected item. Attached file is the screen shot.

Here are the step to replicate the issue:
 - Select some pending orders and drag into shipped orders.
 - Select OrderID 10498, hold Shift and select the last shipped order.
 - Drag the selected items out and you will see the order of items is changed.
Daniel
Telerik team
 answered on 12 Mar 2010
1 answer
94 views
Can someone make this control easier,

How do you setup the left alignment when using the group by for a scheduler?

Finding that property is like digging for a diamond.  There's got to be a faster way of doing this.

Thanks,
Kamen Bundev
Telerik team
 answered on 12 Mar 2010
5 answers
595 views
if the date format is mm dd yyyy and
when i enter 25-09-2010 then the datepicker auto corrects the value to 09-25-2010.

I want to stop that.
Anyone have any idea how to stop that?
Dimo
Telerik team
 answered on 12 Mar 2010
1 answer
110 views
Hello,

I am trying to set up the Scheduler so as to get a view of techs and their availability. The catch is, the database does not conform to the design that the Scheduler appears to want. The <telerik:ResourceType> tag needs a data source, a primary key (for the tech), and a foreign key (for the appointment). The problem in my case is that the primary key of the appointment is not in the same table as that of the tech. There is an Appointments table and a Users table, and the two are linked via a third table containing the PK of the user and the PK of the appointment.

I have tried to work around this by using a SqlDataSource with the following SQL query:

SELECT A.ID AS apptID, U.userID, A.name, A.[dateTime], A.dateTimeEnd, U.userName<br> 
FROM AppointmentUsers AXU<br> 
JOIN Users U ON AXU.userID = U.userID<br> 
JOIN Appointments A ON AXU.apptID = A.ID 


Using this, I'm able to get a list of techs to assign the appointment to when I edit the appointment. However, I'm still unable to view the resources on a given day. Below is a full code sample:

        <telerik:RadScheduler ID="Scheduler" 
                              DataKeyField="apptID" 
                              DataSubjectField="name" 
                              DataStartField="dateTime" 
                              DataEndField="dateTimeEnd" 
                              DataSourceID="AppointmentsData" 
                              runat="server"> 
             
            <DayView ShowResourceHeaders="true" /> 
            <WeekView ShowResourceHeaders="true" /> 
            <MonthView ShowResourceHeaders="true" /> 
            <TimelineView ShowResourceHeaders="true" /> 
 
            <ResourceTypes> 
                <telerik:ResourceType Name="Tech" KeyField="userID" ForeignKeyField="apptID" TextField="userName" DataSourceID="AppointmentsData" /> 
            </ResourceTypes> 
 
        </telerik:RadScheduler> 
 
        <asp:SqlDataSource ID="AppointmentsData" 
                           ProviderName="System.Data.SqlClient" 
                           ConnectionString=xxx
                           SelectCommand="SELECT A.ID AS apptID, U.userID, A.name, A.[dateTime], A.dateTimeEnd, U.userName 
                                          FROM AppointmentUsers AXU 
                                          JOIN Users U ON AXU.userID = U.userID 
                                          JOIN Appointments A ON AAXU.apptID = A.ID 
                                          WHERE A.companyID = 7673" 
                           runat="server" /> 


Thanks,

Daniel



T. Tsonev
Telerik team
 answered on 12 Mar 2010
1 answer
79 views
Hi,
I am having problem with viewing the pager control within the radgrid. The dropdownlist for the page size seems to be like a text box. Refer the attached screenshot for the same.

Also, given below are the code-snippets from our code:
<telerik:RadGrid ID="grdBookings" runat="server" AutoGenerateColumns="false" Skin="Office2007" 
 
                        OnNeedDataSource="grdBookings_NeedDataSource" OnItemDataBound="grdBookings_ItemDataBound" 
 
                        AllowSorting="true" Width="99%" AllowPaging="true" PagerStyle-Mode="NextPrevAndNumeric" 
 
                        EnableEmbeddedSkins="true"></telerik:RadGrid> 
 
  
-------------- 
  
 
<telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxyViewBooking" runat="server"> 
 
    <AjaxSettings> 
 
        <telerik:AjaxSetting AjaxControlID="ddlBookings"> 
 
            <UpdatedControls> 
 
                <telerik:AjaxUpdatedControl ControlID="grdBookings" LoadingPanelID="RadAjaxLoadingPanel2" /> 
 
                <telerik:AjaxUpdatedControl ControlID="ddlBookings" /> 
 
            </UpdatedControls> 
 
        </telerik:AjaxSetting> 
 
        <telerik:AjaxSetting AjaxControlID="grdBookings"> 
 
            <UpdatedControls> 
 
                <telerik:AjaxUpdatedControl ControlID="grdBookings" LoadingPanelID="RadAjaxLoadingPanel2" /> 
 
            </UpdatedControls> 
 
        </telerik:AjaxSetting> 
 
    </AjaxSettings> 
 
</telerik:RadAjaxManagerProxy> 
 
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel2" runat="server" Skin="Default"> 
 
</telerik:RadAjaxLoadingPanel> 
 

Please let us know what might be causing the problem.

Thanks in advance.


Pavlina
Telerik team
 answered on 12 Mar 2010
1 answer
114 views
RADLISTBOX with cascading example not working properly.............
e.g. im selecting multiple educations and based on that i will select specialization.........but cascading not hapning........
any clue????

Schlurk
Top achievements
Rank 2
 answered on 12 Mar 2010
2 answers
152 views
Hi,

The DatePicker SelectedDate property is returning 2 digit year on a particular deployment. All other installation of the same page returns 4 digit year. It seems something enviromental causing this 2 digit year behavior. Any ideas on what could cause this?

<%@ Page Language="C#" %> 
 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
 
<script runat="server"> 
    protected void RadDatePicker1_SelectedDateChanged(object sender, Telerik.Web.UI.Calendar.SelectedDateChangedEventArgs e) { 
        Label1.Text = RadDatePicker1.SelectedDate.ToString(); 
    } 
</script> 
 
<html xmlns="http://www.w3.org/1999/xhtml"> 
<head runat="server"> 
    <title></title> 
</head> 
<body> 
    <form id="form1" runat="server"> 
    <asp:ScriptManager ID="ScriptManager1" runat="server"> 
    </asp:ScriptManager> 
    <div> 
        <p> 
            <telerik:RadDatePicker ID="RadDatePicker1" runat="server" AutoPostBack="True" OnSelectedDateChanged="RadDatePicker1_SelectedDateChanged"> 
                <DateInput AutoPostBack="True"> 
                </DateInput> 
                <Calendar UseRowHeadersAsSelectors="False" UseColumnHeadersAsSelectors="False" ViewSelectorText="x"> 
                </Calendar> 
                <DatePopupButton ImageUrl="" HoverImageUrl=""></DatePopupButton> 
            </telerik:RadDatePicker> 
            &nbsp;<asp:Label ID="Label1" runat="server" Text="Label"></asp:Label></p> 
        <p> 
    </div> 
    </form> 
</body> 
</html> 


Thanks,
Dev.
Devaraj
Top achievements
Rank 1
 answered on 12 Mar 2010
1 answer
92 views
Hi,

I've installed RadEditor in DotNetNuke 5.1.4 using the downloaded Module installation pack.
However, it seems that the RadEditor does not understand the properties inside the xml...below are my ConfigFile.xml from \DesktopModules\TelerikWebUI\RadEditorProvider\

<?xml version="1.0" encoding="utf-8" ?> 
<configuration> 
  <property name="Skin">Default</property> 
  <property name="NewLineBr">false</property> 
  <property name="Width">600</property> 
</configuration> 

Did I missing anything? Thank you.

George Lew
Rumen
Telerik team
 answered on 12 Mar 2010
1 answer
80 views
All Combobox entrys are not visible in my Project (See Attach). But in Code there are entrys.

<div style="width: 500px; float: left;"> 
       <div id="ctl00_C_Inhalt_CB_Testobjekt" class="RadComboBox RadComboBox_Default" style="width:350px;display:-moz-inline-stack;display:inline-block;zoom:1;*display:inline;">
 <table cellpadding="0" cellspacing="0" summary="combobox" border="0" style="border-width:0;table-layout:fixed;border-collapse:collapse;width:100%">
  <tr>
   <td class="rcbInputCell rcbInputCellLeft" style="margin-top:-1px;margin-bottom:-1px;width:100%;"><input name="ctl00$C_Inhalt$CB_Testobjekt" type="text" class="rcbInput rcbEmptyMessage" id="ctl00_C_Inhalt_CB_Testobjekt_Input" value="Testobjekt wählen..." style="display: block;" /></td><td class="rcbArrowCell rcbArrowCellRight" style="margin-top:-1px;margin-bottom:-1px;"><a id="ctl00_C_Inhalt_CB_Testobjekt_Arrow" style="overflow: hidden;display: block;position: relative;outline: none;">select</a></td>
  </tr>
 </table><div class="rcbSlide" style="z-index:6000;"><div id="ctl00_C_Inhalt_CB_Testobjekt_DropDown" class="RadComboBoxDropDown RadComboBoxDropDown_Default " style="float:left;display:none;"><div class="rcbScroll rcbWidth" style="width:100%;"><ul class="rcbList" style="list-style:none;margin:0;padding:0;zoom:1;"><li class="rcbItem "></li><li class="rcbItem ">Proband m&#228;nnlich</li><li class="rcbItem ">Proband weiblich</li><li class="rcbItem ">Teil eines postmortalen Testobjekt m&#228;nnlich</li><li class="rcbItem ">Teil eines postmortalen Testobjekt weiblich</li><li class="rcbItem ">Postmortales Testobjekt m&#228;nnlich</li><li class="rcbItem ">Postmortales Testobjekt weiblich</li><li class="rcbItem ">Teil eines Dummy (z.B. Kopf mit Hals, festgesetzt)</li><li class="rcbItem ">Dummy (z.B. Hybrid III)</li><li class="rcbItem ">Teil eines Tier m&#228;nnlich</li><li class="rcbItem ">Teil eines Tier weiblich</li><li class="rcbItem ">Tier m&#228;nnlich</li><li class="rcbItem ">Tier weiblich</li></ul></div></div></div><input id="ctl00_C_Inhalt_CB_Testobjekt_ClientState" name="ctl00_C_Inhalt_CB_Testobjekt_ClientState" type="hidden" />
Simon
Telerik team
 answered on 12 Mar 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?