-2
I made a if
, in case something comes back, then he mounts a page, otherwise he should hide everything and show a message. It’s not an Alert, but a message on the same page. On my Lse I just hide a div and a form. That’s okay. I just don’t know how to generate a message, like a <h1>Mensagem</h1>
, like that, not necessarily that, but something like that. Look at my else
how are:
else
{
$("#selecionarHotel").css("display","none");
$("#filtroPesquisa").prop("hidden", true);
}
I can’t get the Model Count. He doesn’t exist.
– pnet
You can put in the question the complete code of your View?
– Leonel Sanches da Silva
the view is very large, but I can place the Model object that my view loads.
– pnet
Could be just the header of View. I need to know how you send the information to View to edit my reply.
– Leonel Sanches da Silva
@pnet guy, you need to get used to using SOPT as it should be... People are complaining a lot about your use of the site because you don’t choose the answers that solve your problem, or provide questions with enough subsidies. Help us maintain the high level of this community
– Tiago César Oliveira
If you set a
@Model
asIEnumerable
,Count
has exist– Tiago César Oliveira