Telerik Forums
UI for ASP.NET AJAX Forum
7 answers
309 views

Hello,

I'm using RadAjaxLoadingPanel with a Skin="Windows7".  It works fine when I cliked on a button while retrieving data from a database, but after that, I try to click on the button again or even click on the Next-Previous button on the RadGrid, the animation displays static, without spinning circle.  This is odd.  Can you advise?  Am I missing a setting somewhere?
Please see the attached file for my code.

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Default" %>
  
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  
<head runat="server">
    <title>ITSM User Information</title>
    <telerik:RadStyleSheetManager id="RadStyleSheetManager1" runat="server" />
</head>
<body>
    <form id="form1" runat="server">
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
            <Scripts>
                <%--Needed for JavaScript IntelliSense in VS2010--%>
                <%--For VS2008 replace RadScriptManager with ScriptManager--%>
                <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
                <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
                <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
            </Scripts>
        </telerik:RadScriptManager>
        <script type="text/javascript">
            //function export data to Excel
            function onRequestStart(sender, args) {
                if (args.get_eventTarget().indexOf("ExportToExcelButton") >= 0) {
                    args.set_enableAjax(false);
                }
            }
        </script>
        <br />
        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" DefaultLoadingPanelID="RadAjaxLoadingPanel1" />
        <div style="text-align:center; font-weight:bold; font-size:large">
            User Foundation Data
        </div>
        <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" 
            ClientEvents-OnRequestStart="onRequestStart" 
            LoadingPanelID="RadAjaxLoadingPanel1" EnableHistory="True" 
            HorizontalAlign="NotSet">     
            <div style="text-align:center">
                <table style="width:100%">
                    <tr>
                        <td style="width:32%"></td>
                        <td style="width:10%; text-align:center">
                            <asp:Button ID="btUpdate" runat="server" Text="Collect Data" Font-Bold="true" 
                                onclick="btUpdate_Click" />
                        </td>
                        <td style="width:10%; text-align:center">
                            <asp:Button ID="btAccept" runat="server" Text="Accept" Font-Bold="true"
                                onclick="btAccept_Click" Enabled="False" />
                        </td>
                        <td style="width:10%; text-align:center">
                            <asp:Button ID="btReject" runat="server" Text="Reject" Font-Bold="true" 
                                OnClick="btReject_Click" Enabled="False" />
                        </td>                  
                        <td style="text-align:left; width:15%">
                            <telerik:RadTextBox ID="rtxtRequestTicket" Runat="server" 
                                EmptyMessage="Enter Request Ticket #" Width="125px" MaxLength="9"                                                      
                                ToolTip="Please enter the request ticket number that status already completed" 
                                Display="False" Skin="Windows7">
                            </telerik:RadTextBox>
                        </td>
                        <td style="width:25%"></td>
                    </tr>
                </table
            </div><br />        
            <telerik:RadGrid ID="RadGridUser" runat="server" Skin="Windows7" AutoGenerateColumns="false"
                AllowPaging="True" CellSpacing="0"  
                onneeddatasource="RadGridUser_NeedDataSource" 
                onitemcommand="RadGridUser_ItemCommand" 
                ongridexporting="RadGridUser_GridExporting" 
                onexcelmlexportrowcreated="RadGridUser_ExcelMLExportRowCreated" 
                onexcelmlexportstylescreated="RadGridUser_ExcelMLExportStylesCreated" 
                onexportcellformatting="RadGridUser_ExportCellFormatting">
                <ExportSettings ExportOnlyData="True"  
                    IgnorePaging="True" OpenInNewWindow="True" HideStructureColumns="True" 
                    FileName="">
                    <Excel Format="ExcelML" />
                </ExportSettings>
                <MasterTableView CommandItemDisplay="Top">
                    <CommandItemSettings ExportToPdfText="Export to PDF" 
                        ShowAddNewRecordButton="False" ShowExportToExcelButton="True" />
                    <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column">
                    </RowIndicatorColumn>
                    <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column">
                    </ExpandCollapseColumn>
                    <Columns>
                        <telerik:GridBoundColumn DataField="Action" HeaderText="Action"
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="ADName" HeaderText="AD_Name"
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="Email" HeaderText="Email" Visible="false">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="FirstName" HeaderText="First Name"
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="Middle" HeaderText="Middle"
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="LastName" HeaderText="Last Name"
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="VIP" HeaderText="VIP" >
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="Location" HeaderText="Location" Visible="false"
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="Department" HeaderText="Department" Visible="false"
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="Phone" HeaderText="Phone" ItemStyle-Width="80px">
                            <ItemStyle Width="80px" />
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="Birthday" UniqueName="Birthday" HeaderText="Birthday"
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="Last4" UniqueName="Last4" HeaderText="Last4" >
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="DebugEmpID" UniqueName="DebugEmpID" HeaderText="DebugEmpID" Visible="false" >
                        </telerik:GridBoundColumn>
                    </Columns>
                    <EditFormSettings>
                        <EditColumn FilterControlAltText="Filter EditCommandColumn column">
                        </EditColumn>
                    </EditFormSettings>
                    <ItemStyle HorizontalAlign="Left" />
                    <HeaderStyle HorizontalAlign="Left" />
                    <SortExpressions>
                        <telerik:GridSortExpression FieldName="Action" SortOrder="Descending" />
                    </SortExpressions>
                </MasterTableView>
                <HeaderStyle HorizontalAlign="Left" />
                <ItemStyle HorizontalAlign="Left" />
                <FilterMenu EnableImageSprites="False">
                </FilterMenu>
                <HeaderContextMenu CssClass="GridContextMenu GridContextMenu_Windows7">
                </HeaderContextMenu>
            </telerik:RadGrid>       
            <br /><br />
            <asp:Label ID="lbResult" runat="server"></asp:Label>
        </telerik:RadAjaxPanel>
        <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Windows7" />
    </form>
