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
221
write text on cellbutton
posted

Hi,

I have three buttoncolumns in my ultrawebgrid.

I want to give text on these cell buttons.

Can it possible?

Thanks in advance.

 

Parents
No Data
Reply
  • 7694
    Verified Answer
    posted

    Hello

    You  can use the property  Type="Button".  Also  you  can use TemplatedColumn and inside insert button with some text. Please take a look at the code below:

    with Type="Button"

     <igtbl:UltraGridColumn BaseColumnName="OrderID" Type="Button" Key="OrderID">
                                <Header Caption="OrderID">
                                </Header>
                            </igtbl:UltraGridColumn>

     with TemplatedColumn

       <igtbl:TemplatedColumn>
                                <CellTemplate>
                                    <asp:Button ID="Button1" runat="server" Text="Test" />
                                </CellTemplate>
                            </igtbl:TemplatedColumn>

    I hope this helps.

Children
No Data