Solved

Infragistics

Posted on 2004-04-26
15
5,287 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
 
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
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 
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

A basic question.. “What is the Garbage Collector?” The usual answer given back: “Garbage collector is a background thread run by the CLR for freeing up the memory space used by the objects which are no longer used by the program.” I wondered …
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

867 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

13 Experts available now in Live!

Get 1:1 Help Now