Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
142 views
I have a RadScheduler and defined like the code below. My question is:

If i already had a ajax manager in the aspx page.
1. How can i setup the ajax settings for two RadCombox: RadComboBoxAppointmentReason and RadComboBoxAppointmentLength

2. How can i write the SelectedIndexChange function for ComboBox RadComboBoxAppointmentReason at server side to update the selected index of RadComboBoxAppointmentLength

thanks

   <telerik:RadScheduler  
                        runat="server" ID="RadSchedulerCalendar" 
                        Width="800px" OverflowBehavior="Expand" 
                        EnableEmbeddedSkins="True" DayStartTime="09:00:00" DayEndTime="17:45:00" AllowInsert="true"   
                        style="float:left"   
                        TimeZoneOffset="00:00:00" ShowAllDayRow="false" SelectedView="WeekView" 
                        FirstDayOfWeek="Monday" 
                        MinutesPerRow="15" TimeLabelRowSpan="4" WorkDayEndTime="17:45:00"   
                        WorkDayStartTime="09:00:00" ShowFooter="False"   
                        StartInsertingInAdvancedForm="True" Height="1200px" LastDayOfWeek="Sunday"   
                        NumberOfHoveredRows="1" RowHeight="20px" SelectedDate=""   
                        Culture="English (Australia)"   
                        ShowNavigationPane="False" EnableDescriptionField="true"   
                        ontimeslotcreated="RadSchedulerCalendar_TimeSlotCreated"   
                        onappointmentdatabound="RadSchedulerCalendar_AppointmentDataBound"   
                        onappointmentcommand="RadSchedulerCalendar_AppointmentCommand"   
                        onformcreated="RadSchedulerCalendar_FormCreated">  
                          
                        <WeekView  
                            HeaderDateFormat="MMMM dd" 
                            ColumnHeaderDateFormat="ddd, dd" DayEndTime="17:45:00"   
                            DayStartTime="09:00:00" WorkDayEndTime="17:45:00" WorkDayStartTime="09:00:00" /> 
                        <AppointmentTemplate> 
                            <div> 
                                <%# Eval("Subject") %> 
                            </div> 
                        </AppointmentTemplate>     
                        <AdvancedInsertTemplate> 
                        <div class="appointmentEditForm">  
                            
                               
                                <div class="appointmentHeader">  
                                    <div> 
                                        Schedule:  
                                        <asp:Label ID="lblScheduleTop" runat="server" 
                                            Width="300px">  
                                        </asp:Label> 
                                    </div> 
                                    <br /> 
                                    <div> 
                                        Appointment Date/Time:  
                                        <asp:Label ID="lblAppointmentStartTop" runat="server"    
                                            Width="300px">  
                                        </asp:Label> 
                                    </div> 
                                </div> 
                                <div class="appointmentContent">  
                                    Note:<br /> 
                                    <telerik:RadTextBox ID="RadTextBoxNote" Runat="server" MaxLength="80" Rows="5"   
                                        TextMode="MultiLine" Width="600px">  
                                    </telerik:RadTextBox> 
                                    <br /> 
                                    <br />        
                                        Appointment Reason *:<br /> 
                                    <telerik:RadComboBox ID="RadComboBoxAppointmentReason" runat="server" AutoPostBack="true" 
                                        DropDownWidth="600px" Width="250px" HighlightTemplatedItems="True">  
                                        <HeaderTemplate> 
                                            <table style="width: 550px" cellspacing="0" cellpadding="0">  
                                                <tr> 
                                                    <td style="width: 350px;">  
                                                        Reason</td> 
                                                    <td style="width: 200px;">  
                                                        Color</td>   
                                                </tr> 
                                            </table> 
                                        </HeaderTemplate> 
                                        <ItemTemplate> 
                                            <table style="width: 550px;" cellspacing="0" cellpadding="0">  
                                                <tr> 
                                                    <td style="width: 350px;">  
                                                        <%# DataBinder.Eval(Container, "Text")%> 
                                                    </td> 
                                                    <td style="width: 200px;">  
                                                        <div style="background-color: <%# DataBinder.Eval(Container, "Attributes['color']") %>; width:150px; height:20px;"> 
                                                        </div> 
                                                    </td> 
                                                </tr> 
                                            </table> 
                                        </ItemTemplate> 
                                    </telerik:RadComboBox>                                    
                                    <br /> 
     
                                    <br /> 
                                        Appointment Length (min):<br /> 
                                    <telerik:RadComboBox ID="RadComboBoxAppointmentLength" runat="server"   
                                        DropDownWidth="200px" Width="150px" HighlightTemplatedItems="true">                                         
                                        <Items> 
                                            <telerik:RadComboBoxItem Value="15" Text="15 min" /> 
                                            <telerik:RadComboBoxItem Value="30" Text="30 min" /> 
                                            <telerik:RadComboBoxItem Value="45" Text="45 min" /> 
                                            <telerik:RadComboBoxItem Value="60" Text="60 min" /> 
                                        </Items> 
                                    </telerik:RadComboBox>                                     
                                </div> 
                                <br /> 
                                <div class="appointmentFooter">  
                                    <asp:Button runat="server" ID="SubmitButton" Text="Create" CommandName="Insert"/>  
                                    <asp:Button runat="server" ID="CancelButton" Text="Cancel" CommandName="Cancel" />        
                                </div> 
                        </div> 
                        </AdvancedInsertTemplate>                
                    </telerik:RadScheduler>    
