Telerik Forums
UI for ASP.NET AJAX Forum
46 answers
499 views

I just updated to the latest telerik ajax controls (2011.2 915) and now the RadUpload control looks very strange in IE 8.  No matter what skin I put on it, it just looks like a gray box with a top and right border and no browse button.

In Firefox it looks correct.


Any ideas?

Hristo Valyavicharski
Telerik team
 answered on 20 Mar 2013
2 answers
327 views
I return data to a RadGrid and would like to give the user the option to either export it to a CSV and/or Excel file.  The CSV file would only provide them limited fields that they would need in order to import it into another application.  The Excel version would contain all the columns displayed in the Grid. 

I am currently able to give them the Excel file but is this possible to give them the CSV file using the same grid results only exporting preselected columns?  If so, how would I go about doing this?

Also, is it possible to display the filters (using radFilter) that were applied on the exported file?
Kurt Kluth
Top achievements
Rank 1
 answered on 20 Mar 2013
3 answers
71 views
I have a "Main" grid on the page which generates many reports based upon the user selection. 

Here is the code of the Grid:
<telerik:RadGrid ID="gvMainControl" runat="server" AutoGenerateColumns="true" GridLines="None"
    CellPadding="0" CellSpacing="0" AllowPaging="False" Skin="WebBlue" AllowSorting="true"
    ShowFooter="True" EnableLinqExpressions="false" AllowCustomPaging="false" >
    <MasterTableView TableLayout="Auto" AllowFilteringByColumn="False" PageSize="20"
        CommandItemDisplay="Top" AllowCustomPaging="false" >
    </MasterTableView>
</telerik:RadGrid>


Some of the reports requires Hierarchy Grids within the MasterTableView which we create once the user clicks the "Generate Report Button". Here is the code to add the DetailsTables on Button Click:        
    For i = 0 To intLevels
        Dim tableViewOrders As New Telerik.Web.UI.GridTableView()
        tableViewOrders.DataMember = dicTemp(i).GroupBy.GroupBy(0)
        gvMainControl.MasterTableView.DetailTables.Add(tableViewOrders)
    Next i


We use the NeedDataSource event to re-populate the main grid when needed:
Protected Sub gvMainControl_NeedDataSource(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridNeedDataSourceEventArgs) Handles gvMainControl.NeedDataSource
        gvMainControl.DataSource = reporting_service.Run(Of Reporting.Item_DrillDown)()
        gvMainControl.MasterTableView.DataKeyNames = {"Category_Name"}
        gvMainControl.MasterTableView.ClientDataKeyNames = {"Category_Name"}
End Sub

Expending the grids works well and the data is shown via DetailsTableDataBind:      
Protected Sub gvMainControl_DetailTableDataBind(sender As Object, e As Telerik.Web.UI.GridDetailTableDataBindEventArgs) Handles gvMainControl.DetailTableDataBind
 
    If e.DetailTableView.DataMember = "Item_Name" Then
        Dim strCategory_Name As String = CType(e.DetailTableView.ParentItem, Telerik.Web.UI.GridDataItem).GetDataKeyValue("Category_Name")
        e.DetailTableView.DataSource = New Reporting_Service.Query(Global.Reporting_Service.Query.Report_Type.Items, New Dictionary(Of String, String) From {{"Category_Name", strCategory_Name}}, _
                                                                        Nothing, New Reporting_Service.Query.Group(New List(Of String)({"Item_Name"}), New List(Of String)({"Quantity", "Total_Price"})), New List(Of String)({"Quantity"}), True, Nothing, Me.strUniqueID).Run(Of Reporting.Item_DrillDown)()
 
 
 
    End If

Problem starts when you try to Sort or Page in the inner Grids. It simply doesn't work. No event gets fired, not "NeedDataSource" or "DetailsTableDataBind". 

Your help is appreciated. 


Kostadin
Telerik team
 answered on 20 Mar 2013
3 answers
160 views
I have a problem in the RadAjaxloadPainel in the Browser Chrome Versão 25.0.1364.160 m, Only  load one times. And  generates the error in attachment.


