PDA

View Full Version : [CLOSED] Problem with Version 2.3.1



Peter.Treier
Oct 22, 2013, 3:48 PM
Good Evening all

we do the first Tests with the new Version of Ext.Net (2.3.1).
We use a Assembly Redirect for this Tests...

On most of our existing Pages an Error occurs : "Could not load type 'AjaxReadDataEventHandler' from assembly 'Ext.Net, Version=2.3.1.41036..."
Any Idea what causes Error ?

Can't see anything in the Release Documents about this ?

Peter

Daniil
Oct 22, 2013, 6:02 PM
Hi Peter,

I cannot reproduce with this test case. Can you?

Example

<%@ Page Language="C#" %>

<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<%@ Import Namespace="System.Collections.Generic" %>

<script runat="server">
public List<object> MyData = new List<object>
{
new { test = "test1" },
new { test = "test2" },
new { test = "test3" },
new { test = "test4" },
new { test = "test5" },
new { test = "test6" },
new { test = "test7" },
new { test = "test8" },
new { test = "test9" }
};

protected void Store_ReadData(object sender, StoreReadDataEventArgs e)
{
List<object> data = this.MyData;
var limit = e.Limit;
if ((e.Start + e.Limit) > data.Count)
{
limit = data.Count - e.Start;
}
List<object> rangeData = (e.Start < 0 || limit < 0) ? data : data.GetRange(e.Start, limit);
e.Total = data.Count;
(sender as Store).DataSource = rangeData;
}
</script>

<!DOCTYPE html>

<html>
<head runat="server">
<title>Ext.NET v2 Example</title>
</head>
<body>
<form runat="server">
<ext:ResourceManager runat="server" />
<ext:GridPanel ID="GridPanel1" runat="server">
<Store>
<ext:Store runat="server" OnReadData="Store_ReadData" PageSize="3">
<Model>
<ext:Model runat="server">
<Fields>
<ext:ModelField Name="test" />
</Fields>
</ext:Model>
</Model>
<Proxy>
<ext:PageProxy>
<Reader>
<ext:JsonReader />
</Reader>
</ext:PageProxy>
</Proxy>
</ext:Store>
</Store>
<ColumnModel runat="server">
<Columns>
<ext:Column runat="server" Text="Test" DataIndex="test" />
</Columns>
</ColumnModel>
<BottomBar>
<ext:PagingToolbar runat="server" />
</BottomBar>
</ext:GridPanel>
</form>
</body>
</html>



Could you elaborate the following, please?

We use a Assembly Redirect for this Tests...

Peter.Treier
Oct 23, 2013, 8:23 AM
Hi Daniil

your Example works !
What now ?

Daniil
Oct 23, 2013, 11:17 AM
Please comment this


Could you elaborate the following, please?


We use a Assembly Redirect for this Tests...
and provide us with a test case to reproduce.

Peter.Treier
Oct 24, 2013, 8:36 AM
Good Morning all

Daniil, I have to postpone this example. We're currently in a user testing phase and very busy.
I'll come back to this end of next week. Can we let this thread open ?

Peter

Daniil
Oct 24, 2013, 9:03 AM
No problem, we will leave it open.

Anyway, even if it will be closed (it might be since we are closing threads in a while if no response from a member), please feel free to post any new information regarding the issue.