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
235
not appearing data
posted

i m using WebHierarchicalDataGrid, i have bind dataset but data is not appearing in the grid

this is my code

---Vb

Imports eReport_BusinessLayer
Imports Infragistics.Web.UI.GridControls

Public Class _Default
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

        Dim x As New Testing.PatTPTableAdapters.PageSizeTableAdapter
        Dim x1 As New Testing.PatTPTableAdapters.TestDetailsTableAdapter
        Dim x2 As New Testing.PatTP
        x.Fill(x2.PageSize)
        x1.Fill(x2.TestDetails)

        Me.WebHierarchicalDataGrid3.DataSource = x2
        Me.WebHierarchicalDataGrid3.DataBind()

    End Sub
End Class

--aspx

  <ig:WebHierarchicalDataGrid ID="WebHierarchicalDataGrid3" runat="server"
        AutoGenerateBands="False" AutoGenerateColumns="False"
        DataKeyFields="RtPageSize" Height="350px"
        Key="PageSize" StyleSetName="IG" Width="905px" >
        <Bands>
            <ig:Band AutoGenerateColumns="False" Key="TestDetails"
                DataKeyFields="RtPageSize">
                <Columns>
                    <ig:BoundCheckBoxField DataFieldName="SelectTP" Key="SelectTP" Width="25px">
                    </ig:BoundCheckBoxField>
                    <ig:BoundDataField DataFieldName="RtPageSize" Key="RtPageSize" Hidden="True">
                        <Header Text="RtPageSize" />
                    </ig:BoundDataField>
                    <ig:BoundDataField DataFieldName="TestName" Key="TestName">
                        <Header Text="TestName" />
                    </ig:BoundDataField>
                    <ig:BoundDataField DataFieldName="SampleStatus" Key="SampleStatus">
                        <Header Text="SampleStatus" />
                    </ig:BoundDataField>
                </Columns>
            </ig:Band>
        </Bands>

   <Columns>
          <ig:TemplateDataField Key="Print Report" Width="90px">
                <ItemTemplate>
                    <igtxt:WebImageButton ID="WebImageButton1" runat="server" Height="20px"
                        Text="Print Report" UseBrowserDefaults="False" Width="81px">
                        <RoundedCorners DisabledImageUrl="[ig_butXP5wh.gif]"
                            FocusImageUrl="[ig_butXP3wh.gif]" HoverImageUrl="ig_butCRM2.gif"
                            ImageUrl="ig_butCRM1.gif" MaxHeight="40" MaxWidth="400"
                            PressedImageUrl="ig_butCRM2.gif" RenderingType="FileImages"
                            HeightOfBottomEdge="2" WidthOfRightEdge="2" />
                        <Appearance>

 

Please help me