</body>
</html>

Oh, one more thing, I want to export data from a RadGrid, by default it creates an .xls file type.  I want to export to an .xlsx (2007 format).  I searched on the forum and see that's possible by adding Excel-FileExtension = "xlsx" in the ExportSettings.  However, it's still not working.  Please help me on this matter.
Thanks so much!

Galin
Telerik team
 answered on 06 Feb 2012
5 answers
106 views
Hi,

I add over 150 columns to Rad Filter in code behind grammatically. When I click columns section on RadFilter, it takes really long to show the list. Also the list is so long, and it is not easy to find the column name you want.

So I was wondering if I could use a type ahead to select the column name.

Thanks,

Nazmi Etik
Mira
Telerik team
 answered on 06 Feb 2012
1 answer
51 views
I want to change the back color of telerik radTimePicker after disabled in javascript
How is it possible?
Princy
Top achievements
Rank 2
 answered on 06 Feb 2012
2 answers
61 views
Hi,

I'm using a RadStyleSheetManager on a form and make it add a css file from an embedded resource by calling:
myRSSM.StyleSheets.Add(new StyleSheetReference("stylesheet.css", "My.Lib"));
However, no matter what the contents of the css file, it works in Chrome and IE8, but not in IE9. IE9 just doesn't seem to load the file. Could I be doing something wrong?

Thanks,
Emiel
Emiel
Top achievements
Rank 1
 answered on 06 Feb 2012
1 answer
252 views
I am using RadFormDecorator on an Asp.Net4 site.

When a request is made to WebResource.axd for the RadFormDecorator Skin using the  'www.' URL the correct CSS is returned.

When the same request is made without the 'www.' the error is produced:

System.Web.HttpException: This is an invalid webresource request.

