asp.net

Redirecting old .aspx files to Wordpress equivalents

I've converted an associates old website to Wordpress. The domain name remains the same. All the old .aspx files fall into the root of the domain folder (www.xxx.com) with no .htaccess file while the Wordpress replacement site has an .htaccess file - domain is www.xxx.com/ctpc I have 36 old .aspx files in the root that I need to pe...

What is an in-depth ASP.NET book?

I'm wondering what a good book to read describing how ASP.NET works. I'm thinking something similar to CLR via C# but focused on ASP.NET. Clarification: I'm interested in ASP.NET as a platform including things like httphandlers, httpmodules, state management (SessionStateModule), and caching. I'm not looking for information on Visual ...

MVC pass a CV Class to a new Page.

Hi all, I'm using MVC, I've got a search page, and I want to pass multiple arguments to the next page. I want to wrap these multiple parameters into an Object (CV) and pass it to the next screen, not just pass all the args individually via the query string. I'm sure there are lots of ways to skin this cat, but what's the MVC approve...

How to put .flv videos on aspx pages

I have to design a page in which I have to place few flv video files. In general under upload.aspx page I uploaded few videos which are stored under videos directory in my site. I want to put them in my videoview.aspx page. Now can anyone please help in saying how to put videos in videoview.aspx page. Just I want the code to put .flv vid...

jQuery replacement for Default Button or Link

As everyone knows, that default button doesn't work in FF, only IE. I've tried to put in the tag or in the and it's not working. I've found a js script to fix this issue, but for some reason it's not working for me. This script for a submit button, i need to use it for a LinkButton, which is should be the same. Link: <div id="pnl">...

I'm having troubles trying to retrieve the DataTextField from an asp:ButtonField within a GridView from an OnRowCommand method...

I'm trying to retrieve the DataTextField (The auto inputted CompanyName) so I can know which button/row was clicked. Here's my Gridview <asp:GridView ID="VendorsGridView" runat="server" AllowPaging="True" AutoGenerateColumns="False" DataSourceID="ObjectDataSource_Vendors" DataKeyNames="ID,ModuleId" CellPadding="4" OnR...

Broken ASP.Net Login Control

Help! I'm using the ASP.Net Login control on a Login page, but the Login button no longer appears to be working and the Authenticate event is not firing. On clicking Log In, the page just returns to the Login page. web.config extract <authorization> <deny users="?" /> <allow users="*" /> </authorization> <authentication mode="Forms...

article about number of connected users?

Several months (maybe even a year or two) ago, I saw an asp .net article that showed how to tell how many people were connected to a running web application. Of course I only glanced over the article & didn't save it. Does anyone remember seeing the article or know where I can find it or perhaps something like it? I have searched Google ...

Embed Web Widget(?) in Web Page

We have customers that create small intranet applications on servers we provide them. The servers also house various (windows/.net based) systems we have created. We need to provide our customers a "one-liner" piece of code that will allow them to embed functionality into their web pages. Similar to how Google Ads works when they ar...

Reliable way to sniff XMLHttpRequest (browser sniffing for AJAX requests) in ASP.NET?

I want to add an additional roadblock in my application to prevent automating it via javascript, specifically when the automated requests are being done via XMLHttpRequest from any of the popular browsers. Is there a reliable tell-tale sign of a XMLHttpRequest that I can use in ASP.NET? And I guess the other related question is, is it ...

Using JQuery to set 'dirty' elements back to original values.

Hi, I have a Javascript object that basically represents a Row in an .NET GridView. When a user clicks on any row in the grid, all the input elements in that row are 'enabled'.(ie 'Edit' mode). I run this code depending on which row is selected $(":input", this._row).attr('disabled', true); or $(":input", this._row).removeAttr('disab...

Free API for Parsing US Postal Addresses?

I'd like to use an API to parse US Postal addresses input into an ASP.NET application. I will store the input address, no matter how it's input, then attempt to parse and verify with the user. Does Google, Microsoft or Yahoo have such functionality in their APIs? If so, what is your experience with the various APIs? ...

Is ajax breaking my javascript objects?

I have a page that does ASP.NET ajax postbacks using UpdatePanels. In some javascript, I set up some objects in the window.onload event, which works great. When I do a postback though, it seems like my objects are messed up. One object which was receiving events from a table, is no longer receiving the events. I also had a case where...

How I can get Unix files using ASP.NET?

Team, I started working with Microsoft .NET 3.5. then I have to obtain and show two Unix files in my project. please do you have any how do it? ...

ASP .NET - Configure SQLDataSource to use MySQL .NET Connector

I am using VS 2008. Looking around on the forums/stack hasn't provided a clear answer on how to use MySQL with a ASP .NET site. How do I configure a SQLDataSource to use MySQL by using the MySQL Connector NET provider? I would prefer not to use the ODBC driver - which I can get working. The connector has been added as a reference t...

How to "temporarily" store images on web server per session in ASP.NET and C#

Hey Guys, I've been looking around for quite a while and feel that I have a particularly unique situation. I am generating an image from a 3rd party program (which I embedded into my C# app) which is saved to the file system on my web server. Do you know of any efficient ways to dispose of these images after a particular session is...

How do I get the values of the controls in the first row of a listview in c# aspnet?

I can get the the first row in a ListView item in c# aspnet 3.5 by: ListViewDataItem theFirstItem = ListView1.Items[0]; But then how do I get the get the value of the item's CommandArgument ( an int) < %# Eval("PKey") %> in the aspx. Or get the contents of < asp:Label ID="lblStatus" runat="server" Text= '<%# Eval("Status") %>...

Browse to a file directory and display its files in a listview

Hello fellow coders. Would anyone offer tips, links, code snippets on how to browse to a file folder from within an ASP.NET 3.5 web application and list the folder contents within a ListView? Regards, Rey R. [neophyte web application developer] ...

VS ASP.NET 500 Server Error

Hey guys, I'm having a super weird problem with my VS 2008 solution. We had this hand-coded ASP.NET compiled web app on our old IIS6/Win2003 server, working great, moved it to our new IIS7/Win2008 server, still working great, but when I try to compile the application and publish it again to our new Win2008 server, I get server 500 errors...

I've built a ascx control and I would like to be able to keep adding them using Javascript instead of having to do a full call back

I've built a ascx control and I would like to be able to keep adding new instances of it using JavaScript instead of having to do a AJAX callback. Is this possible? I am basically building a web form for a query control and should clause X be filled in, I want to generate a control for the next clause below. I would like to learn how to ...