Dude,
I had a similar problem in which the control inside the repeater control would return a null. Depending on the version of Infragistics you have, you may need a recently deployed patch to fix this. I reported it to Infragistics and months went on by until recently they replied to one of my email examples of the problem with a patch. Since I had project time constraints, I fudge the code to use a regular asp:textbox instead of the actual control which was a checkbox I think. AL On Thu, Nov 13, 2008 at 8:08 AM, ScifiSniper <[EMAIL PROTECTED]>wrote: > > 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> >
