Skip to main content
Answer

How to make custom action button as Icon?

  • May 12, 2022
  • 2 replies
  • 404 views

I want this Action button which I have on tabitem to look life refresh Icon
 
Like this

<px:PXButton runat="server" ID="CstButton5" AlreadyLocalized="True" Text="Refresh">
                        <AutoCallBack Command="Refresh" Target="ds" /></px:PXButton> - ASPX

 

Is that Achievable and how? thx

Best answer by praveenpo

Hi @NikaKakhetelidze ,

This can be Achieved.Please refer the below code.

    <px:PXButton runat="server" ID="PXButton1"  ImageSet="control" AlreadyLocalized="True"  Style="min-width:20px; width:20px; border-style: none;padding-left:0px;padding-right:0px;height:20px;padding-top:0px;background-color:Transparent;">
                              <Images Normal="main@Refresh" />
                          </px:PXButton>

 

 

2 replies

praveenpo
Semi-Pro III
Forum|alt.badge.img+3
  • Semi-Pro III
  • Answer
  • May 13, 2022

Hi @NikaKakhetelidze ,

This can be Achieved.Please refer the below code.

    <px:PXButton runat="server" ID="PXButton1"  ImageSet="control" AlreadyLocalized="True"  Style="min-width:20px; width:20px; border-style: none;padding-left:0px;padding-right:0px;height:20px;padding-top:0px;background-color:Transparent;">
                              <Images Normal="main@Refresh" />
                          </px:PXButton>

 

 


It worked

@praveenpo Thanks