Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
176 views
Hello,
We're taking advantage of both the standard (day/week/month) and agenda view of the Scheduler for showing an Appointment data set. In standard view we take advantage of resource grouping and use order to organize the columns according to our desired display order. In our data we always want "Program" (blue) to be first. In agenda view however, the order of the resources displayed across a similar time span does not seem to adhere to any particular order. In the attached screen grab the "Program" (blue) resource comes up first at 1am but then comes up second at 1:30am. Is there any way to use the resource order from grouping in the agenda view?
Thanks.
Boyan Dimitrov
Telerik team
 answered on 09 Jul 2014
9 answers
95 views
Filter menus are not displayed in place by the filter button in IE (10-7), if the width of the RadGrid is greater than the screen width. I know, poor design on my part.

The filter menus now seem to be displayed somewhere to the left if the user has scrolled horizontally before selecting a column to filter. The newest release's notes from Telerik do not seem to address this issue.
<telerik:RadScriptManager ID="RadScriptManager" runat="server"></telerik:RadScriptManager>
<telerik:RadGrid ID="test" runat="server" AllowFilteringByColumn="true">
<MasterTableView AutoGenerateColumns="true">
</MasterTableView>
</telerik:RadGrid>


Protected Sub test_NeedDataSource(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridNeedDataSourceEventArgs) Handles test.NeedDataSource
 
test.DataSource = Me.TableOfData
 
End Sub
Zachary
Top achievements
Rank 1
 answered on 09 Jul 2014
1 answer
154 views
I have forums link below,i request you to please delete the attached files that are associated with this link.

1)http://www.telerik.com/forums/radasyncupload-file-filter

2)http://www.telerik.com/forums/having-issue-with-supported-files

3)http://www.telerik.com/forums/radgrid-loses-the-focus-when-press-tab-on-filter-in-ie8

4)http://www.telerik.com/forums/radgrid-search-functionality
Marin Bratanov
Telerik team
 answered on 09 Jul 2014
2 answers
166 views
How I can select a folder?

rewards
Gustavo
Top achievements
Rank 1
 answered on 09 Jul 2014
7 answers
325 views
Hi,

I have bind Radmenu using SqlDataSource but  I could not edit menu of the visual part.
How do I adjust the arrow with css if you could help?

King Regards
Esra
Esra
Top achievements
Rank 1
 answered on 09 Jul 2014
2 answers
123 views
Is it possible to allow multi selection of cells on a RadGrid on a mobile browser? - in testing the sample code for multi selection we have found it does not work correctly on a mobile browser, and in fact either only ever selects 1 cell or seems to select a random selection of cells.

Thanks

Mark
Pavlina
Telerik team
 answered on 09 Jul 2014
10 answers
353 views
I'm trying to have a user be able to hover over the week and it select the week instead of selecting the day.   I'm trying to do this without the UseRowHeadersAsSelectors.  Then take the selected week range for the SelectedWeek. 

I saw this post but it's over 3 years old and it is WinForms so is there a work around for asp.net ajax?

http://www.telerik.com/community/forums/winforms/calendar-and-datetimepicker/row-selection-only.aspx

Thanks in advance
Sonia
Top achievements
Rank 1
 answered on 09 Jul 2014
2 answers
168 views
Hi i am using this code  
it is working fine if i set MaxDate or MinDate time as 9:00,5:00,(One hour Difference)
It doesn't work if i set Max time or MinTime in minutes  (9:45) (Manual Entry )

                   var maxDate = new Date(reqJobDate[0].EstEndDate);
                    var minDate = new Date(reqJobDate[0].StartDate);
                    
                    rdpWOItemStartDate.set_maxDate(new Date(maxDate.getTime()));
                    rdpWOItemStartDate.set_minDate(new Date(minDate.getTime()));
                    rdpWOItemEndDate.set_maxDate(new Date(maxDate.getTime()));
                    rdpWOItemEndDate.set_minDate(new Date(minDate.getTime()));
                    rdpWOItemStartDate.set_selectedDate(new Date(rdpWOItemStartDate.get_minDate()));
                    rdpWOItemEndDate.set_selectedDate(new Date(rdpWOItemEndDate.get_maxDate()));
