Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
261 views
Can any one please explain how can we connect to and display the contents from sharepoint folder and files in this File explorer control ?
Fiko
Telerik team
 answered on 09 Dec 2009
2 answers
164 views

I've attached a couple of images showing my issue.  We are using the RadMenu on our master page and using the 2008.Q3 skin named "Default" by utilizing the Direct Skin registration method detailed in this post: http://www.telerik.com/community/forums/aspnet-ajax/menu/radmenu-q3-2008-skins-available-for-download.aspx

This has been working well and the menu is rendered in the old default skin, see telerikexample1.jpg.  On one page on our site we have a RadScheduler.  The issue is that when I add an Appointment context menu to the RadScheduler the RadMenu changes to the new Default skin, see telerikexample2.jpg. 

Here is the RadScheduler code:

<telerik:RadScheduler ID="RadScheduler1" runat="server" ShowFooter="False" TimeZoneOffset="00:00:00" 
                        SelectedView="MonthView" TimelineView-UserSelectable="false" EnableEmbeddedSkins="true" 
                        OverflowBehavior="Scroll" OnAppointmentUpdate="RadScheduler_AppointmentUpdate" 
                        DataKeyField="TransactionID" DataStartField="ServiceStartTime" DataEndField="ServiceEndTime" 
                        DataSubjectField="Subject" OnAppointmentDataBound="RadScheduler_AppointmentDataBound" 
                        OnFormCreating="RadScheduler_FormCreating" HoursPanelTimeFormat="htt" ValidationGroup="RadScheduler1" 
                        StartEditingInAdvancedForm="false" StartInsertingInAdvancedForm="False" EnableRecurrenceSupport="false" 
                        CustomAttributeNames="OrdersDisciplineCode,ProcessingStatus,EncounterID,TransactionID,EditLinkURL,DeleteLinkURL" 
                        AdvancedForm-EnableCustomAttributeEditing="true" RowHeight="18" OnNavigationCommand="RadScheduler1_NavigationCommand" 
                        OnTimeSlotCreated="RadScheduler_TimeSlotCreated" ColumnWidth="90" Height="510px" 
                        Width="649px" EnableAdvancedForm="false" AllowDelete="false">  
                        <MonthView VisibleAppointmentsPerDay="10" ReadOnly="true" /> 
                        <TimelineView UserSelectable="False" /> 
                        <TimeSlotContextMenuSettings EnableDefault="false" /> 
                        <AppointmentContextMenus> 
                            <telerik:RadSchedulerContextMenu runat="server" ID="SchedulerAppointmentContextMenu" Skin="Default" EnableEmbeddedSkins="false" EnableEmbeddedBaseStylesheet="false">  
                                <Items> 
                                    <telerik:RadMenuItem Text="Edit" Value="CommandEdit" ImageUrl="~/Images/page_white_edit.png" /> 
                                    <telerik:RadMenuItem Text="Delete" Value="CommandDelete" ImageUrl="~/Images/Delete.gif" /> 
                                </Items> 
                            </telerik:RadSchedulerContextMenu> 
                        </AppointmentContextMenus> 
                    </telerik:RadScheduler> 

If I remove the AppointmentContextMenus block, the RadMenu renders using the old Default skin correctly.

How do I override the way the AppointmentContextMenus style seems to affect the RadMenu?

Thanks,
Bryan
T. Tsonev
Telerik team
 answered on 09 Dec 2009
2 answers
693 views

Ok I have some very odd behavior with a radgrid.  I am trying to set it up so that it will filter the columns when the enter key is hit.  I have set up the gid and it never seems to acknowledge the enter key being pressed, but it will work when I hit the tab key.  I can live with this if necessary, but the odd thing is this.

When the page loads I can filter the column, case sensitive, on whatever column I have set up with AutoPostBackOnFilter = true.  The issue is when I go to another column and try to filter it.  If it is not set to AutoPostBackOnFilter and use the GUI drop down it works.  But if I try and filter on another column with AutoPostBackOnFilter set to true the grid does not filter and blanks out the filter box when I tab off it.

 More odd behavior I can keep filter on whatever column I first filtered on with no issue, except when I do certain things, like try to filter on another column with the Autopost back set and then remove filter on a column without autopostback and then try to filter with my original column.  Then it does the same thing blanks the filter box and does not filter.

 It always filters if I do not use autopostback.  Here is some of the code.

 

 <telerik:RadGrid ID="RadGrid1" runat="server" AllowSorting="True"   
                    GridLines="None" 
                    Skin="WebBlue" AllowFilteringByColumn="True" 
                    AutoGenerateColumns="False" 
                    EnableTheming="False" onneeddatasource="RadGrid1_NeedDataSource"   
                    ShowGroupPanel="True">     
               <HeaderContextMenu EnableTheming="True">                  
               <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> 
               </HeaderContextMenu> 
               <MasterTableView  DataKeyNames="ClientID">  
               <RowIndicatorColumn> 
                  <HeaderStyle Width="20px"></HeaderStyle> 
               </RowIndicatorColumn> 
               <ExpandCollapseColumn> 
               <HeaderStyle Width="20px"></HeaderStyle> 
               </ExpandCollapseColumn> 
               <Columns> 
                   <telerik:GridBoundColumn DataField="ClientID" DataType="System.Int32"   
                       HeaderText="ClientID" ReadOnly="True" SortExpression="ClientID"   
                       UniqueName="ClientID" Visible="false">  
                   </telerik:GridBoundColumn> 
                   <telerik:GridBoundColumn DataField="LastName" HeaderText="Last Name"   
                       SortExpression="LastName" UniqueName="LastName" AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" > 
                   </telerik:GridBoundColumn> 
                   <telerik:GridBoundColumn DataField="FirstName" HeaderText="First Name" AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" 
                       SortExpression="FirstName" UniqueName="FirstName">  
                   </telerik:GridBoundColumn>                     
                   <telerik:GridBoundColumn DataField="RecordAccountName" HeaderText="Account Name"   
                       SortExpression="RecordAccountName" UniqueName="RecordAccountName">  
                   </telerik:GridBoundColumn>                     
                   <telerik:GridBoundColumn DataField="StrategyTypeDescription"   
                       HeaderText="Strategy" SortExpression="StrategyTypeDescription"   
                       UniqueName="StrategyTypeDescription" Groupable="true" GroupByExpression="StrategyTypeDescription, Sum(InitialInvestmentAmount) GroupTotal [Group Total]  Group By StrategyTypeDescription">  
                   </telerik:GridBoundColumn> 
                   <telerik:GridBoundColumn DataField="IntermediaryDescription"   
                       HeaderText="Intermediary" SortExpression="IntermediaryDescription"   
                       UniqueName="IntermediaryDescription">  
                   </telerik:GridBoundColumn> 
