Hi,
I have dropdown button. on Click of this dropdown button ultragrid get opens.
This grid is Infragistics.Win.UltraWinGrid.UltraGrid in which it has columns and rows.now i want to make dropdown button enable so that user can see the details of grid i.e. rows and columns but do not allow user to select the data in the grid.
Can you please help me how can i set the data in the grid in so that user can see it but cannot select.
Please reply ASAP.
Thanks
This will help:
HOWTO:How can I make a grid or a column, row, or cell in the UltraWinGrid disabled or read-only?
Also, you might want to check out the following properties on the grid.DisplayLayout.Override:
SelectTypeRow, SelectTypeCol, SelectTypeCell - These properties control what the user is allowed to select in the grid.
CellClickAction - This determines what happens when the user clicks on a cell.
And if you want to turn off the Focus rectangle, this should help: HOWTO:How can I turn off the Focus Rectangle on an Infragistics Win Control?
Thanks for reply.
I have One more issue.
Like I have Header in which on double click of grid I am getting value. But I have to set certain condition if status of order is cancel then on double clicking of gridvalue should not get.
So Now I am enable to set this condition on header. When I try to set this condition in header its giving exception that "Object reference set to an Instance"
Please reply ASAP. Its urgent
I'm sorry, but I do not understand your question.
The error message you are getting indicates that you are trying to reference a property of a variable which null. So you need to check your code and see what is null and perhaps put in a check for null before you attempt to access it's members.
I have Header in which on click of combox , contact grid appears having rows and columns.
When I double click on this row i get value in combox box.
Below Header in the different form I have one more grid and in grid i have one of the column as status so depending on status i have to fetch the value from contact grid. SO when the status is cancel at that time and I double click on contact grid I should not get value in Combobox.
So for this what should I do??
Let me know ASAP. Very Urgent.
I'm sorry, but I do not understand your question. Can you explain in more detail?