Hi
I have run into an very interesting scenario when developing a custom DNN module with Infragistics controls. The Infragistics guys are looking into it as well. Here is the scenario:
1. I am building a custom DNN module using some of Infragistics ASPNET AJAX controls
2. The particular control in question (WebDropDown) uses a client side callback function where another control can be loaded with data based on the first controls data selection. Basically when Control A's selection changes a javascript function is called which then calls the server side loaditems method which loads the second control with data. This is done using AJAX
3. I build the scenario using a standard ASP.NET webpage and it works fine. The moment we do it in a DNN environment it does not work
4. I have confirmed that the DNN page is bringing through the relevent javascript function which is used to make the callback to the server.
5. I have also confirmed that the actual function is being called when the control A selection is changed..
6. It seems that the actual CallBack to the server is not happening in DNN but is is happening in the standard ASP.NET webapp.
You can see the thread I have running with Infragistcs here:
http://forums.infragistics.com/forums/p/35481/207282.aspx#207282
Here is the actual javascript that is being used to load the items into control B:
// this function allows a developer to programatically populate the dropdown with items, based on certain filtering criteria
loadItems: function(text) {
this._setLoadItemsText(text);
var cbo = this._callbackManager.createCallbackObject();
cbo.serverContext.type = "itemsRequested";
this.__manualLoadItems=true;
this.set_valueBeforeFilter(this.get_currentValue());
// cbo.serverContext.props = Sys.Serialization.JavaScriptSerializer.serialize(item._csm.get_transactionList())
cbo.serverContext.props = Sys.Serialization.JavaScriptSerializer.serialize(this._clientStateManager.get_transactionList());
if (this._pi)
{
this._pi.set_enabled(false);
}
this._callbackManager.execute(cbo, true);
if (this._pi)
{
this._pi.set_enabled(true);
}
},
I am I missing something here? Is there something different in DNN to a standard ASP.NET app that needs to be configured to make this work?
Many Regards
Andrew