That is some of the grid code

protected void RadGrid1_NeedDataSource(object source, Telerik.Web.UI.GridNeedDataSourceEventArgs e)  
        {  
 
            RadGrid1.DataSource = ClientBLL.GetClientsNotInvested();  
                    } 
        public static List<APAPortal.vw_clients_pending> GetClientsNotInvested()  
        {  
            APADataContext db = new APADataContext();  
            var query = from c in db.vw_clients_pendings  
                        select c;  
              
            return query.ToList();  
 
        } 
Any ideas?  I have tried to set the grid with RadAjaxControl, and numerous other ways.

Sorry just discoverd that it is using controls version 2008.3.1314.  This might be the issue

Eric Klein
Top achievements
Rank 1
 answered on 09 Dec 2009
1 answer
113 views
How to find label inside the appointment template in radscheduler.....
Shinu
Top achievements
Rank 2
 answered on 09 Dec 2009
1 answer
70 views
    <div class="rsAdvTitle"> 
        <%-- The rsAdvInnerTitle element is used as a drag handle when the form is modal. --%> 
        <h1 class="rsAdvInnerTitle"> 
            <%= Owner.Localization.AdvancedEditAppointment %></h1> 
    </div> 

I see by default it's always using the edit appointment.
And I see this happening before the populate method in the form created method

                          var isInsert = mode == Telerik.Web.UI.SchedulerFormMode.AdvancedInsert;

There should be a way to check for mode in the script line  <%= Owner.Localization.AdvancedEditAppointment %>

Peter
Telerik team
 answered on 09 Dec 2009
4 answers
129 views
Hello

i have a RadGrid and i'm binding to the database dynamically using a DataTable
but when i click on next page button, the RadGrid is empty


please help

Thanks
Pavlina
Telerik team
 answered on 09 Dec 2009
6 answers
236 views
Hi,

Can you please tell me how to achieve the following client side using javascript:

I have a radgrid with a GridClientSelectColumn.

When I select a grid row, I add the grid item to a MS Listbox.

Now, I want to be able to select the item in the Listbox, click a button that removes the item from the Listbox and also deselects the corresponding grid row.

I need it to do 2 things: 1.) Uncheck the GridClientSelectColumn checkbox, and 2.) remove the Highlighting (deselected state)

Thank you,
Andy
Yavor
Telerik team
 answered on 09 Dec 2009
1 answer
143 views
Hi,

    I want to show "Server machine" system date as "Current Date" in a "RAD:DatePicker". Suppose "Server System" date is "23/12/2009". and "Client System" date is "22/12/2009" then I want to high light "23/12/2009" as current date, When DatePicker Popup is opened. Following is code  snippet setting style to high light "Today's date in picker.

   <SpecialDays>
                                    <telerik:RadCalendarDay Repeatable="Today" Date="" ItemStyle-CssClass="rcToday" />
                                </SpecialDays>

Thanks in Advance,
Kumar.
Shinu
Top achievements
Rank 2
 answered on 09 Dec 2009
1 answer
112 views
Hi All,

I am facing problem with dragdrop fuctionality with radTreeview...

I have two radtreeviews both are bind from database.One on Left and other one on right..

Now, i am dragging one node from first tree into the other tree,but the problem is when i am dropping the sourcenode over destnode,dragdrop functionality is not working.for other drop positions below,above works fine!!
Drop position Over works fine if i am not binding it from database!!
I am doing this by server side programming.
Anybody has idea?

Thank you.

Kiran
Yana
Telerik team
 answered on 09 Dec 2009
2 answers
368 views
Hi all,

I have got RadGrid which I have assigned a custom skin.The Detail Table inherits the same skin from the main grid,is it possible to specify a different skin for the Detail Table?

Thanks
Princy
Top achievements
Rank 2
 answered on 09 Dec 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?