Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
176 views
I have a row in a RadGrid that contains three buttons:

<asp:Button ID="Button1" CommandName="ExpandCollapse" CommandArgument="1" Text="Button 1" runat="server" />
<asp:Button ID="Button2" CommandName="ExpandCollapse" CommandArgument="2" Text="Button 2" runat="server" />
<asp:Button ID="Button3" CommandName="ExpandCollapse" CommandArgument="3" Text="Button 3" runat="server" />

In my code-behind, I have the following code:

protected void RadGrid_ItemCommand(object sender, GridCommandEventArgs e)
{
    if ((e.CommandName == RadGrid.ExpandCollapseCommandName) && !e.Item.Expanded)
    {
        // Do stuff here...
    }
}

When I click on a button for the first time, I have a NestedViewTemplate that gets shown. How do I keep the NestedViewTemplate open if I click a different button in the same row? For example, I click button 1 to open the NestedViewTemplate and then I click button 2 to keep the NestedViewTemplate open while showing different data.
Troy
Top achievements
Rank 1
 answered on 03 Feb 2011
22 answers
249 views
I'm trying to implement an appointment context menu, unfortunately it's giving me an exception here:

Javascript -
l.findItemByValue("CommandEdit").set_enabled(true);
l.findItemByValue("CommandDelete").set_enabled(true);

The scheduler's code is as follows:
<telerik:RadScheduler ID="radScheduler" runat="server" DayEndTime="19:00:00" FirstDayOfWeek="Monday"
    LastDayOfWeek="Sunday" OverflowBehavior="Expand" SelectedView="WeekView" ShowAllDayRow="True"
    ShowFooter="False" Skin="Windows7" WorkDayEndTime="19:00:00" OnClientAppointmentClick="OnClientAppointmentClick"
    OnClientTimeSlotClick="OnClientTimeSlotClick" ShowViewTabs="False" CustomAttributeNames="FileCode, DocketNo"
    AdvancedForm-EnableCustomAttributeEditing="true" AllowInsert="False" OnTimeSlotCreated="radScheduler_TimeSlotCreated"
    OnFormCreated="radScheduler_FormCreated" StartInsertingInAdvancedForm="false"
    EnableDescriptionField="true" EnableCustomAttributeEditing="true" Localization-AdvancedSubject="Code Center"
    OnAppointmentContextMenuItemClicked="radScheduler_AppointmentContextMenuItemClicked">
    <AdvancedForm Modal="True" />
    <Localization AdvancedSubject="Code Center"></Localization>
    <TimelineView UserSelectable="False" />
    <MonthView UserSelectable="False" />
    <AppointmentContextMenus>
        <telerik:RadSchedulerContextMenu ID="contextMenu" runat="server">
            <Items>
                <telerik:RadMenuItem runat="server" Text="Negate Timesheet" Value="NegateCommand">
                </telerik:RadMenuItem>
            </Items>
        </telerik:RadSchedulerContextMenu>
    </AppointmentContextMenus>
</telerik:RadScheduler>


The I even tried generating the context menu from telerik's plugin GUI.

Thanks in advance for your help.

Daryl
Peter
Telerik team
 answered on 03 Feb 2011
2 answers
149 views
Hi,

I am opening a rad window from code behind on a button click.   The rad window is used to display the contents of a multi-line text box.  I pass 3 parameters, strErrorId, strFieldName and strFieldValue,  to the window and usually it works fine.  But ,I get the error ' ...is not a valid virtural path' when one of the parameters passed to the window contains the name of an aspx page or is stored with multiple lines.

Does anyone know how I can pass these type of parameters correctly?

Thank you for your help.

For Example:
If the strFieldValue parameter is http://localhost:54807/WebForm6.aspx then I get the error
~/Modules/Central/WBF CTL Large Field Display.aspx?&ErrorId=216ad1a1-d3b8-4ef0-b70d-c4b1b44fa0d8&FieldName=HTTP Reference&FieldValue=http://localhost:54807/WebForm6.aspx' is not a valid virtual path.

If the strFieldValue parameter is Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; InfoPath.2; .NET4.0C; .NET4.0E) then I do not get the error.

