Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
35
Onclick Event for Infragistics toolbar button
posted

I am new to using the Infragistics tools. I am using the Infra toolbar for my web application. I added few buttons to the toolbar and now I am trying to add click event for each of the buttons i.e calling a Server side method on the button click. I managed to find a click event for the whole toolbar but not for the individual buttons. Can anyone help me with this or give an idea where I can look for related documentation!

Attached is a part of my application code.

 <igtbar:UltraWebToolbar ID="UltraWebToolbar1" runat="server" BackColor="White"

BackgroundImage="" BorderStyle="None" Font-Names="Arial"

Font-Size="Small" ForeColor="White" Height="28px"

ImageDirectory="/images/" ItemSpacing="0" ItemWidthDefault=""

Width="756px"

Section508Compliant="True" Font-Bold="True" TextAlign="Right">

<SelectedStyle Font-Bold="True" ForeColor="Yellow">

</SelectedStyle>

<DefaultStyle TextAlign="Left" font-bold="True" font-italic="False">

</DefaultStyle>

<ButtonStyle BackgroundImage="" ForeColor="White">

</ButtonStyle>

<HoverStyle BorderStyle="None" BorderWidth="1px" Cursor="Default"

Font-Names="Arial" Font-Size="8pt" ForeColor="Yellow" Font-Bold="True">

</HoverStyle>

<Items>

<igtbar:TBarButton Key="igaa" DisabledImage="" HoverImage="" Image="" SelectedImage=""

Text="aa" TargetURL="aa.aspx">

<DefaultStyle BackgroundImage="images/Red_bar_bckgrd.jpg" Width="110px"

textalign="Left">

</DefaultStyle>

<HoverStyle BackgroundImage="images/Red_bar_bckgrd.jpg" font-size="Small"

width="110px">

</HoverStyle>

<selectedstyle backgroundimage="images/Red_bar_bckgrd.jpg" borderstyle="None"

forecolor="Yellow">

</selectedstyle>

</igtbar:TBarButton>

</Items>

</igtbar:UltraWebToolbar>

 Thanks,

Sari