Quantcast
Channel: Symantec Connect - Endpoint Management - Discussions
Viewing all articles
Browse latest Browse all 6689

Error while updating the altered value in GridView Component

$
0
0
I need a solution

I am trying to do custom validation on a Gridview while updating the altered value.

My Gridview is in edit mode that looks like below specified.

I can successfully update the Active field with TRUE or FALSE value.

My problem is when some one updates the Active field with spelling mistake of True/False. eg: Tru,Fals,Flase etc... as below mentioned.

g3.PNG

When i try to update the altered Active entry with incorrect spelling. It goes to error as mentioned below.

120px_e1.PNG   120px_e2.PNG

I get the above error immediatelyafter clicking update. 

I think after clicking "update" GridView changes from edit mode to read mode and the actual update to DB happens only when i click on "SAVE" button.

So i need to validate the above case like a pop up or something saying "Please enter the correct value".

Note: 1.Type of "Active" is bit in database. So, it only takes True/false in "GridView" component and 0/1 in database..

OR

Is there any other way to handle the situation?

Thanks in advance.

0

Viewing all articles
Browse latest Browse all 6689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>