When you set the value for textbox using dataset same value will be assign to
on hidden field, using javascript you can validate this thing either using
body unload event or textbox onblur event.
"Note: If you are using asp:textbox control then on code behind file add
onblur attribute to your asp:textbox control"
Regards
"EDom" wrote:
> Hi,
> On my page I have dataset values displayed in text box and datagrid. After I
> make any change on the text boxes which do not immediately effect the value
> in the dataset. How can I know if the dataset is dirty. I mean how can I
> capture if any change was done to the values in the controls on the page to
> prevent the user from escaping without saving changes
>
> Regards
>
>
>
|