Hello everyone! I'm using DotNetNuke 4.9.1. And i have a problem with showing datasource of CountryListBox control! Please help me!
Here my source code:
<%@ Register TagPrefix="wc" Namespace="DotNetNuke.UI.WebControls" Assembly="CountryListBox" %>
<wc:countrylistbox id="cboCountry" runat="server" Width="200px" CssClass="NormalTextBox" TestIP="yes"
DataValueField="Value" DataTextField="Text" AutoPostBack="True" onselectedindexchanged="cboCountry_SelectedIndexChanged"></wc:countrylistbox>
......
private void loadCountryList()
{
ListController ctlEntry = new ListController();
ListEntryInfoCollection entryCollection = ctlEntry.GetListEntryInfoCollection("Country");
cboCountry.DataSource = entryCollection;
cboCountry.DataBind();
cboCountry_SelectedIndexChanged(cboCountry, null);
}
I made a comparison between DNN 4.9.0 and DNN 4.9.1. Then i recognized that there's different between structure of 'entryCollection'. So, cboCountry binds and show datasource well in DNN 4.9.0. But cboCountry doen't bind with structure of 'entryCollection' in DNN 4.9.1.
In the same code, but they build in the different ways. I wondered it's cause of dll files!
So please help me to solve this problem! Thanks!