删除自动生成的代码 [英] Remove autogenerated codes
问题描述
亲爱的专家,
我正在做一个asp.net项目。我正在使用asp.net菜单控件。
当我动态填充菜单时,
有一些自动生成
onclick =__ doPostBack('ctl00 $ NWPSCSHeader $ NWPSCS_Menu','报告')
代码可以看到...
以下是填写菜单时的以下代码
< a class = popout level1 href = # önclick = __ doPostBack('ctl00 $ NWPSCSHeader $ NWPSCS_Menu', 报告) > 报告< / a >
实际上我需要这样..
< a class = popout level1 href = # > 报告< / a >
i想删除这些代码..或菜单控件中是否有任何属性以避免这些代码.. ??
请帮我解决这个..
谢谢和问候,
Dileep
NWPSCSHeader
NWPSCS_Menu','Reports')
代码可以看到...
以下是填写菜单时的以下代码
< pre lang =HTML> < a class = popout level1 href = # önclick = __ doPostBack('ctl00
NWPSCSHeader
Dear Experts,
I am doing an asp.net project. and i am using asp.net menu control.
when i dynamically populated the menu,
there are some auto generated
onclick="__doPostBack('ctl00$NWPSCSHeader$NWPSCS_Menu','Reports')"
codes can see...
Here is the below code when i populate the menu
<a class="popout level1" href="#" önclick="__doPostBack('ctl00$NWPSCSHeader$NWPSCS_Menu','Reports')">Reports</a>
And Actually I need like this..
<a class="popout level1" href="#">Reports</a>
i want to remove these codes.. or is there any properties in menu control to avoid these codes..??
Please help me to solve this..
Thanks and Regards,
Dileep解决方案NWPSCSHeader
NWPSCS_Menu','Reports')"
codes can see...
Here is the below code when i populate the menu
<a class="popout level1" href="#" önclick="__doPostBack('ctl00
NWPSCSHeader
这篇关于删除自动生成的代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!