We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

no ellipsis

Thread ID:





15521 Jun 21,2004 02:46 PM UTC Jun 21,2004 03:37 PM UTC WinForms 3
Tags: GridControl
Administrator [Syncfusion]
Asked On June 21, 2004 02:46 PM UTC

Hi, I have GBDG where i want ellipsis in a couple of rows. so i copied the cellbuttons demo ellipsiscell.cs into my project and added the following lines: GridBoundColumnsCollection gbcc = this.gridHierDataBoundGrid1.Binder.InternalColumns; this.gridHierDataBoundGrid1.Model.CellModels.Remove("EllipsisText"); this.gridHierDataBoundGrid1.Model.CellModels.Add("EllipsisText", new EllipsisCellModel(this.gridHierDataBoundGrid1.Model)); gbcc["WorkOrder"].StyleInfo.CellType = "EllipsisText"; gbcc["WorkOrder"].StyleInfo.CellValueType = typeof(Int64); now the button draws but not the ellipsis inside the buttons. is this because of a gridcontrol/GBDG difference? thanks

Administrator [Syncfusion]
Replied On June 21, 2004 02:47 PM UTC

btw i did copy browse.bmp too and set it to embedded resource.

Administrator [Syncfusion]
Replied On June 21, 2004 03:35 PM UTC

This is likely a namespace problem. Check this line in your code from the EllipsisCell.cs (or EllipsisCell.vb) file.. iconPainter = new GridIconPaint("CellButtons.", typeof(EllipsisCellButton).Assembly); The "CellButtons." listed there should be changed to the namespace for your project (where the resources are embedded). If you are using VB, then you need to open the projects properties to see the name of the default namespace.

Administrator [Syncfusion]
Replied On June 21, 2004 03:37 PM UTC

right on perfect thanks!


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon