R
rodchar
hey all,
i'm in a gridview edit row that has a DropDownList in one column and a
status Label in the 2nd column.
When i changed the value in the dropdownlist, there's a client-side
javascirpt function that runs and successfully populates label in the 2nd
column. Everything is fine at this point and working the way it should.
i do a getElementById to get the status label and then i set its innerHTML
and again it works fine.
the problem starts when i try to save the row it the label part does not
persist but oddly enough the dropdownlist value does save. i try to inspect
this in debug mode and sure enough the value for the status label is blank.
shouldn't this persist?
i also tried this. i manually when into sql and changed the value of the
status column. i did the same test above and when i tried to save the row
with the new status value it reverted back to originally what was in the
database. i'm going to try a smaller scale test to see if it does the same
thing, but i just thought i'd go ahead and get this one out there.
thanks,
rodchar
i'm in a gridview edit row that has a DropDownList in one column and a
status Label in the 2nd column.
When i changed the value in the dropdownlist, there's a client-side
javascirpt function that runs and successfully populates label in the 2nd
column. Everything is fine at this point and working the way it should.
i do a getElementById to get the status label and then i set its innerHTML
and again it works fine.
the problem starts when i try to save the row it the label part does not
persist but oddly enough the dropdownlist value does save. i try to inspect
this in debug mode and sure enough the value for the status label is blank.
shouldn't this persist?
i also tried this. i manually when into sql and changed the value of the
status column. i did the same test above and when i tried to save the row
with the new status value it reverted back to originally what was in the
database. i'm going to try a smaller scale test to see if it does the same
thing, but i just thought i'd go ahead and get this one out there.
thanks,
rodchar