Posts by Antonio_Sistema_de_Informacao • 137 points
22 posts
-
0
votes1
answer1016
viewsQ: Doubt on how to shrink/Collapse one menu by clicking the other
I have a question on the following item, I created a Sidebar with menu in bootstrap, but I wanted to click one, the one that had opened shrink. Example Code done so far: codeply /* DEMO STYLE */…
-
0
votes0
answers100
viewsQ: Performing Sharepoint Search by Asp.net Form
Good guys, I’m using Sharepoint as a file database, but I’m having trouble searching a document in the folders. I’m using the . NET CSOM. protected void Pesquisar_Click(object sender, EventArgs e) {…
-
2
votes2
answers965
viewsQ: WCF ERROR: Failed to add a service. Service Metadata may not be accessible. Make sure your service is running and exposing Metadata
Well, this error is happening, after I did the procedure to access the IIS Remotely. Error: Cannot obtain Metadata from http://localhost:xxxx/Service.svc. If this is a Windows (R) Communication…
-
0
votes1
answer133
viewsQ: Ajax request back Undefined
I am studying a little Ajax and testing your requisitions. My doubt is on account of the return, he is returning Undefined. That is the function: function recarregar() { var jsonData = $.ajax({ url:…
-
0
votes1
answer4944
viewsQ: How to consume webAPI REST ASP.NET MVC
Good is the following, I am developing a service Rest and an application that will consume this web-service (VIA BROWSER SAME). In my project, I have the model (in this case my Oracle database), My…
-
0
votes0
answers55
viewsQ: How to write from the popup to the parent page?
I am in doubt in the following situation, I am returning a PDF to the popup (Page son). I would like to close this Popup and Write(pdfDoc) on the parent page) //A propriedade ContentType especifica…
-
0
votes1
answer327
viewsQ: How to Recover Data from Input to Codebehind ASP.net
My question is the following: I have my HTML code and I am validating the fields with Javascript, but I would like to call the function and pass the value in Codebehind. Example String name =…
-
0
votes1
answer79
viewsA: Preventing sending data when updating page F5 in ASP.NET
Using the stateView Stateview Microsoft Asp.net protected void Page_Load(object sender, EventArgs e) { if(Page.IsPostBack == false) { ViewState["estado"] = System.Guid.NewGuid().ToString();…
-
0
votes1
answer298
viewsA: How Popular Image in Gridview?
Well the command is very simple, code available. Asp.net - Web Form to upload <asp:FileUpload ID="FileUp" runat="server" Width="348px" /> Insert into database - Backend img.IMAGEM =…
-
1
votes1
answer121
viewsA: Validate a Textbox array in Javascript?
Good first you need to get the textbox on the front in case in HTML as an example: function testarCampos() { var arrayCampos = []; //Array de Objetos arrayCampos[0] =…
-
0
votes1
answer121
viewsQ: Validate a Textbox array in Javascript?
Hello my doubt is the following, I have a js function like this: function testeCampos(elemento) { //Recebe lista de campos para valida��o var camposArray = new Array(); camposArray = elemento;…
-
2
votes2
answers496
viewsQ: How do I activate a div with Javascript?
I have the following problem I have a <div> hidden above login field: <div id="MostraLegenda" class ="legenda" style ="display: none"> <p>Login do Usuario</p> </div>…
-
2
votes1
answer454
viewsQ: How to Include and Reference . JS in my project?
Well here’s the thing, I have a file. JS in my project. I’m calling him at HEAD LIKE THAT: <script type ="text/javascript" src="~/JS/validacao.js"></script> within this validation.JS has…
-
0
votes1
answer298
viewsQ: How Popular Image in Gridview?
I’m doing an app on Asp.NET, with Entity Framework and using the database Oracle and here’s the thing I’m uploading the image by a button and saving in the database with the type BLOB until then all…
-
1
votes1
answer193
viewsQ: Deserialize Image in ASP.NET Webform
Well I am with a doubt about the deserialization of an image in webforms, I am working with Oracle database that is my context and using the Entity framework for image I am using BLOB, I was able to…
-
0
votes1
answer79
viewsQ: Preventing sending data when updating page F5 in ASP.NET
I’m having a problem, I have a grindview with products, every time I add a product in the stamp it add, but if I click on F5 it adds the dice novamento in the cart. public partial class carrinho :…
-
1
votes1
answer85
viewsA: How to use the list when you do not know the object that will be returned?
I managed to solve: DataTable dt = new DataTable(); dt.Columns.Add("nome"); dt.Columns.Add("VALOR_UNIT"); foreach(var nota in info) { var prod = bd.PRODUTOes.Where(p => p.NOTA_FISCAL.Any(n =>…
-
1
votes1
answer85
viewsQ: How to use the list when you do not know the object that will be returned?
I have an Oracle database and need to popular a gridView. I’m doing with var, because I do not know the type that will be returned. It has to make a list in var, example list<var>, and then…
-
0
votes2
answers8176
viewsQ: CPF Mask and Date of Birth Asp.net MVC
My question is this: I created a simple CRUD and I want to use mask in the fields date of birth, CPF and phone. Function code create of the CRUD: @model WebApplication1.Models.Bdfinal @{…
-
-1
votes1
answer697
viewsQ: how to popular the object array with Sqlite data
Well come on, I’m doing an application, this will have several student names. I made a method that add each name in a table of BD. in the comic is like this(Antonio, Pedro, Caio, Felipe......). I…
-
-1
votes4
answers148
viewsA: Background of Imagebuttons
Do Onclick on your Imagembutton and then arrow the other drawable image. iDdoImagemButton.setBackgroundResource(@drawable/NomeDAIMAGEM); **OBS puts the code or an image…
-
3
votes2
answers364
viewsQ: How to create Checkbox via programming
How to create several Checkbox's via programming?