Solved

Infragistics

Posted on 2004-04-26
15
5,285 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
Comment Utility
try this


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

Author Comment

by:Moizsaif123
Comment Utility
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
Comment Utility
Is there an Underline property to the

WebGrid1.Rows(nCtr).Cells(2).Value = "Link"
0
 
LVL 15

Accepted Solution

by:
liebrand earned 400 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
LVL 4

Author Comment

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

Expert Comment

by:liebrand
Comment Utility
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
Comment Utility
I got it, thanks again...



0
 
LVL 4

Author Comment

by:Moizsaif123
Comment Utility
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
Comment Utility
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
Comment Utility
0
 
LVL 4

Author Comment

by:Moizsaif123
Comment Utility
0
 
LVL 4

Author Comment

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



Moiz
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

It seems a simple enough task, yet I see repeated questions asking how to do it: how to pass data between two forms. In this article, I will show you the different mechanisms available for you to do just that. This article is directed towards the .N…
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…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

743 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now