473,387 Members | 1,890 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Adding image to all cells of a column in Ultragrid

Hi,
I am using an UltraGrid of Infragistics Net Advantage 2005 in
my application.
I need to add an image to all cells under a column.I need to
have image and text
in the same cell.
Can any one help me in doing this?

thanks in advance

Nov 29 '05 #1
3 18453
Hello techie,
first of all you must post infragistics issuies or questions in ifragistics
newsgroup, news.Infragistics.com,
Now you can do what you want simply by puting the image to the
grid.DisplayLayout.Bands[0].Column["ColName"].Appearence.Image!!
OR
use the initializeRow event of the grid and put the image to the appearence
cell of each row, this will give you the option in later stage of your
project to put different pictures as well!!
hope that helped
Nassos

"techie" <ra***********@gmail.com> wrote in message
news:11**********************@g44g2000cwa.googlegr oups.com...
Hi,
I am using an UltraGrid of Infragistics Net Advantage 2005 in
my application.
I need to add an image to all cells under a column.I need to
have image and text
in the same cell.
Can any one help me in doing this?

thanks in advance

Nov 29 '05 #2
Hi Nassos,
thanks a lot for your help.
I am now able to add Images to cells in a column.
I'll be more happy if you could help me to add rows to
an ultragrid without using a datasource either at design time or runtime
as I am new to this ultragrid.
regards,
Ramesh.

"Nassos" wrote:
Hello techie,
first of all you must post infragistics issuies or questions in ifragisticsnewsgroup, news.Infragistics.com,
Now you can do what you want simply by puting the image to the
grid.DisplayLayout.Bands[0].Column["ColName"].Appearence.Image!!
OR
use the initializeRow event of the grid and put the image to the appearencecell of each row, this will give you the option in later stage of your
project to put different pictures as well!!
hope that helped
Nassos

"techie" <ra***********@gmail.com> wrote in message
news:11**********************@g44g2000cwa.googleg roups.com...
Hi,
I am using an UltraGrid of Infragistics Net Advantage 2005 in
my application.
I need to add an image to all cells under a column.I need to
have image and text
in the same cell.
Can any one help me in doing this?

thanks in advance



--
Sent via .NET Newsgroups
http://www.dotnetnewsgroups.com
Nov 29 '05 #3
Sure Ramesh,
this is the way to add a row to the ultraWinGrid:
UltraGridRow row = this.gridParoxes.Rows.Band.AddNew();

hope that helps

"Ramesh (techie)" <ra***********@gmail.com> wrote in message
news:eG**************@TK2MSFTNGP12.phx.gbl...
Hi Nassos,
thanks a lot for your help.
I am now able to add Images to cells in a column.
I'll be more happy if you could help me to add rows to
an ultragrid without using a datasource either at design time or runtime
as I am new to this ultragrid.
regards,
Ramesh.

"Nassos" wrote:
Hello techie,
first of all you must post infragistics issuies or questions in

ifragistics
newsgroup, news.Infragistics.com,
Now you can do what you want simply by puting the image to the
grid.DisplayLayout.Bands[0].Column["ColName"].Appearence.Image!!
OR
use the initializeRow event of the grid and put the image to the

appearence
cell of each row, this will give you the option in later stage of your
project to put different pictures as well!!
hope that helped
Nassos

"techie" <ra***********@gmail.com> wrote in message
news:11**********************@g44g2000cwa.google groups.com...
Hi,
I am using an UltraGrid of Infragistics Net Advantage 2005 in
my application.
I need to add an image to all cells under a column.I need to
have image and text
in the same cell.
Can any one help me in doing this?

thanks in advance



--
Sent via .NET Newsgroups
http://www.dotnetnewsgroups.com

Nov 29 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Dave Quigley | last post by:
Hello everyone.... Im currently starting my targa support project again for ..NET and I am wondering if there are any particular interfaces or classes that Im supposed to extend in order to do this...
2
by: Manny Chohan | last post by:
i am trying to add image to table cell. Here is my code.. System.Web.UI.WebControls.Image img = new System.Web.UI.WebControls.Image(); img.ImageUrl="http://localhost/Lhw/Images/i.p.new.gif";...
4
by: Sparky Arbuckle | last post by:
Does anyone know of a way to add an image into a DataGrid's Template Column? Any suggestions are greatly appreciated.
2
by: Larry Bird | last post by:
I have a datatable that was created within a dataset. I dynamically add columns to the table as I add data. Previously added rows probably did not have data for the column that is being added. ...
7
by: Adam Maltby | last post by:
Hi, I am adding an new picbox and animated gif to it at runtime Dim img As Image = Image.FromFile(Application.StartupPath & "\animation.gif") With pic_Wait .Location = New Point(300, 250)...
3
by: Chris | last post by:
I need to load an rtf file to my sql database (into image type column). now I am using external tool textcopy.exe (launched within my application) Is it possible (how to do that) to write my own...
1
by: JB | last post by:
I'm dynamically creating a Gridview object and filling it with contents from an ArrayList as follows: GridView2.AutoGenerateColumns = true; GridView2.DataSource = ArrayListObject;...
3
by: SimonHeffer | last post by:
I've added a DataGridView and added some columns in the designer, now I want to add some rows with data applied via column name. Having done some web trawling I've ended up with this: private...
1
by: =?Utf-8?B?bXVzb3NkZXY=?= | last post by:
Hi I need to add the path to my images directory to the DataUrlField of a bound ImageField in a GridView, but I can't work out how to do this. Is there a a Path property I'm missing? Or can I...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.