Code: telerik:RadAjaxManagerProxy 


<telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server">
       <AjaxSettings>
           <telerik:AjaxSetting AjaxControlID="ddlFamily">
               <UpdatedControls>
                   <telerik:AjaxUpdatedControl ControlID="ddlFamily" LoadingPanelID="RadAjaxLoadingPanel1" UpdatePanelCssClass="" />
                   <telerik:AjaxUpdatedControl ControlID="ddlGroup" LoadingPanelID="RadAjaxLoadingPanel1" UpdatePanelCssClass="" />
               </UpdatedControls>
           </telerik:AjaxSetting>
           <telerik:AjaxSetting AjaxControlID="ddlGroup">
               <UpdatedControls>
                   <telerik:AjaxUpdatedControl ControlID="ddlGroup" UpdatePanelCssClass="" />
                   <telerik:AjaxUpdatedControl ControlID="ListViewPanel1" UpdatePanelCssClass="" />
               </UpdatedControls>
           </telerik:AjaxSetting>
           <telerik:AjaxSetting AjaxControlID="ddlckcacessorios">
               <UpdatedControls>
                   <telerik:AjaxUpdatedControl ControlID="ListViewPanel1" UpdatePanelCssClass="" />
               </UpdatedControls>
           </telerik:AjaxSetting>
           <telerik:AjaxSetting AjaxControlID="ddlformato">
               <UpdatedControls>
                   <telerik:AjaxUpdatedControl ControlID="ListViewPanel1" UpdatePanelCssClass="" />
               </UpdatedControls>
           </telerik:AjaxSetting>
           <telerik:AjaxSetting AjaxControlID="ddltipo">
               <UpdatedControls>
                   <telerik:AjaxUpdatedControl ControlID="ListViewPanel1" UpdatePanelCssClass="" />
               </UpdatedControls>
           </telerik:AjaxSetting>
           <telerik:AjaxSetting AjaxControlID="ddlcampanhas">
               <UpdatedControls>
                   <telerik:AjaxUpdatedControl ControlID="ListViewPanel1" UpdatePanelCssClass="" />
               </UpdatedControls>
           </telerik:AjaxSetting>
           <telerik:AjaxSetting AjaxControlID="ddlFaixaPreco">
               <UpdatedControls>
                   <telerik:AjaxUpdatedControl ControlID="ListViewPanel1" UpdatePanelCssClass="" />
               </UpdatedControls>
           </telerik:AjaxSetting>
           <telerik:AjaxSetting AjaxControlID="ddlfiltros">
               <UpdatedControls>
                   <telerik:AjaxUpdatedControl ControlID="ListViewPanel1" UpdatePanelCssClass="" />
               </UpdatedControls>
           </telerik:AjaxSetting>
           <telerik:AjaxSetting AjaxControlID="btnSearch">
               <UpdatedControls>
                   <telerik:AjaxUpdatedControl ControlID="txtCodigo" LoadingPanelID="RadAjaxLoadingPanel1" UpdatePanelCssClass="" />
                   <telerik:AjaxUpdatedControl ControlID="btnSearch" LoadingPanelID="RadAjaxLoadingPanel1" UpdatePanelCssClass="" />
                   <telerik:AjaxUpdatedControl ControlID="ListViewPanel1" LoadingPanelID="RadAjaxLoadingPanel1" UpdatePanelCssClass="" />
                   <telerik:AjaxUpdatedControl ControlID="P13" UpdatePanelCssClass="" />
               </UpdatedControls>
           </telerik:AjaxSetting>
           <telerik:AjaxSetting AjaxControlID="RadDataPager1">
               <UpdatedControls>
                   <telerik:AjaxUpdatedControl ControlID="ListViewPanel1" LoadingPanelID="RadAjaxLoadingPanel1"                                           UpdatePanelCssClass="" /> 
               </UpdatedControls>
           </telerik:AjaxSetting>
       </AjaxSettings>
   </telerik:RadAjaxManagerProxy>
 
   <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel2" runat="server"
                                EnableSkinTransparency="True"  Skin="Vista" Transparency="30"/>
   <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server"  Skin="Metro"
                                EnableSkinTransparency="True" Transparency="70"/>


