Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
81 views
There are three divs inside the panel: div1,div2,div3. Inside each div there is a linkbutton. Each link button runs scripts, but the final step of each button event is that it would switch the divs by using the attribute.add style property. Now, this works on FF, IE, and Chrome. However, there is a strange issue on IPhone, of which I cant really test as I dont have an iphone. The user who has the issue says they click on the button on div1 and it properly updates to div2. However, clicking upon the button in div2, does not update to div3 but the events in the button in div2 is still triggered. I tried this on my android device and I tried to emulate the iphone on Chrome, and I can't seem to replicate this issue. Is there any known issues in running the ajaxpanel/loadingpanel on iphone.
Konstantin Dikov
Telerik team
 answered on 21 Jan 2016
2 answers
149 views
Hi,

We are using Radgrid and binding it server side but we want to export the grid to excel, but the server side exporting is not working for us, can you please help us with exporting to excel using client side binding?

We tried a link but its is not working for us: http://www.telerik.com/community/forums/aspnet-ajax/grid/performance-issue-when-exporting-a-large-number-of-records-to-excel-is-it-normal.aspx

Thanks in advance.
Ruchi
Top achievements
Rank 1
 answered on 21 Jan 2016
10 answers
2.2K+ views
Here is my grid:

                <asp:Button ID="btnExcel" runat="server" CssClass="inpButton" Text="Export to Excel" OnClick="btnExcel_Click" />
                <telerik:RadGrid ID="grdInvoices" AutoGenerateColumns="false" AllowSorting="false" AllowMultiRowSelection="false" runat="server">
                    <MasterTableView>
                        <Columns>
                            <telerik:GridBoundColumn HeaderText="Invoice Number" UniqueName="InvNum" DataField="invoiceNumber" HeaderStyle-Width="10%"></telerik:GridBoundColumn>
                            <telerik:GridBoundColumn HeaderText="Note Code" UniqueName="Note" DataField="noteCode" HeaderStyle-Width="10%"></telerik:GridBoundColumn>
                            <telerik:GridBoundColumn HeaderText="PO Number" UniqueName="po" DataField="poNumber" HeaderStyle-Width="30%"></telerik:GridBoundColumn>
                            <telerik:GridBoundColumn HeaderText="Invoice Date" UniqueName="invDate" DataField="invoiceDate" HeaderStyle-Width="10%"></telerik:GridBoundColumn>
                            <telerik:GridBoundColumn HeaderText="Original Invoice Balance" UniqueName="OrigBal" DataField="origBalance" HeaderStyle-Width="15%"></telerik:GridBoundColumn>
                            <telerik:GridBoundColumn HeaderText="Invoice Payments" UniqueName="InvPay" DataField="paymentAmount" HeaderStyle-Width="10%"></telerik:GridBoundColumn>
                            <telerik:GridBoundColumn HeaderText="Present Invoice Balance" UniqueName="InvBal" DataField="presentBalance" HeaderStyle-Width="15%"></telerik:GridBoundColumn>
                        </Columns>
                    </MasterTableView>
                    <ClientSettings EnableRowHoverStyle="true">
                        <Selecting AllowRowSelect="True"></Selecting>
                    </ClientSettings>
                </telerik:RadGrid>


And here is the button click logic:
    protected void btnExcel_Click(object sender, EventArgs e)
    {
        try
        {
            grdInvoices.ExportSettings.ExportOnlyData = true;
            grdInvoices.ExportSettings.IgnorePaging = true;
            grdInvoices.ExportSettings.OpenInNewWindow = true;
            grdInvoices.ExportSettings.FileName = @"C:\jasInv.xlxs";
            grdInvoices.MasterTableView.ExportToExcel();
        }
        catch (Exception ex)
        {
            txtError.Text = ex.Message;
        }
    }

It does nothing.  The file isn't created, no errors, nothing.
Kostadin
Telerik team
 answered on 21 Jan 2016
1 answer
105 views

Hello,  

I need to be able to change the editcolumn icon of the RadGrid to a custom Icon using css background properties.

Any direction pointers ?

Thanks

Eyup
Telerik team
 answered on 21 Jan 2016
1 answer
343 views

Hi all,

 I'm using a rad grid to display employees list and for every employee I have to do some actions so for every employee row i have some buttons 

   Edit , Delete , Action

I m using on (RadGrid1_ItemCreated) event to handle these buttons 

