﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » .NET Forums » General .NET Discussion  » Infragistics Controls</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 06:06:08 GMT</lastBuildDate><ttl>20</ttl><item><title>Infragistics Controls</title><link>http://forum.strataframe.net/FindPost27150.aspx</link><description>I am currenlty evaluating Infagistics Controls and would welcome any feedback. &lt;/P&gt;&lt;P&gt;I am primarily lloking at their Grid (For data entry) but see that there seem to be a lot of nice other formatting controls also&lt;/P&gt;&lt;P&gt;They seem to have ano. of different options and am not sure whcih one to select. (Windows Forms, Web Forms, Asp, WPF....all a little confusing) They also now seem to have a lot of stuff on WPF. To use the WPF stuff and Stratframe, I presume I will need to wait until the next version of SF ?&lt;/P&gt;&lt;P&gt;In the past I purchased a few Web Controls (Telerik Grid) and found that it&amp;nbsp;was quite slow. &lt;/P&gt;&lt;P&gt;Thanks in advance</description><pubDate>Mon, 17 May 2010 19:12:54 GMT</pubDate><dc:creator>Ger Cannoll</dc:creator></item><item><title>RE: Infragistics Controls</title><link>http://forum.strataframe.net/FindPost27164.aspx</link><description>Thanks Russell. ;)&lt;/P&gt;&lt;P&gt;By the way, I have managed to translate the sample into C#. Just found out the thing doesn't Handle Events... :D</description><pubDate>Mon, 17 May 2010 19:12:54 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: Infragistics Controls</title><link>http://forum.strataframe.net/FindPost27162.aspx</link><description>Yes, congratulations Ivan on your new title!&amp;nbsp; Well deserved!&lt;/P&gt;&lt;P&gt;Also, can you post a sample for subclassing the Ultragrid&amp;nbsp;in C# in User Contributed Examples forum?</description><pubDate>Mon, 17 May 2010 17:28:39 GMT</pubDate><dc:creator>Russell Scott Brown</dc:creator></item><item><title>RE: Infragistics Controls</title><link>http://forum.strataframe.net/FindPost27160.aspx</link><description>Hey Edhy! Thank you... by the way, I solved my grid problem after your post on the Datasource = Nothing. ;)</description><pubDate>Mon, 17 May 2010 16:50:01 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: Infragistics Controls</title><link>http://forum.strataframe.net/FindPost27159.aspx</link><description>Thanks Ivan and congratulations on your new title!!! :P</description><pubDate>Mon, 17 May 2010 16:13:56 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: Infragistics Controls</title><link>http://forum.strataframe.net/FindPost27158.aspx</link><description>Hiya.&lt;/P&gt;&lt;P&gt;I have created a sample on this grid layout saving thing. :hehe:&lt;/P&gt;&lt;P&gt;Hope it helps in some way. It is on the StrataFrame Users Contributed Samples forum.&lt;/P&gt;&lt;P&gt;Regarding the buttons, I would have to test them, as I haven't used these grids' features yet.&lt;/P&gt;&lt;P&gt;Abraços.</description><pubDate>Mon, 17 May 2010 15:33:53 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: Infragistics Controls</title><link>http://forum.strataframe.net/FindPost27156.aspx</link><description>This is very cool stuff :)&lt;br&gt;
&lt;br&gt;
I started to subclass the Ultragrid then saw the stuff for saving layout in the grid designer and have just been using that for most of the behavior and appearance properties but I think I still need to learn more about using a subclass.&lt;br&gt;
&lt;br&gt;
Since I'm still trying to wrap my head around subclassing the Ultragrid, would you mind posting the actual class code - all of it - of the subclass?  I'm still mystified about setting a lot of the properties in code ( the overrides, for example ) and seeing examples in a strataframe context would really help.&lt;br&gt;
&lt;br&gt;
This is what I have figured out so far about subclassing it.&lt;br&gt;
&lt;br&gt;
[codesnippet]Imports Infragistics&lt;br&gt;
Imports Infragistics.Shared&lt;br&gt;
&lt;br&gt;
Public Class uWingrid&lt;br&gt;
    Inherits Infragistics.Win.UltraWinGrid.UltraGrid&lt;br&gt;
&lt;br&gt;
    Public Sub new()&lt;br&gt;
