Rank: Member
Groups: Guest
Joined: 11/1/2005(UTC) Posts: 8
|
Our application utilizes AJAX for our connectivity to the back end. All of our pages except the image editor use this functionality. Is there a way to do this on your components currently? If not, do you plan on adding this functionality soon?
-Jason |
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 7/28/2003(UTC) Posts: 1,660
Thanks: 5 times Was thanked: 76 time(s) in 74 post(s)
|
Hello Jason, Quote:jcavaliere (11/1/2005) Our application utilizes AJAX for our connectivity to the back end. All of our pages except the image editor use this functionality. Is there a way to do this on your components currently? If not, do you plan on adding this functionality soon? Graphics Mill supports rich client side object model as well as custome AJAX-like implementation of remote methods calling. You can check Cropping Photos Using Client-Side Scripting topic for samples. It is possible that in future we will use common AJAX approach for improving user interface interactivity. Edited by user Tuesday, October 28, 2008 11:26:44 PM(UTC)
| Reason: Not specified |
Best regards, Fedor Skvortsov
|
|
|
|
Rank: Member
Groups: Guest
Joined: 11/1/2005(UTC) Posts: 8
|
I keep gettign a timeout exception on the remote scripting calls - we're using 2.0 framework. Any ideas? Code:<%@ Page Language="C#" AutoEventWireup="true" CodeFile="editFileClientSide.aspx.cs" Inherits="editFileClientSide" MasterPageFile="~/MasterPages/adminTemplate.master" %>
<%@ Register TagPrefix="cc1" Namespace="Aurigma.GraphicsMill.WebControls" Assembly="Aurigma.GraphicsMill.WebControls" %>
<asp:Content ContentPlaceHolderID="mainContent" runat="server">
<div>
<cc1:bitmapviewer id="BitmapViewer1" runat="server" ScrollBarsStyle="Auto" ZoomQuality="Medium" Height="345px" width="460px"></cc1:bitmapviewer>
<cc1:pannavigator id="PanNavigator1" runat="server"></cc1:pannavigator>
<cc1:zoominnavigator id="ZoomInNavigator1" runat="server"></cc1:zoominnavigator>
<cc1:zoomoutnavigator id="ZoomOutNavigator1" runat="server"></cc1:zoomoutnavigator>
<cc1:zoomrectanglenavigator id="ZoomRectangleNavigator1" runat="server"></cc1:zoomrectanglenavigator>
<cc1:rectanglerubberband id="RectangleRubberband1" runat="server" GripsVisible="True"></cc1:rectanglerubberband>
<a href="#" onclick="AddTransform_click();">Add Transform</a>
</div>
<script>
var bitmapViewer1 = document.getElementById("<%=BitmapViewer1.ClientID%>");
function AddTransform_click()
{
bitmapViewer1.invokeRemoteMethod("AddTransform",null);
bitmapViewer1.addStatusChanged(bitmapViewer1_addStatusChanged,this);
}
function bitmapViewer1_addStatusChanged()
{
alert(bitmapViewer1.getExceptionName());
bitmapViewer1.removeStatusChanged(bitmapViewer1_addStatusChanged, this);
bitmapViewer1.refresh()
}
</script>
</asp:Content>
Edited by user Sunday, December 23, 2007 5:06:31 PM(UTC)
| Reason: Not specified |
|
|
|
|
Rank: Member
Groups: Guest
Joined: 11/1/2005(UTC) Posts: 8
|
Here's the back end: Code:using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using Aurigma.GraphicsMill;
using Aurigma.GraphicsMill.Transforms;
using System.ComponentModel;
public partial class editFileClientSide : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
BitmapViewer1.Bitmap.Load("c:\\filepicker.jpg");
}
}
[Aurigma.GraphicsMill.WebControls.RemoteScriptingMethod]
public void AddTransform()
{
BitmapViewer1.Bitmap.Transforms.Mosaic(10, 10);
}
}
Edited by user Sunday, December 23, 2007 5:05:55 PM(UTC)
| Reason: Not specified |
|
|
|
|
Rank: Member
Groups: Guest
Joined: 11/1/2005(UTC) Posts: 8
|
I turned on the debug frame and here's what I get:
System.MissingMethodException
Attempted to access a missing method.
|
|
|
|
|
Rank: Member
Groups: Guest
Joined: 11/1/2005(UTC) Posts: 8
|
ok, I just figured it out - it's failing becuase of the master page that we're using. I removed the master page and it worked fine. How can I use the master page? I woudl really like to be able to.
-Jason |
|
|
|
|
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.