D'Arcy from Winnipeg
Solution Architecture, Business & Entrepreneurship, Microsoft, and Adoption

Infragistics Ultra Web Grid: Accessing a control from a RowEditTemplate

Thursday, July 19, 2007 8:01 AM

I have a drop down list on my Row Edit Template, but I need to bind it in the code behind to a datasource. Of course, I have no idea which controls collection I need to access: the grids, the rows, the templates...?

It turns out that you access it off the Band:

(DropDownList)UltraWebGrid1.Bands(0).RowEditItem.FindControl("DropDownList1")

Voila! Control binding goodness.

D




Feedback

# re: Infragistics Ultra Web Grid: Accessing a control from a RowEditTemplate

This is exactly what I neede. Thank you! 5/22/2008 1:44 AM | Ben

# re: Infragistics Ultra Web Grid: Accessing a control from a RowEditTemplate

Thank you...You saved my day... 10/30/2008 2:21 PM | Rajiv

# re: Infragistics Ultra Web Grid: Accessing a control from a RowEditTemplate

Thanks a lot!!
This is what I was looking for, but I didn't get any reply from infragistics forums...

9/21/2009 2:41 PM | Maya

# re: Infragistics Ultra Web Grid: Accessing a control from a RowEditTemplate

very good and usefull post 2/8/2010 10:06 AM | harshada

Post a comment