I am using jQuery to simulate a popup, where the user will select a series of filters, which I hope to use to rebind a ListView in the original window.
The "popup" is opened via an ajax request and the content is actually a diferent aspx file (the rendered output is injected into a div that acts as the popup).
I have another ListView i...
I have a custom made ASP control which is based on a select (drop down menu). If I disable my control by adding the word "disabled" in its html, I start getting null pointer errors when processing the form data.
I figure, either the browser doesn't post back disabled form items or ASP.NET ignores them when processing the form data. I'...
This has been bugging me all morning and I can't even figure out where the error is.
In the current web site I am developing (it's not a web application, in case it makes a difference, there are user controls declared as follows:
<controls>
<add tagPrefix="uc1" tagName="TransitLinkAdmin" src="~\controls\TransitLinkAdmin.ascx"/>...
How can I verify a files content type without using the files extension or mime type using ASP.Net.
I don't want to use the mime type because it appears to be determined by the file extension.
...
Another beginner question for ASP.NET:
I'm starting an ASP.NET project in Visual Studio 2008, and would like to link it to a folder on a remote server (as in it builds/publishes to this folder). It may be my phrasing, but I cannot seem to figure out how to do this (even with Google at my side!).
I naively tried to just upload the code...
Hello Friends,
I am using datatable to fill gridview.
How can i add blank row in datatable to view footertemplate even if i don't have any data ?
I am using asp.net 2005. I am using gridview control to add,edit and modify the data. i put add control at footertemplate. it's working fine but i face one problem that when ever there is no...
What is updated when an Update is triggered? What goes to the server? What comes back?
I was under the impression that only the content of the panel was transmitted to the server and back (without touching anything in the page outside the panel), but I'm experiencing strange results, probably because I don't really understand how it wor...
Hi I am trying out the membership features for .NET and I am using the ASP.NET Web application Administration Tool. My question is where is the user data being stored? I checked my databases and I cannot find it anywhere. I also tried to look for any information within Providers in the admin tool but I still could not locate a path. ...
I want to have a secure control but also want to extend the existing button or textbox the asp.net framework provides. So my class dec would look something like:
public class MyTextBox : System.Web.UI.WebControls.TextBox
I was thinking something like a strategy pattern for doing it, but not sure how I could pass in a ISecureControl i...
I'm currently working on the requirements/scoping of a project now that could involve:
1) 5 to 6 forms
2) with 250 to 300 questions/fields accross the forms
3) 2 to 3 workflows
Are there any .NET or cross-platform tools that will allow me to put the responsibility of developing the forms back onto a non-technical Business Analyst? Are...
Hello all,
I borrowed the following code to try to make an ajax-enabled WCF service work since I kept getting the 405 method not allowed error:
$('#btnSave').click(function(e) {
$.ajax({
type: "POST",
url: "AjaxWcf.svc/ConnectionTest",
contentType: "application/json; charset=u...
Ok so I have an ASP.Net website project. The project resides on a server on the network, accessed by Visual Studio 2008 via a fileshare.
In the web site project I add a web reference to a webservice I have previously created.
I can consume this webservice via winforms apps without any problems.
But when I try to reference the Webserv...
Hello,
I am using asp.net 2005 c# using gridview control.
How can i delete particular row from gridview.
I wrote following code but it's not working...
DataRow dr = dtPrf_Mstr.NewRow();
dtPrf_Mstr.Rows.Add(dr);
GVGLCode.DataSource = dtPrf_Mstr;
GVGLCode.DataBind();
int iCount = GVGLCode.Rows.Count;
for (int i = 0; i <= iCount; i++)
...
I am trying to make a query that pulls out all Tickets for a particular company.
Within that table will be a column named [Repeat]
What I need the query to do is check to see if there are any other rows that have a matching Circuit_ID within the last 30days of that ticket.
"SELECT [MAIN_TICKET_ID], [CompID], [ActMTTR], [ActOTR], [DtCr]...
Hi
I'm currently loading a view(ascx) into a div using jQuery load(). I want to pass some variables to the view when loading it though so i'm using $.load(view, data); This does not seem to cause any problems but i have no idea how to access the Json object i'm passing in to the control.
Here is the jQuery:
var val = {"Id":"1"};
$("#D...
Hi I was wondering what is the best way to force the user to login when arriving at a website, in .net. I have set up the Membership features and I was wondering what is the best way to ensure that no matter what address the user arrives at, they must first get authenticated before proceding to the page they requested. Any resources wi...
I'm working on a web app that passes data to a custom client app.
I'm getting exceptions when the data is over some "small" size. Since the end users will likely be using increasingly larger data sizes, I switched the return from the WCF function to be the ID of the data set.
Next, I converted the client to use the ID to retrieve the ...
I have a .net mvc app with an controller action which accepts user registration posts.
I have the following UI fields: emailaddress, firstname, lastname, password, and confirmpassword. Some of these fields do not belong to a model object (i.e. confirm password does not belong to the user model, only password). My registration form resi...
Hi,
I have Linq object which has one field of type 'System.Xml.Linq.XElement'. When bound to Gridview this XML is properly displayed as text. However, when I try to edit that row and update Linq object I get error:
Cannot convert value of parameter 'CustomData' from 'System.String' to 'System.Xml.Linq.XElement'.
What is the easiest way...
Does anyone know of a good tutorial that demonstrates using an existing AJAX control extender in a Custom ASP.NET Server Control?
I do not want to build a "Custom AJAX Server Control". I want to build a Custom Server Control that uses an existing AJAX control extender.
I would like to combine an asp:TextBox, asp:ImageButton, asp:Custo...