Winforms gridControl Cell DevExpress 13.1.5.0 Coded UI Tests: Cannot locate the cell in playback - visual-studio-2012

In Visual Studio 2012 and I have a Winforms application using DevExpress 13.1.5.0 controls. I am trying to automate Coded UI tests using the DevExpress 13.1.5.0 Coded UI Extension.
I am facing a problem in a gridControl where I have to delete a record. In the playback, it doesn't find the right cell.
When looking at the cell Search Properties, I find the Name as being like gridControlGridControlCell[View][Row]9[Column]..., it is therefore relative to the number of rows in the grid.
I have tried to add Search Properties like FriendlyName, ControlType and removing this one without success.
Is there a way to have a cell located in a gridControl without relative positionning in the grid itself?. Thanks for your help.

Related

Acumatica - Changing textbox Font Color based on value

I've been trying to modify the Projects (PM301000) screen summary area to change the font color of the totals to red when it's in negative value but I can't make it work. I've tried several javascript codes and saw that this is working on a button Dynamically Change Button Color
but I can't make it work on the PXNumericEdit control specifically the totals in the Projects screen.
Projects screenshot
Any idea on how to make it work? Thank you.
You should try changing the CSS via an event handler in the aspx code behind file. See this article

Can I insert an item with a specific color in a Listbox?

I'm developing an application with VBA in Excel 2013. I have a ListBox with items and I want to give each item a specific color depending on a criteria, I searched on the net but it says that it is impossible to do so, is that true?
I tried to use the listview (Microsoft ListView Control) but it doesn't show on the extra controls in the userform.
Does anyone know how to do give each item a specific color depending on a criterion using a Listbox if possible?
You cannot change the colour of individual items in an Excel listbox.
There are alternative ways you can achieve a similar result:
Use the ActiveX ListView control like examples here or here or here.
You can dynamically create an HTML Table and display that in a web browser control.
You can manipulate Excel cells to look and act like a listbox.
Your best best might be the ListView control but it could take some fancy footwork.
More Information:
MSDN : Using the ListView Control (Visual Studio)
MSDN : Using ActiveX Controls on Sheets
MSDN : ListView Properties
If you want to customize a ListBox in a UserForm, then you may use this DesignListBox
https://github.com/balin77/ExcelDesignListBox
It allows you to change any color, FontSize or Style.

Is there a way to use the "Properties" Window also for cells in Excel?

I am curious whether I can get a properties window for cells select in Excel. With "properties window" I mean the same on the Developer interface uses for properties of entities in VBA. I use AutoCAD a lot and have gotten used to being able to see and edit all attributes of an entity through the properties window. It would be quite handy if I had all info of a cell available in Excel too.
The content is displayed in the Formula Bar. The formatting can be displayed by touching: Ctrl+1:
This is not a complete set of Properties. (Comments are displayed by mouseover,etc.)

Excel: Is there a way to programmatically change the background colours of individual cells in a multi column listbox control

I have a multi-column list box control embedded in Excel, is there a way to change the background, font, and other attributes of an individual cell (rather than changing all the text in the listbox)?
I don't mind which listbox control I use (activeX or otherwise).
I would also consider using another control that isn't tied into the excel worksheet rows and columns (i.e. I can't use a table).
Excel's built in listbox control doesn't really have formatting options, but you can do quite a bit with the listview control.
You'll have to add a reference to Microsoft Windows Common Controls 6.0 (from VBA window go to Tools and click References, and scroll to find it). There's not an effective way to change the background color of a single cell in the listview table, but you can change the font color and make text bold in specific cells or based on criteria.
The syntax to populate the listview is a bit different than listbox, but there's quite a bit of material online for this if you think its the way to go. Also - I have only used listview in a form, but it should be possible to add this as an ActiveX control in an actual sheet.

sharepoint 2010 dataformwebpart drop down list filter

I have two connected DataFormWebparts on a site page, with one web part filtering the data in the other, and this works fine as long as the design style allows the options to be clicked on i.e. the information is laid out in text format.
However If I change the style to be a drop down list then the filtering no longer works. I'm assuming this is because there is no longer a hyperlink to trigger off the event, but is there a way to make it work in this format?
jquery to the rescue. hide the links. show the dropdown and with jquery or javascript, trigger the link click on dropdown index change. try to google out. hope these hints help
faced same issue. i did this as i had less time

Resources