If the strFieldValue parameter is the following I also get the error.
HTTP_CACHE_CONTROL:no-cache
HTTP_CONNECTION:Keep-Alive
HTTP_CONTENT_LENGTH:524812
HTTP_CONTENT_TYPE:application/x-www-form-urlencoded
HTTP_ACCEPT:image/jpeg, image/gif, image/pjpeg, application/x-ms-application, application/xaml+xml, application/x-ms-xbap, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
HTTP_ACCEPT_ENCODING:gzip, deflate
HTTP_ACCEPT_LANGUAGE:en-US
HTTP_COOKIE:ASP.NET_SessionId=ipdmwwfq52c0mmit2vqqif55
HTTP_HOST:localhost:54807
HTTP_REFERER:http://localhost:54807/WebForm6.aspx
HTTP_USER_AGENT:Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; InfoPath.2; .NET4.0C; .NET4.0E

 

Below is the code I am using to open the rad widnow
Public Sub ShowFieldDescription(ByVal sender As Object, ByVal e As EventArgs)
       Dim ibtDescription As ImageButton = DirectCast(sender, ImageButton)
       Dim frvView As FormView = DirectCast(ibtDescription.NamingContainer, FormView)
       Dim strFieldName As String = ibtDescription.AlternateText.ToString
       Dim strErrorId As String = DirectCast(frvView.FindControl("ErrorId"), Label).Text
       Dim txtField As TextBox
       Dim strFieldValue As String = ""
       Select Case strFieldName
           Case "Error Description"
               txtField = DirectCast(frvView.FindControl("ErrorDescription"), TextBox)
           Case "Error Comments"
               txtField = DirectCast(frvView.FindControl("ErrorComments"), TextBox)
           Case "HTTP Reference"
               txtField = DirectCast(frvView.FindControl("SourceHTTPReference"), TextBox)
           Case "Form Data"
               txtField = DirectCast(frvView.FindControl("SourceFormData"), TextBox)
           Case "All HTTP Headers"
               txtField = DirectCast(frvView.FindControl("SourceAllHTTPHeaders"), TextBox)
           Case "HTTP User Agent"
               txtField = DirectCast(frvView.FindControl("SourceHTTPUserAgent"), TextBox)
       End Select
       strFieldValue = txtField.Text.ToString
       Dim rwdFieldDisplay As New RadWindow
       Dim strNavigation As String = "~/Modules/Central/WBF CTL Large Field Display.aspx?&ErrorId=" + strErrorId + "&FieldName=" + strFieldName + "&FieldValue=" + strFieldValue
       rwdFieldDisplay.ID = "rwdDisplay"
       rwdFieldDisplay.NavigateUrl = strNavigation
       rwdFieldDisplay.Skin = "Black"
       rwmFieldDescription.Windows.Add(rwdFieldDisplay)

Tracy
Top achievements
Rank 1
 answered on 03 Feb 2011
1 answer
149 views
I have a RadScheduler and RadMenu on the same page and if the web browser height is not tall enought when you open any dropdown menu on the page it open upwards and under the RadMenu control.  I've tried setting the Z-index on the RadMenu and Scheduler but it doesn't seem to help.  How can I make the dropdowns on the adavance edit form always pop up over the remu.  Please see the screen shot of the current problem.

Thanks
Peter
Telerik team
 answered on 03 Feb 2011
5 answers
137 views
I have a custom add/edit appointment form and on it I have an All Day checkbox.

I'd like to use the functionality that appears in the more standard forms in that when the checkbox is checked, the time pickers disappear.

Being naturally lazy, I didn't want to have to write the code myself. Is it possible to tie in to the script that the standard forms use?

-- 
Lazy of Grantham
Peter
Telerik team
 answered on 03 Feb 2011
2 answers
226 views
Hi,
I am post form data from, say, source.aspx to destination.aspx page. The source.aspx page has some checkboxes which are used in a SQL query in the destination.aspx page. For example,

 if (Request.Form["color_spice"] != null) { WhereClause += " OR ado_products_fabrics.color = 'spice'"; }

The first time the destination page loads the RadListView shows the pagination fine. However, clicking on the RadDataPager under the RadListView causes a postback where the source.aspx page's Form data are lost. I have tried using PreviousPage.FindControl() method but that too does not resolve in the pagination's postback.

