Solved

Infragistics

Posted on 2004-04-26
15
5,290 Views
Last Modified: 2012-06-27
I am using Infragistics and I am programmatically populating my data in the UltaWebGrid. I need to create a linkbutton Column and have to set the DataTextfield of the button on each row item in the Column. Firstly my problem is creating a linkbutton Column using Ultrawebgrid. How do I do that?


Moiz
0
Comment
Question by:Moizsaif123
  • 11
  • 4
15 Comments
 
LVL 15

Expert Comment

by:liebrand
ID: 10929743
try this


Me.UltraWebGrid1.Columns(0).Type = Infragistics.WebUI.UltraWebGrid.ColumnType.HyperLink
0
 
LVL 4

Author Comment

by:Moizsaif123
ID: 10930073
I tried this,
 Me.WebGrid1.Columns(2).Type = Infragistics.WebUI.UltraWebGrid.ColumnType.Button

and this way a button is created in the column. I just realized that the cell has a click property of its own. so what i want to know is how to display the text of the cell as a link, not a hyperlink cause hyperlink redirects the page to another page. Hope I am not too confusing....

0
 
LVL 4

Author Comment

by:Moizsaif123
ID: 10930122
Is there an Underline property to the

WebGrid1.Rows(nCtr).Cells(2).Value = "Link"
0
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
LVL 15

Accepted Solution

by:
liebrand earned 400 total points
ID: 10930177
try this....


        Me.UltraWebGrid1.Columns(2).Type = Infragistics.WebUI.UltraWebGrid.ColumnType.Button
        Me.UltraWebGrid1.Columns(2).CellButtonDisplay = Infragistics.WebUI.UltraWebGrid.CellButtonDisplay.Always
        With Me.UltraWebGrid1.Columns(2).CellButtonStyle
            .BackColor = Color.White
            .BorderStyle = BorderStyle.None
            .Font.Underline = True
        End With
0
 
LVL 4

Author Comment

by:Moizsaif123
ID: 10930253
great it worked, thanks a lot, do you know any sites where I can learn about the ultrawebgrid in from infragistics....


Moiz
0
 
LVL 15

Expert Comment

by:liebrand
ID: 10930265
infragistics.com (and their support) is the source i use... Unfortunately there is no Tips and Tricks sites for infragistics products that I am aware of
0
 
LVL 4

Author Comment

by:Moizsaif123
ID: 10931491
hey, is there a way i can autoformat the ultrawebgrid like change the way it looks. Are there ready made templates that i could select for changing the look of the grid...


0
 
LVL 4

Author Comment

by:Moizsaif123
ID: 10931499
i can add the question as a seperate question if you want....
0
 
LVL 15

Expert Comment

by:liebrand
ID: 10932632
right-click on the grid in design mode and click on Load Layout... you will get a list of all the different layouts available.

You of course can create your own via code on the initialize_layout event.

0
 
LVL 4

Author Comment

by:Moizsaif123
ID: 10933309
I got it, thanks again...



0
 
LVL 4

Author Comment

by:Moizsaif123
ID: 10940223
I am having an issue populating the webcombo using infragistics component.

http://www.experts-exchange.com/Programming/Programming_Languages/Dot_Net/Q_20970843.html



Moiz
0
 
LVL 4

Author Comment

by:Moizsaif123
ID: 10977941
Again I have an issue with the webcombo control in infragistics, hope you could help me out...


http://www.experts-exchange.com/Programming/Programming_Languages/Dot_Net/Q_20975995.html



Moiz
0
 
LVL 4

Author Comment

by:Moizsaif123
ID: 11143452
0
 
LVL 4

Author Comment

by:Moizsaif123
ID: 11380165
0
 
LVL 4

Author Comment

by:Moizsaif123
ID: 12030706
Hi, I have one question regarding the button added on a infragistics column, same as code above you mentioned.



Moiz
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question