troubleshooting Question

Get hold of public property in usercontrol from within grid

Avatar of Peter Nordberg
Peter NordbergFlag for Sweden asked on
ASP.NETVisual Basic.NET
2 Comments1 Solution155 ViewsLast Modified:

I have a usercontrol with the name WorkflowDotList.ascx. In that usercontrol I have a public property with the name CarID.

Now I have placed the usercontrol inside of a grid template column like this:

<telerik:GridTemplateColumn ItemStyle-HorizontalAlign="Center">
                        <uc1:WorkFlowDotsList runat="server" ID="WorkFlowDotsList"  />

Now I need to get hold of the public property of the usercontrol in the Itemdatabound event of the grid, so I can assign the carID for that particular item row.

How can I get hold of the carID property of the usercontrol and assign av value to it in the itemdatabound event?

Thanks for help!

Obadiah Christopher
Developer User Interface

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros