문제

I have datagrid, when press update button I made popup window. I want to pause update process while user fills popup window.

도움이 되었습니까?

해결책

You should start the Update only when you have all required info, not before the user fills in data in the popup window.

the first phase would be data capturing from user input, then you validate the data are correct, valid and sufficient and only then you start the update process whatever it means to you (you have given too few details...)

다른 팁

You can do it with Javascript. First you should capture the event and return false. This prevents a postback. When the dialog is completely filled out and closed you can send the information to the server via as ajax call or trigger a traditional post.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top