Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
248 views

On the home master page, on the top right part, certain images that are stored in a picture library must be rotated. I am using a radRotator for this.

The control loads properly but the images arent been displayed. The picture library is in one of the subsites... How do I set the path of the datasource for the rotator to this? For testing I tried to set the source as site collection images, but it wasnt picking up from there either.. Please help!

Following is the code:
     <telerik:RadRotator ID="RadRotator1" runat="server"
      Width="224px" Height="145px" ScrollDuration="500"
      FrameDuration="2000" DataSourceID="Profiles" ItemHeight="145" ItemWidth="224">
      <ItemTemplate>
                            <div class="outerWrapper">
                                <img src='<%# DataBinder.Eval(Container.DataItem, "Name") %>' alt="Customer Image" />
                            </div>
                        </ItemTemplate>
      </telerik:RadRotator>
      <SharePoint:SPDataSource runat="server" DataSourceMode="List" UseInternalName="true"
       selectcommand="&lt;View&gt;&lt;/View&gt;" id="Profiles">
      </SharePoint:SPDataSource>
Tom Kaminski
Top achievements
Rank 1
 answered on 05 Nov 2010
2 answers
154 views
Hello,

i have a radgrid with 4 colums  2 of the  columns are with radio buttons one colum is named Primary and the other is named Secondary. What I'm trying to do is to select one radio button from one columns, only one of the items in the list can be the primary and only one item can be secondary and no item could be primary or secondary. I wouls like to know how can I acheave this so the primary colums displays only one items selected and the secondary shows only one item selected.

i'm new with radgrids and I would like your help

thanks!
daniel
Top achievements
Rank 1
 answered on 05 Nov 2010
1 answer
111 views
Hello,

Please see the attached image. I have the context menu enabled to allow show/hide of columns, but when I combine this with a custom grouping, the Context Menu is hidden behind the Group Header. This seems to happen for every skin I choose (Default and WebBlue anyway). 

If this is a known issue and there is a workaround, please let me know. I really like both of these features very much.

Thank you,

Scott McNeany
Scott
Top achievements
Rank 1
 answered on 05 Nov 2010
1 answer
100 views
We recently upgraded one of our apps (was running a 2008 version) to the latest version of the controls, and of course, the skins changed, and now I need to get the old skins back while keeping the new controls.

I found this post, and a few other articles on the site, and tried to follow the instructions:
http://www.telerik.com/community/forums/aspnet-ajax/general-discussions/all-radcontrols-q3-2008-skins-are-now-compatible-with-the-q1-2009-release.aspx

This works mostly. I set up a directory under App_Themes called Default_2008 (using the Default skin from the files above) and set up entries in the web.config as instructed.

One of the issues I'm having is that some of the controls don't work properly without the embedded base stylesheets. The Menu and Editor are good examples of this. I thought about setting the EnableEmbeddedBaseStyleSheet property to "true" for the controls I was having issues with, but it seemed like there were some differences between the old base stylesheets and the new ones, so I didn't want to do that. Including the old base stylesheet code in with the custom skin stylesheet fixes things, but I'm not sure whether that's the best course of action.

Another issue I saw is that when I tried to include the Widgets stylesheets, it screwed up the entire site -- scroll bars no longer appeared, the alignment was all wacky, different fonts, bizarre sizing on controls, etc. I'm not really sure the best way to include these is, as I think they are needed to style the Editor control properly.

I feel like I'm trying to swim upstream with this, which usually means that I'm going about something incorrectly. Is there a better way of setting a custom site-wide skin than what I'm doing? I feel like I'm missing something important here.
Andy
Top achievements
Rank 1
 answered on 05 Nov 2010
3 answers
343 views
Hey guys,

Maybe I'm not familiar enough with these controls to understand why this behavior is occurring, but I've spent a good amount of time trying to figure it out, and cannot. Can you help?

On my initial page load, my grid will display the filter criteria with the drop-down for filter options, the header context menu, the export options, and the paging options. 

After I click 'Run Report', 'Refresh', or apply a filter, the following things happen unexpectedly.

1. Filter Criteria drop-down now is disabled and filters cannot be applied.
2. Header context menu is disabled.
3. Page Size drop-down is disabled.

