Questions tagged as 'asp.net'

0
answers

How to break the page using Nreco.PdfGenerator in ASP.NET/C#?

I'm using CSS to break the page, I'm putting it inside a <asp:Repeater> In the first break everything happens well but on the third page it breaks incorrectly (in the middle of the page).     
asked by 02.07.2015 / 15:35
0
answers

Send a list to a web api using $ http.put of AngularJS

I'm having trouble getting a list using the $ http.put method of angularjs, I can send an object normally, but a list is not following, does anyone have any code examples so I can clear this question or pass a link of some material about, from n...
asked by 20.07.2015 / 19:01
1
answer

Error in application when switching to enable 32-bits = True in IIS7

I use the CobrebemX in my ASP.NET web application to print tickets. We changed server and now when I enable the enable 32-bits = True option for the application pool of said application the following error occurs:    HTTP Error 500.19...
asked by 23.06.2015 / 13:07
0
answers

DropDownList does not load string [closed]

I have a method in asp.net which loads some dropdowns and gets the name of dropdown as its parameter. The method is working perfectly, because when I "debug" the application I see that dropdown received the items. The prob...
asked by 03.08.2014 / 21:20
3
answers

File download does not work

How to download a file by the browser from a directory in my project? I tried the following, but nothing happens: string path = "C:\test.txt"; var file = new FileInfo(path); if (file.Exists) { Response.C...
asked by 18.03.2015 / 12:34
4
answers

Email confirmation?

I need to send emails to my business customers, but I also need to know if these emails are successfully received. Do you have any way to do it? What would be the best?     
asked by 17.07.2014 / 19:40
1
answer

Convert datatables in ASP.NET to different Excel SHEETS

How can I create more than sheets converting different datatable to excel? My code: DataTable dt = new DataTable(); dt = Tr.Get(); GridView x = new GridView(); x.DataSource = dt; x.DataBind();...
asked by 19.04.2014 / 15:25
1
answer

How do I not lose the rows of my GridView that were created dynamically in RowDataBound?

Thegridisalreadybeingmountedcorrectly.ButwhenIgiveaPostBackbyclickingonabuttononthepage,thegridstaysandonlytheheaders(purplelines)disappear.IknowifIcallthemethodtoreloadthegridagain,itworks,butitdoesnotseemtometobeagoodthingtodo.Codeforcreatingd...
asked by 13.11.2014 / 18:05
3
answers

It is not possible to print a document in the internal module through the API

I'm developing a web application that launches internal documents in Spring ERP. I have this code: PriEngine.Engine.Comercial.Internos.Actualiza(invoice) Dim file As String = "C:\temp\" & invoice.Tipodoc & invoice.Serie & invoice.N...
asked by 28.06.2018 / 10:16
3
answers

Set value of a null or empty ROW in a gridview

I have a Datatable from the database and I fill in a gridview , I need to leave some ROWS blank or nothing, but the fields are numeric and do not accept string or other type. DataTable dt = ClassesControle.CNProduto.listaProdutos(nu...
asked by 21.03.2014 / 17:06