Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
114 views
Dear Telerik,

Thanks for the very useful function of GroupInterval in RadPivotGrid, however, is it possible to customise a threshold to grouping interval?

For example, data: 1,2,3,4,5,6,7,8. GroupInterval="Numeric" and GroupIntervalNumericRange="1".

Currently it's forced to group all the way to the end: 1,2,3,4,5,6,7,8; but I would like to have a threshold of 4 to give 1,2,3,4+. How can I do that?

Great Thanks.
Angel Petrov
Telerik team
 answered on 08 Jul 2014
1 answer
189 views
I am having a problem with the scheduler on my ipad.
As seen in the attached image, the times in the left column do not align with the slots.
My settings are : 

            DayStartTime="07:00:00" DayEndTime="22:00:00"
            WorkDayStartTime="07:00:00" WorkDayEndTime="22:00:00"

But as you can see the times at the left side only go to 20:00.
Is there some mobile-setting or work around for this ?
Dimitar
Telerik team
 answered on 08 Jul 2014
6 answers
95 views
Hi... I use a pivotGrid and I need to use a datafield with format "HH:MM" in a AggregateField, is that possible?
Eyup
Telerik team
 answered on 08 Jul 2014
1 answer
100 views
Is it possible to set the Language of a RadMap?  I am using the OpenStreets Tiles, and see that each Country Name appears to be in its native language.  

What I would like to do is say turn the map to French or English and see all of the labels render correctly for that language... ?
Ianko
Telerik team
 answered on 08 Jul 2014
1 answer
265 views
Hi,

I have a page which contain 5 user controls in it. In each user control i am using Rad Window to insert master data.  On closing i need to display that inserted data in its respective user control so i want to update that user control only. Currently i am reloading whole page to update respective Grid resides in the user control so because of that all user controls get refreshed and page gets slow.

Can you some provide example.

Thanks.
Shinu
Top achievements
Rank 2
 answered on 08 Jul 2014
3 answers
117 views
Hi,
    I'm having a problem with cascading RadDropDownLists where the EnableVirtualScrolling property is enabled. I have three lists that cascade so that each selection filters the available options on the next list. When I first set the screen up, none of the lists had virtual scrolling enabled. It turned out that there was quite a long list for certain combinations of filtering. When the list length exceeded the available space on the page, the user was unable to access the options lower down. After a bit of reading, I discovered the EnableVirtualScrolling property and it seemed to work great. However, I found that the drop-down lists on the lower two tiers of the cascade would only display the first record/row of their available options after a postback from the preceding  lists.

Here's my code:
<telerik:RadDropDownList ID="DropDownList1" DataSourceID="SQLDataSource1"
    DataValueField="Table1_Id" DataTextField="Table1_Text" Width="460px"
    EnableVirtualScrolling="true" DropDownHeight="250px" DropDownWidth="460px"
    AppendDataBoundItems="true" AutoPostBack="true" Skin="Metro" runat="server" >
</telerik:RadDropDownList>
 
 
<telerik:RadDropDownList ID="DropDownList2" DataSourceID="SQLDataSource2"
    DataTextField="Table2_Id" DataValueField="Table2_Text" Width="460px"
    EnableVirtualScrolling="true" DropDownHeight="250px" DropDownWidth="460px"
    AppendDataBoundItems="true" AutoPostBack="true" Skin="Metro" runat="server">
</telerik:RadDropDownList>
 
 
<telerik:RadDropDownList ID="DropDownList3" DataSourceID="SQLDataSource3"
    DataTextField="Table3_Id" DataValueField="Table3_Text" Width="460px"
    EnableVirtualScrolling="true" DropDownHeight="250px" DropDownWidth="460px"
    AppendDataBoundItems="true" AutoPostBack="true" Skin="Metro" runat="server">
</telerik:RadDropDownList>
 
 
<%-- Data Source for DropDownList1 --%>
<asp:SqlDataSource ID="SQLDataSource1" runat="server"
    ConnectionString="<%$ ConnectionStrings:RAMtrack %>"
    ProviderName="<%$ ConnectionStrings:RAMtrack.ProviderName %>"
    SelectCommand="Select_Table1Data"
    SelectCommandType="StoredProcedure">
 
    <SelectParameters>
        <asp:SessionParameter Name="Customer_id" SessionField="Customer_Id" Type="Int64" />
    </SelectParameters>
</asp:SqlDataSource>
 
 
<%-- Data Source for DropDownList2 --%>
<asp:SqlDataSource ID="SQLDataSource2" runat="server"
    ConnectionString="<%$ ConnectionStrings:RAMtrack %>"
    ProviderName="<%$ ConnectionStrings:RAMtrack.ProviderName %>"
    SelectCommand="Select_Table2Data"
    SelectCommandType="StoredProcedure"
    >
    <SelectParameters>
        <asp:SessionParameter Name="Customer_id" SessionField="Customer_Id" Type="Int64" />
        <asp:ControlParameter Name="Table1_Id" ControlID="DropDownList1" PropertyName="SelectedValue" DefaultValue="0" Type="Int64" />
    </SelectParameters>
</asp:SqlDataSource>
 
 
<%-- Data Source for DropDownList3 --%>
<asp:SqlDataSource ID="SQLDataSource3" runat="server"
    ConnectionString="<%$ ConnectionStrings:RAMtrack %>"
    ProviderName="<%$ ConnectionStrings:RAMtrack.ProviderName %>"
 
    SelectCommand="Select_Table2Data"
    SelectCommandType="StoredProcedure"
    >
    <SelectParameters>
        <asp:SessionParameter Name="Customer_id" SessionField="Customer_Id" Type="Int64" />
        <asp:ControlParameter Name="Table2_Id" ControlID="DropDownList2" PropertyName="SelectedValue" DefaultValue="0" Type="Int64" />
    </SelectParameters>
</asp:SqlDataSource>
 
 
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
    <AjaxSettings>
 
        <telerik:AjaxSetting AjaxControlID="DropDownList1">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="DropDownList2" LoadingPanelID="pnl_SystemAffected" />
                <telerik:AjaxUpdatedControl ControlID="DropDownList3" LoadingPanelID="pnl_SystemAffected" />
            </UpdatedControls>
        </telerik:AjaxSetting>
 
        <telerik:AjaxSetting AjaxControlID="DropDownList2">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="DropDownList3" LoadingPanelID="pnl_SystemAffected" />
            </UpdatedControls>
        </telerik:AjaxSetting>
 
    </AjaxSettings>
</telerik:RadAjaxManager>

If I remove the [EnableVirtualScrolling="true" DropDownHeight="250px" DropDownWidth="460px"], it all works fine (except that some lists are too long). Am I missing another property or setting somewhere?

Geoff
Geoff
Top achievements
Rank 1
 answered on 08 Jul 2014
1 answer
156 views
Is filtering using wildcard available in in the latest release (as of 7/7/14) or would that still need to be a composite?

For example:

I have a column 'Part Number' and would like to filter where Part Number like 'AB%11' which would return AB845711 and AB348511 in the results.

Princy
Top achievements
Rank 2
 answered on 08 Jul 2014
3 answers
168 views
It looks like by default the RadMap is Pannable - very nice.  However, when I add markers, then pan to the next map left or right, those markers do not follow.  When I pan back to the original view they are there.

Is this by design?  In development?  Or am I missing something?
Ianko
Telerik team
 answered on 08 Jul 2014
8 answers
242 views
Hi,

I'm using telerik (v2010.2.826.35) RadUpload control. The control works fine in IE9, but when I use it in IE8, the browse button doesn't work (the dialogue box on browse button click doesn't opens).

Can you please provide some solution to this.

One more condition, I can't apply meta tag in the head section of the page to set the document mode to IE7 as there's some kind of bindings in my application.


Thanks

Sumit
Kostas
Top achievements
Rank 1
 answered on 08 Jul 2014
3 answers
287 views
I have been trying to set the value of a hidden field by using Javascript and
then access the value from within my C# codebehind. When I run the code that is
copied below, the value that is assigned to hidden field is null

i have a rad combo in rad grid on OnClientSelectedIndexChanged i am setting selected value to hidden field , and i have another rad combo on this rad combo item request event i am trying to get value from hidden field 

I would appreciate any help with the matter. I have spent hours trying to
solve what seems like a very simple problem.


<telerik:GridTemplateColumn DataField="CostEntityName" HeaderText="Cost Entity" AllowFiltering="true" UniqueName="CostEntityName1">
  <ItemTemplate>
     <telerik:RadComboBox ID="rcb_PODetailCostEntity" runat="server" MarkFirstMatch="True"
                         EnableLoadOnDemand="True" Height="140px" ShowMoreResultsBox="True"
                         ItemRequestTimeout="500" OnItemsRequested="rcb_PODetailCostEntity_ItemsRequested"
                        Width="99%" DataTextField="StatusEntityName" DataValueField="StatusEntityID"
                        DropDownWidth="280px" ExpandEffect="pixelate" OnClientSelectedIndexChanged="GetSelectedCostEntityID">
     </telerik:RadComboBox>
  </ItemTemplate>
<ItemStyle Width="5%" />
<HeaderStyle Width="5%" />
</telerik:GridTemplateColumn>  

<telerik:GridTemplateColumn DataField="CostEntityKeyName" HeaderText="Cost Entity Key" AllowFiltering="true" UniqueName="CostEntityKeyName1">
<ItemTemplate>
    <telerik:RadComboBox ID="rcb_PODetailCostEntityKey" runat="server" MarkFirstMatch="True"
             EnableLoadOnDemand="True" Height="140px" ShowMoreResultsBox="True"
             ItemRequestTimeout="500" OnItemsRequested="rcb_PODetailCostEntityKey_ItemsRequested"
             Width="99%" DataTextField="StatusEntityName" DataValueField="StatusEntityID"
             DropDownWidth="280px" ExpandEffect="pixelate">
    </telerik:RadComboBox>
</ItemTemplate>
<ItemStyle Width="7%" />
<HeaderStyle Width="7%" />
</telerik:GridTemplateColumn>  



Jva script function calling on client selected index changed
function GetSelectedCostEntityID(sender, eventArgs)  
                {
                    var combo = $find("<%= rgPODetailsForNonInv.ClientID%>").get_masterTableView().get_dataItems()[0].findControl("rcb_PODetailCostEntity");
                    //alert(eventArgs._item._properties._data.value);

                    document.getElementById("ctl00_MainContentPlaceHolder_HiddenField_PODetailCostEntityID").value = eventArgs._item._properties._data.value;
                    //$(document).ready(function() {
                    //$("<%=  HiddenField_PODetailCostEntityID.ClientID  %>").val(eventArgs._item._properties._data.value);
                    //});
                    //$("<%= HiddenField_PODetailCostEntityID.ClientID %>").val(eventArgs._item._properties._data.value);
                    //alert(document.getElementById("ctl00_MainContentPlaceHolder_HiddenField_PODetailCostEntityID").value);
                    //document.getElementById("ctl00_MainContentPlaceHolder_lbl_PODetailcostEntity").value = eventArgs._item._properties._data.value;
                }   

code behind Item request event for 2nd rad combo
 protected void rcb_PODetailCostEntityKey_ItemsRequested ( object sender, RadComboBoxItemsRequestedEventArgs e ) 
    {
        try
        {
            string PageParameter = null;
            RadComboBox rcb_CostEntityKey = (RadComboBox)sender;
            GridDataItem dataItem = (GridDataItem)rcb_CostEntityKey.NamingContainer;
            RadComboBox rcb_CostEntity = (RadComboBox)dataItem.FindControl("rcb_PODetailCostEntity");
            int CostEntityID =0;
            int.TryParse(HiddenField_PODetailCostEntityID.Value, out CostEntityID);
            if (CostEntityID == GlobalConstants.CONTRACT_ENTITY_ID)
                PageParameter = "contract";
            if (CostEntityID == GlobalConstants.CSSALES_ORDER_ENTITY_ID)
                PageParameter = "cssalesorder";
            if (CostEntityID == GlobalConstants.CONTRACT_ITEM_ENTITY_ID)
                PageParameter = "contractitem";
            if (CostEntityID == GlobalConstants.PROJECT_ENTITY_ID)
                PageParameter = "project";
            if (CostEntityID == GlobalConstants.TRADING_SALES_ENTITY_ID)
                PageParameter = "tradingsales";
            if (CostEntityID == GlobalConstants.MANUFACTURE_ORDER_ENTITY_ID)
                PageParameter = "ManufactureOrder";
            GetIDValues.rcb_dKey_ItemsRequested(sender, e, int.Parse(rcb_CostEntity.SelectedValue), rcb_CostEntityKey, PageParameter);
        }
        catch (Exception ex)
        {
            XITingExceptionProcessor.ProcessException(this, ex);
        }
    }





Princy
Top achievements
Rank 2
 answered on 08 Jul 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?