or
| Protected Sub RadMenu1_ItemClick(ByVal sender As Object, ByVal e As Telerik.WebControls.RadMenuEventArgs) Handles RadMenu1.ItemClick |
| Dim ItemClicked As Telerik.WebControls.RadMenuItem = e.Item |
| If ItemClicked.Text = "Delete" Then |
| 'Delete if popup result = yes. |
| End If |
| End Sub |
Hi,
I am coding a calendar that has to color code the days depending on their state. A day can have five possible states.
The way I am doing this is by overriding the DayRender method on serverside and adding the css style to the cell's CssClass collection like this:
| c.CssClass = registeredHours >= capasity ? "Calendar_Day_CapacityReached" : "Calendar_Day_CapacityNotReached"; |
The result in HTML is this:
| <td class="radCalDefault_SSN Calendar_Day_NoCapacity" ...> |
| <td class="radCalSelect_SSN" ...> |