Phanindra
Top achievements
Rank 1
 answered on 09 Jul 2014
1 answer
260 views
I think I found a possible bug with the Drop Down Tree and setting the default selected value.  I followed this link I created a few months ago and just found this issue now.

I have a tree that looks like this:
- Grades          //ID: 0, Parent: null, Value: 0
-- Random          //ID: 1, Parent: 0, Value: 2
--- J          //ID: 2, Parent: 1, Value: 7
--- Prime          //ID: 3, Parent: 1, Value: 8
--- A          //ID: 4, Parent: 1, Value: 9
--- 2 & Better          //ID: 5, Parent: 1, Value: 10
--- 2          //ID: 6, Parent: 1, Value: 11
--- Select          //ID: 7, Parent: 1, Value: 12
-- Fixed          //ID: 8, Parent: 0, Value: 1
--- J          //ID: 9, Parent: 8, Value: 1
--- Prime          //ID: 10, Parent: 8, Value: 2
--- A          //ID: 11, Parent: 8, Value: 3
--- S          //ID: 12, Parent: 8, Value: 4
--- Econ          //ID: 13, Parent: 8, Value: 5

As you can see, there are duplicate text (I only allow the selection of the child elements - "Grades", "Random" and "Fixed" are not allowed as they are the root or are types).  So if I have:
RadDropDownTree.SelectedValue = "2";
RadDropDownTree.SelectedText = "Prime"
and for some reason the "Prime" under "Random" is selected, when the "Prime" under "Fixed" SHOULD be selected.  Does that make sense?

It appears that the SelectedText property selects the first text value that matches the input and does not respect the SelectedValue.  Is there a way I can fix this?


Shinu
Top achievements
Rank 2
 answered on 09 Jul 2014
1 answer
136 views
Hi.

I'm noticing something weird happening with a telerik grid.  Short version is that when I filter it, I'm seeing an error that indicates there are no rows to display, despite me being able to see in the code that there is data there...

I have filter controls outside of the grid, it's a big page so I was trying to simplify it for my users

my drop down looks like this, it is databound in the code behind

<telerik:RadComboBox ID="ddlCompany" runat="server" Visible="False" AutoPostBack="True" DataValueField="CompanyID"
                       DataTextField="Name" OnSelectedIndexChanged="ddlCompany_SelectedIndexChanged" >
                       <Items>
                       </Items>
                   </telerik:RadComboBox>

my grid looks like this 

    <telerik:RadGrid ID="productionSearchResults" runat="server" AutoGenerateColumns="false" CellPadding="0" Skin="Windows7" EnableLinqExpressions="false" Width="100%"
                AllowPaging="true" AllowSorting="true" AllowFilteringByColumn="true" GridLines="None" PageSize="100" OnItemDataBound="productionSearchResults_ItemDataBound"
                AllowCustomPaging="true">
                <HeaderContextMenu EnableAutoScroll="True" />
                <HeaderStyle Font-Names="Verdana" />
                <AlternatingItemStyle Font-Names="Verdana" />
                <ItemStyle Font-Names="Verdana" />
                <PagerStyle AlwaysVisible="True" />
                <GroupingSettings CaseSensitive="false" />
                <ClientSettings>
                    <ClientEvents OnGridCreated="SizeGridToVerticalContent" />
                    <Scrolling UseStaticHeaders="true" AllowScroll="true" FrozenColumnsCount="0" />
                </ClientSettings>
 
                <MasterTableView CommandItemDisplay="Top" Width="98%">
                    <CommandItemSettings
                        ShowAddNewRecordButton="false" ShowRefreshButton="false"
                        ShowExportToWordButton="true" ExportToWordText="Export results to Word"
                        ShowExportToExcelButton="true" ExportToExcelText="Export results to Excel"
                        ShowExportToCsvButton="false" ExportToCsvText="Export results to CSV"
                        ShowExportToPdfButton="false" ExportToPdfText="Export results to PDF" />
 
                    <Columns>
                        <telerik:GridBoundColumn Visible="False" DataField="SessionID" HeaderText="SID" UniqueName="SessionID" AllowFiltering="false"  AllowSorting="false" >
                            <HeaderStyle BackColor="#E3E9DC"></HeaderStyle>
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn Visible="False" DataField="Company" HeaderText="Company" UniqueName="Company" AllowFiltering="false"   AllowSorting="false"  >
                            <HeaderStyle BackColor="#E3E9DC"></HeaderStyle>
                        </telerik:GridBoundColumn>