After I click any Export option, the following unexpected things happen. Below is some of the markup that should help.

<!-- content start -->

 

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">

 

 

<AjaxSettings>

 

 

<telerik:AjaxSetting AjaxControlID="RadGrid1">

 

 

<UpdatedControls>

 

 

<telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="RadAjaxLoadingPanel1" />

 

 

</UpdatedControls>

 

 

</telerik:AjaxSetting>

 

 

<telerik:AjaxSetting AjaxControlID="btnRunReport">

 

 

<UpdatedControls>

 

 

<telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="RadAjaxLoadingPanel1" />

 

 

</UpdatedControls>

 

 

</telerik:AjaxSetting>

 

 

</AjaxSettings>

 

 

</telerik:RadAjaxManager>

 

 

<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="WebBlue">

 

 

</telerik:RadAjaxLoadingPanel>

 

 

<telerik:RadGrid ID="RadGrid1" Skin="Office2007" runat="server" Width="95%" AutoGenerateColumns="False"

 

 

OnNeedDataSource="RadGrid1_NeedDataSource" PageSize="25" AllowSorting="True"

 

 

AllowPaging="True" GridLines="None" EnableHeaderContextMenu="true" AllowFilteringByColumn="true">

 

 

<PagerStyle Mode="NextPrevAndNumeric" />

 

 

<ItemStyle HorizontalAlign="Left" />

 

 

<AlternatingItemStyle HorizontalAlign="Left" />

 

 

<ExportSettings Excel-Format="ExcelML" ExportOnlyData="True" FileName="CommissionStatement"

 

 

IgnorePaging="True" OpenInNewWindow="True" Pdf-Author="International Medical Group"

 

 

Pdf-Creator="International Medical Group" Pdf-PageHeight="8.5in" Pdf-PageWidth="11in"

 

 

Pdf-Title="Commission Statement">

 

 

<Pdf Creator="International Medical Group" Author="International Medical Group" Title="Commission Statement"

 

 

PageWidth="11in" PageHeight="8.5in"></Pdf>

 

 

<Excel Format="ExcelML"></Excel>

 

 

</ExportSettings>

 

 

<MasterTableView AllowMultiColumnSorting="false" TableLayout="Fixed" CommandItemDisplay="Top">

 

 

<CommandItemSettings ShowExportToWordButton="true" ShowExportToPdfButton="true" ShowExportToExcelButton="true"

 

 

ShowExportToCsvButton="true" ShowAddNewRecordButton="False" />

 

 

<RowIndicatorColumn Visible="True">

 

 

</RowIndicatorColumn>

 

 

<Columns>

 

 

<telerik:GridBoundColumn DataField="CompanyAbbreviation" HeaderText="Company" SortExpression="CompanyAbbreviation"

 

 

UniqueName="Company" CurrentFilterFunction="StartsWith" AutoPostBackOnFilter="true"

 

 

Display="true">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="prem_comm_cert_nbr" HeaderText="Certificate Number"

 

 

SortExpression="prem_comm_cert_nbr" UniqueName="CertificateNumber" CurrentFilterFunction="StartsWith"

 

 

AutoPostBackOnFilter="true">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="prem_comm_desc" HeaderText="Primary Insured Name"

 

 

SortExpression="prem_comm_desc" UniqueName="PrimaryInsuredName" CurrentFilterFunction="StartsWith"

 

 

AutoPostBackOnFilter="true">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="cov_desc" HeaderText="Coverage" SortExpression="cov_desc"

 

 

UniqueName="Coverage" CurrentFilterFunction="StartsWith" AutoPostBackOnFilter="true">

 

 

</telerik:GridBoundColumn>

 

 

</Columns>

 

 

</MasterTableView>

 

 

<ClientSettings ReorderColumnsOnClient="True" AllowColumnsReorder="True" AllowColumnHide="True">

 

 

<Resizing AllowRowResize="True" AllowColumnResize="True"></Resizing>

 

 

<Animation AllowColumnReorderAnimation="True" />

 

 

</ClientSettings>

 

 

<FilterMenu Skin="WebBlue">

 

 

</FilterMenu>

 

 

</telerik:RadGrid>

 



