I created (or rather tried) a DevX AspXGrid and had the same problem:
Code:
<dxwg:ASPxGrid ID="ASPxGrid1" runat="server" DataSourceID="EsDataSource1" TabIndex="0" AutoGenerateColumns="False" DataKeyField="EmployeeID">
<FooterStyle FixedHeight="True" FixedWidth="True" />
<StatusBars>
<dxwg:StatusBar Height="20px" StatusBarType="Regular">
<BarItems>
<dxwdc:BarStatusSection StatusSectionType="Status">
</dxwdc:BarStatusSection>
<dxwdc:BarStatusSection StatusSectionType="VisibleInterval">
</dxwdc:BarStatusSection>
<dxwdc:BarStatusSection StatusSectionType="TotalVisible">
</dxwdc:BarStatusSection>
<dxwdc:BarStatusSection StatusSectionType="TotalRows">
</dxwdc:BarStatusSection>
</BarItems>
</dxwg:StatusBar>
</StatusBars>
<GroupItemStyle FixedWidth="True" Wrap="False">
</GroupItemStyle>
<HeaderStyle FixedHeight="True" FixedWidth="True" Wrap="False" />
<SearchBtnStyle FixedWidth="True">
</SearchBtnStyle>
<ItemStyle FixedWidth="True" Wrap="False" />
<Columns>
<dxwg:BoundColumn DataField="EmployeeID" HeaderText="EmployeeID" VisibleIndex="0">
</dxwg:BoundColumn>
<dxwg:BoundColumn DataField="LastName" HeaderText="LastName" VisibleIndex="1">
</dxwg:BoundColumn>
<dxwg:BoundColumn DataField="FirstName" HeaderText="FirstName" VisibleIndex="2">
</dxwg:BoundColumn>
<dxwg:BoundColumn DataField="Title" HeaderText="Title" VisibleIndex="3">
</dxwg:BoundColumn>
<dxwg:BoundColumn DataField="BirthDate" HeaderText="BirthDate" VisibleIndex="4">
</dxwg:BoundColumn>
<dxwg:BoundColumn DataField="City" HeaderText="City" VisibleIndex="5">
</dxwg:BoundColumn>
</Columns>
</dxwg:ASPxGrid>
Strange as we bind so well with their Windows.Forms stuff, it must be something we are not setting on the control in designer mode? Do their forums have any samples of binding to DataSourceControls?
Thier controls seem to have a memory problem for sure, it pulls the columns from our esDataSource design time, then you toggle to source from design and come back and they are gone. Perhaps they don't play well with DataSourceControls, there really aren't that many in existence because they're such a nightmare to create.
EntitySpaces |
Twitter |
BLOG | Please honor our Software License