All Questions
10,591
questions
0
votes
0
answers
11
views
when export data to pdf using itextcharp libarary it give me empty file downloaded and can't open
I work on asp.net I face issue when export grid view have more than 2000 rows it download empty file pdf without data inside .
and when click on file not open and give me file not in correct format ...
0
votes
0
answers
11
views
ASP.NET MVC (blocked:csp) error when running in local
I am getting the (blocked:csp) error in my Chrome browser when my app.
I have the headers set up like this:
HttpContext.Current.Response.Headers.Add("X-Content-Security-Policy",
"...
0
votes
0
answers
11
views
ASP.NET controller not receiving input
I have some mock web interface. It is supposed to take a user comment and save it to a json file. Then print the contents of the json in the html. However for some reason my controller is unable to ...
0
votes
0
answers
21
views
ngrok redirects to localhost instead of ngrok-url in ajax callback (ASP.NET project)
I have an ASP.NET project. I'm using NGROK to access and test the project remotely, mainly because I'm testing a webhook so my project needs to be callable from an external source.
Every normal HTML-...
0
votes
0
answers
23
views
How to show image which is uploaded by gallery in asp.net through ajax by web method
I want to show image which I uploaded from gallery.
Here is my code,
<asp:Image Height="420px" Width="580px" runat="server" ID="img_Product" CssClass="...
1
vote
0
answers
17
views
The length of the string exceeds the value set on the maxJsonLength property in asp.net C# [duplicate]
I want to show image through ajax by web method.
<asp:Image Height="200px" Width="200px" runat="server" ID="img_Product" CssClass="col-md-2 control-...
0
votes
1
answer
40
views
C# ajax post request 404 not found
I have an ajax query running from a page located in a folder Project/Pages/IT/NewEmailSetup
I want it to call a post request to a controller thats located in Project/Controllers/...
1
vote
1
answer
61
views
ASP.NET Core: AJAX call not reaching controller method
I'm encountering an issue where my AJAX call isn't reaching the controller method in my ASP.NET Core application. Despite setting up the AJAX call and controller method, I'm receiving a 404 error. ...
0
votes
1
answer
40
views
Getting undefined value by ajax success data in asp.net
I am calling function from .asmx.cs file by ajax web method. Now, I am getting output undefined value in ajax success.
Here is my code,
<input type="button" id="btnGetStock" ...
0
votes
1
answer
22
views
Adding Ajax to aspx pages
I am working with a very large project that is running on ASP.NET framework. I am trying to add some new functionality to make the application more userfriendly and I need to use ajax. I have used ...
0
votes
1
answer
60
views
I have inputs types of checkbox and when I perform delete or retrieve methods it works but page is not reload
In my Asp.Net Mvc project, I have checkbox type inputs and I get the Ids of items through them by using jquery and send them controller by using ajax. Methods are working but after work the page is ...
0
votes
0
answers
43
views
daterangepicker date change pass controller
My problem is such that when the view is opened, the date January 1, 0001 is visible in it. When I set breaker in the controller, the first time value remains January 1, 0001. After that, on ...
0
votes
1
answer
33
views
'String was not recognized as a valid DateTime.' in asmx.cs file of asp.net c#
I have Two Input Type = "Date" and one Input Type = "Button"
<input type="date" runat="server" id="dtp_from" />
<input type="date" ...
0
votes
0
answers
32
views
Can we parameterize jQuery ajax call for inserting data to database?
This is my simple code for inserting data to database and it's working fine. Table name is AccountMaster
function Insert() {
var Value = {};
Value.Id = $("[id*=hdnId]").val();
...
0
votes
0
answers
26
views
ASP.Net Webform: Server side web method not firing by jquery ajax
I am working with web form where i have button and one input file. when user click on a button then file open dialog will open and user select file. user selected file will be pass to server side ...