Rank: Advanced Member Groups: Member
Joined: 6/1/2007 Posts: 31
|
Hello, I just installed the recent build 2010.47.2. Upon testing our projects with the new build, it fails on the below line where the EO.Web.NavigationItemText .a is referenced with the following errror:: Error 10 'EO.Web.NavigationItemText' does not contain a definition for 'a'
Code: C#
protected void BuildTabsSection(int currentTab, string TabName, int RegionID, DataTable DistrictTM)
{
DataRow[] RegionsResults = DistrictTM.Select(DataTableRegion);
eo_tab_Regions.Items[currentTab].Text = EO.Web.NavigationItemText.a(eo_tab_Regions.Items[currentTab].Text + " (<b>" + RegionsResults.Length.ToString() + "</b>)");
}
eo_tab_Regions is an EO.TabStrip control. When checking the code with the old DLL, I see the "a" property is displayed. Under the new build, the only properties exposed are "Equals" and "ReferenceEquals". Was the "a" property removed, why, and what is the recommended altenate syntax givent the above statement? Thanks.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
You should not use those. As a general rule, you should only use what's documented. Others especially those with name "a", "b", "c" are not meant to be used by you for very beginning and their name can change in every build. Those are marked as "not for public use" and will be automatically renamed to meaningless names during each build. The build process can pick any name. Because it can change during every build (as it has happened to you), you should regard those members as not existing even if you see them.
As a result, we will not be able to tell you what "a" is, or why it was removed, or what is the replacement. If you can tell us what features you are looking for, we can tell you what is the documented member for that, or whether a public member exists for that at all.
Thanks!
|
Rank: Advanced Member Groups: Member
Joined: 6/1/2007 Posts: 31
|
I confirmed with the original developer the intent of the code was to append some data to the existing tab text. I modified the code to simply address the tab with:
Code: C#
eo_tab_Regions.Items[currentTab].Text += "( ... appended tab text... )";
This seems to work fine. Thanks,
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
Great. Glad that you worked it out.
Thanks!
|