or
| protected void uxRadGridList_SelectedIndexChanged(object sender, EventArgs e) |
| { |
| foreach (GridDataItem item in uxRadGridList.SelectedItems) |
| { |
| int rowID = Convert.ToInt32(item["PrimaryKey"].Text.ToString()); |
| } |
| } |
| Protected Sub RadContextMenu1_ItemClick(ByVal sender As Object, ByVal e As |
| Telerik.Web.UI.RadMenuEventArgs) |
| ' look only at child items |
| If e.Item.Level = 1 Then |
| ' find child items under "Colors" parent item |
| If (TryCast(e.Item.Parent, RadMenuItem)).Text.Equals("Colors") Then |
| ' set the color picker preset to the selected preset |
| RadColorPicker1.Preset = DirectCast([Enum].Parse(GetType(ColorPreset), e.Item.Text), |
| ColorPreset) |
| End If |
| End If |
| End Sub |
| End Class |
So my two questions would be:
1. Why is deleting the "Namespace" keyword eliminating the compilation error? I thought creating and using Namespaces is a way to
"package" classes. Thus, making them more unique.
2. Why isn't (correction) the RadContextMenu control working correctly in my application for the RadColorPicker control? (All I see when I right-click is the word "Color". No subitems as shown on page 43.
Thanks,
R2

btnUpdate inside FormTemplate nothing is happened. Could any body provide me with any idea of what is going on?