Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Infragistics web control installation
Message
 
À
04/02/2007 11:22:04
John Baird
Coatesville, Pennsylvanie, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01192232
Message ID:
01193073
Vues:
14
John,

>We are trying to add the mm subclasses of the infragistics web controls to the toolbox. We are using Netadvantage 2006 Vol 2. Reading the user's guide, it tells you to recompile the dll, etc. However, when I build the project, I get the following error (one for each control in the project):
>
>Error 1 'OakLeaf.MM.Main.Web.UI.WebControls.Infragistics.mmWebCalendar' does not implement interface member 'OakLeaf.MM.Main.Web.UI.ImmWebBinding.BindOnPostBack' C:\Program Files\Mere Mortals .NET Framework 2005\Third Party Components\Infragistics Web Controls\mmWebCalendar.cs 32 15 Infragistics Web Controls
>
>This happens for each cotrol and the documentation states this is a new property for v2.3. I tried added the method BindOnPostBack, but that gave me all kinds of problems too.
>
>How do I get this project to build?

You only need to recompile the project because you are using an older version of Infragistics controls (a note to you lurkers). You are getting the compiler error about BindOnPostBack because the MM .NET Infragistics 2.2 controls don't have this property and MM .NET 2.3 expects it (as you already discovered). I don't know if you have a typo in your message, but BindOnPostBack is a property, not a method. Here's what it should look like:
/// <summary>
/// Specifies if the control is bound during Postback
/// </summary>
[Browsable(true), Category("Data"),
Description("Specifies if the control is bound during Postback."),
DefaultValue(false)]
public bool BindOnPostBack
{
	get { return _bindOnPostBack; }
	set { _bindOnPostBack = value; }
}
private bool _bindOnPostBack = false;
All of this said, now that I know what you're doing, it's probably easier to use the MM .NET Infragistics Controls 2006 Version 3 that's currently on our web site. You can simply open the project, remove references to the newer infragistics assemblies, add references to the old Infragisicts assemblies and recompile.

Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform