The output of the asp.net datagrid doesn't include the thead and tbody elements required for the jquery tablesorter to work.
E.g. it looks like this:
<table>
<tr>this is my header row</tr>
<tr>content row 1</tr>
<tr>content row 2</tr>
<tr>content row 3</tr>
...
<tr>content row n</tr>
</table>
and it needs to look like t...
I'm working on a solution to create reports in a web application but don't have the budget or personnel to manage a SQL Server Reporting Services install. What alternatives do I have, given these constraints?
I'm using ASP.NET 3.5 on SQL Server 2005.
...
I want to use the defaultfocus property on a form in ASP.Net, and therefore I set this property to a textbox. This works as expected on IE, but in the Safari 4 beta, the content of the textbox is also selected. How can I make this work as expected on Safari?
i tried also some jquery call, and the problem is there also:
$("input:visib...
I am trying to implement a search bar in Asp.Net where the results change with every key press. I want the search bar to contain a drop down list of available results pertaining to what they have typed in thus far.
So if you were searching for states, and you typed M, it would list all states starting with M, but if you add an i to tha...
Hi guys,
I have just been asked to find out why a clients website be listed in Google in an interesting way. Some of the links have an extra directory with a (seemingly) random name.
The url.
http://www.servicedofficecompany.co.uk/resources/
Is listed by google as.
http://www.servicedofficecompany.co.uk/(A(khbmZF83yQEkAAAAZGQ1OThh...
What is the best book out there to learn the insides of ASP.NET AJAX?
...
For those that are knowledgeable in this subject (and hopefully faced a similar situation), could you please give your opinion on which provider would be best suited for a ASP.net 2.0 framework application?
The main points I am looking for are:
Performance
Functionality
From what I have gathered online, it seems the Oracle provided...
I need to do some checking on a validation control but I am not sure what type of text ASP.NET will think is a security issue. Can someone give me some things to try? I tried various HTML tags and it seemed to accept them fine. This is a multiline rich textbox used for saving a field of text to the database. The code for saving is inside...
I get the following error when trying to use Response.Redirect in one of my ASP.NET pages:
[ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: offset]
System.Web.HttpResponseStream.Write(Byte[] buffer, Int32 offset, Int32 count) +8858392
System.Web.HttpResponseStreamFilterSink.Wri...
I am just playing around with MVC for the first time and am having a problem.
Let's say I have 2 tables - Person and Location. Location has a foreign key relationship to Person - so 1 person can have multiple locations belonging to them.
In my view I have form inputs for the Person fields - this works fine.
However, I also want to h...
I thought I would ask this question to see why many examples and people prefer to use inline databinding in the aspx code vs implementing an OnDataBinding event when using WebForms.
For any databound control (eg. Repeater, GridView, etc) I always implement the OnDataBinding method for field level controls if I need to do anything that i...
How can I build a web page that allows a logged on user of a Windows 2003 domain change details of his account (probably just First Name, Surname, and Phone number)?
...
Hi,
Can I somehow utilize the App_code folder in a web application project to compile code on the fly? It'd be great for plugins. Recently Rob Conery demonstrated its use in his talk at MIX 09 in a ASP.NET MVC app. I tried to do the same in a web app but I can't access the classes under App_Code from anywhere else. But if Rob was able t...
A Book showed an example where ( when using IIS7 ) the following module was configured such that it would be used by any web application ( even by non-asp.net apps ) running on a web site. But:
A) if this module is invoked for non-asp.net application, then how or why would HttpApplication object still be created, since non-asp.net apps ...
I have a Flex application that calls a .aspx page on our webserver, which builds a PDF or Excel File. Right now, I am using navigateToURL() to call the file, and this works fine when the output file is built successfully. However, if there is an error, or timeout, there is no way of knowing this in the Flash movie.
I am trying to use U...
I've got CSS that formats labels above form input elements and I'd like to replace the input elements with text from the database if I'm just displaying read-only data.
No matter what I do, changing the input fields to a span or asp:label will not properly render the label above the text.
I'm using this CSS:
div.formRow {
padding: ...
I'm trying to debug a problem (exception being thrown) in an ASP.NET MVC program using the Microsoft CLR Debugger. It works pretty well, except after a minute or two, the debugger gets detached (the web request times out or something?) and I can no longer inspect its state.
This is extremely frustrating. How can I make the server/debu...
Hello,
IIS enables us to also configure Asp.Net file mappings. Thus besides aspx, IIS also invokes Asp.Net runtime, when requests have the following file extensions:
a) .ascx --> .asmx extension is used to request user controls.
Since user controls can’t be accessed directly, how and why would anyone send a request to a user con...
I'm trying to get a gridview to sort and page manually with no success.
The problem is that when a user clicks the column they want to sort, it sorts that page, but doesn't sort the datasource (dataview) behind the gridview. So when they progress to a different page, their sort is lost. Pretty much I'm looking for a sort that will act...
I see this pattern everywhere, but Linq to SQL does not implement it. If Session/Unit-of-Work objects are lightweight (can be created and destroyed without performance penalty), and connection pooling keeps database connections alive, why and when do I need the session-per-request pattern?
...