RadAsyncUpload is duplicated into 2 control when put into RadGrid

5 posts, 0 answers
  1. tienit
    tienit avatar
    3 posts
    Member since:
    Jul 2010

    Posted 25 Apr 2015 Link to this post

    Dear Supporters !

     Have a nice day.

    Currently, I have using RadControl for ASP.NET to develop any systems.

    I have used RadAsyncUpload control in RadGrid. No problems.

    However, when RadAsyncUpload control in RadGrid, it it duplicated into 2 controls that the same in EditMode (Insert and Upload mode).

    + The first control: after select files, these files are not displayed. (I think this no right)

    + The second control: it is OK.

    More defails about designer screen and actual problem screen is stored in attachment files.

    Thanks in advanced !

    tienit

  2. Ivan Danchev
    Admin
    Ivan Danchev avatar
    829 posts

    Posted 29 Apr 2015 Link to this post

    Hello,

    Please, find attached a sample project, which demonstrates how to properly add the RadAsyncUpload to the RadGrid's InsertItemTemplate and the EditItemTemplate.

    The Telerik .dll files are removed from the Bin folder in order not to exceed the maximum allowed attachment size.

    Regards,
    Ivan Danchev
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. tienit
    tienit avatar
    3 posts
    Member since:
    Jul 2010

    Posted 03 May 2015 Link to this post

    Hello Mr Ivan !

    I have fixed the above issue.

    After any hours for finding solution for Auto Synchronous in RadGrid, I have added following code before Telerik:RadGrid

    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
    <AjaxSettings>
    <telerik:AjaxSetting AjaxControlID="radgrid">
    <UpdatedControls>
    <telerik:AjaxUpdatedControl ControlID="radgrid"></telerik:AjaxUpdatedControl>
    </UpdatedControls>
    </telerik:AjaxSetting>
    </AjaxSettings>
    </telerik:RadAjaxManager>

    <telerik:RadGrid ID="radgrid" ShowFooter="False" GridLines="None" Skin="Office2010Blue" EnableHeaderContextMenu="true" EnableHeaderContextFilterMenu="true"
    AllowSorting="True" Width="100%" Height="630" runat="server" AutoGenerateColumns="false" AllowPaging="True" PageSize="10" CssClass="radgridClass">
    <PagerStyle Mode="NextPrevAndNumeric" Position="Bottom"></PagerStyle>
    <MasterTableView EditMode="EditForms" DataKeyNames="ID" CommandItemDisplay="Top"> .................

     

    If we remove following code :

    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
    <AjaxSettings>
    <telerik:AjaxSetting AjaxControlID="radgrid">
    <UpdatedControls>
    <telerik:AjaxUpdatedControl ControlID="radgrid"></telerik:AjaxUpdatedControl>
    </UpdatedControls>
    </telerik:AjaxSetting>
    </AjaxSettings>
    </telerik:RadAjaxManager>

     

    before the Telerik RadGrid, this problem will be resolved.

    Once again, thank for quick and strongly support from Mr Ivan and Telerik Support Team.

     

    Thanks and Best Regards !

    tienit

    Freelancer.

  5. Ivan Danchev
    Admin
    Ivan Danchev avatar
    829 posts

    Posted 04 May 2015 Link to this post

    Hello,

    I am glad you managed to find a solution to the problem.

    In this case the RadAjaxManager should not be causing issues unless other controls with similar functionality (RadAjaxPanel, asp:UpdatePanel) are used on the same page to update the same controls, which may cause conflicts and unpredictable behavior.

    Regards,
    Ivan Danchev
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
  6. tienit
    tienit avatar
    3 posts
    Member since:
    Jul 2010

    Posted 04 May 2015 in reply to Ivan Danchev Link to this post

    Dear Ivan Danchev san !

    Exactly as all the above code, I have put into asp:UpdatePanel control and may be the reason for this issues.

    Thanks and Best Regards!

    tienit

Back to Top
UI for ASP.NET Ajax is Ready for VS 2017