I have tried to use a WebDropDown control on a Dynamics AX Enterprise Portal page hosted by SharePoint (inside a web part).
The WebDropDown control is used in context of a AxForm control which is bound to a AxDataSource control. The WebDropDown control is bound using
CurrentValue='<%# Bind("MyField") %>'
1) As long as the control is bound, it does not fire the OnValueChanged event. As soon as I remove the binding, the event is fired! What's the reason for this behavior?
2) Beside this, the data binding does not seem to work at all, because a selected or entered value does not reach the data source like with any other ASP.NET control I used so far. Why?
3) After removing the data binding in the OnValueChanged event handler method the property CurrentValue is always set to null (even if there is a value displayed in the control on the web page). The only way to get the changed value is by using the property DropDownValueChangedEventArgs.NewValue. Should the CurrentValue not already set to the changed value in a "OnValueChanged" event handler?
4) Is there any real documentation from Infragistics to work with it's controls in a SharePoint environment (beside the poor documentation given by the "Promegranate" example?)
5) Is there any real documentation from Infragistics to work with it's controls in a Dynamics AX Enterprise Portal environment? Is it possible to use the controls in a stable way inside such an environment at all?
Hello Steffen,
Dynamic AX Enterprise Portal is not an environment that we specifically support(http://ko.infragistics.com/support/supported-environments.aspx#SupportedEnvironments ). I tried to replicate your issues in a ordinary website and when I bind the webdropdown, the way you are describing, the ValueChanged events is firing. Also when I select or enter value I have no problem taking it via the CurrentValue property (I tried this with 9.2, 10.1, and 10.2). It seems that your issue is specific for the environment you are using – Dynamics AX Enterprise Portal.
Currently our share point documentation is not very rich. You can find some useful information on these links:
http://help.infragistics.com/Help/NetAdvantage/ASPNET/2010.2/CLR4.0/html/SharePoint_Support_in_VisualStudio.html
http://ko.infragistics.com/innovations/sharepoint.aspx#SharePoint
http://dl-uklo.infragistics.com/products/NetAdvantage/Silverlight/2008.1/ReferenceApplications/Pomegranate%20-%20Configuration%20Document.pdf
I will contact our help department, and ask for improvement of the SharePoint documentation.
Hope this helps.
Regards,
Lyuba
Developer Support Engineer
Infragistics
www.infragistics.com/support
I'm also paining on this issue,
but in my case WebDropDown is in an Update panel. Tried to debug on Visual Stdio but event does not firing.