This is a migrated thread and some comments may be shown as answers.

Inlinetemplate disappered when radcombo selectedindexchanged event

8 Answers 53 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
utchi
Top achievements
Rank 1
utchi asked on 16 Mar 2010, 11:19 AM
Hi,

I m having radcombo in inlinetemplate of radscheduler. when i m selecting the value from radcombo the inlinetemplate is disappears for few seconds, and i m binding values from database, & it is done by server side coding.

I dont know whether it is possible to avoid it of not?.

Please find the code i have used,
<telerik:RadScheduler runat="server" ID="RadScheduler1" ShowWeeklyColumnHeader="true" 
                                        ShowViewTabs="false" ShowHeader="true" ShowNavigationPane="true"   
                                         OnClientTimeSlotContextMenu="timeSlotContextMenu" OnClientAppointmentContextMenu="appointmentContextMenu" 
                                        OnClientAppointmentInserting="appointmentInserting" AllowDelete="false" WeekHeaderDateFormat="dd-MMM-yyyy" 
                                        StartEditingInAdvancedForm="false" OnAppointmentCommand="RadScheduler1_AppointmentCommand" 
                                        TimeZoneOffset="00:00:00" OnAppointmentInsert="RadScheduler1_AppointmentInsert" 
                                        OnNavigationComplete="RadScheduler1_NavigationCommand" ShowFullTime="true" OnClientFormCreated="ClientFormCreated" 
                                        OnFormCreated="RadScheduler1_FormCreated" RowHeight="35" OnAppointmentDataBound="RadScheduler1_AppointmentDataBound" 
                                        OnAppointmentCreated="RadScheduler1_AppointmentCreated" OnAppointmentUpdate="RadScheduler1_AppointmentUpdate" 
                                        OnAppointmentCancelingEdit="RadScheduler1_AppointmentCancelingEdit" OnClientAppointmentMoveEnd="appointmentMoveEnd">  
                                        <TimelineView UserSelectable="false" /> 
                                        <AdvancedForm Modal="true" /> 
                                        <InlineEditTemplate> 
                                            <div style="border: thin solid #008080; font: 11px arial,sans-serif; background: #00FFFF;  
                                                width: 100%"> 
                                                <table> 
                                                    <tr> 
                                                        <td align="left">  
                                                            <br /> 
                                                            <asp:Label ID="Label2" runat="server" AssociatedControlID="StartInput">Description</asp:Label> 
                                                        </td> 
                                                        <td> 
                                                            <asp:TextBox ID="txtProgramname" runat="server" Text='<%# Bind("Subject") %>' TextMode="MultiLine" 
                                                                Width="150"></asp:TextBox><br /> 
                                                        </td> 
                                                    </tr> 
                                                    <tr> 
                                                        <td align="left">  
                                                            <br /> 
                                                            <asp:Label ID="Label5" runat="server" AssociatedControlID="EndInput">Episode</asp:Label> 
                                                        </td> 
                                                        <td> 
                                                            <asp:TextBox ID="txtEpisode" Columns="500" runat="server" Width="150" TextMode="MultiLine"></asp:TextBox><br /> 
                                                        </td> 
                                                    </tr> 
                                                    <tr> 
                                                        <td align="left">  
                                                            <asp:Label ID="Label3" AssociatedControlID="StartInput" runat="server">Start time:</asp:Label> 
                                                        </td> 
                                                        <td> 
                                                            <telerik:RadTextBox ID="StartInput" Text='<%# Bind("Start") %>' runat="server" Visible="false">  
                                                            </telerik:RadTextBox><telerik:RadDateTimePicker SelectedDate='<%# Bind("Start") %>' 
                                                                ID="Starttime" runat="server" DateInput-DateFormat="dd-MMM-yyyy HH:mm">  
                                                                <DateInput ID="startdate" runat="server" OnClientDateChanged="ClientDateSelected1">  
                                                                </DateInput> 
                                                                <TimeView ID="TimeView2" runat="server" Interval="00:30:00" OnClientTimeSelected="ClientTimeSelected1">  
                                                                </TimeView> 
                                                            </telerik:RadDateTimePicker> 
                                                            <br /> 
                                                        </td> 
                                                    </tr> 
                                                    <tr> 
                                                        <td align="left">  
                                                            <asp:Label ID="Label4" AssociatedControlID="EndInput" runat="server">End time:</asp:Label> 
                                                        </td> 
                                                        <td> 
                                                            <telerik:RadTextBox ID="EndInput" Text='<%# Bind("End") %>' runat="server" Visible="false">  
                                                            </telerik:RadTextBox> 
                                                            <telerik:RadDateTimePicker ID="Endtime" SelectedDate='<%# Bind("End") %>' runat="server" 
                                                                DateInput-DateFormat="dd-MMM-yyyy HH:mm">  
                                                                <TimeView ID="TimeView1" runat="server" Interval="00:30:00" OnClientTimeSelected="ClientTimeSelected2">  
                                                                </TimeView> 
                                                            </telerik:RadDateTimePicker> 
                                                            <br /> 
                                                        </td> 
                                                    </tr> 
                                                   <tr> 
                                                        <td align="left">  
                                                            <asp:Label ID="Label6" runat="server" CssClass="inline-label">Task:</asp:Label> 
                                                        </td> 
                                                        <td> 
                                                            <telerik:RadComboBox ID="cmbtask" Text="--Select--" AutoPostBack="true" runat="server" 
                                                                Enabled="true" ShowDropDownOnTextboxClick="true" OnSelectedIndexChanged="cmbtask_SelectedIndexChanged" 
                                                                OnClientSelectedIndexChanged="clientselectedindexchanged">  
                                                                <Items> 
                                                                    <telerik:RadComboBoxItem Text="Cancel Episodes" Value="CancelEpisodes" /> 
                                                                    <telerik:RadComboBoxItem Text="Add New Programme" Value="AddNewProgramme" /> 
                                                                    <telerik:RadComboBoxItem Text="Change Break Format" Value="ChangeBreakFormat" /> 
                                                                    <telerik:RadComboBoxItem Text="Reschedule Programme" Value="RescheduleProgramme" /> 
                                                                </Items> 
                                                            </telerik:RadComboBox> 
                                                            <br /> 
                                                        </td> 
                                                    </tr> 
                                                    <tr> 
                                                        <td align="left">  
                                                            <asp:Label ID="lbl_CancelingOptions" runat="server" CssClass="inline-label" Visible="false" 
                                                                Text="Options:"></asp:Label> 
                                                        </td> 
                                                        <td> 
                                                            <asp:DropDownList runat="server" ID="drpcc" Visible="false" Width="100">  
                                                            </asp:DropDownList> 
                                                            <telerik:RadComboBox ID="cmb_CancelingOptions" Text="--Select--" runat="server" Visible="true" 
                                                                Enabled="true" ShowDropDownOnTextboxClick="true">  
                                                                <Items> 
                                                                    <telerik:RadComboBoxItem Text="Cancel this Episode and Leave Slot Blank" Value="Cancel this Episode and Leave Slot Blank" /> 
                                                                    <telerik:RadComboBoxItem Text="Cancel this Episode along with its Repeats" Value="Cancel this Episode along with its Repeats" /> 
                                                                    <telerik:RadComboBoxItem Text="Cancel All Occurances of this Programme in this Time Band" 
                                                                        Value="Cancel All Occurances of this Programme in this Time Band" /> 
                                                                    <telerik:RadComboBoxItem Text="Cancel All Programmes in this Time Band" Value="Cancel All Programmes in this Time Band" /> 
                                                                    <telerik:RadComboBoxItem Text="Cancel this Episode and All Subsequent Episodes for the Same Repeat No" 
                                                                        Value="Cancel this Episode and All Subsequent Episodes for the Same Repeat No" /> 
                                                                    <telerik:RadComboBoxItem Text="Cancel this Episode and All Subsequent Episodes along with Repeats" 
                                                                        Value="Cancel this Episode and All Subsequent Episodes along with Repeats" /> 
                                                                    <telerik:RadComboBoxItem Text="Cancel this Episode and Pull Subsequent Episodes of the Same Repeat No" 
                                                                        Value="Cancel this Episode and Pull Subsequent Episodes of the Same Repeat No" /> 
                                                                    <telerik:RadComboBoxItem Text="Cancel this Episode and Pull Subsequent Episodes in the Same Time Band" 
                                                                        Value="Cancel this Episode and Pull Subsequent Episodes in the Same Time Band" /> 
                                                                </Items> 
                                                            </telerik:RadComboBox> 
                                                            <br /> 
                                                        </td> 
                                                    </tr> 
                                                    <tr> 
                                                        <td colspan="2" align="center">  
                                                            <asp:LinkButton ID="OK" runat="server" CommandName="OK" Text="OK" Visible="false">  
                                  
                                                            <asp:LinkButton ID="ok_reschedule" runat="server" CommandName="ok_reschedule" Text="OK" 
                                                                Visible="true" OnClientClick="confirmCall()"></asp:LinkButton> 
                                                            <asp:LinkButton ID="Cancel" runat="server" CausesValidation="False" CommandName="Cancel" 
                                                                Style="margin-right: 8px;" Text="Cancel">  
                                  
                                  
                                </asp:LinkButton> 
                                                        </td> 
                                                          
                                                    </tr> 
                                            </div> 
                                            </table> </div> 
                                        </InlineEditTemplate> 
                                    </telerik:RadScheduler> 

Please give any suggestion to solve it.

Regards
Maha;)

8 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 16 Mar 2010, 03:06 PM
Hi utchi,

Have you tried using RadAjaxManager or RadAjaxPanel to avoid the postback? Let me know if this helps or not.

Best wishes,
Peter
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
utchi
Top achievements
Rank 1
answered on 17 Mar 2010, 06:56 AM
Hi,

I have tried like the following code snippet by using RadAjaxManager, but doesn't work.

          <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">  
                <AjaxSettings> 
                    <telerik:AjaxSetting AjaxControlID="RadScheduler1">  
                        <UpdatedControls> 
                            <telerik:AjaxUpdatedControl ControlID="RadScheduler1" LoadingPanelID="RadAjaxLoadingPanel1" /> 
                            <telerik:AjaxUpdatedControl ControlID="txtweeknumber" LoadingPanelID="RadAjaxLoadingPanel1" /> 
                              
                        </UpdatedControls> 
                    </telerik:AjaxSetting> 
                    <telerik:AjaxSetting AjaxControlID="cmbtask">  
                        <UpdatedControls> 
                            <telerik:AjaxUpdatedControl ControlID="RadScheduler1" LoadingPanelID="RadAjaxLoadingPanel1" /> 
                            <telerik:AjaxUpdatedControl ControlID="cmb_CancelingOptions" LoadingPanelID="RadAjaxLoadingPanel1" /> 
                        </UpdatedControls> 
                    </telerik:AjaxSetting> 
                 </AjaxSettings> 
            </telerik:RadAjaxManager> 

