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
4110
Add row to Ultrawebgrid
posted

I have an Ultrawebgrid (below) inside an UpdatePanel that is loaded when the page loads, but  not on postback, and is bound dynamically in the codebehind. I need to be able to add an editable row to the grid and then get the items from the grid. I have two datepicker controls, two textboxes and two dropdown boxes. I am at a loss as to how I should set up the edit templates and then how to get the data from those controls, when I save it. Can someone help me please?

Parents
No Data
Reply
  • 4110
    Verified Answer
    posted

    Sorry, here is the grid

    <igtbl:UltraWebGrid ID="igGrid" runat="server" DisplayLayout-AutoGenerateColumns="true"
     EnableAppStyling="True" StyleSetName="Office2007Blue" StyleSetPath="~/ig_res/"
     DisplayLayout-CellPaddingDefault="5" DisplayLayout-AllowSortingDefault="No">
     <Bands>
      <igtbl:UltraGridBand>
       <AddNewRow View="NotSet" Visible="NotSet">
       </AddNewRow>
      </igtbl:UltraGridBand>
     </Bands>
     <DisplayLayout BorderCollapseDefault="Separate" CellPaddingDefault="5" Name="igGrid"
      RowHeightDefault="20px" Version="4.00" CellClickActionDefault="Edit" AllowUpdateDefault="Yes">
      <FrameStyle>
      </FrameStyle>
      <ActivationObject BorderColor="" BorderWidth="">
      </ActivationObject>
     </DisplayLayout>
    </igtbl:UltraWebGrid>

Children