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

We are using the Telerik Rad Controls for ASP.Net suite and have used the RadSpell control in a few places in our application.  We are finding some issues, however, when the dialog displays that it will hide the word which is in error by scrolling beyond the word.  This appears NOT to occur in IE 8 but does occur in Safari, Chrome and Firefox. 

I have attached a screen shot showing the behavior.  In this example the misspelled word "MPN" is being detected as erroneous by RadSpell.  However, the "not in dictionary" dialog is scrolled farther than expected effectively blocking the misspelled word.  The user would have to scroll up to actually see the error. 

This spell checker is attached to a RadEditor which accepts HTML.  When I copy the content of the editor to NotePad and clear the HTML and try to spell check again, the word is highlighted properly.

It looks like RadSpell isn't able to scroll to the proper word depending on the content.  I'm not sure why it tries to scroll down at all becuase in IE it is always scrolled to the top where the misspelled word is.

Please advise.
Rumen
Telerik team
 answered on 27 Feb 2012
2 answers
180 views
I was not able to set the auto height alignment for Custom appointment in the RadScheduler.

In my scenario,

1. I'm Using  Telerik AJAX UI Q2 2011 and Dot.net 4.0 Framework. (i'm not in any position to this configuration)
2. I'm using Custom Appointment Template (Height 90px x Width 130px) and it must show without any freezing/shrink as exact dimension.
3. I want to have Dynamic Cell alignment in scheduler hence i don't want to set the row height and column width in the scheduler control when i bind datasource. B'coz If i set these values RowHeight="90" ColumnWidth="130" all the cells allotted with the same dimension. Here if i have no events on particular hours i don't want to see that cell has more space. please refer screenshot for more information.
4. Here i give you the code i used. Almost we have using this scheduler only to show events/appointments, we don't need to create appointments and any other edit modal functionality (just read only functionality)
<telerik:RadScheduler runat="server" ID="eventCalendar" Skin="Web20" ShowAllDayRow="false" RowHeight="90"
                        ColumnWidth="130" DayView-ShowResourceHeaders="false"
                        AllowDelete="false" AllowInsert="false" AllowEdit="false" AdvancedForm-Modal="false"  
                        AdvancedForm-Enabled="false" AppointmentStyleMode="Auto" DayView-ReadOnly="true"
                        WeekView-ReadOnly="true" MonthView-ReadOnly="true" TimelineView-ReadOnly="true" OnNavigationComplete="SchedulerNavigating"
                        ReadOnly="true" Height="600px" Width="775px" OverflowBehavior="Expand" CustomAttributeNames="DisplayStartTime,EventRecurrenceId, EventColor, DisplayEndTime,
                        StartDate,EndDate,DisplayPermitName,DisplayFacilityVisibility,DisplayDayViewGroupOrder,
                        DisplayClientVisibility,DisplayResourceVisibility,Id, EventColor
                        IsEditableEvent,DisplayCalendarTime,IsHoliday,IsRecurrence,ExpectedAttendance"
                        DataStartField="StartDate" EnableDatePicker="true"
                        EnableEmbeddedSkins="true" DataDescriptionField="EventColor" MonthView-GroupingDirection="Horizontal"
                        DataEndField="EndDate" DataKeyField="Id" DataRecurrenceParentKeyField="EventRecurrenceId"  WeekView-EnableExactTimeRendering="true"
                        DayView-ShowHoursColumn="true" DataRecurrenceField="EventRecurrenceId" FirstDayOfWeek="Sunday"
                        LastDayOfWeek="Saturday" DataSubjectField="DisplayPermitName"
                        WeekView-GroupingDirection="Horizontal" OnAppointmentDataBound="eventCalendar_AppointmentDataBound" >
                        <ExportSettings OpenInNewWindow="true" FileName="SchedulerExport">
                            <Pdf PageTitle="Schedule" Author="Telerik" Creator="Telerik" Title="Schedule" />
                        </ExportSettings>
                        <%--<ResourceTypes>
                            <telerik:ResourceType AllowMultipleValues="true" KeyField="DisplayResourceName" Name="Resource" TextField="DisplayResourceName" ForeignKeyField="DisplayResourceName" />
                        </ResourceTypes>--%>
                        <%--TimelineView-NumberOfSlots="7"--%>
                        <%--daystarttime="08:00:00" dayendtime="23:00:00"  DayStartTime="08:00:00" DayEndTime="18:00:00"--%>
                        <AppointmentTemplate>
                            <asp:Panel ID="appPanel" runat="server" Width="130" Height="130" style="min-heightL: 120px;">
                                <table cellpadding="0" cellspacing="0" border="0" width="100%" height="100%">
                                    <tr>
                                        <td id="divColorChange" runat="server" style="width: 5px; min-width: 5px; max-width: 10px !important;">
                                            <div width="100%">
                                                &nbsp;
                                            </div>
                                        </td>
                                        <td id="divApp" runat="server">
                                            <%--CustomAttributeNames="StartTime,EndTime,SessionDate,DisplayPermitName,StartDate,DisplayClientVisibility,DisplayResourceVisibility,DisplayFacilityVisibility,EndDate,ID,DisplayPermitVisibility,DisplayFacilityName,DisplayResourceName,DisplayClientName,Event_ID,DisplayRoomNumber"--%>
                                            <div class="AlignCenter">
                                                <p style="width: 95%">
                                                    <asp:Image ID="imageRecurrenceIcon" runat="server" Visible='<%# Convert.ToBoolean(Eval("IsRecurrence")) %>' style="float: right;"
                                                        ImageUrl="~/Images/Recurrence_icon.png" />
                                                    <asp:LinkButton runat="server" ID="lblDisplayPermitName" Visible='<%# Convert.ToBoolean(Eval("IsEditableEvent")) %>'
                                                        OnClick="RedirectToEventMaintenance" Style="font-weight: bold; color: Black; word-wrap: break-word; font-size: 10px;"  CommandArgument='<%# Eval("Id") + "~" + Eval("StartDate")%>'>
                                                                    <%# Eval("DisplayPermitName")%>
                                                    </asp:LinkButton>
                                                    <asp:Label ID="labelPermitName" Visible='<%# !Convert.ToBoolean(Eval("IsEditableEvent")) %>'
                                                    Style="font-weight: bold; color: Black; word-wrap: width: 100%; break-word; font-size: 10px;"
                                                    runat="server" Text='<%# Eval("DisplayPermitName")%>' CssClass="FontBold"></asp:Label>
                                                </p>
                                                <p style="width: 95%">
                                                    <asp:Label runat="server" ID="lblStartTime" Style="font-weight: normal; word-wrap: break-word;
                                                    color: Black; font-size: 9px; text-align: left; float: left;">
                                                    <%# Eval("DisplayCalendarTime")%></asp:Label>
                                                </p>
                                                <p style="width: 95%">
                                                    <asp:Label runat="server" ID="lblDisplayClientTypeName" Style="font-weight: normal;
                                                        word-wrap: break-word; color: Black; font-size: 9px; width: 100%; text-align: left;
                                                        float: left;" Visible='<%# Convert.ToBoolean(Eval("DisplayClientVisibility")) %>'>
                                                        <%# Eval("DisplayClientName")%>
                                                    </asp:Label>
                                                </p>
                                                <p style="width: 95%">
                                                    <asp:Label runat="server" ID="lblDisplayFacilityName" Style="font-weight: normal;
                                                    color: Black; font-size: 9px; word-wrap: break-word; width: 100%; float: left;
                                                    float: left; text-align: left; float: left;" Visible='<%# Convert.ToBoolean(Eval("DisplayFacilityVisibility")) %>'>
                                                            <%# Eval("DisplayFacilityname")%>
                                                    </asp:Label>
                                                </p>
                                                <p style="width: 95%">
                                                    <asp:Label runat="server" ID="lblDisplayResourceName" Style="font-weight: normal;
                                                        color: Black; font-size: 9px; word-wrap: break-word; width: 100%; text-align: left;
                                                        float: left;">
                                                        <%# Eval("DisplayResourceName")%>
                                                    </asp:Label>
                                                </p>
                                                <p style="width: 95%">
                                                    <asp:LinkButton ID="linkButtonMore" Visible='<%# !Convert.ToBoolean(Eval("IsHoliday")) %>'
                                                    Style="font-weight: bold; color: Black; font-size: 9px; text-align: left; float: left;" runat="server"
                                                    OnClientClick="javascript:return false;" Text="More"></asp:LinkButton>
                                                </p>
                                                <asp:HiddenField ID="hiddenFieldIsEditable" runat="server" Value='<%# Eval("DisplayIsEditableEvent")%>' />
                                            </div>
                                        </td>
                                    </tr>
                                </table>
                            </asp:Panel>
                        </AppointmentTemplate>
                    </telerik:RadScheduler>

