Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
The error of Using MM.net Infrgistics Control WebDataGri
Message
De
06/09/2004 23:28:11
 
 
À
06/09/2004 03:39:37
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
00939668
Message ID:
00939836
Vues:
8
Fu,

Check your version of the help file, if it is 1.2 then you have the incorrect help file. Please download a new version from the website (email link). The hyperlink has been corrected to point to the new version of help file 1.2.1 In the help file look under the topic "Third Party Components" and then "Infragistics Web Controls" and then-- "mmUltraWebGrid". The first task is to drag and drop the Infragistics WebGrid control onto your web page, THEN delete it. This places a required TagPrefix into the html section of the Web page. Nine times out of ten, this will solve most of your problems. Now you can place the mmUltraWebGrid onto your web page.

Kevin also sent out another email requesting you add a line to "AssemblyInfo.cs" file of the "Infragistics Web Controls" and recompile. These are the two lines I added to my AssemblyInfo.cs file to ensure it would compile properly. You will note, I changed the TagPrefix from Kevin's requested "mm" to "mminf" to separate the Mere Mortals specific controls from the Mere Mortal Infragistic controls. This makes things easier when looking at the HTML later. Kevin is thinking about using the "mminf" TagPrefix instead of "mm".
using System.Web.UI;

[assembly: TagPrefix("OakLeaf.MM.Main.Web.UI.WebControls.Infragistics", "mmInf")]
The help files for both Infragistics and Mere Mortals inform you to change the "CopyLocal" property of the "Infragistics.WebUI.Shared.v2.1.dll" to true. You might also benefit from setting the "CopyLocal" property of the "mere mortals framework infragistics web controls.dll" to true as well if you are still getting some errors.

When working with the controls, you will find that the Presets are not yet working. You can work around this problem by adding the Infragistics control first and applying the Preset you want to it. Then add the MM Infragistics control. Switch to HTML view and copy a large chunk of the code from one control to the other; be careful. Now you can copy the control as many times as you want with the Preset already applied.

Enjoy! The Infragistics controls are great.


>Hello
>
> Current i am using MM .NET Infrigistics Web Control WebDataGrid in my application. But when I inserted a new instance of WebDataGrid in my webpage, it doesn't have a build error but it has a run time error. The error message is "Parser Error Message: Infragistics.WebUI.UltraWebGrid.BandsCollection must have items of type 'Infragistics.WebUI.UltraWebGrid.UltraGridBand'. 'Infragistics.WebUI.UltraWebGrid.UltraGridBand' is of type 'System.Web.UI.HtmlControls.HtmlGenericControl'."
>
> I don't know what error it is. Please let me know how to solve this problem.
>
> Best wish and regards!
Gordon de Rouyan
DC&G Consulting
Edmonton, Alberta
Email: derouyag@shaw.ca
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform