I have a toolbar that has a SQL datasource. During the page load event, I want to iterate through the buttons to make each of them a toggle button and I use the code below. I don't seem to understand the object model. How do I iterate through the buttons?
If
Not
IsPostBack
Then
For
Each
button
As
RadToolBarButton
In
radtoolMonths.Items
button.AllowSelfUnCheck =
True
button.CheckOnClick =
True
button.PostBack =
True
Next
End
If