5. All i want is in Day View mode, if any hours not utilized for any events, it supposed to not occupy any space, but still i want to show the hours timeline (my client preferred to show working hours even there is no events to show).
6. I was not able to attach my style sheet here, but really i am sure they didn't create any impact on this issue. If still it required let me know i will send in an email.
7. Actually i need a solution as similar to this issue http://www.telerik.com/community/forums/aspnet-ajax/scheduler/timeline-view-vertical-header-does-not-line-up-with-appoints.aspx


Thanks,
Ilayaraja





Plamen
Telerik team
 answered on 27 Feb 2012
1 answer
99 views
I'm trying to execute a spell check from a textbox within a ListView whenever the user submits a new record. 
Is this even possible?  My code is as follows:

    Private Sub lvStrengths_ItemInserting(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.ListViewInsertEventArgs) Handles lvStrengths.ItemInserting
        Dim item As ListViewItem = lvStrengths.InsertItem
        Dim tb As TextBox = item.FindControl("tbStrengths")
        Dim rsc As RadSpell = item.FindControl("rscStrengths")
        odsStrengths.InsertParameters(0).DefaultValue = _RptNum
        odsStrengths.InsertParameters(1).DefaultValue = tb.Text
        rsc.ControlToCheck = tb.Text
        rsc.ButtonType = ButtonType.None

    End Sub