Peter
Telerik team
 answered on 09 Apr 2010
1 answer
82 views
Hello all,

I would like to transfer the ability to export a grid from one page to another (maybe a pop up or otherwise). This way, upon exporting, (either with a link or command button) this page can handle the exporting functionality. The user can still use the rest of the site without waiting for the exporting process to complete. I ask this because our databinding method calls a web service that can have quite a big result set. And from our development, we've noticed that response time when performing an export is quite high. The tables might have detail tables, which does not help with speed. So is this possible? Is the grid serializable (to be used in session)?
Daniel
Telerik team
 answered on 09 Apr 2010
4 answers
178 views
Hello,

In this screenshot you can see that I have a self-referencing grid. Most of the rows however, have empty detailtables. Is there a way to hide the empty tables and the collapse/expand icon in front of rows with empty detail tables?

Kind regards,
Kristof
Mira
Telerik team
 answered on 09 Apr 2010
1 answer
81 views
Hello, please see the following link, it is my source code:
http://www.fronseetechnology.com/ShortSalesWeb/Default.aspx

You will notice the US map, try hovering over some states, I know it does the issue for sure on CA.  You will notice all of the pop-ups I am getting and it is just not working.  I used the sample application here:
http://www.telerik.com/community/forums/aspnet-ajax/tooltip/imagemap-with-tooltip-and-database-data.aspx

and here: http://demos.telerik.com/aspnet-ajax/tooltip/examples/imagemaptooltipmanager/defaultcs.aspx

- Im not sure what I have wrong, it looks like it is trying to work, but there are authentication issues (i imagine with the web service?).  Does anyone have any suggestions?   OH, a big thing I was thinking about, instead of using a web service (.asmx), cant I just call a [webmethod] directly in the code behind?  I have tried this with other code, but not this ImageMap and tooltipmanager.   I gave Everyone permission to the directory on the server, and still these issues.  Someone please help!!! Thank you

Joe






Svetlina Anati
Telerik team
 answered on 09 Apr 2010
3 answers
214 views
I am gettting a performance problem with the RADCalendar control.  When one scrolls to a different month a postback occurs.  I need a postback only on selected date changed.
Mattias
Top achievements
Rank 1
 answered on 09 Apr 2010
1 answer
116 views
Hi,

    i need to apply descending sorting for one column while loading the grid for the first time itself. is there any column properties for this. or should be done from the code behind?
if so please provide the code snippet.

Thanks,
Saravanan K
Princy
Top achievements
Rank 2
 answered on 09 Apr 2010
3 answers
131 views

Hi,

I'm working with Q3 2007 menu control (4.4.4.0)

I have a web app with the following behavior .

In IE6 and IE7 the menu appears and response well

In IE8 when the page contains large amount of data the menu response very slow

If I browse the same page with IE8 in computability mode (to IE7) the menu response fine.

Any suggestion is welcomed .

Yana
Telerik team
 answered on 09 Apr 2010
2 answers
295 views
Hi

Can anyone please let me know how to position the Vertical scroll bar of the tree view to show right beside the text of the longest nodes rather than at the very right of the screen?
Rishi
Top achievements
Rank 1
 answered on 09 Apr 2010
1 answer
79 views
Hello Sir,
i am using Scheduler Control, I want to Change Color Of Given Appointment.
how can i achive. Please Help me.
Peter
Telerik team
 answered on 09 Apr 2010
1 answer
116 views
Hello,

I've a RadSplitter in a master page with two RadPanes.
RadPane1 contain the RadTreeView and RadPane2 contain the ContentPlaceHolder.
The RadTreeview loads data from an XML file and navigate to various pages.

Is there away to persist the state of the RadTreeview when navigate to other pages?

The old way was to put a Target="RadPane2" in the XML attribute.

Thanks
Peter
Telerik team
 answered on 09 Apr 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?