It sounds like the GridView is getting loaded from ViewState on the UpdatePanel postback and that's why you're losing the Ajax changes. If your Ajax call is changing the underlying data, can you reload your data from the underlying source after your UpdatePanel post?
If not, I agree with TheGeek. I suspect you'll have better results going with a consistent platform - either straight JavaScript for both, or UpdatePanel for both.