S
Shawn
Hi.
I have a DataGrid with a DropDownList, like this:
<aspropDownList id="ddlStatusCode" OnSelectedIndexChanged="SetDirty"
runat="server"></aspropDownList>
If the user selects a new value I set a flag on the row in the SetDirty
method so that I know the row has been changed. My problem is that now I
have to change the value of the DropDownList myself using a javascript, but
I don't want the SetDirty method to set a flag on the row. Can I use a
javascript to somehow cancel the OnSelectedIndexChanged event?
Thanks,
Shawn
I have a DataGrid with a DropDownList, like this:
<aspropDownList id="ddlStatusCode" OnSelectedIndexChanged="SetDirty"
runat="server"></aspropDownList>
If the user selects a new value I set a flag on the row in the SetDirty
method so that I know the row has been changed. My problem is that now I
have to change the value of the DropDownList myself using a javascript, but
I don't want the SetDirty method to set a flag on the row. Can I use a
javascript to somehow cancel the OnSelectedIndexChanged event?
Thanks,
Shawn