Telerik Forums
UI for ASP.NET AJAX Forum
33 answers
194 views

Hello,

Suddenly today after latest Chrome 47.0.2526.73m release (Dec 1), latest version of Telerik Asp.Net (2015.3.1111.40) (and previous stable release) AsyncUpload does not work...the progress just shows as it taking forever to upload and never ends.

Works fine in IE 11 and Firefox.

Note that it does this in development and especially when deployed. I've had my code in place for a long time without trouble. Not sure if this is even a Telerik problem, but others may find helpful?

.Net 4.0

 

<head runat="server">
    <title></title>
</head>
<body>
<form id="form1" runat="server">
    <div>
        <telerik:RadScriptManager runat="server" ID="RadScriptManager1"/>
        <telerik:RadSkinManager ID="RadSkinManager1" runat="server" ShowChooser="true"/>
        <div class="demo-container size-thin">
            <telerik:RadAsyncUpload runat="server" ID="AsyncUpload1" MultipleFileSelection="Automatic"/>
        </div>
    </div>
</form>
</body>
</html>
Ivan Danchev
Telerik team
 answered on 25 Jan 2016
6 answers
250 views

Hi!

After the upgrade to version 2016.1.113.45 the RadScriptBlock is updated every time after an AjaxRequest on the page though the RadScriptBlock is not embedded in an Update-Panel nor  in a collection of the RadAjaxManager(Proxy) UpdatedControls. This destroys all my previous JavaScript initialization after an Ajax-Postback :(

With version 2015.3.1111.45 everything is working as expected.

 

 In the sample below the timestamp is updated after every Ajax-Postback...

<telerik:RadScriptBlock ID="MainScriptBlock" runat="server">
    <script type="text/javascript">
        alert("<%= DateTime.Now.ToString() %>");
    </script>
</telerik:RadScriptBlock>

Pavlina
Telerik team
 answered on 25 Jan 2016
11 answers
466 views
Hi,
    I 'm using Radgrid with three dropdowns for each row. Second dropdown will populate based on the first dropdown selection
 and third drop down will populate based on the second drop down selection. (Like Cascading drop down)

Please guide me to do this ....
Any Guidance will be Appreciated!!!!

Thanks
chithuraj.J
Pavlina
Telerik team
 answered on 25 Jan 2016
1 answer
65 views

Hi,

 

we're thinking about buying your products thanks to the ImageEditor you have. Downloaded the Trial and played around with it.
But I couldn't figure out how to make the ImageEditor to work with an ImageGallery.


What wee need is to be able to:

1. Load image(s) into the gallery.
2. When the user clicks an image, open that image in a popup/modal window displaying it in a ImageEditor.

Is this possible?

Niko
Telerik team
 answered on 25 Jan 2016
7 answers
299 views
Could I ask if I'm able to create empty group with RadGrid grouping feature?

I've seen 'group by month' example in code library and I wish all 12 months were there, not only those existing in the data source.

I could use master-detail feature which would display empty detail table, but I would like to have common header consisting of only detail columns' names and some group information (like name of the group), that's why I think grouping feature suits better. Please let me know if I'm wrong and it's possible to create master-detail report, so that it looked as it was grouped.

Thanks in advance,
Alexander
Pavlina
Telerik team
 answered on 25 Jan 2016
1 answer
1.0K+ views

I have a problem when try to add telerik components to my web application.

I used telerik version 2016.1.113.45. 

I need your help how to solve this issue below:

========================================================================================================================= 

Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Could not load file or assembly 'Telerik.Web.UI' or one of its dependencies. The system cannot find the file specified.

Source Error:

[No relevant source lines]
Source File: none    Line: 0

Assembly Load Trace: The following information can be helpful to determine why the assembly 'Telerik.Web.UI' could not be loaded.

=== Pre-bind state information === LOG: User = Zydney-PC\Zydney LOG: DisplayName = Telerik.Web.UI (Partial) WRN: Partial binding information was supplied for an assembly: WRN: Assembly Name: Telerik.Web.UI | Domain ID: 2 WRN: A partial bind occurs when only part of the assembly display name is provided. WRN: This might result in the binder loading an incorrect assembly. WRN: It is recommended to provide a fully specified textual identity for the assembly, WRN: that consists of the simple name, version, culture, and public key token. WRN: See whitepaper http://go.microsoft.com/fwlink/?LinkId=109270 for more information and common solutions to this issue. LOG: Appbase = file:///D:/Zydney/NewGen21Web/NewGen21Web/ LOG: Initial PrivatePath = D:\Zydney\NewGen21Web\NewGen21Web\bin Calling assembly : (Unknown). === LOG: This bind starts in default load context. LOG: Using application configuration file: D:\Zydney\NewGen21Web\NewGen21Web\web.config LOG: Using host configuration file: C:\Users\Zydney\Documents\IISExpress\config\aspnet.config LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config. LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind). LOG: The same bind was seen before, and was failed with hr = 0x80070002.

=========================================================================================

 

Vessy
Telerik team
 answered on 25 Jan 2016
1 answer
526 views
 

My problem is, nothing happens, the code behind doesn't fire...Maybe someone could point me in the right direction. Is it possible to do something like this or am I totaly wrong here?
default.aspx:

<telerik:RadAsyncUpload ID="RadAsyncUpload1"
         runat="server"
         CssClass="async-attachment"
         MultipleFileSelection="Automatic"
         RenderMode="Lightweight"
         OnFileUploaded="UploadFiles"
         TargetFolder="../App_Themes/media"
         HideFileInput="true"
         Localization-Select="اختر الملف"
         AllowedFileExtensions=".mp4,.webm,.ogv"
>

 

Default.aspx.cs

public void UploadFiles(object sneder, FileUploadedEventArgs  e)
    {
 const string relativePath = "~/App_Themes/media";
        var filename = e.File.FileName;
        var parentID = Convert.ToInt32(GridView1.SelectedValue);
        var filesize = Convert.ToInt32(e.File.ContentLength);
        var physicalSavePath = MapPath(relativePath) + filename;
 
        //Store file info in database
            var app_FilesAdapter = new app_FilesTableAdapter();
            app_FilesAdapter.Insert(filename, relativePath + filename, parentID, 1, DateTime.Now, filesize);
 
        //Save physical file on disk
            e.File.SaveAs(physicalSavePath, true);
}

Vessy
Telerik team
 answered on 25 Jan 2016
1 answer
129 views

Hi

I wana to fetch page size  of radgrid record from data base , but in your online demo code  , you used   (select * from xxx) !...

in this link

http://demos.telerik.com/aspnet-ajax/grid/examples/performance/linq/defaultcs.aspx

you talk about performance ! but if my table has a lot of recored , why i should fetch all of them ???

In  asp.net 4.5  for   "  asp:GridView  " control i can use this code :

 

public IEnumerable<SearchProvince> GetProvinces(int startRowIndex, int maximumRows, out int totalRowCount,
             [System.Web.ModelBinding.Control("pID")]int? provinceId,
             [System.Web.ModelBinding.Control("pName")] string provinceName)
        {
            using (var db = new XXXEntities())
            {
                IQueryable<Province> list =
                    (from p in db.Provinces
                     select new SearchProvince { ProvinceID = p.ProvinceID, ProvinceName = p.ProvinceName }).OrderBy(
                            p => p.ProvinceName);

                if (provinceId > 0)
                {
                    startRowIndex = 0;
                    list = list.Where(p => p.ProvinceID == provinceId);
                }
                if (!string.IsNullOrWhiteSpace(provinceName))
                {
                    startRowIndex = 0;
                    list = list.Where(p => p.ProvinceName.StartsWith(provinceName));
                }
                totalRowCount = list.Count();
                return list.Skip(startRowIndex).Take(maximumRows).ToList();
            }
        }

 

How can i implement this code for  RadGrid ?

 

thanks

Viktor Tachev
Telerik team
 answered on 25 Jan 2016
1 answer
79 views

Hi Folks,

 

Can anybody explain hoe to add a dynamic control inside RadGrid and it should be in newline?

Viktor Tachev
Telerik team
 answered on 25 Jan 2016
1 answer
322 views
RadAsyncUpload OnFileUploaded Event not fired 
Vessy
Telerik team
 answered on 25 Jan 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?