1. The entire Command Item Menu and Footer (where the paging is) simply disappears and no report is exported.


Please provide any suggestions that you may have. 
Scott
Top achievements
Rank 1
 answered on 05 Nov 2010
5 answers
130 views
Hello,

I have an issue with  RadSchedule control in WeekView mode. In our requirements we have  different work time for different days of the week. Please let me know schedule control whether support this behavior.


Thanks
Akil Mucha
Peter
Telerik team
 answered on 05 Nov 2010
3 answers
156 views
Dear there,

I am using radgrid control, everything was working well before  i applied grouping, but afterthere sorting is not working.  

here is my grid, my grid is simpy binding on pageload event. Do i need to write manual sortcommand on server side ?

<telerik:RadGrid ID="RadGrid1" AllowSorting="true" Width="100%"   runat="server" >
              
            <MasterTableView  TableLayout="Fixed" DataKeyNames="KEYID" ClientDataKeyNames="KEYID" GridLines="Both" 
             GroupsDefaultExpanded="true"  
             GroupLoadMode="client"   >
              
             <GroupByExpressions>
              
                    <telerik:GridGroupByExpression>
                      
                        <SelectFields >
                            <telerik:GridGroupByField SortOrder="Ascending"   FieldAlias="EMPDOH" FieldName="EMPDOH" FormatString="{0:D}" HeaderValueSeparator=" from date: "></telerik:GridGroupByField>
                        </SelectFields>
                        <GroupByFields>
                            <telerik:GridGroupByField FieldName="EMPDOH" SortOrder="Ascending"></telerik:GridGroupByField>
                        </GroupByFields>
                    </telerik:GridGroupByExpression >
                     
                </GroupByExpressions>
  
                <Columns>
                    <telerik:GridClientSelectColumn UniqueName="ClientSelectColumn" />
                    <telerik:GridBoundColumn UniqueName="KEYID" Display="false" DataField="KEYID">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn HeaderText="Employees" DataField="Name" UniqueName="Name"
                        ShowFilterIcon="false" SortExpression="Name" AllowFiltering="true" FilterControlWidth="100"
                        AutoPostBackOnFilter="true" />
                    <telerik:GridBoundColumn HeaderText="Pay Period" DataField="Description" UniqueName="Description"
                        ShowFilterIcon="false" SortExpression="Description">
                        <FilterTemplate>
                            <telerik:RadComboBox ID="RadComboBoxPP" CausesValidation="false" Width="100" DataSourceID="SqlDataSourcePP"
                                DataTextField="Code" DataValueField="Code" Height="100px" AppendDataBoundItems="true"
                                OnClientSelectedIndexChanged="SelectedIndexChanged" SelectedValue='<%# TryCast(Container, GridItem).OwnerTableView.GetColumn("Description").CurrentFilterValue %>'
                                runat="server">
                                <Items>
                                    <telerik:RadComboBoxItem Text="All" />
                                </Items>
                            </telerik:RadComboBox>
                            <telerik:RadScriptBlock ID="RadScriptBlock1" runat="server">
  
                                <script type="text/javascript">
                                    function SelectedIndexChanged(sender, args) {
                                        var tableView = $find("<%# TryCast(Container, GridItem).OwnerTableView.ClientID %>");
                                        sender.value = args.get_item().get_value();
                                        tableView.filter("Description", args.get_item().get_value(), "EqualTo");
                                    }
                                </script>
  
                            </telerik:RadScriptBlock>
                        </FilterTemplate>
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn HeaderText="Department" DataField="Department" UniqueName="Department"
                        ShowFilterIcon="false" SortExpression="Department">
                        <FilterTemplate>
                            <telerik:RadComboBox ID="RadComboBoxDep" CausesValidation="false" DataSourceID="SqlDataSourceDepartment"
                                Width="120" DataTextField="Department" DataValueField="Department" Height="100px"
                                AppendDataBoundItems="true" OnClientSelectedIndexChanged="SelectedIndexChanged2"
                                SelectedValue='<%# TryCast(Container, GridItem).OwnerTableView.GetColumn("Department").CurrentFilterValue %>'
                                runat="server">
                                <Items>
                                    <telerik:RadComboBoxItem Text="All" />
                                </Items>
                            </telerik:RadComboBox>
                            <telerik:RadScriptBlock ID="RadScriptBlock2" runat="server">
  
                                <script type="text/javascript">
                                    function SelectedIndexChanged2(sender, args) {
                                        var tableView = $find("<%# TryCast(Container, GridItem).OwnerTableView.ClientID %>");
                                        sender.value = args.get_item().get_value();
                                        tableView.filter("Department", args.get_item().get_value(), "EqualTo");
                                    }
                                </script>
  
                            </telerik:RadScriptBlock>
                        </FilterTemplate>
                    </telerik:GridBoundColumn>
                    <telerik:GridDateTimeColumn ReadOnly="true" DataField="Paydate" HeaderText="Pay Date"
                        DataFormatString="{0:d}" DataType="System.DateTime" UniqueName="PayDate" AllowFiltering="true"
                        SortExpression="PayDate" FilterControlWidth="90" />
                    <telerik:GridBoundColumn AllowFiltering="false" HeaderText="Start Date" DataFormatString="{0:d}"
                        DataField="PayDateFrom" UniqueName="PayDateFrom" DataType="System.DateTime" ShowFilterIcon="false"
                        SortExpression="PayDateFrom" />
                    <telerik:GridBoundColumn HeaderText="End Date" DataField="Paydateto" DataFormatString="{0:d}"
                        UniqueName="Paydateto" DataType="System.DateTime" ShowFilterIcon="false" AllowFiltering="false"
                        SortExpression="Paydateto" />
                    <telerik:GridBoundColumn HeaderText="Hire/Rehire" DataField="EMPDOH" Groupable="true" UniqueName="EMPDOH"
                        DataFormatString="{0:d}" DataType="System.DateTime" ShowFilterIcon="false" AllowFiltering="false"
                        SortExpression="EMPDOH" />
                    <telerik:GridBoundColumn DataField="hdismass" UniqueName="hdismass" Display="false"
                        HeaderText="hdismass" AllowFiltering="false" />
                    <telerik:GridBoundColumn HeaderText="hds" DataField="hds" Display="false" UniqueName="hds"
                        AllowFiltering="false" />
                </Columns>
            </MasterTableView>
            <ClientSettings AllowColumnsReorder="false" ReorderColumnsOnClient="false" AllowExpandCollapse="true"  >
                <Selecting AllowRowSelect="true" />
                <Resizing AllowRowResize="false" EnableRealTimeResize="True" ResizeGridOnColumnResize="true"
                    AllowColumnResize="false"></Resizing>
            </ClientSettings>
             <GroupingSettings ShowUnGroupButton="true" />
  
        </telerik:RadGrid>