System.Web.HttpException (0x80004005): This is an invalid webresource request.

   at System.Web.Handlers.AssemblyResourceLoader.System.Web.IHttpHandler.ProcessRequest(HttpContext context)
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Here is the code from the sites masterpage:
<telerik:RadScriptManager runat="server" ID="radScriptManager" OutputCompression="AutoDetect" CdnSettings-TelerikCdn="Enabled" CdnSettings-BaseUrl="https://d2i2wahzwrm1n5.cloudfront.net"  EnablePartialRendering="true" EnableScriptCombine="true" />
<telerik:RadStyleSheetManager runat="server" ID="RadStyleSheetManager1" CdnSettings-TelerikCdn="Enabled" CdnSettings-BaseUrl="https://d35islomi5rx1v.cloudfront.net" EnableStyleSheetCombine="true" />
<telerik:RadFormDecorator ID="radFormDecorator" runat="server" DecoratedControls="all" Skin="Windows7" />


How can I stop this error?
Niko
Telerik team
 answered on 06 Feb 2012
4 answers
102 views
Hi Friends,

Belated wishes Happy New 2012.

In my project, I'm using RadTreeview. Earlier i have client side(Java Script) code within page itself. It works fine. But Now i move all codes to separate Java Script File it won't find Tree View. Please give me solution for this.  Because of Security Reason I move to  separate  file.


Thanks 
-- Vinoth

Kate
Telerik team
 answered on 06 Feb 2012
1 answer
58 views

                I have Telerik controls for ASP.NET used in a web page in my project. There is a RadAjaxPanel, which has a RadComboBox. This combo box has a RadTreeView placed inside it. When a node is clicked in the RadTreeView, the NodeClick event for the RadTreeView is fired which populates data in a RadGrid placed inside the same RadAjaxPanel. The requirement is when the data is getting fetched, a progress bar should appear to indicate a background processing. It is working fine.  But, once the grid is loaded, the RadComboBox is disabled and is not available again for selection. Kindly advice me on how to make the RadComboBox available for selection even after the first node click has taken place.

Tsvetina
Telerik team
 answered on 06 Feb 2012
1 answer
66 views
I am using Grid with button on it and i have already uploaded .SWF FIle in Database, now i want to display that SWF file in Web Page on Button click of Grid Row and it should be on particular section how can i get this using any telerik control
Tsvetina
Telerik team
 answered on 06 Feb 2012
1 answer
159 views
Does anyone have an example of how to dynamically add a web user control to a RadPanel? I have the following code, but it does not like how I am assigning the control. Does anyone have any ideas or a better way of doing this?
Dim mainItem As New RadPanelItem()
mainItem.Text = "Parent"
mainItem.Expanded = True

Dim secItem As New RadPanelItem()
secItem.Text = "Child"
secItem.Expanded = True

Dim control As New RadPanelItem()
Dim uc As Control = Page.LoadControl("~/WebUserControls/Panels/pnl_Selection.ascx")
uc.ID = "ucSelection"
control.Items.Add(uc)

secItem.Items.Add(control)
mainItem.Items.Add(secItem)
pbPnlBar.Items.Add(mainItem)
Princy
Top achievements
Rank 2
 answered on 06 Feb 2012
1 answer
57 views

Hi,

I have a main page like Main.aspx.

 

 

<telerik:RadPane ID="viewPane" runat="server" Scrolling="None" >

 

 

<telerik:RadSplitter ID="innerSplitter" runat="server" Height="100%" Width="100%" EnableViewState="true" VisibleDuringInit="true" >

 

 

<telerik:RadPane ID="leftMiddlePane" runat="server" ContentUrl="StartPage.aspx"></telerik:RadPane>
</telerik:RadSplitter >
</telerik:RadPane >

I have another page say Default.aspx  which contains RadTabStrip inside RadTab say copy,paste etc..
programatically I set Default.aspx in the "leftMiddlePane" .
I have another page open using window.open method .

My aim is to access RadTab text in the newly opened window .?

How can I get these RadTabs name inside newly opened window using javascript or Jquery?

Thanks

Sindu.



Shinu
Top achievements
Rank 2
 answered on 06 Feb 2012
Narrow your results
Selected tags
Tags
+124 more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?