Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @{
- if (!string.IsNullOrEmpty(TipoPecaController.MsgExcluir))
- {
- if (TipoPecaController.MsgExcluir == "3")
- {
- <script type="text/javascript">
- window.onload = function MensagemErro() {
- debugger;
- try {
- alertify.alert("Existem itens utilizando este Tipo de Peça.", function () {
- alertify.message('OK');
- });
- } catch (err) {
- debugger
- }
- try {
- alertify.error("Código e GrupoProduto já existente");
- } catch (err) {
- debugger;
- }
- }
- @TipoPecaController.MsgExcluir = "";
- </script>
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement