Apr 19, 2012, 10:18 PM
Direct Methods and Custom Control
Hello
I have simple control like
I tried couple of approaches how to call the TestMethod from javascript, including tries with the Ext.net.DirectMethod.request , but no success so far
Is there any solution?
In addition - we are on 1.3, but thinking of 2.0, I got impression that for separating page to smaller elements, it's possible to use UserControls rather the Custom Controls, as the 2.0 support their layouting (and validation). Any comment/link on that? thanks Zdenek
I have simple control like
public class MyControls: Panel
{
[DirectMethod]
public void TestMethod()
{
}
....
which is placed on the pageI tried couple of approaches how to call the TestMethod from javascript, including tries with the Ext.net.DirectMethod.request , but no success so far
Is there any solution?
In addition - we are on 1.3, but thinking of 2.0, I got impression that for separating page to smaller elements, it's possible to use UserControls rather the Custom Controls, as the 2.0 support their layouting (and validation). Any comment/link on that? thanks Zdenek