Link to home
Start Free TrialLog in
Avatar of Moiz Saifuddin
Moiz Saifuddin

asked on

Infragistics

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
Avatar of liebrand
liebrand
Flag of United States of America image

try this


Me.UltraWebGrid1.Columns(0).Type = Infragistics.WebUI.UltraWebGrid.ColumnType.HyperLink
Avatar of Moiz Saifuddin
Moiz Saifuddin

ASKER

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....

Is there an Underline property to the

WebGrid1.Rows(nCtr).Cells(2).Value = "Link"
ASKER CERTIFIED SOLUTION
Avatar of liebrand
liebrand
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
great it worked, thanks a lot, do you know any sites where I can learn about the ultrawebgrid in from infragistics....


Moiz
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
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...


i can add the question as a seperate question if you want....
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.

I got it, thanks again...



I am having an issue populating the webcombo using infragistics component.

https://www.experts-exchange.com/questions/20970843/WebCombo.html



Moiz
Again I have an issue with the webcombo control in infragistics, hope you could help me out...


https://www.experts-exchange.com/questions/20975995/WebCombo.html



Moiz
Hi, I have one question regarding the button added on a infragistics column, same as code above you mentioned.



Moiz