Posts by War Lock • 2,277 points
130 posts
-
2
votes2
answers697
viewsQ: Problem with Utf 8 in reading txt file
I am using the following directive for reading txt files, however the texts are coming out broken. http://jsfiddle.net/alexsuch/6aG4x/…
-
0
votes2
answers647
viewsQ: Popular an object array with a string
I have a string with the following content: "Carlos Alberto xxxxxxx 11/02/2016 $103.10 Juliano Fontes xxxxxxx 12/02/2016 $102.10 Carlos ALberto xxxxxxx 13/02/2016 $500.00" I have my array with the…
-
7
votes3
answers965
viewsQ: How to put a title in the angular-Chart caption
On my line chart I wanted that when you hover over the chart line when the caption appears, and that it had a title. This is only possible by filling the array of Abels, but appears below the graph,…
-
1
votes3
answers1572
viewsQ: Create directive for mask
I want to wear the mask xx/xx/xxxx in a date field and return in the object with the mask, not only the value. I used a directive ui-mask, but does not return with the mask, already used the…
-
-2
votes1
answer836
viewsQ: Site does not get responsive
I did a test with Bootstrap, the desktop browser works beauty, but the mobile device is small. <html> <head> <link rel="stylesheet" type="text/css" href="bootstrap.css"> <script…
-
0
votes1
answer188
viewsQ: Problem with checkbox in selection
I’m using a checkbox in a table with Anglijs that is working incorrectly, there are 2 checkbox what is on top of the table (to select all), and the one of each row. When selecting the one for each…
-
2
votes1
answer286
viewsQ: How to create a js function directive
I have a function to validate date: function validateDate(id) { var RegExPattern = /^((((0?[1-9]|[12]\d|3[01])[\.\-\/](0?[13578]|1[02])…
-
7
votes6
answers17707
viewsQ: How to validate date with Angularjs or jQuery?
I have a simple input that gets a date, how to validate that date if it is true? For example: 31/02/2006 this does not exist 20/20/9999 this does not exist <input name="data" ui-mask="99/99/9999"…
-
5
votes2
answers3335
viewsQ: Select with angular loading blank value
Well I want select to start with a selected value, this value already comes in my ng-model: <label class="format">SELECIONE:</label> <span class="format"> <select name="grupo"…
-
2
votes1
answer1354
viewsQ: Consume a Restful Service with Angularjs
I did a project in eclipse with a service Rest in java, if I run directly in the browser my service it returns my data right: http://localhost:8080/Agenda/rest/Agenda/getLista Now I want to consume…
-
2
votes2
answers1271
viewsQ: Mount array through a list in ajax
I have an ajax function that consumes a webservice ,and returns me a list, as I take this list and mount two arrays with the values? JS: function getCars() { $.ajax({ type: "POST", url:…
-
0
votes1
answer249
viewsQ: Position of components with bootstrap
I have a very simple question, I can’t position elements horizontally with Bootstrap, as would the HTML code with Bootstrap, like this image? Look who’s got the label, and next to the radioGroup,…
-
6
votes1
answer303
viewsQ: Code block freezing and does not release Exception
I am using the Twain library for scanner,and the application lists some devices that when selecting does not work,so I debugged and saw that it does not launch the Exception I treated, and yes it…
-
4
votes2
answers523
viewsQ: How to create progress bar for uploading file via Google Drive API
I am sending file to Google Drive by their API. The request.Upload(); is lingering with no return. How do I make progress? It can be with a for even without a graphical user interface. Shipping…
-
0
votes0
answers930
viewsQ: Sending files to google drive with . net
How to send a file to google drive in c#? I have an Intptr of a file, do I have to convert to bytes and upload? What would be the sending? I took a code gave m tutorial, however I did not understand…
-
0
votes0
answers22
viewsQ: Repeater lists only 1 item in IIS
I have a table with Repeater which lists the items normally, but when I publish in IIS, only lists 1 item. Will there be a problem in IIS? Because the code is working 100%.
-
0
votes1
answer361
viewsQ: How to change page title in external link
In my application I have an external link to a pdf, is it possible to force change the title of the page? since an MD5 is coming as a pdf name and looks terrible in the title of the browser, it is…
-
1
votes1
answer1503
viewsQ: How to open bytes of pdf in a new browser tab
I have the bytes of a report in pdf but only found how to download. byte[] bytes = Relatorio.LocalReport.Render("PDF", null, out mimeType, out encoding, out extension, out streamIds, out warnings);…
-
3
votes2
answers154
viewsQ: Android studio has ndk support?
I will start development geared towards digital tv, and will be 50% ndk. Android studio meets well? or better eclipse?
-
2
votes1
answer5125
viewsQ: How to print HTML background colors with CSS
<body> <div id="div0"> I love ... </div> <div id="div1"> Teste </div> <table id="table" border="1" align="center"> <tr> <td> Coluna 1 </td>…
-
0
votes1
answer548
viewsQ: How to print a RDLC report on Asp.net
I have the rdlc created, and have a page aspx that has a print button, when clicking on print I want to call the rdlc I have created for printing. How do I?
-
0
votes1
answer823
viewsQ: Chart highcharts does not appear
I’m trying to use the chart: http://jsfiddle.net/gh/get/jquery/1.9.1/highslide-software/highcharts.com/tree/master/samples/highcharts/demo/column-drilldown/ However save the file in the same way and…
-
6
votes2
answers180
viewsQ: How to copy a Repeater on the same page
I have a Repeater control with data filled in an aspx page, the same page has the modal, the modal appears when clicking a button. How to reuse the same Reset to list in modal? Repeater:…
-
2
votes2
answers818
viewsQ: Store decimal value
I’m trying to take a typed point textbox value, and save it with decimal point, if you type 10.80, eh to store 10.8 in my variable. I tried it this way: decimal valorTotal =…
-
1
votes2
answers117
viewsQ: Very slow javascript in safari mobile
In my application has a siples javascript to increment a field, the problem that in safari gets ultra slow almost does not work, while in Chrome works perfectly. There is something to do to run…
-
1
votes2
answers6194
viewsQ: How to increment and decrement values with javascript
I have a textbox, and two buttons more and less, I want to decrease to zero, I managed to do but I can not decrease of 1: HTML <asp:TextBox ID="txtAcrescimo" type="number" CssClass="form-control"…
javascriptasked War Lock 2,277 -
0
votes1
answer358
viewsQ: Table with different size on various monitors
the menTo the following table: <div id="page-wrapper"> <table class="col-xs-12 col-sm-12 col-md-12 col-lg-12 fm-table" > <tr> <td class="col-xs-6 col-sm-6 col-md-3 col-lg-3…
-
0
votes0
answers361
viewsQ: Div going into another
I have a div with an image, and some information inside it, the image is responsive and increases according to the size of the interface: <div class="col-sm-12" align="center"…
-
0
votes1
answer345
viewsQ: Migrate template to bootstrap
I have a responsive template that repeats some components, which are at the top and the bottom. The problem that the components of the top do not click (buttons) when they are responsive, ie I…
-
0
votes1
answer73
viewsQ: Broken texts
I have an imageButton that represents files, and a label on it: <div class="block"> <asp:HiddenField ID="idDirectorio" runat="server" Value='<%# Eval("guid") %>' />…
-
1
votes1
answer428
viewsQ: Fileupload returning the same file from several selected files
I have a Fileupload that I select several files and I save in the directory, but I realized that his Filebytes, repeats equally in all files. if (FileUp.HasFiles) { foreach (HttpPostedFile…
-
0
votes0
answers201
viewsQ: How to put tags in a textbox by Asp.net?
I tried with Bootstrap like this: <!-- Bootstrap Modal Dialog --> <div class="modal fade open" id="myModal" role="dialog" aria-labelledby="myModalLabel"> <div class="modal-dialog">…
-
1
votes1
answer100
viewsQ: Logic for Directory System
I have a directory system in the bank ex table directory: id parentDirID Parent dir means q is a subdirectory. What would the function of "copy" directories look like in the system? move directories…
-
2
votes3
answers1028
viewsQ: File download does not work
How to download a file via browser from a directory in my project? I tried it this way, but nothing happens: string path = "C:\\test.txt"; var file = new FileInfo(path); if (file.Exists) {…
-
0
votes1
answer197
viewsQ: How to create a Gridview
The examples I saw on the net did not work, or were very personalized. I just want a simple table, with 4 columns that will be filled with data from a comic. The same will stay within a simple…
-
2
votes1
answer3237
viewsQ: Customize my modal bootstrap
I got a working modal: <!-- Bootstrap Modal Dialog --> <div class="modal fade" id="myModal" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div…
-
0
votes1
answer723
viewsQ: Store list in Viewstate
I want to assemble a list of strings and save it to a viewstate, and use it later. Ex List<string> listaNomes = new List<string>(); foreach(var algo in TesteList) {…
-
0
votes2
answers1374
viewsQ: Count number of checkbox selected
I have a grid with Repeater: <asp:Repeater ID="rtInlineBlock" runat="server"> <ItemTemplate> <div class="block"> <asp:HiddenField ID="idDirectorio" runat="server" Value='<%#…
-
6
votes1
answer293
viewsQ: Select button with one click and only open with two clicks
I have a webform Imagebutton that represents directories on a grid using Peater. How to make with 1 click just select the button, and only open with two clicks? <asp:Repeater ID="rtInlineBlock"…
-
0
votes1
answer453
viewsQ: Modal popup does not work
Code from my panel: <div class="modal"> <asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager> <asp:Panel ID="Panel1" runat="server" > <asp:Button…
-
0
votes0
answers172
viewsQ: Change context to receive database information
I took a project from a Filemanager, which uses Handler and the same uses examples listing the directories and files of the project itself, put an example listing directory that already works, but I…
-
0
votes1
answer2993
viewsQ: Error there is a duplicated 'system.web.Extensions/scripting/scriptResourceHandler' section defined
I downloaded a project, and I wanted to import to my pretty much everything, but when copying and pasting your webconfig into mine, do it while running: Há uma seção…
-
0
votes0
answers552
viewsQ: Updatepanel does not update
I have the following updatePanel: <asp:ScriptManager ID="ScriptManager1" runat="server" ChildrenAsTriggers="true" > <Scripts> </Scripts> </asp:ScriptManager>…
-
2
votes1
answer1453
viewsQ: List directories and subdirectories
I have a Treeview component, and a structure in the database that already has in the table directories the subdirectories. has a field called director_parent_guid, if it is null it is because it is…
-
1
votes1
answer872
viewsQ: How do you popular a Treeview with a bank list?
I have a TreeView static representing folders and files in this template: <asp:TreeView ID="TreeView1" runat="server"> <Nodes> <asp:TreeNode Text="Diretorio1" Target="_blank">…
-
3
votes1
answer1989
viewsQ: Put icons on a treeview with bootstrap
I took a model of treeview with bootstrap and I have some problems, the code that they provide did not use icons, see the model…
-
1
votes2
answers297
viewsQ: Delete a data list in the EF
I have a method that deletes a version of a file according to the version of the file passed, 1 file may have many versions, and I wanted to delete all versions, I managed to delete only 1 version…
-
0
votes1
answer111
viewsQ: How to delete data from one table related to another
I have the following situation with a method of deleting directory: internal void DeleteDiretorio(Model.Diretorio diretorio) { using (var ctx = new TESTEntities()) { var dir =…
-
0
votes1
answer181
viewsQ: List method does not return objects
Method with RU List internal List<Arquivo> GetAllArquivo() { using (var ctx = new TESTEntities()) { var arquivos = ( from ver in ctx.ARQUIVO select new Arquivo() { ARQUIVO_GUID =…
-
0
votes2
answers285
viewsA: Method to edit data with Entity
I got it using the following way: internal void UpdateArquivo(Model.Arquivo arquivoEditado) { using (var ctx = new TESTEntities()) { var file = ctx.ARQUIVO.FirstOrDefault(a => a.ARQUIVO_GUID ==…