&lt;br&gt;
        &lt;br&gt;
        Me.DisplayLayout.CaptionVisible = Win.DefaultableBoolean.False &lt;br&gt;
        Me.DisplayLayout.GroupByBox.Hidden = True&lt;br&gt;
        Me.DisplayLayout.Override.AllowAddNew = Infragistics.Win.UltraWinGrid.AllowAddNew.FixedAddRowOnBottom&lt;br&gt;
        Me.DisplayLayout.Override.AllowDelete = Infragistics.Win.DefaultableBoolean.[True]&lt;br&gt;
        Me.DisplayLayout.Override.AllowRowSummaries = Infragistics.Win.UltraWinGrid.AllowRowSummaries.[False]&lt;br&gt;
        Me.DisplayLayout.Override.AllowUpdate = Infragistics.Win.DefaultableBoolean.[True]&lt;br&gt;
    End Sub&lt;br&gt;
&lt;br&gt;
End Class[/codesnippet]&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Is there a row delete button ( like the add button ) that can be called up in a setting someplace or is it a matter of calling Activerow.delete() from your own button?  &lt;br&gt;
&lt;br&gt;
Right now I'm creating a button, making it visible with the Gotfocus of the grid (if the form is in edit or new mode ) and invisible on lostfocus and using it to call Activerow.Delete but if I am going to use this approach I'd rather put the button in the grid header or something in a subclass.  I have 13 grids on this form and I have 13 gotfocus/lostfocus/click methods.  Would prefer something more generic for my Ultragrids in general.&lt;br&gt;
&lt;br&gt;
( and I thought there is probably some Ultragrid delete button property if I could find it :cool: )&lt;br&gt;
&lt;br&gt;
Any suggestions (and code) most welcome :D&lt;br&gt;
&lt;br&gt;
obrigado muito !&lt;br&gt;</description><pubDate>Mon, 17 May 2010 13:25:49 GMT</pubDate><dc:creator>Charles R Hankey</dc:creator></item><item><title>RE: Infragistics Controls</title><link>http://forum.strataframe.net/FindPost27155.aspx</link><description>Hi Gerard.&lt;/P&gt;&lt;P&gt;Well, I think that that is all doable. Have a look at the grid's DisplayLayout.SaveAsXml and you will see that you&amp;nbsp;have many property categories that you can save. I'm posting&amp;nbsp;the code I&amp;nbsp;have on my subclassed grid to give you an idea...&lt;/P&gt;&lt;P&gt;[codesnippet]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ''' &amp;lt;summary&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ''' Created a public method to be called on the Form's OnFormClosing for every Grid on it in order to save&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ''' columns order and width that might have been changed by user and keep it in a XML file. The call is on&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ''' the base form (PFNStandardForm) which checks all form's controls for an UltraGrid and then calls this&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ''' method whenever one is found.&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ''' Tried to use the grid's own Validated but had problems because we need to set the Grid's DataSource&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ''' to Nothing on closing the form to avoid "The given key was not present in the dictionary."&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ''' &amp;lt;/summary&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ''' &amp;lt;param name="grid"&amp;gt;&amp;lt;/param&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ''' &amp;lt;remarks&amp;gt;&amp;lt;/remarks&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Public Sub SaveGridLayoutAndLeave(ByVal grid As Infragistics.Win.UltraWinGrid.UltraGrid)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '-- establish locals&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim lcPath As String&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim lcFile As String&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '-- create the Path&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lcPath = Application.StartupPath &amp;amp; "\Layouts"&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If lcPath &amp;lt;&amp;gt; String.Empty Then&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If IO.Directory.Exists(lcPath) = False Then&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '-- create folder for Grid Layout, if it doesn't exist already&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Try&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IO.Directory.CreateDirectory(lcPath)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Catch ex As Exception&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End Try&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End If&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End If&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '-- delete older Layout file, so it won't keep older files when Version changes&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; For Each FileFound As String In IO.Directory.GetFiles(lcPath, grid.Name.Trim &amp;amp; "*.xml")&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IO.File.Delete(FileFound)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Next&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '-- get the path and build the file name&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lcFile = lcPath &amp;amp; "\" &amp;amp; grid.FindForm.Name.Trim &amp;amp; "_" &amp;amp; grid.Name.Trim &amp;amp; "_" &amp;amp; Me.Version.Trim &amp;amp; ".xml"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '-- save current layout&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Try&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; grid.DisplayLayout.SaveAsXml(lcFile, Infragistics.Win.UltraWinGrid.PropertyCategories.Bands)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Catch ex As Exception&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End Try&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '-- sets Datasource to nothing to avoid "key not found exception"&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Me.DataSource = Nothing&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; End Sub&lt;/P&gt;&lt;P&gt;[/codesnippet]&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, to save it, I used its InitializeLayout:&lt;/P&gt;&lt;P&gt;[codesnippet]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Private Sub UltraGridOffisys_InitializeLayout(ByVal sender As System.Object, ByVal e As _&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs) Handles MyBase.InitializeLayout&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '-- establish locals&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim lcFile As String&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '-- set path and build the file name&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lcFile = Application.StartupPath &amp;amp; "\Layouts\" &amp;amp; Me.FindForm.Name.Trim &amp;amp; "_" &amp;amp; Me.Name.Trim &amp;amp; "_" &amp;amp; _&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Me.Version.Trim &amp;amp; ".xml"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '-- load saved layout, if Version changed, Layout will be reset to original&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Try&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Me.DisplayLayout.LoadFromXml(lcFile)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Catch ex As Exception&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End Try&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; End Sub&lt;/P&gt;&lt;P&gt;[/codesnippet]&lt;/P&gt;&lt;P&gt;As for the roadmap to WPF I only know that the guys are going to get it done, but I don't have a time for that. If I get any info about that, I will come back here.</description><pubDate>Mon, 17 May 2010 10:25:51 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: Infragistics Controls</title><link>http://forum.strataframe.net/FindPost27154.aspx</link><description>Hey Charles.&lt;/P&gt;&lt;P&gt;Yeah, I saw your post when you wrote it, but since that would be the approach I would take, I was waching to see if someone else gave you some other advice. I will check on that and see if I get other ideas. ;)</description><pubDate>Mon, 17 May 2010 10:14:47 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: Infragistics Controls</title><link>http://forum.strataframe.net/FindPost27153.aspx</link><description>Hi Ivan.&lt;/P&gt;&lt;P&gt;Its interesting tht you have written away settings to an XMl file for users. One of the things i want to do is specify columns, headings, widths, background colour, whether a column is editiable etc in a user file, and then as the grid loads, go to the user file and populate the columns with hte data to be viewed or edited. It would appear that is is all do-able ?&lt;/P&gt;&lt;P&gt;On the WPF side ot things, any idea of what timeline is there to interface SF with some of this Infragistics functionality</description><pubDate>Mon, 17 May 2010 10:03:19 GMT</pubDate><dc:creator>Ger Cannoll</dc:creator></item><item><title>RE: Infragistics Controls</title><link>http://forum.strataframe.net/FindPost27152.aspx</link><description>Hi Ivan &lt;br&gt;
&lt;br&gt;
Since Microfour seems to be on a extended vacation ;) would you mind taking a look at my Ultragrid question &lt;br&gt;
&lt;br&gt;
[url]http://forum.strataframe.net/Topic26995-7-1.aspx[/url]&lt;br&gt;
&lt;br&gt;
regarding setting up parent-child data entry Ultragrids.  &lt;br&gt;
&lt;br&gt;
It seems the technique used for creating reporting involved readonly properties and I thought there might be a better way to accomplish this with Ultragrid for data entry.&lt;br&gt;
&lt;br&gt;
Thanks&lt;br&gt;
&lt;br&gt;</description><pubDate>Mon, 17 May 2010 08:46:50 GMT</pubDate><dc:creator>Charles R Hankey</dc:creator></item><item><title>RE: Infragistics Controls</title><link>http://forum.strataframe.net/FindPost27151.aspx</link><description>Hi Gerard.&lt;/P&gt;&lt;P&gt;I have been using Infragistics, mainly its UltraGrid. So far, so good. I have the NET Advantadge version but try to stay with SF controls most of the time, since any third party controls will tend to be slower, which is the price we pay to get so many features out of a single control. &lt;/P&gt;&lt;P&gt;I have subclassed their grid control and added some code to save the grid layout, so the user can change columns orders and widths and the change will be kept on a XML file. &lt;/P&gt;&lt;P&gt;It works just fine with our BusinessBindingSource and is quite straight forward to bind the columns to our BO's properties.&lt;/P&gt;&lt;P&gt;There are some issues that we need to take care of and it's been well discussed on the forum, so if you decide for it you will find plenty of help around here.</description><pubDate>Mon, 17 May 2010 07:58:52 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item></channel></rss>