Posts by Warleson Reis • 137 points
15 posts
-
0
votes3
answers345
viewsA: Problem with jQuery addclass and Removeclass
I don’t know if it could be the best option, but since you want the class to disappear and not be hidden, try to store them in a variable so you can work with both. Keep var lalaHtml = $('.Lala').…
-
1
votes0
answers25
viewsQ: Partial with Javascript
If I create a Partial this way below "given as example": <script> //Codigos C# Meus documentos.. //Codigos Javascript... </script> ... and within this partial contain code c#, this…
-
4
votes2
answers54475
viewsQ: Place Javascript function inside onclick
So it’s kind of a silly question, but I really need... has how I put a Javascript function inside a buttom in this example below it calls the function loadDoc(). more I would like to put the…
-
1
votes3
answers292
viewsA: Entity Framework 4 - Migrations error: The ... type is not defined in the <namespace> namespace. Map (Alias=Self)
In the constructor of the class Chamadomodel Initializes the others public ChamadoModel() { ComentarioLista = new List<ComentarioModel>(); FuncionarioCriador = new FuncionarioModel ();…
-
0
votes1
answer36
viewsQ: Reference Xamarin PCL with external PCL’s
Ola personal arose a doubt recently I did a project in wpf using mvvm pattern in which Fis layered. Now I want to rewrite the same project with Xamarin, and reuse the same pattern, only I came…
-
1
votes1
answer1107
viewsA: capture selected item Javascript created dropdownlist
I managed with the following solution Code Behind protected void Unnamed1_Click(object sender, EventArgs e) { var ss = hdnResultValue.Value; //PopularGrid(); } javascript function setHiddenField() {…
-
1
votes1
answer1107
viewsQ: capture selected item Javascript created dropdownlist
Someone could help me. I have the following problem I have a Textbox and a Dropdownlist, in the textbox there is an autocomplete with state names; after finishing the textbox fills Dropdownlist with…
-
0
votes1
answer88
viewsA: Event Checked for Cross Platform Xamarin
try that way checkbox.Click += (o, e) => { if (checkbox.Checked) // checkbox selecionado else // checkbox nao selecionado };
-
2
votes1
answer172
viewsQ: How to load Tableview Dynamically
I’m having trouble creating a menu dynamically by loading directly from a list. In my project this is the following way <?xml version="1.0" encoding="utf-8" ?> <ContentPage…
-
0
votes2
answers50
viewsA: How to create a built-in validation screen?
good you can recover by the url would look more or less like this, <asp:TemplateField HeaderText="Editar"> <ItemStyle Width="6%" /> <HeaderTemplate>Editar </HeaderTemplate>…
-
1
votes2
answers123
viewsA: Problem creating user class (Identityuser) relationship using Identityframework
Probably not finding the primary key in the class IdentityUserLogin. Above the ID places [Key] and matters to using System.ComponentModel.DataAnnotations; Where would I be more or less like this:…
-
0
votes2
answers223
viewsA: @Html.Checkboxfor Works on GET, but not on POST
Some alternatives @Html.CheckBoxFor(m => m.Chk1,new { Chk1 = true} ) or @Html.CheckBoxFor(model => model.Chk1, htmlAttributes: new { Chk1 = true }) or @Html.CheckBoxFor(m => m.Chk1,true)…
-
1
votes2
answers223
viewsA: @Html.Checkboxfor Works on GET, but not on POST
Pass the value to the Controller @Html.CheckBoxFor(m => m.Chk1,new { Chk1 = true} ) By default it already passes as false, so when it is checked it sends True…
-
0
votes3
answers1195
viewsA: Entity Framework many relationship x many extra field
Just as Felipe Oriani mentioned the creation of a new class "Courseinstructor", but the Entity Framework Code First does this automatically I will give an example public class Person { public Person…
-
1
votes3
answers1833
viewsA: Delete Relate Record using Entity Framework
You can use the . Willcascadeondelete(); in its context Example: //Auto-relacionamento Projeto modelBuilder.Entity<Usuario>() .HasOptional(p => p.ObjPai) .WithMany(p => p.ListaPartes)…