<!-- other columns go here -->
  <telerik:GridTemplateColumn HeaderText="Ship List"  AllowFiltering="false" UniqueName="ShipList"   >
                            <HeaderStyle BackColor="#F2EDB7"></HeaderStyle>
                        </telerik:GridTemplateColumn>
                    </Columns>
                </MasterTableView>
            </telerik:RadGrid>


when the user selects a value in the list the following is called

Protected Sub ddlCompany_SelectedIndexChanged(sender As Object, e As RadComboBoxSelectedIndexChangedEventArgs) Handles ddlCompany.SelectedIndexChanged
      Dim ddl As RadComboBox = CType(sender, RadComboBox)
 
      ddl.Items.FindItemByValue(e.Value).Selected = True
      CompanyID = CInt(e.Value)
      Dim filterExpression As String
      filterExpression = "([Company]='" + e.Value + "')"
      productionSearchResults.MasterTableView.FilterExpression = filterExpression
      productionSearchResults.Rebind()
  End Sub

this should go away and call the need data source function (which it does) then rebind the grid with the filtered data set.  But when it gets to the rebinding, I'm not seeing any data items, just filter items.... I can clearly see that there is data there, it just doesn't bind.

here's the need data source function
Private Sub productionSearchResults_NeedDataSource(sender As Object, e As GridNeedDataSourceEventArgs) Handles productionSearchResults.NeedDataSource
 
      pageIndex = productionSearchResults.CurrentPageIndex
      Controller.Page(Me)
      productionSearchResults.DataSource = Productions
      productionSearchResults.MasterTableView.VirtualItemCount = totalCount
      productionSearchResults.VirtualItemCount = totalCount
  End Sub

and my item databound

Protected Sub productionSearchResults_ItemDataBound(sender As Object, e As GridItemEventArgs)
      Dim sImgX As String
      Dim sImgCheck As String
 
      sImgX = ResolveUrl("~/images/x.gif")
      sImgCheck = ResolveUrl("~/images/check.gif")
 
 
      If TypeOf e.Item Is GridDataItem Then
 
          Dim dataItem As GridDataItem = CType(e.Item, GridDataItem)
 
          If dataItem("ProductionNotes").Text.Contains("NEEDS REVIEW") Then
              e.Item.BackColor = Color.Pink
          End If
          dataItem("SessionID").Text = String.Format("<a href=""{0}"">{1}</a>", _
                                       BuildPageUrl("production/ProductionList.aspx", NavLevel.Session, Integer.Parse(dataItem("SessionID").Text)), dataItem("SessionID").Text)
 
          If Len(PMSession.SID) = 0 Then
              dataItem("shipList").Text = String.Format("<a href=""{0}?ProductionID={1}"" target=_Blank><img src=""{2}"" border=0></a>", _
                                                         BuildPageUrl("reports/Session/SessionShipList.aspx", NavLevel.Session, iSID), ProductionID _
                                                         , ResolveUrl("~/images/report2.gif"))
 
          Else
              dataItem("ProductionID").Text = String.Format("<a href=""{0}?id={1}&cmd=2"">{2}</a>", BuildPageUrl("production/ProductionDetail.aspx"), dataItem("ProductionID"), iSID)
              dataItem("shipList").Text = String.Format("<a href=""{0}?ProductionID={1}"" target=_Blank><img src=""{2}"" border=0></a>", _
                                                         BuildPageUrl("reports/Session/SessionShipList.aspx"), ProductionID, ResolveUrl("~/images/report2.gif"))
          End If
 
 
      Else
      End If

any ideas?

Adam Steckel
Top achievements
Rank 1
 answered on 09 Jul 2014
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?