Give some suggestions to solve this.

Regards
Maha;)
0
Peter
Telerik team
answered on 19 Mar 2010, 01:12 PM
Hello utchi,

Well, yes, it seems that this problem cannot be avoided for now. I tried various techniques to prevent the flicker, but to no avail. I will log this problem and forward it to our developers for review. Please, excuse us for any inconvenience caused.

All the best,
Peter
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
utchi
Top achievements
Rank 1
answered on 22 Mar 2010, 07:32 AM
Hi,

Thanks for reply.

I m waiting for your suggestions to solve this.

Regards,
Maha;)

0
utchi
Top achievements
Rank 1
answered on 25 May 2010, 12:20 PM
Hi,

I need the solutions for the mentioned issue in radsheduler,

because we have to implement the application in client place.

Could you please update the status?

regards,
Maha;)
0
Peter
Telerik team
answered on 27 May 2010, 03:13 PM
Hi utchi,

Unfortunately, we haven't been able to find a workaround for this problem.


Peter
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
utchi
Top achievements
Rank 1
answered on 28 May 2010, 01:11 PM

Hi,

Ok. No Problem..

when shall i expect this solution?

Regards,
Maha
0
Peter
Telerik team
answered on 01 Jun 2010, 05:04 PM
Hello utchi,

There is no way that we know of to prevent the flicker. The only workaround is to move your logic from the server to the client.

Regards,
Peter
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Scheduler
Asked by
utchi
Top achievements
Rank 1
Answers by
Peter
Telerik team
utchi
Top achievements
Rank 1
Share this question
or