infragistics

What are the side-affects of ensuring every control created has a handle in .NET?

混江龙づ霸主 提交于 2021-01-27 06:31:40
问题 In the past, I've suffered from a freezing issue that was the result of a Control being used to marshall calls on the UI thread before a handle has been created for that control. (See Kim Greenlee's blog for more info). Using this method - implemented recursively - I ensure all controls that are created in our application have handles when they are constructed. Specifically, this is done after the designer call to initialise the GUI for the control. My question is: Q - Aside from performance,

What are the side-affects of ensuring every control created has a handle in .NET?

安稳与你 提交于 2021-01-27 06:31:16
问题 In the past, I've suffered from a freezing issue that was the result of a Control being used to marshall calls on the UI thread before a handle has been created for that control. (See Kim Greenlee's blog for more info). Using this method - implemented recursively - I ensure all controls that are created in our application have handles when they are constructed. Specifically, this is done after the designer call to initialise the GUI for the control. My question is: Q - Aside from performance,

Not able to open a form in design mode

感情迁移 提交于 2020-07-21 06:26:47
问题 When i open form, i can't get into design mode and i get this error: The variable 'MonthViewCalendar' (internal Infragistics.Win.UltraWinSchedule.UltraMonthViewSingle MonthViewCalendar;) is either undeclared or was never assigned. Any idea why a form doesn't go into design mode? I am using VS 2010. I tried - Clean solution, restarting VS and reopening, but that didn't solve my issue. 回答1: Go into your Form.Designer.cs file and remove the declaration for "abcd". Then reload it in your designer

Undefined protocol in the URL cell

主宰稳场 提交于 2020-04-17 18:37:39
问题 I have a UltraGridCell with style equal to Infragistics.Win.UltraWinGrid.ColumnStyle.URL and add my own handler to UltraGrid.MouseClick so that I can open a new tab if the URL columns is clicked Nothing is wrong if the URL column is of the value "ABCDE". It looks like a URL link in the cell with underline and blue color (turns purple after click). It just like a URL link in the browser. The issue is that if the content is of the value like "ABC:DE". It turns out it complains that there is an

Undefined protocol in the URL cell

◇◆丶佛笑我妖孽 提交于 2020-04-17 18:34:29
问题 I have a UltraGridCell with style equal to Infragistics.Win.UltraWinGrid.ColumnStyle.URL and add my own handler to UltraGrid.MouseClick so that I can open a new tab if the URL columns is clicked Nothing is wrong if the URL column is of the value "ABCDE". It looks like a URL link in the cell with underline and blue color (turns purple after click). It just like a URL link in the browser. The issue is that if the content is of the value like "ABC:DE". It turns out it complains that there is an

How to automatically size a Window to fit its content

走远了吗. 提交于 2020-02-25 06:32:00
问题 I'm using C# and Infragistics 15. I have a WinForm with an UltraGrid and I want to auto-ajust the window's size to the content. I looked for this and I found SizeToContent property. But I can not find this property with my window. SizeToContent FrmCVault is my window's name. This is my windows when I open it at the beginning : And this is my window when I scroll down, I'd like to delete the blank at the bottom, to make it fit to the content : 回答1: You can Set AutoSize property of Form to true

How to automatically size a Window to fit its content

青春壹個敷衍的年華 提交于 2020-02-25 06:31:13
问题 I'm using C# and Infragistics 15. I have a WinForm with an UltraGrid and I want to auto-ajust the window's size to the content. I looked for this and I found SizeToContent property. But I can not find this property with my window. SizeToContent FrmCVault is my window's name. This is my windows when I open it at the beginning : And this is my window when I scroll down, I'd like to delete the blank at the bottom, to make it fit to the content : 回答1: You can Set AutoSize property of Form to true

Infragistics UltraValidator new

一世执手 提交于 2020-01-15 09:47:16
问题 I am using infragistics UltraValidator. I want to remove the text "validation failed with the following error(s)" from validate message box. please help me out HERE IS THE CODE >> private void uValidate_ValidationError(object sender, ValidationErrorEventArgs e){ Infragistics.Win.Misc.ValidationSettings settings; settings = this.uValidate.GetValidationSettings( UltraTextEditor ); settings.NotificationSettings.Action = Infragistics.Win.Misc.NotificationAction.MessageBox; settings

infragistics get clientID of dropdown in Rowedit template

有些话、适合烂在心里 提交于 2020-01-06 05:08:31
问题 i have a infragistics web grid which has row edit template. Row edit template contains drop down list. Now when i change the selected index of drop down.. i need to get the client id of the drop down.. the web grid is in Content place holder.. i am using the below code.. ctl00_ContentPlaceHolder1_webModGrid_ctl00_ddlScope but it is giving error.. Microsoft JScript runtime error: Object required 回答1: you can try to use the switch 'ClientIDMode' and its value Static http://msdn.microsoft.com/en

how to select single column data in infragistics igniteui grid

孤人 提交于 2020-01-05 10:26:16
问题 how to select data of single column from a grid data. The grid data is passed as following: var url = "/Main/Grid?tbname="+parameter; var jsonp = new $.ig.JSONPDataSource({ dataSource: url, paging: { enabled: true, pageSize: 10, type: "remote" } }); $("#listingGrid").igGrid("dataSourceObject", jsonp).igGrid("dataBind"); I have to retrieve data in another page from this grid and select one column from this data. and i have retrieved data like this var ds = window.parent.$("#listingGrid")