I am working in ASP.Net & c# project.
I have one Gridview which contains the Dropdownlist as one of its column and I have other text fields on the page which are like Master-Child relation.
I am binding data to gridview from code-behind cs file.
But at the same time, i have one text box which should be filled on selection of dropdownlist and for that i am calling client side function onchange of dropdownlist.
Now I m facing issue in this scenario:
Suppose i have txtDate, DropDwonName,GridRowSelected
1. when row is selected -GridRowSelected
function is called and fields including 'txtDate' are filled as per database values
2. when i select value from dropdownlist - it calls its onchange method and set the value of 'txtDate' field.
but at the same time,GridRowSelected function is also getting called which overlaps the value in 'txtDate' field(when its auto filled on selection of dropdown).
Can anyone help me in this case? Its very urgent.
Thanks & Regards,