Pavlina
Telerik team
 answered on 05 Nov 2010
1 answer
66 views
Is it possible to give different DayStartTime and DayEndTime for each day in weekview?
For example, I have a doctor work from 9AM to 5PM on Monday, 1PM to 7PM on Tuesday, 5PM to 10PM on Wednesday and ...?
Peter
Telerik team
 answered on 05 Nov 2010
1 answer
84 views
Hello,

I'm having a problem with the editing section of my custom schedule provider based on the MyDbSchedulerProvider example.  It originally worked with no problems, but now I just created a new Visual Studio solution using the same DB and SchedulerProvider, but now the edit page is 'locked' with no functionality.

The scheduler populates existing 'appointments', and I'm even able to drag existing appointment to different days with no problems, creating new appointments works, but a 'New Recurring Appointment' freezes, or when trying to edit an existing appointment I get an unpopulated form except for the 'Subject', but nothing is edittable.  The save and cancel buttons don't work either.

This sounds similiar to the problem using custom advanced templates.  But as mentioned, I have a custom provider.
I've been troubleshooting this for a few days now with no success.  Any ideas or suggestions on where to look as to what may cause this is much appreciated.

Version: 2010.2.929.40

Thank you in advance,
Ronnie
Peter
Telerik team
 answered on 05 Nov 2010
3 answers
154 views
When I create an appointment it does not take up the entire width of the containing cell. Is there anyway I can change this? Thanks!
Peter
Telerik team
 answered on 05 Nov 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?