how to get the data from unigrid using id and get rows data

giridhar Addagalla asked on November 5, 2018 11:12

Hi, I tried to update the products data using csv file, I am binding my csv file to unigrid using dataset and i need to get the data from the unigrid to update the data on button click, so i created a method and tried to retrieve the data from the unigrid using GridViewRow row in bulkGridProductsdata.GridView.Row ) but i am getting null value from it, is there any specific format to get the data from the unigrid.

Correct Answer

Brenden Kehren answered on November 5, 2018 16:53

I suggest checking out the Product Variants file. This has what I think you're looking for. Key is to look at the columns ExternalSourceName attribute and then the cooresponding source name in the ugVariants_OnExternalDataBound event.

/CMSModules/Ecommerce/Pages/Tools/Products/Product_Edit_Variants.aspx.cs

2 votesVote for this answer Unmark Correct answer

   Please, sign in to be able to submit a new answer.