Hi,

Infragistics Grid can provide data using a special value that you can
set as TextBox text. i.e "<%# Container.Value %>" or "<%=
Container.Value %>" (not sure please try any of them).

Else you can do it programmatically by finding the control and setting
value explicitly for inside each Row on InitializeRow event.


Regards
Sumeet

On Nov 11, 10:31 am, Deshi <[EMAIL PROTECTED]> wrote:
> Hi,
>
>   I Binding data to textbox of templated column for UltraWebGrid of
> Infragistics controls, but it through an error
>
> 'Infragistics.WebUI.UltraWebGrid.CellItem' does not contain a
> definition for 'DataItem'
>
> Does it not possible to use TemplatedColumn for UltraWebGrid?
>
> <igtbl:TemplatedColumn HeaderText="Zip Code">
>                                 <Header Caption="Zip Code">
>                                     <RowLayoutColumnInfo OriginX="1" /
>
>                                 </Header>
>                                 <CellTemplate>
>                                         <asp:TextBox ID="zip"
> runat="server" Text='<%                  DataBinder.Eval
> (Container.DataItem,"ADDRESS") %>' ReadOnly="true" CssClass="GG" />
>                                 </CellTemplate>
>                                 <Footer>
>                                     <RowLayoutColumnInfo OriginX="1" /
>
>                                 </Footer>
> </igtbl:TemplatedColumn>

Reply via email to