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
175
WebDatGrid additional value when adding a row
posted

When adding a row using the WebDataGrid it only sends through parameters that are columns in the grid.  The problem i have is when I add a row I need an additional insert parameter that is stored in another control on the page (i.e. dropdownlist) or a session object.  On the edit I can just include that column on the webdatagrid, which is not ideal but it works.  When adding a row I need to default it to the ddl or session value.  Your help is appreciated.

Parents
  • 5739
    posted

    Hi,

    I can only think of a crazy way to do it.  Include the info in another columns insert parameter and then parse it out on the server side in the rowadding event.

    Ed

Reply Children