I want the data in the multiselect to be retrieved from database. I have seen examples of that using a PHP connector, but when I try to create a .NET Connector (serverside), it fails with
my ashx code is
[code] public class ApplicationsList : dhtmlxRequestHandler
{
public override IdhtmlxConnector CreateConnector(HttpContext context)
{ dhtmlxOptionsConnector connector = new dhtmlxOptionsConnector(
“SELECT col1 , col2 from dpl_app where app_cat<>‘X’ and app1_seq > 0 order by col1”,
“col2”, //PK
dhtmlxDatabaseAdapterType.Odbc, //predefined database adapter type
//connection string
ConfigurationManager.ConnectionStrings["database"].ConnectionString,
"col1"
);
return connector;
}
public new bool IsReusable
{
get
{
return false;
}
}
}[/code]
It seems that dhtmlxOptionsConnector is not the right connector to use, but which one should I use ?
Thanks for any info,
Philip
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan