Rank: Advanced Member
Groups: Guest
Joined: 2/27/2010(UTC) Posts: 74
|
Hi I'm trying to run the Gift editor demo, and the server keeps telling me that : " The type or namespace name 'NamedRectangleRegion' could not be found "
what am i missing ? the regular demo is running fine
thanks
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 3/9/2008(UTC) Posts: 554
Was thanked: 1 time(s) in 1 post(s)
|
Hello,
Please make sure that you do not miss NamedRectangleRegion.cs file from your project. Did you build this sample project in Visual Studio?
|
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 2/27/2010(UTC) Posts: 74
|
Hi
i didn't build the project, just extracted the files to an IIS folder and try to run it from there like the basic demo that worked. the cs file is in the directory. also, i have another issue, using your online demo, when writing Hebrew (RTL) text, when the text is displayed it shows all the letters in revers order, is there a fix for that ?
thanks again
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 3/9/2008(UTC) Posts: 554
Was thanked: 1 time(s) in 1 post(s)
|
Hi, Quote:I didn't build the project, just extracted the files to an IIS folder and try to run it from there like the basic demo that worked. This sample does not work like Basic Demo. You should open the project of Gift Editor sample as Web Project in Visual Studio and build it or try to run it in Visual Studio. Quote:also, i have another issue, using your online demo, when writing Hebrew (RTL) text, when the text is displayed it shows all the letters in revers order, is there a fix for that ? By default this sample does not support Hebrew, but you can modify the code to get it working. |
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 2/27/2010(UTC) Posts: 74
|
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 2/27/2010(UTC) Posts: 74
|
just wanted to make sure the text feature can support both RTL and LTR ?
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 3/9/2008(UTC) Posts: 554
Was thanked: 1 time(s) in 1 post(s)
|
Hello, To resolve this issue you need to use .NET Framework 3.5 version. Quote:just wanted to make sure the text feature can support both RTL and LTR ? Unfortunately Right To Left functionality is not supported. |
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 2/27/2010(UTC) Posts: 74
|
Hi Tamila OK, I've managed to pass the error i got before, now i get a new one : http://test.dekkers.net/photolabelsample.aspxI'm running it all on an IIS 7 (windows web server 2008 R2) configured with .net 2.0+ app pool. any ideas why i get this problem ? i really want to be able to run this app finally ? thanks
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 6/16/2009(UTC) Posts: 134
Was thanked: 8 time(s) in 8 post(s)
|
The code Code:l => _canvasViewer.Canvas.Layers.Remove(l)
is the lambda expression. Lambda expressions appears in the C# 3.0. Just replace this line Code:Array.ForEach(layers, l => _canvasViewer.Canvas.Layers.Remove(l));
to that Code:Array.ForEach(layers, delegate(Layer l) { _canvasViewer.Canvas.Layers.Remove(l); });
It should solve the compilation error. |
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 2/27/2010(UTC) Posts: 74
|
hi again
same link different error.
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 6/16/2009(UTC) Posts: 134
Was thanked: 8 time(s) in 8 post(s)
|
Hello! Should be Code:Array.ForEach(voc, delegate(VObject vo) { _regionLayer.VObjects.Remove(vo); });
instead of Code:Array.ForEach(voc, delegate(RectangleVObject vo) { _regionLayer.VObjects.Remove(vo); });
The voc parameter is the array of VObject elements, not the RectangleVObject. And the compiler tells you about it in the error message: Quote:Compiler Error Message: CS1502: The best overloaded method match for 'System.Array.ForEach<Aurigma.GraphicsMill.AjaxControls.VectorObjects.VObject>(Aurigma.GraphicsMill.AjaxControls.VectorObjects.VObject[], System.Action<Aurigma.GraphicsMill.AjaxControls.VectorObjects.VObject>)' has some invalid arguments |
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 2/27/2010(UTC) Posts: 74
|
ok, got over it and another of the same.
same link now a totally different error
how come it's not working for me ? the lambda expressions ? you might want to revise your demo so it works the first time ?
thanks
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 6/16/2009(UTC) Posts: 134
Was thanked: 8 time(s) in 8 post(s)
|
Can you, please, try this one? Try to unzip the archive into IIS folder and convert the gifteditor folder into web application in the IIS Manager. It should work now. Hope this helps. |
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 2/27/2010(UTC) Posts: 74
|
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 6/16/2009(UTC) Posts: 134
Was thanked: 8 time(s) in 8 post(s)
|
Quote:the file is a bit corrupt, so 2 files did not extract correctly. That is odd . I've tried with 7-zip and WinRar. The both extract files without any errors. Anyway, I get the 404 error from the link you provided (see attached screenshot). Can you check whether PhotoLabelSample.aspx file exists in the web folder? May be it is because the archive have not been unpacked correctly? andreym attached the following image(s): |
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 2/27/2010(UTC) Posts: 74
|
i get this error :
Parser Error Message: Theme 'Default' cannot be found in the application or global theme directories.
Source Error:
Line 1: <%@ Page Language="C#" AutoEventWireup="true" CodeFile="PhotoLabelSample.aspx.cs" Line 2: Inherits="PhotoLabelSample" Theme="Default" %> Line 3:
and the links works for me... strange
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 6/16/2009(UTC) Posts: 134
Was thanked: 8 time(s) in 8 post(s)
|
Is there App_Themes/Default folder in the application folder? I've tried to open http://test.dekkers.net/App_Themes/Default/style.css, which is supposed to be available, but I got the 404 - File not found error. This is the list of files that should be present in the application folder: Quote:ImageListControl.ascx ImageListControl.ascx.cs PhotoLabelControl.ascx PhotoLabelControl.ascx.cs PhotoLabelSample.aspx PhotoLabelSample.aspx.cs web.config App_Code\NamedRectangleRegion.cs App_Themes\Default\main.css App_Themes\Default\style.css App_Themes\Default\_reset.css App_Themes\Default\Images\addimage.gif App_Themes\Default\Images\addtext.gif App_Themes\Default\Images\ajaxLoader.gif App_Themes\Default\Images\bg-button.gif App_Themes\Default\Images\button.gif App_Themes\Default\Images\imageNavLeft.gif App_Themes\Default\Images\imageNavLeftHover.gif App_Themes\Default\Images\imageNavRight.gif App_Themes\Default\Images\imageNavRightHover.gif App_Themes\Default\Images\layers_bg.gif App_Themes\Default\Images\layers_buttons.gif App_Themes\Default\Images\layers_up_down.gif App_Themes\Default\Images\TextLayer.gif App_Themes\Default\Images\toolbar.gif App_Themes\Default\Images\toolbar_bg.gif App_Themes\Default\Images\tr.gif Bin\Aurigma.GraphicsMill.AjaxControls.dll Bin\Aurigma.GraphicsMill.AjaxControls.VectorObjects.dll Bin\Aurigma.GraphicsMill.AjaxControls.xml Bin\Aurigma.GraphicsMill.dll Bin\Aurigma.GraphicsMill.xml Images\Labels\animal.png Images\Labels\bike.jpg Images\Labels\cartoon.jpg Images\Labels\clock.jpg Images\Labels\heart.png Images\Labels\smile.jpg Images\Templates\Black Cap.jpg Images\Templates\Black Cup.jpg Images\Templates\Blue T-Shirt.jpg Images\Templates\Gray T-Shirt.jpg Images\Templates\Green Cap.jpg Images\Templates\Templates.xml Images\Templates\White Cap.jpg Images\Templates\White Cup.jpg Scripts\ImageListControl.js Scripts\jquery-1.3.2.min.js Scripts\jquery-ui-1.7.2.custom.min.js Scripts\PhotoLabelControl.js Scripts\Sample.js Scripts\carousel\jcarousellite_1.0.1.js Scripts\carousel\jcarousellite_1.0.1.pack.js Scripts\colorpicker\colorpicker.js Scripts\colorpicker\eye.js Scripts\colorpicker\layout.js Scripts\colorpicker\utils.js Scripts\colorpicker\css\colorpicker.css Scripts\colorpicker\images\blank.gif Scripts\colorpicker\images\colorpicker_background.png Scripts\colorpicker\images\colorpicker_hex.png Scripts\colorpicker\images\colorpicker_hsb_b.png Scripts\colorpicker\images\colorpicker_hsb_h.png Scripts\colorpicker\images\colorpicker_hsb_s.png Scripts\colorpicker\images\colorpicker_indic.gif Scripts\colorpicker\images\colorpicker_overlay.png Scripts\colorpicker\images\colorpicker_rgb_b.png Scripts\colorpicker\images\colorpicker_rgb_g.png Scripts\colorpicker\images\colorpicker_rgb_r.png Scripts\colorpicker\images\colorpicker_select.gif Scripts\colorpicker\images\colorpicker_submit.png Scripts\colorpicker\images\custom_a.png Scripts\colorpicker\images\custom_background.png Scripts\colorpicker\images\custom_hex.png Scripts\colorpicker\images\custom_hsb_b.png Scripts\colorpicker\images\custom_hsb_h.png Scripts\colorpicker\images\custom_hsb_s.png Scripts\colorpicker\images\custom_indic.gif Scripts\colorpicker\images\custom_rgb_b.png Scripts\colorpicker\images\custom_rgb_g.png Scripts\colorpicker\images\custom_rgb_r.png Scripts\colorpicker\images\custom_submit.png Scripts\colorpicker\images\select.png Scripts\colorpicker\images\select2.png Scripts\colorpicker\images\slider.png Edited by user Wednesday, April 14, 2010 1:15:04 AM(UTC)
| Reason: Not specified |
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 2/27/2010(UTC) Posts: 74
|
OK finally got it working, i was missing a lot of the directories, i got the file downloaded correctly now and it extracted fine. now the big question : how do i merge Tamila's demo for RTL with this to work together ?
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 8/3/2003(UTC) Posts: 1,070
Thanks: 1 times Was thanked: 12 time(s) in 12 post(s)
|
Hello,
Unfortunately RTL text is not supported in AJAX Vector Objects. Nevertheless if you purchase a license we are ready to add this functionality to the product. |
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 2/27/2010(UTC) Posts: 74
|
Hi Dimitry
tamila provided me with a working windows app that works with RTL, and said it should work with the web app too ?
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.