in the action button I have to display a context menu with list of related actions for the selected employee 

how can I display this context menu and how to relate every menu Item to the selected employee 

 

thanks

Eyup
Telerik team
 answered on 21 Jan 2016
1 answer
123 views

I have telerik RadDockZone and I have placed three closing window, setting window and refresh window icons something like this

 

<telerik:RadDockZone Style="border: 0;" runat="server" ID="RadDockZone1"> <telerik:RadDock runat="server" ID="RadDock1" DockHandle="TitleBar" Height="100%" Width="100%" EnableRoundedCorners="true" EnableAnimation="false"> <Commands> <telerik:DockCloseCommand></telerik:DockCloseCommand> <telerik:DockCommand Name="Custom Command" OnClientCommand="CustomCommand"></telerik:DockCommand> <telerik:DockCommand Name="doRefresh" Text="Refresh" AutoPostBack="true" CssClass="CustomCommandRefresh" /> </Commands> <ContentTemplate> <asp:Panel runat="server" ID="Panel1" Style="height: auto; width: auto" /> </ContentTemplate> </telerik:RadDock> </telerik:RadDockZone>

 

I just want to change Refresh icon which is

 

<telerik:DockCommand Name="doRefresh" Text="Refresh" AutoPostBack="true" CssClass="CustomCommandRefresh" />

 

to something else is it possible to change default icons for telerik docks?? please find attached image to further illustrate 

 

SANJAY
Top achievements
Rank 1
 answered on 20 Jan 2016
7 answers
558 views
Hello

I'm trying to export a RadHtmlChart with a header area that contains the company logo. On my development machine everything works fine. The logo appears on screen and in the exported pdf. But on our test server and the customer's test server the logo is visible only on screen and NOT in the PDF. I assume it's a path problem but I can't find any solution. 
Any ideas somebody?

Thanks in advance.
Ruggero

<div id="PdfOutputArea">
     <div id="PdfHeader" style="visibility: visible;height: 80px;padding-left: 20px;">
        <p>Auswertung erstellt am <%# DateTime.Now.ToString("dd.MM.yyyy") %> durch <%# SessionHelper.BenutzerVorname %> <%# SessionHelper.BenutzerNachname %></p>
        <img src="~/Images/LOGO.png" runat="server" />
     </div>
     <telerik:RadHtmlChart runat="server" ID="OOSChart">
     [... more code ...]
     </telerik:RadHtmlChart>
</div>

<script type="text/javascript">
   function ExportOOSChartToPDF(sender, args) {
     $find('<%=RadClientExportManager1.ClientID%>').exportPDF($("#PdfOutputArea"));
   }
</script>

var relativePath = "~/api/export/file";
RadClientExportManager1.PdfSettings.ProxyURL = ResolveUrl(relativePath);
Vessy
Telerik team
 answered on 20 Jan 2016
1 answer
120 views

Hi

I wana to use ASP.NET AJAX UI  but  i can't  find  rich documentation about it .

Is there a complete project that  used  ASP.NET AJAX UI  ?

I wana to see that for use best practise .

please help me .

Vessy
Telerik team
 answered on 20 Jan 2016
5 answers
226 views

Hi All, 

I need to alter some things on the material design skin.  When will it be added to the visual theme tool?

Regards

Jon

Rumen
Telerik team
 answered on 20 Jan 2016
1 answer
68 views

I'm using a rad button to ask the user if they want to cancel a request. See code below  

Is there a way to incorporate a comments section that will allow users to say why they want to cancel their request ? 

 

Any help would be appreciated

 

 <script type="text/javascript">
    function OnClientClicked(button, args) {
        if (window.confirm("Are You Sure You Want to Cancel This Request?")) {
            button.set_autoPostBack(true);
        }
        else {
            button.set_autoPostBack(false);
        }
    }
    </script>

 

<telerik:RadButton ID="b2" runat="server" ButtonType="LinkButton" 
                            Font-Names="Verdana" Font-Size="Small" Height="30" Skin="Windows7" 
                            Text="Cancel Request" OnClick="b2_Click" OnClientClicked="OnClientClicked">
                            <Icon PrimaryIconCssClass="rbRemove" PrimaryIconLeft="7" PrimaryIconTop="7" />
                        </telerik:RadButton>

Vessy
Telerik team
 answered on 20 Jan 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?