Posts by Germano Sampaio • 421 points
27 posts
-
1
votes1
answer56
viewsQ: Critical for when to deploy
In the case of a webforms . NET application that is being deployed, there is some way to warn the user that the system is being updated?
-
2
votes0
answers249
viewsQ: Error while connecting Mysql using .NET. How to resolve?
Exception when connecting to the bank: Ispasswordexpired: 'Conn.Ispasswordexpired' threw an Exception of type 'System.Nullreferenceexception' Serverthread: 'Conn.Serverthread' threw an Exception of…
-
0
votes1
answer766
viewsQ: How to close Modal Bootstrap only when entering the server-side method?
I have a sign-up screen in a modal bootstrap, but when validating, if an error occurs or the user no longer fill in any field, the modal closes. <script> function enviar1() { if…
-
1
votes2
answers385
viewsQ: How to call a form from another project in Webforms?
I have two Webforms projects one with authentication and one without. I need to call a project form without authentication in from the project with authentication. How do I?
-
0
votes1
answer680
viewsQ: How to get the Hidden input value inside the controller using Formcollection?
I’m trying to get the value of a Hidden input inside the Controller by Formcollection, but the value is reset. To increase the value, I’m using a Javascript function. HTML: <form…
-
0
votes2
answers567
viewsQ: Matrix Printer does not reconfigure paper size
I am using a dot matrix printer to print receipts. I installed it as Generic text only. But send the print, it recognizes the height as A4 paper. How to make the printer cut the paper when there are…
-
2
votes2
answers7845
viewsQ: How to resolve "Could not create SSL/TLS Secure Channel." error?
In my project, I need to communicate with a Webservice and send data to it. However when I do the envelopment and sent, it shows the following error: "Could not create SSL/TLS Secure Channel.".…
-
0
votes1
answer156
viewsQ: What is the alternative to the showmodaldialog function?
On my system modal popups no longer work in Chrome or Firefox after updating the Jquery component. The application is Webform and has several popups and it is essential that they are modal. What…
-
2
votes1
answer243
viewsQ: Javascript function does not run Pagemethod
I’m calling a Pagemethod in a Javascript function, but it goes straight to the end not entering my function C#. Follow the code below: <script type="text/javascript"> function enviar() { if…
-
1
votes1
answer857
viewsQ: How to save the PDF generated by reportviewer to disk at runtime?
I am making a series of reports which I need to generate the PDF and save to the server, for the user to download. I cannot use the mode atatchment and neither inline. Because the user has the…
-
2
votes2
answers1102
viewsQ: Error while converting HTML to PDF
I need to make a PDF from a page HTML, but while converting I get the following error: Cannot convert an object of type 'iTextSharp.text.html.simpleparser.Tablewrapper' to type…
-
2
votes2
answers690
viewsQ: How to get the data typed in the Textbox that was created dynamically?
I created some controls TextBox dynamically in my Code Behind and I need to redeem the values in a new method, but I cannot use the textbox changed in a new method. try { DataTable tbDadosAux =//…
-
0
votes0
answers50
viewsQ: Dataset sent from one class to another
Is there any component Ado equivalent to a recordset that I can send from one class to another in c#?
-
0
votes1
answer179
viewsQ: Problem when viewing data from a grid within code Behind
On a Gridview I’m trying to get the data referring to a line where the checkbox == true. I can get the value of the checkbox, but I can’t get the other values for the line. while (i <…
-
2
votes1
answer41
viewsQ: Text property is empty in the gridview cell!
I’m using a gridview and I need to get the content of the line the checkbox is on checked==true. I can catch the state of checkbox, but the text property of the cell is coming in white. Follow the…
asp.netasked Germano Sampaio 421 -
2
votes2
answers322
viewsQ: Onclick calling function javascript deletes textbox htm
I have a text control HTML which is created by a function called OnClientClick button. The problem that every time I add a new Textbox, the previous data are deleted. What to do to keep him from…
-
1
votes1
answer556
viewsQ: How to use the value of an HTML field within code Behind C#?
I have a Javascript code that creates HTML fields on an Asp.net page. How do you call the function to the Code Behind and return to the created fields? If I could use ASP.NET in this case, I would…
-
1
votes1
answer881
viewsQ: What to do for the function javascript n give Reload on the page
I have a javascript function that runs on the onclick of the new button and creates two HTML objects. The problem is that at the end of the function, the page is re-loading and deleting what was…
-
1
votes0
answers47
viewsQ: Problem loading <span> tag content into codebin
I am making a javascript to play the result of a query in a tag , however the query is not displayed in tag. I am on the same page and calling the function by codebehide. function…
-
0
votes1
answer76
viewsQ: Javascript popup does not see parent page fields
I have a query in a popup that the result is returned in a gridview. In gridview I have a button where I call a javascript function that inserts the result by correlating the return of the query…
-
1
votes1
answer158
viewsQ: Problems with Photoshop files inserted in Masterpage
I can’t use a function javascript contained in a file that is inserted in a Masterpage. Where can I am missing? Follow the Masterpage tag <head runat="server"> <title></title>…
-
3
votes1
answer1033
viewsQ: Use Onblur in Asp.Net with problems!
I need to format and validate a data field using the property OnBlur of Javascript within the codebehind C#. The problem is that it executes the javascript function and does not return the value to…
-
1
votes1
answer3267
viewsQ: How to place an Onclick event by calling a Javascript Function on a Link inside a GRIDVIEW on Asp.net?
I have a form containing a button that will open a query popup. In this popup, I make a query passing as parameters name and Cpf where the return of the query, creates a gridview where each record…
-
2
votes1
answer811
viewsQ: Dropdown menu of Bootstrap on Asp.net site works only on the main page, what to do to fix it?
The menu dropdown apparently it works on the main page, but when I’m on another page and I’m going to use it it doesn’t work! I already checked if the HTML code is generating with jQuery and I saw…
-
0
votes2
answers158
viewsQ: How do I correct this error, and was able to see this other table in my view?
I need to make a select with two tables and play the result for a PagedList. But when I query, returns the error: Cannot implicitly Convert type 'Pagedlist.Ipagedlist' to…
-
0
votes2
answers1976
viewsA: How to pass a variable in a Javascript function by the onclick Razor?
In my solution, I have a button that opens a query modalview. After the query, I need to return the result of the records in the form of a link. When clicking on the link, I must return to the main…
-
0
votes2
answers1976
viewsQ: How to pass a variable in a Javascript function by the onclick Razor?
I have a series of fields I need to send from tag Razor for a function JavaScript @Html.ActionLink("Enviar", "ActionName", null, new { onclick = String.Format("envia_pessoa({0}, '{1}', '{2}', '{3}',…