XModPro

AddButton using dnn Role?

Charles VCB Charles VCB posted Mar 15, 2016
Active Mar 15 · Viewed 1686 times

Good Day, I got an Xmod with form and template together. but before the main Template there is an addbutton outside (I know that.) and I like to know if the button itself can be showed to a dnn role as the rest of the template

<ScriptBlock BlockType="HeadScript" RegisterOnce="True" ScriptId="KBXM_GridItems">
</ScriptBlock>
<br />
<div class="clearfix">
<div class="pull-right">
<xmod:AddButton ID="AddButton1" Text="Agregar material" CssClass="btn btn-primary" />
</div>
</div>
<br />
<xmod:Template UsePaging="True" Ajax="False" AddRoles="Administrators,RoleOne" EditRoles="Administrators,RoleOne" DeleteRoles="Administrators,RoleOne">
</xmod:Template>

Because if i put add button inside of the HeaderTemplate it is showed after filter bar like this:

2 Replies

Loading replies...