Solved

Infragistics

Posted on 2004-04-26
15
5,301 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

 
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

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

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

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

737 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