Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
468 views

I am trying to use the RadAsyncUpload to upload a file, the file does get uploaded but it is uploaded as soon as it is selected and the OnFileUploaded event is never fired.  I have tried everything in the following links and none have worked: link1link2link3link4.  The .aspx file is quite large and so I will try to give all the important information without showing all lines of html.  The uploader is in a radpane whose visibility is set to false until the user makes a selection, that radpane is nested within mutiple radpanes and splitters, all of which are inside an asp Panel.  I am using the RadAjaxManager as well and I have added the uploader, panel and the postback trigger button to in an attempt to make it work.  Not sure if this will make a difference but the uploader is also not uploading to the TargetFolder.

Here is the requestStart function to cause the postback (I do have the ClientEvents OnRequestStart in the ajaxManager):

<telerik:RadCodeBlock ID="rcb1" runat="server">
            <script type="text/javascript">
 
                function requestStart(target, arguments) {
                    if (arguments.get_eventTarget().indexOf("btnUpload") > -1) {
                        arguments.set_enableAjax(false);
                    }
                    if (arguments.get_eventTarget().indexOf("rauFile") > -1) {
                        arguments.set_enableAjax(false);
                        arguments.set_cancel(true);
                    }
                }
            </script>
        </telerik:RadCodeBlock>

Here is the html for the radasyncupload and the postbacktrigger button:

<telerik:RadAsyncUpload ID="rauFile" runat="server" AllowedFileExtensions=".xls, .xlsx" HideFileInput="true" PostbackTriggers="btnUpload" MaxFileInputsCount="1" OnFileUploaded="rauFile_FileUploaded" TargetFolder="~/Uploads/Run Matrix/" />
<telerik:RadButton ID="btnUpload" runat="server" Text="Upload" OnClick="btnUpload_Click" />
Devon
Top achievements
Rank 1
 answered on 20 Jun 2017
0 answers
81 views

Hi!

I have two radgrids and i want to pass the data to another radgrid when i press the "edit" button"

.

Ps. Dont want the drag and drop option. Just by clicking on the edit button.

 

Thankss!!

 

Vanessa
Top achievements
Rank 1
 asked on 19 Jun 2017
