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

Need to Learn RAD Image Editor functioning

11 Answers 188 Views
UI for ASP.NET AJAX in ASP.NET MVC
This is a migrated thread and some comments may be shown as answers.
Nitish
Top achievements
Rank 1
Nitish asked on 16 Apr 2013, 11:41 AM
Hi Team,

Please help me in learning RAD image Editor Control. Need to Use the telerik Control in ASP .net 2.0 environment.

Regards,
Nitish

11 Answers, 1 is accepted

Sort by
0
Vessy
Telerik team
answered on 16 Apr 2013, 01:53 PM
Hi Nitish,

You could find detailed information on how to configure RadImageEditor in the following online resources, explaining (and show) the built-in functionality of the control:
ImageEditor online documentation
ImageEditor live demos

I hope this information would be helpful.

Kind regards,
Veselina Raykova
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
Nitish
Top achievements
Rank 1
answered on 24 Apr 2013, 04:15 AM
Hi Telerik Team,

I am not able to see the .tiff Images.

Help me in seeing those images in ImageEditor control.

Also provide info for seeing good quality images.

Thanks,
Nitish
0
Vessy
Telerik team
answered on 26 Apr 2013, 05:17 PM
Hello Nitish,

At present, RadImageEditor does not support TIFF format and it is not possible to workaround this behavior. The problem comes from the fact that the TIFF format is not supported by all major browsers and RadImageEditor requires that the image can be displayed in the browser.

Regarding your second question - could you elaborate more on what exactly do you mean with "good quality images"? The formats which are currently supported by the control are JPEG, PNG, GIF and BMP and there should not be a problem to load such big images in this formats.

All the best,
Veselina Raykova
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
Nitish
Top achievements
Rank 1
answered on 29 Apr 2013, 11:07 AM
Hi Team,

"Good Quality" refers to greater than 2 MB images. I will have the functionlaity with JPEG images.

Also need to ask about incorporating the scroll bars for having high dimension images. Please let me know in case of using .tiff images is also allowed.

E.g. : Images is of size 1024*1024 ; and the Image Editor size is 600*400 .

In the above scenario , the scroll bars will be beneficial to see the images up & down. 

Thanks,
Nitish
0
Vessy
Telerik team
answered on 01 May 2013, 01:06 PM
Hi Nitish,

The ImageEditor can handle images with such size with not problems, so you should be able to edit such in it.

Regarding your second question - the browser scroll-bars were removed from ImageEditor because of the newly introduced drag functionality. It allows the user to drag the image itself in all directions, instead of dragging the scroll-bars.

In order to hide the pan scroll-bars and show the default browser's ones, you have to apply the following CSS styles:
#horizontalScrollHint, #verticalScrollHint
{
    display: none !important;
}
.RadImageEditor .rieContentArea
{
    overflow: auto !important;
}

After that change, the image-drag functionality will cause the image to blink, when dragging the default scroll-bars.  As a workaround for this behavior you will need to overwrite Telerik.Web.UI.RadImageEditor.prototype.initialize() method in order to cancel the Image-drag functionality at all (the script should be put at the and of the page, just before the </form> tag):
<script type="text/javascript">
    Telerik.Web.UI.RadImageEditor.prototype._createDraggableImage() = function () {}
</script>

Please note that such approach is considered as hack and is not fully tested solution so it may cause some side effects to other functionality of the control.

Regards,
Veselina Raykova
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
Nitish
Top achievements
Rank 1
answered on 02 May 2013, 09:44 AM
Hi Team,

Thanks for the Solution. We will look to implement it.

Currently We know "ImageUrl" property : it open the image's which have been configured.

I want to assign this path dynamically i.e. as the page gets loaded.

Objective : Take the path from Session  variable and will assign to ImageUrl property of RadIMageControl.
As the page gets loaded.

Thanks team for your responses. Will like to use this control with its full functionlaity.

Regards,
Nitish 
0
Vessy
Telerik team
answered on 02 May 2013, 03:13 PM
Hi Nitish,

The loaded in the ImageEditor image could be changed only Server-side, by assigning a value to the mentioned ImageUrl property. The value should be a valid virtual path to an image file, e.g:
protected void Page_Load(object sender, EventArgs e)
{
    RadImageEditor1.ImageUrl = "~/Images/image.jpg";
}

Regards,
Veselina Raykova
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
Nitish
Top achievements
Rank 1
answered on 03 May 2013, 11:28 AM
Hi Team,

Currently We are uploading the image from radImageUpload.

Code is attched as "untitle.png" . We need to remove this and incoroporate some code which satisfy the below functionlaity :

Functionality : Image Physical path is taken from Session variable and it should be loaded into RadImageController .

After done some editing & operation over the image .... Image gets saved at its physical path location .

While in Page load I am Setting RadImageEditor.ImageURL='path' , it is taking only the relative path not the physical path.

Also the image is not availbale for editing. Can't edit the image. After each operation image gets reloaded , as the fresh image...

Thanks,
Nitish

0
Vessy
Telerik team
answered on 08 May 2013, 12:38 PM
Hello Nitish,

By design the RadImageEditor works with virtual paths and if you want to load images from a physical path you will need to implement a custom content provider.

I believe the following live demo will be helpful for you:
ImageEditor / Using Custom Content Provider

Regards,
Veselina Raykova
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
Nitish
Top achievements
Rank 1
answered on 09 May 2013, 03:38 AM
Hi Team,

Is Telerik RadIMageEditor Present in FrameWork 2.0 ?

Thanks,
Nitish
0
Vessy
Telerik team
answered on 13 May 2013, 02:02 PM
Hi Nitish,

We dropped the support for .NET 2.0 in the 2011 Q1 release. The first version of RadImageEditor control is released in 2011 Q2 when we provide only DLLs for .NET 3.5 and 4.0.

Regards,
Veselina Raykova
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.
Tags
UI for ASP.NET AJAX in ASP.NET MVC
Asked by
Nitish
Top achievements
Rank 1
Answers by
Vessy
Telerik team
Nitish
Top achievements
Rank 1
Share this question
or