Product Bundles
DevCraft
All Telerik .NET and Kendo UI JavaScript components and AI Tools in one package.
Kendo UI
Bundle of AI Tools plus four JavaScript UI libraries built natively for jQuery, Angular, React and Vue.
Telerik
Build great .NET business apps
.Net Web
Cross-Platform
Desktop
Reporting and Documents
Testing & Mocking
Debugging
Build JavaScript UI
Javascript
AI for Developers & IT
Ensure AI program success
AI Coding
Additional Tools
Enhance the developer and designer experience
UI/UX Tools
Free Tools
CMS
Support and Learning
Productivity and Design Tools
Hello,
One of RadMenuItem constructors is new RadMenuItem("TEXT", object Tag).. How do I retrieve that Tag value in code?
Thanks
public
RadForm1()
{
InitializeComponent();
RadMenuItem item =
new
RadMenuItem(
"File"
,
"Tag info"
);
this
.radMenu1.Items.Add(item);
item.Click+=item_Click;
}
private
void
item_Click(
object
sender, EventArgs e)
RadMenuItem item = sender
as
RadMenuItem;
RadMessageBox.Show(item.Tag.ToString());
Thank you Dess,
I'm using 2015 package and there is no such property as Tag in RadMenuItem, but I have solved it casting sender to RadElement. Thank you very much.