This is a migrated thread and some comments may be shown as answers.

[Solved] Could not use both Inline Edit Grid and Upload Conttrol

10 Answers 128 Views
Upload
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Venkatesh
Top achievements
Rank 1
Venkatesh asked on 20 Jul 2011, 10:53 AM
Hi,

  When i use Upload control and Inline edit grid on sampe page, i could easliy able to upload. But i could not able to remove and am getting parser error. Even when we check it in console, there is no  message. If simply remove the grid from that page, without change a single code it works fine and i could able to remove..
Could any one help on this..

FYI, I didn't use upload control inside Grid. I have used the upload control outside the Grid.
Thanks in Advance




  

10 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 20 Jul 2011, 11:36 AM
Hello Venkatesh,

 I am not sure what the problem is based on your description. Please clarify. Any screenshots, sample code or even a running project would be of help. Right now I can only guess ...

Kind regards,
Atanas Korchev
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

0
Venkatesh
Top achievements
Rank 1
answered on 20 Jul 2011, 12:06 PM
Hi,

   Thanks for your prompt reply. I just attached sample project here.
You can check that UploadBatchEditTesting.cshtml page doesn't work when we remove the attachment. But same snippet of code works fine and can able remove the attachment in UploadOnly.cshtml page.

Please assist on this case.

Thanks in Advance.

0
T. Tsonev
Telerik team
answered on 21 Jul 2011, 09:05 AM
Hi Venkatesh,

Thank you for sending us the sample project. The problem is that the _SaveData action tries to return a non-existing view with the same name. Please change it to return the GridModel instead:

public ActionResult _SaveData(...)
{
    return View(new GridModel(GetData()));
}

I hope this helps. Best wishes,
Tsvetomir Tsonev
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

0
Venkatesh
Top achievements
Rank 1
answered on 21 Jul 2011, 09:32 AM
Hi,
Thanks for your suggestion. But i did not play with grid. Hence i didn't inlcude content inside _saveData.
Issue is with Upload control. You can able to upload the file, but couldn't remove the file.

FileName : UploadBatchEditTesting.

Please help to check on this.

Thanks.
0
Venkatesh
Top achievements
Rank 1
answered on 23 Jul 2011, 09:17 AM
Hi,
    Any update ?


Thanks in advance
0
T. Tsonev
Telerik team
answered on 26 Jul 2011, 08:49 AM
Hi Venkatesh,

We were able to track down the problem down to a bug in jQuery 1.5. It is fixed in jQuery 1.6 (despite the "wontfix" status) and we will be updating to in for the next official release.

For the moment you should upgrade to jQuery 1.6.2. Please don't forget to disable the integrated jQuery:

@(Html.Telerik().ScriptRegistrar()
      .jQuery(false)
      .DefaultGroup(group => group.Combined(true).Compress(true))
)

As a token of gratitude for your involvement your Telerik points have been updated.

Regards,
Tsvetomir Tsonev
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

0
T. Tsonev
Telerik team
answered on 26 Jul 2011, 09:17 AM
Hello,

Just a quick note, upgrading to 2011 Q2 (2011.2.712) also solves the problem.

Regards,
Tsvetomir Tsonev
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

0
Venkatesh
Top achievements
Rank 1
answered on 28 Jul 2011, 06:59 AM
Hi,
    Thanks for you update.

1. Is there any separate link to download the update alone ? or do i need uninstall the older version and then has to install ?
2. After update will it automatically work ? or do i need to create new project and copy the project content ?\


regards,
Venkatesh
0
Rosen
Telerik team
answered on 28 Jul 2011, 08:08 AM
Hello Venkatesh,

 Please refer to this help article for detailed description on how to upgrade to a newer version of Telerik Extensions for ASP.NET MVC.

Regards,
Rosen
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

0
Venkatesh
Top achievements
Rank 1
answered on 01 Aug 2011, 09:30 AM
Hi,

   Thanks for the link and i have update with the latest version.


regards,
Venkatesh
Tags
Upload
Asked by
Venkatesh
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Venkatesh
Top achievements
Rank 1
T. Tsonev
Telerik team
Rosen
Telerik team
Share this question
or