AniruddhaKelkar 0 Newbie Poster

Hi,

The problem that I am facing is as explained below.....

Say there is a datagrid with 4 text boxes in 1 row. The data grid has n such rows.
The first 3 textboxes are editable. The value in the 4th txtbox is calculated by a simple mathematical formula applied on the values in the first 3 text boxes.

This calculation is done using javascript. The values in all the textboxes are stored in hidden txtboxes.

Further these values are accessed in the vb page using the code

txtABC = Ctype(dgDataItem.FindControl("txtABC"),HtmlInputHidden)

These values are now passed to the database. The problem occuring here is that the value for the first row is passed correctly. But next row onwards, the desired value is not passed.

Also, this problem is not occuring regularly. This case has occured only on a couple of occasions. The rest of the times everything works fine.

Has this got something to do with the security settings or any setting on the browser??

Aniruddha

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.