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

RadAsyncUpload within EditItemTemplate of RadGrid position issue

3 Answers 178 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Kal Pag
Top achievements
Rank 1
Kal Pag asked on 07 Mar 2013, 03:57 PM
Hello,
I have a Radgrid (horizontal scrolling turned on) that has about 15 columns and within that I have a RadAsyncUpload control to upload documents in the Edit mode. The display looks good when in ItemTemplate but when I try to edit the record inline, the RadAsyncUpload column displays outside of the RadGrid and far towards the right on the screen. I tried to use a TextBox and RadUpload instead of the RadAsyncUpload control and noticed that Textbox position works fine in edit mode but not RadUploads position. It behaves the same as RadAsyncUpload control.

I have attached the image of the grid that shows the Attachment column and where the RadAsyncUpload control is supposed to be positioned( position 1) and where it is being positioned (position 2).

I have played around a lot with changing the css, z-index, put the control within div tags with css class but nothing seems to be working.

Appreciate all your help,

Kal.

3 Answers, 1 is accepted

Sort by
0
Kostadin
Telerik team
answered on 12 Mar 2013, 12:28 PM
Hello Kal,

I tried to replicate your issue but to no avail. I prepared a small sample and attached it to this forum post. Could you please give it a try and let me know how it differs from your real setup?

All the best,
Kostadin
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Kal Pag
Top achievements
Rank 1
answered on 21 Mar 2013, 08:50 PM
Hello,
Thanks for the response.
When I try to compile the code it errors out with the following error:

Error 2 The name 'RadGrid1' does not exist in the current context RadAsyncUpload.aspx.cs 98 9 WebApplication1
Error 3 The name 'RadAjaxManager1' does not exist in the current context RadAsyncUpload.aspx.cs 105 13 WebApplication1

I added the designer page, added the references but still come across this error. Is there is a way you can send me a working sample to test it out.

Thanks,
Kal.
0
Kostadin
Telerik team
answered on 26 Mar 2013, 01:56 PM
Hi Kal,

You should open it as a Web Site. If you still received those errors you could copy the code in a new Web Site. I attached the project again and I also include the Northwind data based which is used.

All the best,
Kostadin
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Anatoly
Top achievements
Rank 1
Iron
commented on 25 Mar 2022, 10:05 PM

Kostadin, 

Try to check your zip code before you publish it !  It fails when one tries to insert the  .png file!

 

Doncho
Telerik team
commented on 30 Mar 2022, 12:14 PM

Hi Anatoly,

Could you please share more about the problem you are facing with the sample provided by Kostadin? Is there any error thrown or you monitoring some unexpected behavior?

The sample was created a long ago and I have tested it with more recent versions of our controls. It seems to be working completely find on my end.

I have attached the webside I used for testing Kostadin's suggestion so you can give it a try too. You will need to add the Telerik.Web.UI.dll in the bin folder to be able to run it.

Please let me know if any questions come up.

Tags
Grid
Asked by
Kal Pag
Top achievements
Rank 1
Answers by
Kostadin
Telerik team
Kal Pag
Top achievements
Rank 1
Share this question
or