infragistics

Tab will not fire keydown or keypress event

偶尔善良 提交于 2019-12-11 20:44:11
问题 I am working in a webform and have a form with a tab bar on it. Each tab has multiple text boxes in it. I have the tab indexes incremented, starting with 1 for each tab. I want to tab from tab to tab if the user hits the end of the form and hits tab. I used the leave method and changed the tabs for my tab control the only problem is if I didn't hit tab and say I click to another control on that tab it will still shoot over to the new tab. I figure a way to solve this would be to listen for

How can I convert a datetime to dd-mmm-yyyy Date format?

和自甴很熟 提交于 2019-12-11 19:43:16
问题 I'm using Webdatechooser<<Infragistics control>> for a column which takes the datetime. I need to convert the value entered (through the Webdatechooser) to dd-mmm-format. Can I have snippets for that? 回答1: The value is a DateTime object so you can use the ToString function of that object to generate the desired output. ((DateTime)WebDateChooser1.Value).ToString("dd-MMM-yyyy"); Should do it. 来源: https://stackoverflow.com/questions/709982/how-can-i-convert-a-datetime-to-dd-mmm-yyyy-date-format

WPF use Canvas as ImageSource

╄→гoц情女王★ 提交于 2019-12-11 15:19:20
问题 I am new to WPF and trying to build a basic app with a toolbar and icons. I am testing XamRibbon from Infragistics and ButtonTool that shows on the Ribbon require ImageSource to show an image like so: <igRibbon:ButtonTool Caption="Edit" igRibbon:RibbonGroup.MaximumSize="ImageAndTextLarge" LargeImage="{StaticResource stop}" SmallImage="{StaticResource stop}" /> I have a XAML icon defined in my dictionary with key 'stop' but the icons I am using are all in Canvas form like this: <Canvas Width=

Struggling to come up with a generic C# method that compares different types of numeric objects

Deadly 提交于 2019-12-11 12:52:03
问题 I have an Infragistics UltraNumericEditor (version 5.3, quite old) control on a form. If I set the .Value field to something less than .MinValue or something more than .MaxValue then I get a System.Exception thrown with the following message: The 'Value' property cannot be set to a value that is outside the range determined by the 'MinValue' and 'MaxValue' properties The signatures of the relevant fields on UltraNumericEditor are as follows: public object MinValue { get; set; } public object

How to use infragistics syntax parsing engine?

心已入冬 提交于 2019-12-11 11:57:53
问题 I want to make use of infragistics syntax parsing engine to do something like this: User defines grammar for a language in an EBNF format. The grammar defined above is used to verify whether a user input in a textbox is valid (i.e. matches or could match the above grammar) or not. I have read all the documentation they have and I cannot see what a good first step would be. Any help will be appreciated. 回答1: I work on the parsing engine for Infragistics and this sounds like a perfect way to

ComboBox in UltraGrid

99封情书 提交于 2019-12-11 11:51:01
问题 I have to do some maintenance on an old VB.NET application (Visual Studio 2003) that uses Infragistics NetAdvantage 2006. I need to add a column to an existing UltraGrid control. This new column must act like a ComboBox, allowing the selection from a list of values. I added the new column, and set the Style to DropDownValidate. I created a ValueList and assigned it to the new column. At run-time I don't get the expected results. What am I missing? 回答1: Something like this should work for you:

Infragistics UltraGrid: GroupBy row ForeColor changes when clicked

廉价感情. 提交于 2019-12-11 03:21:15
问题 Using Infragistics UltraGrid in WinForms in C#: I am conditionally changing the color of the ForeColor of some GroupByRows on a grid. When the user clicks the row, the color changes back to the active/selected/hot tracked/whatever color until they click on something else. I'd like the text color of the rows that I have conditionally colored to never change. Here's how I'm setting the color: Row.Appearance.ForeColor = System.Drawing.Color.Orange; Any idea how to make it stick even when the row

Reloading Infragistics grid

筅森魡賤 提交于 2019-12-11 00:25:02
问题 I have an Infragistics grid that I need to reload via Jquery. They currently have a bug when updating/inserting rows with a value/text drop down in the grid so I need to manually reload it. $("#grid1").igGrid("databind"); does not work. How do I reload the whole grid via Jquery? 回答1: You need to call the method "dataBind" (is just a Typo) $("#grid1").igGrid("dataBind"); Hope this helps some one at least :) 回答2: If you want to reload the whole grid you can always try using an UpdatePanel and

Add/Remove many items to/from a large databound ObservableCollection without freezing the GUI

本小妞迷上赌 提交于 2019-12-10 16:59:31
问题 My team and I are developing a WPF application that displays several concurrent XamDataChart controls (by Infragistics). Each chart is bound to a different ObservableCollection that can contain up to 2 million points. For each chart, a DispatcherTimer periodically retrieves new items (up to 1000 every 100 ms) that are to be appended to the collection. Every time new items come, they are added to the "tail" of a collection and the same amount is removed from the "head", so that the amount of

How do you get child bands in ultragrid without using related tables in a dataset?

自古美人都是妖i 提交于 2019-12-10 13:57:04
问题 I'm using linq to pull back an object (i.e. customer) that might have a collection of other objects(customer.orders). I would be nice if I can pass this list of customers to the ultragrid and a hierarchical view of customers and thier orders displayed on databind. When I try this, I just get customers. Anyone know how to get this to work with non dataset objects? 回答1: Figured it out. IList collection works and will create bands for properties of your domain object if it is an IList<T> . Just