473,909 Members | 5,624 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 18530
Hello techie,
first of all you must post infragistics issuies or questions in ifragistics
newsgroup, news.Infragisti cs.com,
Now you can do what you want simply by puting the image to the
grid.DisplayLay out.Bands[0].Column["ColName"].Appearence.Ima ge!!
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.goo glegroups.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.Infragisti cs.com,
Now you can do what you want simply by puting the image to the
grid.DisplayLa yout.Bands[0].Column["ColName"].Appearence.Ima ge!!
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.go oglegroups.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.gridParoxe s.Rows.Band.Add New();

hope that helps

"Ramesh (techie)" <ra***********@ gmail.com> wrote in message
news:eG******** ******@TK2MSFTN GP12.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.Infragisti cs.com,
Now you can do what you want simply by puting the image to the
grid.DisplayL ayout.Bands[0].Column["ColName"].Appearence.Ima ge!!
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.g ooglegroups.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
2039
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 in a propper manner. I could try to replicate Bitmap however I believe the problem I ran into was that the base classes for images are sealed in .net so I cant inherit from them... Any suggestions would be greatly apprectiated. I may consider...
2
12252
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"; for(int i=0; i < allRecords.Length; i++) { TableRow tRow = new TableRow(); Table2.Rows.Add(tRow); TableCell tCell1= new TableCell(); tCell1.Controls.Add(img);
4
2005
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
1362
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. Since I’m added rows and maybe columns at the same time, what is column content for rows that have been added earlier? Are the data rows for the newly add colum equal nulls or zero length? Thanks
7
1689
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) .Width = 72 .Height = 101 .BackColor = Color.Transparent .BorderStyle = BorderStyle.None
3
4802
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 application that will load a file into image type column in sql db?
1
4391
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; GridView2.DataBind(); This works nicely, but i need to add a button field row onto it, as well as possibly a textbox and image field later.
3
35826
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 void AddRow(string thing,string thingdesc) { DataGridViewRow row = new DataGridViewRow(); row.CreateCells(MyGrid); // #1 row.Cells.Value = "Add"; // #2 this makes it work MyGrid.Rows.Add(row); ...
1
2744
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 append to each column as it is inserted (by over-riding some sort of Populate method)? Thanks,
0
9879
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11348
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10540
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
8099
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7249
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
6140
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4776
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4336
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3359
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.