Code Controls :
<asp:Button ID="btnSearch" runat="server" Font-Names="Open Sans" style="margin-left:20px"
                                                    CssClass="botaoNeutro"  Visible="False" />
 
 
 
 <div style="text-align: center; background-color:white; width: 99%;">
            <asp:Panel ID="ListViewPanel1"  runat="server"  >
                                                 
                <telerik:RadListView ID="RadListView1" runat="server"
                                     AllowPaging="True" DataSourceID="SqlDataSource"
                                     ItemPlaceholderID="ProductsContainer" DataKeyNames="cod_produto"
                                     OnPageIndexChanged="RadListView1_PageIndexChanged"
                                     AllowMultiItemSelection="True"
                                     Skin="Vista"
                                     Font-Names="Open Sans"
                                     ClientDataKeyNames="cod_produto" PageSize="12"
                                     >
                                     
                    <%-- OnItemDataBound="Radlist1_ItemDataBound"--%>
                    <LayoutTemplate>
                        <div style="width: 940px; padding-left: 40px;">
                            <table>
                                <tr>
                                    <td style="width: 930px" align="left">
                                        <asp:PlaceHolder ID="ProductsContainer" runat="server"></asp:PlaceHolder>
                                    </td>
                                </tr>
                             
                            </table>
                        </div>
                    </LayoutTemplate>
                                     
                    <ItemTemplate>
                                     
                        <div  style="float: left; width: 150px; height: 145px;  text-align: left;" align="left">
                            <table cellpadding="0" cellspacing="0" align="left">
                                         
                                <tr>
                                    <td>
 
                                        <asp:Image ID="ImageButton1" runat="server"  width="140px" height="110px" Style="cursor:pointer;"  onclick="ShowProduto(this)"
                                                   ImageUrl='<%# "URL=" + Eval("cod_produto")%>' ToolTip='<%# Eval("cod_produto")%>' />
                              
                                     
                                    </td>
                                </tr>
                                         
                            </table>
                        </div>
                                         
                    </ItemTemplate>
                                                     
                </telerik:RadListView>
                                     
                <table>
                    <tr>
                        <td align="center">
                            <fieldset style="width: 900px;  padding-left: 40px; display: none;" id="FieldSet1" class="RadListView RadListView_Vista">
                                     
                                <table  width="100%" class="RadListView RadListView_Vista" align="center">
                             
                                    <tr>
                     
                                        <td>
                 
                                            <telerik:RadDataPager ID="RadDataPager1" align="center" runat="server" PagedControlID="RadListView1"
                                                                  Font-Names="Open Sans" PageSize="12" BorderStyle="None"  Skin="Vista"
                                                                  >
                                                <Fields>
                                                    <%--   <telerik:RadDataPagerPageSizeField  PageSizeText="<%$ Resources:Termos, QtdPagina %>"
                                                    HorizontalPosition="LeftFloat" />
                                                    --%>
                                                    <telerik:RadDataPagerTemplatePageField>
                                                        <PagerTemplate>
                                                            <div>
                                                                <span style="vertical-align: middle;  font-weight: bold; padding-left: 5px; font-family: 'Open Sans';">
                                                                    <asp:Label ID="Label10" runat="server" Text="<%$ Resources:Termos, QtdPagina %>"></asp:Label>
                                                                </span>
                                                                <telerik:RadComboBox  runat="server" Font-Names="Open Sans" ID="cmbPageSize" OnSelectedIndexChanged="cmbPageSize_SelectedIndexChanged"
                                                                                      AutoPostBack="true" Width="40px" SelectedValue='<%# Container.Owner.PageSize %>'  Skin="Vista">
                                                                    <Items>
                                                                        <telerik:RadComboBoxItem Text="6" Value="6" />
                                                                        <telerik:RadComboBoxItem Text="12" Value="12" />
                                                                        <telerik:RadComboBoxItem Text="24" Value="24" />
                                                                        <telerik:RadComboBoxItem Text="48" Value="48" />
                                                                        <telerik:RadComboBoxItem Text="54" Value="54" />
                                                                        <telerik:RadComboBoxItem Text="60" Value="60" />
                                      
                                                                    </Items>
                                                                </telerik:RadComboBox>
                                      
                                                            </div>
                                      
                                                        </PagerTemplate>
                     
                                                    </telerik:RadDataPagerTemplatePageField>
                         
                                                    <telerik:RadDataPagerButtonField FieldType="Numeric" />
                                 
                                                </Fields>
                                            </telerik:RadDataPager>
                                        </td>
                                 
                                    </tr>
                                </table>
                            </fieldset>
                        </td>
                    </tr>
                     
                </table>
        </asp:Panel>