So what can I do? I don't want to use Session variables--there are going to be dozens of controls from the source.aspx page passing values to destination.aspx page. Cookies too will be too much to track then?

Below are the code-fragments for the .aspx and the .cs files.

Thanks!

<form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    </telerik:RadScriptManager>
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadListView1">
                <UpdatedControls>
                     
                    <telerik:AjaxUpdatedControl ControlID="ListViewPanel1" LoadingPanelID="RadAjaxLoadingPanel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>
    <div style="width: 880">
     <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Black">
        </telerik:RadAjaxLoadingPanel>
        <asp:Panel ID="ListViewPanel1" runat="server">
        <telerik:RadListView ID="RadListView1" runat="server" DataKeyNames="fabricid" AllowPaging="True">
            <LayoutTemplate>
                <div class="RadListView RadListViewFloated RadListView_Default">
                    <div class="rlvFloated">
                        <div id="itemPlaceholder" runat="server">
                        </div>
                    </div>
                </div>
                 <telerik:RadDataPager ID="RadDataPager1" runat="server" PagedControlID="RadListView1">
            <Fields>
                <telerik:RadDataPagerButtonField FieldType="Numeric"  />
            </Fields>
        </telerik:RadDataPager>
            </LayoutTemplate>
.....


protected void Page_Load(object sender, EventArgs e)
   {
       String WhereClause = string.Empty;
     
       //determine which button clicked http://stackoverflow.com/questions/1099020/asp-net-cross-page-posting
       if (Request.Form["btnTextGeneric"] != null)
       {
           // do button 1 stuff
 
       }
       else if (Request.Form["btnCBFabrics"] != null)
       {
             /////COLORS
          if (Request.Form["color_spice"] != null) { WhereClause += " OR ado_products_fabrics.color = 'spice'"; }
     .....
if (WhereClause != "")
       {
           RadListView1.DataSource = GetDataTable("SELECT * FROM [ado_products_fabrics] WHERE 0 = 1" + WhereClause);
       }
       else
       {
           RadListView1.DataSource = GetDataTable("SELECT * FROM [ado_products_fabrics]");
       }
            
           RadListView1.DataBind();

Meengla
Top achievements
Rank 1
 answered on 03 Feb 2011
0 answers
89 views
i use from radrating control but i when click on stars not call event
onrating not fired

help me thanks
ali
Top achievements
Rank 1
 asked on 03 Feb 2011
1 answer
144 views
Hi experts
i am using following code and it is not showing me advanced form, if i remove the advanced-form mode attribute than it is working fine.
Could you explain me the concept behind this
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadScheduler1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadScheduler1" LoadingPanelID="RadAjaxLoadingPanel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" />
    <telerik:RadScheduler runat="server" ID="RadScheduler1" SelectedDate="2007-03-30"
        ShowViewTabs="False" StartEditingInAdvancedForm="true" DataSourceID="AppointmentsDataSource"
        DataKeyField="ID" DataSubjectField="Subject" DataStartField="Start" DataEndField="End"
        DataRecurrenceField="RecurrenceRule" DataRecurrenceParentKeyField="RecurrenceParentID"
        OnAppointmentCommand="RadScheduler1_AppointmentCommand" OnFormCreated="RadScheduler1_FormCreated"
        OnFormCreating="RadScheduler1_FormCreating" OnAppointmentCreated="RadScheduler1_AppointmentCreated"
        Height="" StartInsertingInAdvancedForm="true" AdvancedForm-Modal="true">
        <ResourceTypes>
            <telerik:ResourceType KeyField="ID" Name="AppointmentType" TextField="Keyword" ForeignKeyField="AppointmentTypeID"
                DataSourceID="AppointmentTypesDataSource" />
        </ResourceTypes>
        <ResourceStyles>
            <telerik:ResourceStyleMapping Type="AppointmentType" Text="technical" ApplyCssClass="rsCategoryGreen" />
            <telerik:ResourceStyleMapping Type="AppointmentType" Text="specification_review"
                ApplyCssClass="rsCategoryOrange" />
            <telerik:ResourceStyleMapping Type="AppointmentType" Text="code_review" ApplyCssClass="rsCategoryBlue" />
        </ResourceStyles>
        <%--        <InlineInsertTemplate>
            <div id="InlineInsertTemplate" class="rsCustomAppointmentContainer technical">
                <div>
                </div>
                <span class="rsCustomAppointmentContainerInner">
                    <asp:TextBox ID="TitleTextBox" runat="server" Text='<%# Bind("Subject") %>' Width="90%"
                        TextMode="MultiLine" Height="20px"></asp:TextBox>
                    <asp:LinkButton ID="InsertButton" runat="server" CommandName="Insert">
                        <asp:Image runat="server" ID="insertImage" ImageUrl="../images/ok.png" AlternateText="insert" />
                    </asp:LinkButton>
                    <asp:LinkButton ID="InsertCancelButton" runat="server" CausesValidation="False" CommandName="Cancel">
                        <asp:Image runat="server" ID="Image2" ImageUrl="../images/cancel.png" AlternateText="cancel" />
                    </asp:LinkButton>
                    <span class="inline-label">Color code:</span>
                    <asp:RadioButtonList runat="server" ID="AppointmentTypeRadioButtonList" DataValueField="ID"
                        CssClass="AppointmentTypeSelectorTable" DataSourceID="AppointmentTypesDataSource"
                        SelectedValue='<%# Bind("AppointmentTypeID") %>' DataTextField="Keyword" RepeatDirection="Horizontal"
                        DataTextFormatString="<span class='AppointmentTypeSelector rsAptType_{0}'></span>">
                    </asp:RadioButtonList>
                    <asp:LinkButton ID="InsertMoreButton" runat="server" CommandName="More" CssClass="rsAdvancedEditLink">Advanced</asp:LinkButton>
                </span>
            </div>
        </InlineInsertTemplate>
        <InlineEditTemplate>
            <div id="InlineEditTemplate" class="rsCustomAppointmentContainer <%# Eval("AppointmentType.Text") %>">
                <div>
                </div>
                <span class="rsCustomAppointmentContainerInner">
                    <asp:TextBox ID="TitleTextBox" runat="server" Text='<%# Bind("Subject") %>' Width="90%"
                        TextMode="MultiLine" Height="20px"></asp:TextBox>
                    <asp:LinkButton ID="InsertButton" runat="server" CommandName="Update">
                        <asp:Image runat="server" ID="insertImage" ImageUrl="../images/ok.png" AlternateText="update" />
                    </asp:LinkButton>
                    <asp:LinkButton ID="InsertCancelButton" runat="server" CausesValidation="False" CommandName="Cancel">
                        <asp:Image runat="server" ID="Image3" ImageUrl="../images/cancel.png" AlternateText="cancel" />
                    </asp:LinkButton>
                    <span class="inline-label">Color code:</span>
                    <asp:RadioButtonList runat="server" ID="AppointmentTypeRadioButtonList" DataValueField="ID"
                        CssClass="AppointmentTypeSelectorTable" DataSourceID="AppointmentTypesDataSource"
                        SelectedValue='<%# Bind("AppointmentTypeID") %>' DataTextField="Keyword" RepeatDirection="Horizontal"
                        DataTextFormatString="<span class='AppointmentTypeSelector rsAptType_{0}'></span>">
                    </asp:RadioButtonList>
                    <asp:LinkButton ID="InsertMoreButton" runat="server" CommandName="More" CssClass="rsAdvancedEditLink">Advanced</asp:LinkButton>
                </span>
            </div>
        </InlineEditTemplate>--%>
        <AppointmentTemplate>
            <div class="rsCustomAppointmentContainer <%# Eval("AppointmentType.Text") %>">
                <h2>
                    <%# Eval("Subject") %>
                </h2>
                <div>
                </div>
            </div>
        </AppointmentTemplate>
        <AdvancedEditTemplate>
            <div id="qsfexAdvEditWrapper">
                <div id="qsfexAdvEditInnerWrapper" class='<%# Eval("AppointmentType.Text") %>'>
                    <div class="qsfexAdvAppType">
                    </div>
                    <div class="qsfexAdvEditControlWrapper">
                        <asp:Label ID="Label1" AssociatedControlID="TitleTextBox" runat="server" CssClass="inline-label">Description</asp:Label>
                        <asp:TextBox ID="TitleTextBox" Rows="5" Columns="20" runat="server" Text='<%# Bind("Subject") %>'
                            Width="97%" TextMode="MultiLine"></asp:TextBox><br />
                    </div>
                    <div class="qsfexAdvEditControlWrapper">
                        <asp:Label ID="Label2" AssociatedControlID="StartInput" runat="server" CssClass="inline-label">Start time:</asp:Label>
                        <telerik:RadDateInput ID="StartInput" SelectedDate='<%# Bind("Start") %>' runat="server">
                        </telerik:RadDateInput><br />
                    </div>
                    <div class="qsfexAdvEditControlWrapper">
                        <asp:Label ID="Label3" AssociatedControlID="EndInput" runat="server" CssClass="inline-label">End time:</asp:Label>
                        <telerik:RadDateInput ID="EndInput" SelectedDate='<%# Bind("End") %>' runat="server">
                        </telerik:RadDateInput><br />
                    </div>
                    <div class="qsfexAdvEditControlWrapper">
                        <div class="inline-label">
                            Color code:</div>
                        <div id="qsfexAdvEditColorCodeChooser">
                            <asp:RadioButtonList runat="server" ID="AppointmentTypeRadioButtonList" DataValueField="ID"
                                CssClass="AppointmentTypeSelectorTable" DataSourceID="AppointmentTypesDataSource"
                                SelectedValue='<%# Bind("AppointmentTypeID") %>' DataTextField="Keyword" RepeatDirection="Horizontal"
                                DataTextFormatString="<span class='AppointmentTypeSelector rsAptType_{0}'></span>">
                            </asp:RadioButtonList>
                        </div>
                    </div>
                    <div class="qsfexAdvEditControlWrapper">
                        <asp:CheckBox ID="RepeatCheckBox" runat="server" Text="Repeat for 10 days" CssClass="repeatCheckBox" />
                    </div>
                    <div class="qsfexAdvEditControlWrapper" style="text-align: right;">
                        <asp:LinkButton ID="UpdateButton" runat="server" CommandName="Update">
                            <asp:Image runat="server" ID="insertImage" ImageUrl="../images/ok.png" AlternateText="update" /></asp:LinkButton>
                        <asp:LinkButton ID="UpdateCancelButton" runat="server" CausesValidation="False" CommandName="Cancel"
                            Style="margin-right: 8px;">
                            <asp:Image runat="server" ID="Image2" ImageUrl="../images/cancel.png" AlternateText="cancel" /></asp:LinkButton>
                    </div>
                </div>
            </div>
        </AdvancedEditTemplate>
        <AdvancedInsertTemplate>
            <div id="qsfexAdvEditWrapper">
                <div id="qsfexAdvEditInnerWrapper" class="technical">
                    <div class="qsfexAdvAppType">
                    </div>
                    <div class="qsfexAdvEditControlWrapper">
                        <asp:Label ID="Label4" AssociatedControlID="TitleTextBox" runat="server" CssClass="inline-label">Description</asp:Label>
                        <asp:TextBox ID="TitleTextBox" Rows="5" Columns="20" runat="server" Text='<%# Bind("Subject") %>'
                            Width="97%" TextMode="MultiLine"></asp:TextBox><br />
                    </div>
                    <div class="qsfexAdvEditControlWrapper">
                        <asp:Label ID="Label5" AssociatedControlID="StartInput" runat="server" CssClass="inline-label">Start time:</asp:Label>
                        <telerik:RadDateInput ID="StartInput" SelectedDate='<%# Bind("Start") %>' runat="server">
                        </telerik:RadDateInput><br />
                    </div>
                    <div class="qsfexAdvEditControlWrapper">
                        <asp:Label ID="Label6" AssociatedControlID="EndInput" runat="server" CssClass="inline-label">End time:</asp:Label>
                        <telerik:RadDateInput ID="EndInput" SelectedDate='<%# Bind("End") %>' runat="server">
                        </telerik:RadDateInput><br />
                    </div>
                    <div class="qsfexAdvEditControlWrapper">
                        <div class="inline-label">
                            Color code:</div>
                        <div id="qsfexAdvEditColorCodeChooser">
                            <asp:RadioButtonList runat="server" ID="AppointmentTypeRadioButtonList" DataValueField="ID"
                                CssClass="AppointmentTypeSelectorTable" DataSourceID="AppointmentTypesDataSource"
                                SelectedValue='<%# Bind("AppointmentTypeID") %>' DataTextField="Keyword" RepeatDirection="Horizontal"
                                DataTextFormatString="<span class='AppointmentTypeSelector rsAptType_{0}'></span>">
                            </asp:RadioButtonList>
                        </div>
                    </div>
                    <div class="qsfexAdvEditControlWrapper">
                        <asp:CheckBox ID="RepeatCheckBox" runat="server" Text="Repeat for 10 days" CssClass="repeatCheckBox" />
                    </div>
                    <div class="qsfexAdvEditControlWrapper" style="text-align: right;">
                        <asp:LinkButton ID="InsertButton" runat="server" CommandName="Insert">
                            <asp:Image runat="server" ID="Image4" ImageUrl="../images/ok.png" AlternateText="update" /></asp:LinkButton>
                        <asp:LinkButton ID="InsertCancelButton" runat="server" CausesValidation="False" CommandName="Cancel"
                            Style="margin-right: 8px;">
                            <asp:Image runat="server" ID="Image5" ImageUrl="../images/cancel.png" AlternateText="cancel" /></asp:LinkButton>
                    </div>
                </div>
            </div>
        </AdvancedInsertTemplate>
        <TimeSlotContextMenuSettings EnableDefault="true" />
        <AppointmentContextMenuSettings EnableDefault="true" />
    </telerik:RadScheduler>
    <asp:EntityDataSource ID="AppointmentsDataSource" runat="server" ConnectionString="name=TutorPortalEntities"
        DefaultContainerName="TutorPortalEntities" EnableDelete="True" EnableFlattening="False"
        EnableInsert="True" EnableUpdate="True" EntitySetName="Templates_Appointments">
    </asp:EntityDataSource>
    <asp:EntityDataSource ID="AppointmentTypesDataSource" runat="server" ConnectionString="name=TutorPortalEntities"
        DefaultContainerName="TutorPortalEntities" EnableDelete="True" EnableFlattening="False"
        EnableInsert="True" EnableUpdate="True" EntitySetName="Templates_AppointmentTypes">
    </asp:EntityDataSource>
    </form>
    <script type="text/javascript">
        var $ = $telerik.$;
 
        // Toggles the inline form style when choosing a resource from the radio buttons.
        $('.AppointmentTypeSelectorTable input[type=radio]').live('click',
            function () {
                appType = $('input ~ label > span', this.parentNode)[0].className.match(/rsAptType_(.+?)\b/i)[1];
 
                var parentElement = $(this).parents('.rsCustomAppointmentContainer');
                if (parentElement.length == 0) {
                    var parentElement = $(this).parents('#qsfexAdvEditInnerWrapper');
 
                    if (parentElement.length == 0)
                        return;
 
                    parentElement.attr('className', appType);
                } else {
                    parentElement.attr('className', 'rsCustomAppointmentContainer ' + appType);
                }
 
            });
    </script>
</asp:Content>
Nikolay Tsenkov
Telerik team
 answered on 03 Feb 2011
3 answers
357 views
We have a requirement to show scheduled tasks for each individual. The tasks will be edited using a different mechanism, not via the scheduler, but we'd like to display them on a scheduler screen.

The data is loading, but the text on the calendar is blank; the attached screenshot shows how it looks, with the tooltip visible but no text on the calendar. here's the definition.

<telerik:RadScheduler ID="RadSchedulerCommitments" runat="server" AllowDelete="False"
AllowEdit="False" AllowInsert="False" DataSourceID="dsCommitments" SelectedView="MonthView"
DataStartField="DueDate" DataEndField="DueDate"
DataKeyField="CommitmentID" DataSubjectField="CommitmentItem"
OverflowBehavior="Expand" ReadOnly="True" ShowHoursColumn="True"
ShowViewTabs="False" >
</telerik:RadScheduler>

Any idea what's wrong?
Veronica
Telerik team
 answered on 03 Feb 2011
5 answers
295 views
I have a RadCombobox in a tooltip, and want the dropdown to be shown when the tooltip is displayed. But setting OpenDropDownOnLoad to true doesn't work...
jc mag
Top achievements
Rank 1
 answered on 03 Feb 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?