Create custom html control in toolbox Visual Studio 2012

百般思念 提交于 2019-12-13 04:59:29

问题


i want create a custom html control in Visual Studio toolbox:

For example, if i need create a template for custom table (in toolbox):

<table id="table1" data-src="">
    <thead>
        <tr data-id="" data-u="">
            <td></td>
        </tr>
    </thead>
    <tbody>
    </tbody>
</table>

Is there any way to do this?

Thanks an sorry my english!


回答1:


Just select your custom html in editor and drag into toolbox pane and custom toolbox item will be created with the text you dragged.



来源:https://stackoverflow.com/questions/24310522/create-custom-html-control-in-toolbox-visual-studio-2012

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!