</div>

In others Browser with : IE9,Firefox, the page load the RadAjaxLoadingPanel correctly.


Maria Ilieva
Telerik team
 answered on 20 Mar 2013
1 answer
142 views
When I am validating a text box, I show a rad alert with error message, if i close the rad alert with mouse, it works perfectly, however
if I hit the 'Enter' key, the first time it behaves as expected, but after that it starts showing up the below message,


Why do i get this message only with 'Enter' key and is there a way to suppress this message?

Thanks,
Deepa

Marin Bratanov
Telerik team
 answered on 20 Mar 2013
3 answers
122 views
Hi 


         I have telerik rad gantt chart i want to use this gantt chart into rad sheadular... is this possible?

         if it is possible pls provide the solution for this



Thanking you
P.Mugil
Plamen
Telerik team
 answered on 20 Mar 2013
7 answers
285 views
So I have a RadAjaxLoadingPanel that I use and I want it to show for say a grid or even full screen not only when a ajax call is being done, but also a full postback. However, it seems that in routines where full postback is done or more importantly when args.set_enableAjax(false); is called on the client OnRequestStart that the panel does not show up. Does the panel only show up when a ajax call is being made? Is there a way for me to show a loading panel on demand without any ajax call or such being done? Thanks.
Maria Ilieva
Telerik team
 answered on 20 Mar 2013
5 answers
108 views
Hi,
I have a problem with the borders, but it only seems to be happening in IE 10. Now... sometimes, it works in compatibility mode, but we cannot expect customers to know how compatibility mode works.

I have attached two screenshots of the dev tools for IE 10 and Chrome to show the difference in the rendered CSS. It seems that (in this case, the right border of the pop-up window) the resource is not being rendered though the table cell is, but looks fine in chrome.

I also have the title bar of the window missing (well, the title bar is present, but the background border / image is missing).

Any help would be appreciated.

I have the hotfix for Microsoft ajax installed. I am using 2013.1.220.40 of the telerik controls.

Thank you.
Marin Bratanov
Telerik team
 answered on 20 Mar 2013
3 answers
115 views
since upgrade 2012.3.1205.35, hyperlinks and button inside RadScheduler appointment templates does not work. I made a client click working by handling the "ontouchend" event. I also have a span in my template that opens a radToolTip and it won't open anymore either. Can I do something to make all my clicks work as they were in previous telerik versions and in desktop verrsions? I can also reproduce the bug in Chrome with user agent "Ipad - IOS 5 " and "Emulate touch events" checked
Plamen
Telerik team
 answered on 20 Mar 2013
5 answers
900 views
Hi,

I am having problem with dropdownlist of radcombobox not sticking to the combobox when i scroll the page using mouse. The radcombobox gets displayed in a modalpopup which is created using ajaxcontroltoolkit's modal popup extender. When the background page gets scrolled using mouse wheel the dropdown list also goes up and down along with the scroll

I know this is getting caused due to the css. Need some help fixing the css for the same
K10
Top achievements
Rank 1
 answered on 20 Mar 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?