Thanks very much!

Rumen
Telerik team
 answered on 27 Feb 2012
5 answers
568 views
Is there a way to change the Day view to have 15 minute increments on the hours panel, instead of hours?

My customer is the dental staff who usually triple or quadruple book clients for the same time periods such as 8 to 9:30am. Neither the Timeline or Day view options are giving them finite enough of a view to determine bookings without opening each one. If there were an option to expand the Day view hours panel to break out each 15 minute period this would be incredibly helpful.

Is there a way to do this, or could this feature be added in an upcoming release?

Thanks!
Peter
Telerik team
 answered on 27 Feb 2012
5 answers
284 views
Hi,

We are considering using RadScheduler for a new project and we have one question.

Is it possible to have more frequent labels for time (right side), so it would show 8:15am, 8:30am, 8:45am, 9am instead of 8am, 9am, 10am. Even 30minute intervals would be better.

Thanks,
Daryl
Peter
Telerik team
 answered on 27 Feb 2012
1 answer
71 views
For some reason I am unable to view the all day appointments in the Timeline View. Does scheduler support this functionality? If yes, what could be the problem? Thanks
Plamen
Telerik team
 answered on 27 Feb 2012
1 answer
58 views
Hello

         I'm quite new to ASP.net . I need help in displaying "Room" in header (horizontal) in RadScheduler..I've attached a pic for reference.

As you can see in the pic, when I select Location A from DropDownList/ComboBox , I need to display the rooms available in Location A (for eg Room A , Room B...etc) when I change the location to B, its room should be displayed in RadScheduler.

How can I achieve this ?

Thank you

Plamen
Telerik team
 answered on 27 Feb 2012
1 answer
339 views
Hi below is sample code. How can i retrieve value of Id for RadToolBarButton.

 <telerik:RadToolBar ID="toolbar" runat="server" Skin="Office2007" Width="100%"  CausesValidation="false" OnButtonClick="toolbar_ButtonClick" OnClientButtonClicked="OnClientButtonClicked">
        <Items>
            <telerik:RadToolBarButton ID="firstbutton" ToolTip="No Hotkey" runat="server"
                ImageUrl="~/ReusableCode/images/Submit.png" Text="&lt;u&gt;A&lt;/u&gt;pprove" Visible="false"
                FocusedCssClass="noHover" OuterCssClass="left" PostBack="true" CommandName="Approve">
            </telerik:RadToolBarButton>
        </Items> 
</telerik:RadToolBar>

Please suggest.

Regards,
Akki
Princy
Top achievements
Rank 2
 answered on 27 Feb 2012
1 answer
95 views
In the CHM file for 2012 Q1...

RadControls | RadEditor | DropDowns | Fonts. The See Also section just includes a list of GUIDs.

--
Stuart
Dobromir
Telerik team
 answered on 27 Feb 2012
3 answers
146 views
is there a straightforward way to have columns auto resize to cater for the cell contents rather than them all being the same width regardless?
Veli
Telerik team
 answered on 27 Feb 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?