Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 Umbraco 中,如果我有一个指向 ascx 控件的自定义仪表板内容选项卡,我如何在代码中确定哪个选项卡正在访问该控件? 我想对不同的选项卡重复使用相同的控件,但略有不同。
这不起作用:在 ascx 的路径上传递一个参数...例如
<section ...> <tab ...> <control ...> `landing.ascx?tab=importer`
但这将:
创建一个页面,例如landing-importer.ascx,并在该页面中包含您想要的具有正确参数的landing.ascx 控件。