Tagged Questions
ASP.NET is a Microsoft web application development framework that allows programmers to build dynamic web sites, web applications and web services.
0
votes
0answers
7 views
Background-size issue in IE and google chrome
I am using background-size on chrome and found out it is ccs3 and it does not support in old version of IE. Hence I have gone through some posts and someone recommend to use filter: ...
0
votes
1answer
9 views
Server Error '/demo' in Application
The error is shown as below:
A network-related or instance-specific error occurred while
establishing a connection to SQL Server. The server was not found or
was not accessible. Verify that ...
0
votes
0answers
5 views
How to Edit JQGrid inline while having Group and RowSpan on it.. I have tried it much but not get any success
Please help me to have Edit functionality in JQGrid. The Problem is that if I use my grid without any rowspan it will allow me to edit the row, but if I apply rowspan on firstcolumn it will not allow ...
0
votes
1answer
11 views
I dont have a Data Repository. What to do with return view(DataRepository.GetCompanies())
I made this tutorial http://www.codeproject.com/Articles/331986/Table-Row-Drag-and-Drop-in-ASP-NET-MVC-jQuery-Data?msg=4848321#xx4848321xx where I got stuck now because I don't have a Data Repository? ...
0
votes
1answer
13 views
Date Binding in TextBox in ListView
I have a ListView and in it there is a field with some date coming from the database. Now when i click on the Edit button, in the next Edit Page i want to show the exact date in the particular date ...
0
votes
2answers
16 views
unable to assign hiddenfield value to select2 on postback
I am trying to assign value to select2 control from a hiddenfield in clientside script. Value is not assigned to select2 control after postback for the following code.
$(document).ready(function () {
...
0
votes
0answers
14 views
User roles not saving in ASP.NET Identity
I'm running MVC 5 with Entity Framework 6 and using the ASP.NET Identity authentication. For some reason that I cannot figure out, I cannot seem to assign users to roles and have it stick. Consider ...
0
votes
2answers
36 views
CheckBox ID is unable to found
I want to Check a checkbox after finding that it is checked in database.
For this, i m trying this :
string chkboxbit = String.Empty;
CheckBox cb = new CheckBox();
chkboxbit = ...
0
votes
0answers
7 views
grant ASP.NET access to a file
I am trying to Get data from Office Communicator.
My project run smooth, I meet error when I public website on local via IIS.
Server Error in '/' Application.
Retrieving the COM class factory for ...
1
vote
1answer
27 views
LinkButton color not changing
I have a user control which has a linkbutton. On the link button click, I am redirecting to the default page. The default page uses this user control. I am trying to set the color of the linkbutton to ...
0
votes
0answers
31 views
How to view the user and there roles in a razor view from asp.net mvc5 identity table
i'm building an mvc5 application that contain a companies and mangers and the mangers (users) stored in the AspNetUser table and the role manager in the AspNetUserRoles table and i need to list the ...
0
votes
0answers
13 views
Sorting gridview column in asp.net
I have gridview that load data from database. The data display on gridview for the first time sorted by datetime. On one column of that gridview I want to allow sorting, example on main_post column. I ...
1
vote
5answers
40 views
how to debug a production app in ASP.NET?
I currently have a production app that is error-ing out on a page, it just says
The webpage is not available
When I download the code and run it on my local machine, it runs perfectly.
Just ...
0
votes
0answers
5 views
Http 403 on new IIS deployment
Having just asked this question : ASP.NET Web Project deployed to IIS Express not accessible outside localhost I figured I would just go ahead and install IIS. I did this - and setup a new deployment ...
0
votes
0answers
7 views
Trimming the output of publishing
I've got a basic ASP.NET Web Application with the following publish settings:
Publish to File System.
Delete all existing files prior to publish - Ticked
Precompile during publishing - Unticked
...
0
votes
0answers
6 views
Twilio Call Ignore
Just want to know if there is a way in Twilio to ignore call, meaning just let the caller ring, what I want to do is have a call screening and then let the called party select if they want to ignore ...
0
votes
1answer
17 views
How to skip ASP.Net form authentication of parent website on some ASP.Net MVC action of child website
I have ASP.NET MVC website which is hosted in a child directory of other website which is protected with form login like below:
<domain>/parent --asp.net 2.0, with login form (standard ...
1
vote
1answer
20 views
The changes not updating on server
I have build MVC 5 application which works fine when running via VS. When I publish it to the server first time it also works. Now I have made few correction to my css file and publish whole project ...
-2
votes
0answers
21 views
Proper creation of Web service? [on hold]
How to create a web service working with the database and with different api.
To maximize speed and expandability functional.
сreate ASP.NET MVC
сreate a WCF service
use WCF and ASP.NET MVC
And ...
0
votes
2answers
15 views
ASP.NET Web Project deployed to IIS Express not accessible outside localhost
I have deployed my C# ASP.NET Visual Studio Express 2013 project via the IIS internal Express webserver service.
Locally its great - I can access it at : http://localhost:56473/hello
However if from ...
0
votes
1answer
31 views
One method successfully toggles a control's “Enabled” property - a similar method fails. Why?
In my code behind I have two method to enable or disable a group of controls depending upon the value of a field on a form. One of these methods works as expected, and the other doesn't ... quite. ...
0
votes
0answers
8 views
xmlHttp 404 error that works when put into postman
I am using the following method to make a SOAP request to login to a server's API. It works properly when the file is on the server trying to be logged into. When I try to login to the same API on a ...
0
votes
0answers
5 views
Highchart disappears with postback, give error JS
I really want to know what is happening with my code. it throws this message : "Error en tiempo de ejecución de Microsoft JScript: Se esperaba un objeto".
And this is the code that shows with the ...
0
votes
0answers
15 views
Unable to connect to configured development server
I created new web service in ASP.net and tried running it and got the following error:
"Unable to connect to configured development server"
I googled and found the previous question about it
unable ...
0
votes
0answers
19 views
asp membership roles issue
I'm having an issue when trying to add users to roles using the Default Membership Provider.
I have the asp.net schema installed on my database and am creating users which works fine and creates ...
0
votes
0answers
15 views
What's the difference between creating a Windows Azure Cloud Service Web Role and a MVC Website with Windows Azure remote resources (web site)?
I am trying to understand the differences from the Azure perspective between creating new websites through Windows Azure Cloud Services (web role) and creating a web application with Windows Azure ...
-2
votes
0answers
17 views
JavaScript runtime error: 'fidoCallback' is undefined
I have built an asp.net application. Every time I am running it, I am getting an error saying:
Unhandled exception at line 1, column 1 in script block
0x800a1391 - JavaScript runtime error: ...
0
votes
0answers
6 views
RadGrid doesn't update data during paging
I am using a Telerik RadGrid, and we're trying to get it to work with CustomPaging. I feel like I'm close, but it's not updating the data on the web client.
My aspx page code looks like this:
...
0
votes
0answers
18 views
The type 'System.Object' is defined in an assembly that is not referenced
I installed a Microsoft ASP.NET Web API Compression nuget package to my project and added a line to WebApiconfig inside Register method as shown in this link ...
0
votes
0answers
10 views
Transaction, multiple databases, different servers: MSDTC or any other option
I am working on a client-server application and using LINQ to SQL to perform databases operations, 1 databases is on server and multiple clients will connect to it and there will be sync of databases ...
0
votes
0answers
14 views
Multiple forms on the same view (asp.net mvc)
Im trying to make a Wizard registration form (multistep registration) in asp.net mvc.
I have 2 methods on my controller (Login and Register) because I dont want that the URL changes.
Well, in the ...
0
votes
1answer
13 views
file validation - content type or extension?
I need to validate if a file is an image.
Should I check content type or extension? What is more safe / better?
I think checking extension is better - what do you think?
string ext = ...
0
votes
0answers
16 views
Accept-Ranges doesn't appear in asp.net response
I wrote a simple asp.net page that simulates file download response. I added the following lines to adjust response:
Response.AddHeader("ETag", "\"" + _EncodedData + "\"");
...
0
votes
1answer
20 views
paging in a gridview based on a year field
I am trying to find a way to page through a gridview table by year. In my database I have a "season" field and I want all of the data from 2014 shown on one page, all the data from 2013 on another, ...
0
votes
1answer
14 views
Minification failed. Returning unminified contents
I have made my first website using MVC 5 which works fine on my local machine but when I publish it to the server some of the css not loading correctly.
/* Minification failed. Returning unminified ...
0
votes
0answers
6 views
Hybrid Authentication with asp.net Identity and Android Authorization
I'm doing a website in asp that uses Identity (v2.0) and also an Android app connected to the web site through Web API.
I've configured Identity to use Google OAuth signins and works quite well. ...
1
vote
1answer
60 views
Lock several pieces of code
I have an asp.net website where I would like to prevent concurrent access to certain pieces of code. Since every page request will get a thread of its own - that might be a problem.
If this were only ...
0
votes
2answers
63 views
dropdownlist error in c# code
i want to show a value in DropDownList at page load and the value is "1 Year".
here is my Database Table
id instal
0 Choose
6 6 Month
12 1 Year
24 2 Year
36 3 Year
here is my ASPX code:
...
0
votes
0answers
9 views
MVC5 application communicating with other application (php) application
My MVC application is called from other application (might be php or java).
In my mvc5 application, I have an action with parameters (which works as a query string) so that other applications can call ...
0
votes
1answer
16 views
using jQuery's .load() function to load multiple forms onto a page, and saving the filled in forms
I have a page where I can input multiple "orders" on one "invoice". I have three types of orders and each type can be on the invoice multiple times. Right now I write a separate aspx page for each ...
0
votes
0answers
18 views
Object reference not set to an instance of an object - html security [duplicate]
Whenever I add anything to TextBox2 and execute the statement below I get this error:
Object reference not set to an instance of an object.
Code:
Try
connStr = "connectionstring works"
...
-2
votes
2answers
14 views
Disable (or) Prevent cursor placement in ASP Read Only textbox
In my solution, there's one ASP.NET ReadOnly textbox . When clicking on it, the blinking cursor is inserted which causes the user to believe that they can edit.
Could anybody please suggest me the ...
0
votes
0answers
12 views
Calling A remove method using post
Disclaimer I know many people are going to say to use delete instead of post, but im using post so please answer my question instead of telling me to use delete. Im using post because thats the way my ...
1
vote
2answers
26 views
add independent validators to controls
I have an ASP.NET, with a few controls on it.
Specifically, I added a required field validator on a textbox on the page (the text box has a submit button).
I then added another required field ...
-3
votes
0answers
22 views
convert web api website to local app
Basically I'm looking for a way to make a desktop app based on html gui.
I want to be able to make a C# web api and an html+javascript gui that run locally on the computer running them.
I tried using ...
0
votes
1answer
39 views
Prevent user from going to other tab on website
I'm not sure how you can do this, but if a user on my site enters some information and selects another link or tab without saving, I would like to present a popup and allow them to cancel that action. ...
-3
votes
0answers
22 views
ideas for Asp.net project? [on hold]
I'm doing my summer training in Asp.net with c#,but the faculty there is helping us make a dummy project.Its my 4th yr so I was thinking of working on some mini app instead of a web-based dummy ...
0
votes
1answer
22 views
Ajax.abort() not working
I have read a lot of pages explaining how ajax.abort() should work but for some reason I cannot get this to work with my situation. Here is the code I have:
<script type="text/javascript">
...
-2
votes
1answer
26 views
C# - Formatting DateTime to Month [duplicate]
I am retrieving the DateTime from a db which is coming through in the Dropdown list as the full date and time. What i need is just the month from that DateTime in word format in that drop down list.
...
0
votes
1answer
30 views
Maintain state of the object for same browser session
Following is my ASP.Net Web API controller code. Here as you can see there's a private class object, BL, that is used and both the Get methods implemented. For the first method ...