1 answer
186 views

                          <ExceptionType>System.NullReferenceException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
                            <Message>Object reference not set to an instance of an object.</Message>
                            <Source>mscorlib</Source>
                            <StackTrace>   at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark&amp; stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   at System.Reflection.RuntimeAssembly.InternalGetSatelliteAssembly(String name, CultureInfo culture, Version version, Boolean throwOnFileNotFound, StackCrawlMark&amp; stackMark)
   at System.Resources.ManifestBasedResourceGroveler.GetSatelliteAssembly(CultureInfo lookForCulture, StackCrawlMark&amp; stackMark)
   at System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet(CultureInfo culture, Dictionary`2 localResourceSets, Boolean tryParents, Boolean createIfNotExists, StackCrawlMark&amp; stackMark)
   at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo requestedCulture, Boolean createIfNotExists, Boolean tryParents, StackCrawlMark&amp; stackMark)
   at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
   at System.Resources.ResourceManager.GetString(String name, CultureInfo culture)
   at Telerik.Web.LocalizationProvider.EmbeddedResourceLocator.GetString(String resourceKey)
   at Telerik.Web.LocalizationStrings.GetString(String key, Boolean throwErrorIfMissing)</StackTrace>

 

web.config httphandlers has following entries with regards to telerik

<httpHandlers>
        <add path="Telerik.RadUploadProgressHandler.ashx" verb="*" type="Telerik.Web.UI.RadUploadProgressHandler, Telerik.Web.UI" />
        <add path="Telerik.Web.UI.SpellCheckHandler.axd" verb="*" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI" validate="false" />
        <add path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="ArcherTech.Web.HttpHandlers.ArcherDialogHandler, ArcherTech.Web" validate="false" />
        <add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" validate="false" />

 

The issue comes intermittently while access WebApp, needs IIS restarts and works fine for sometime until running into same issue again later.

krishnat
Top achievements
Rank 1
 answered on 19 Jun 2017
0 answers
135 views

We're using Google Chrome browser version 58.0.3029.110 (64-bit) in Windows 10.

A phantom vertical line appears when using the telerik:RadTabStrip. Please see the attached image. This doesn't appear in other major browsers, such as Edge, FireFox, or Safari.

Kirelet
Top achievements
Rank 1
 asked on 19 Jun 2017
0 answers
115 views

I have an application that was made in 2009 and runs on .NET 3.5. It uses the 2009.3.1103.35 version of the Telerik.Web.UI.dll. The project relies heavily on that Rad user controls and AJAX managers, etc..

 

However, I have to upgrade the project to at least 4.0. The version of the installed Telerik does not support 4.0... So, I would also need to upgrade my version of Telerik, as well as buy a new license since the application was originally built by a third party.

 

I was curious as to what the process of upgrading from the 2009 version of Telerik to a more recent version would look like? Would it be simple or would it involve extensive work?

Kyle
Top achievements
Rank 1
 asked on 19 Jun 2017
0 answers
114 views

Hi,

I am creating RadPivotGrid fields on page load programmatically, but when ı drag and drop any fields to another area (column,row,data etc.) all fields are disappear and no data available.Here is the server side vb code. Can anyone help me what is the reasen of this? 

 

      RadPivotGrid1.EmptyValue = ""
            RadPivotGrid1.ColumnHeaderCellStyle.Width = New Unit(90)
            RadPivotGrid1.ClientSettings.Scrolling.AllowVerticalScroll = True


            Dim JSs = New AdvancedJavaScriptSerializer()
            Dim lstPivotGridField As List(Of PivotGridFieldItem) = JSs.Deserialize(Of List(Of PivotGridFieldItem))(Request.Params("lstPivotGridField"))

            For Each PGField In lstPivotGridField
                If PGField.DataField.Trim = "" Then
                    Continue For
                End If

                Dim Field As PivotGridField = Nothing
                Select Case PGField.Group
                    Case 0
                        Field = New PivotGridColumnField()
                    Case 1
                        Field = New PivotGridRowField()
                    Case 2
                        Field = New PivotGridReportFilterField()
                    Case 3
                        Dim AggField = New PivotGridAggregateField()
                        Select Case PGField.Type
                            Case 0
                                AggField.Aggregate = PivotGridAggregate.Sum
                            Case 1
                                AggField.Aggregate = PivotGridAggregate.Count
                            Case 2
                                AggField.Aggregate = PivotGridAggregate.Average
                            Case Else
                                Continue For
                        End Select

                        AggField.Caption = PGField.Caption
                        AggField.DataField = PGField.DataField
                        AggField.UniqueName = PGField.DataField
                        AggField.DataFormatString = "{0:F2}"
                        AggField.TotalFormatString = "{0:F2}"

                        RadPivotGrid1.Fields.Add(AggField)
                        Continue For
                    Case Else
                        Continue For
                End Select

                Field.Caption = PGField.Caption
                Field.DataField = PGField.DataField
                Field.UniqueName = PGField.DataField
                RadPivotGrid1.Fields.Add(Field)

            Next

 

----------------------------------------- ASPX CODE BEHIND --------------------------------------------------------------

 

<telerik:RadMultiPage runat="server" ID="CubeReportMultiPage">
                                <telerik:RadPageView runat="server" ID="pwTablo">
                                    <telerik:RadAjaxPanel ID="radAjaxPanel" runat="server" LoadingPanelID="RadAjaxLoadingPanel1">
                                        <telerik:RadPivotGrid RenderMode="Lightweight" runat="server" ID="RadPivotGrid1" AllowFiltering="true" AllowPaging="true" ShowFilterHeaderZone="false" OnPivotGridCellExporting="RadPivotGrid1_PivotGridCellExporting" OnCellDataBound="RadPivotGrid1_CellDataBound">
                                            <ClientSettings EnableFieldsDragDrop="true">
                                                <Scrolling AllowVerticalScroll="true"></Scrolling>
                                            </ClientSettings>
                                        </telerik:RadPivotGrid>
                                    </telerik:RadAjaxPanel>
                                </telerik:RadPageView>
                                <telerik:RadPageView runat="server" ID="pwGrafik">
                                    <telerik:RadHtmlChart ID="RadHtmlChart1" runat="server" Visible="true" Legend-Appearance-Position="Top"
                                        PlotArea-YAxis-LabelsAppearance-DataFormatString="C" PlotArea-XAxis-LabelsAppearance-RotationAngle="45">
                                    </telerik:RadHtmlChart>
                                </telerik:RadPageView>
                            </telerik:RadMultiPage>

Yavuz Selim
Top achievements
Rank 1
 asked on 19 Jun 2017
0 answers
80 views
When I use RadSpreadsheet control inside RadSplitter control, RadSplitBar is not working.
sandeep
Top achievements
Rank 1
 asked on 19 Jun 2017
1 answer
454 views
Customized with new column and hide percentage column in hover of gantt chart and introduced new column 
Peter Milchev
Telerik team
 answered on 19 Jun 2017
0 answers
110 views

the site on IIS 8.5 which is working fine while browsed wit .

http://localhost:80

But when accessed with domain name the resources are not loaded 

Please find attached screenshot for same

Please help

Supriya
Top achievements
Rank 1
 asked on 19 Jun 2017
13 answers
860 views
I'm using the ASP.NET AJAX RadGrid, with the EnableHeaderContextMenu="true" setting. My grid has several columns, some of which are hidden by default using Display="false". Using the header context menu, I can hide and show columns on the client-side, which works great, with one glaring exception: columns that start out hidden are not able to be shown! Checking the box for a default-hidden column appears to do nothing. Upon doing a postback (by changing page or something), the column appears. Is there a fix for this?

EDIT: Additionally, the documentation says that you can edit column widths using COLGROUP.COL.WIDTH. That's the rendered HTML tag names, but what properties does that pull from?

EDIT2: I just noticed something interesting regarding my original question: The columns actually are appearing, they just have 0 minimum width, so that they're 0 wide if the window is narrow enough to require horizontal scrolling. I seem to be continuously plagued by issues with column width. I'm currently using TableLayout=Auto, and not setting any width on any columns, apart from setting the FilterControlWidth to be smaller than normal on some of the small columns.



Thanks!
Eyup
Telerik team
 answered on 19 Jun 2017
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
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
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?