Psst! Did you know DevelopmentNow is a mobile web site design agency?

Contact us for help mobilizing your site, or to sign up for our beta Mobile Web SDK!


Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008


all groups > asp.net > july 2004

Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

ASP.NET Popups
Posted by jack at 7/31/2004 9:31:12 PM
Hello, I am tring to use a Popup to open a texteditor and then press a save button on the popup window and have the text go back to parent windows in a textbox. I have seen calender popups that do this, but can't find how to convert them. Thanks for any help, Jack ...more >>

Question for discussion on asp.net and patterns and framework
Posted by William Gower at 7/31/2004 9:06:58 PM
The DataAccessLayer retrieves a customer record from a table in the database. It passes the customer object back to the business object which passes it back to the controller. The web form has fields that show all the attributes of the customer object. How should the fields on the web form ge...more >>

how to place web user control
Posted by Joe Au at 7/31/2004 6:58:17 PM
How to place the web user controls on the web form freely the location I want? Especially, if I get more than one web user controls. Thanks. Joe. ...more >>

how to display datatable columns as rows in datagrid?
Posted by Bob at 7/31/2004 6:03:58 PM
I have a User table that stores user info (such as first name, last name, address etc) in columns, that is, one user per row. However, when displaying out for editing one user, I'd like it to be displayed in two columns, field names as labels in the left column and field values in textboxes in ...more >>

Format a Date from a DataBinder.Eval
Posted by jack at 7/31/2004 4:48:24 PM
Hello, I have a date in a SQL Database and want to use the dateformat tools to format the output. I am now using the Month, Day, and Year to do it now. I want to change: Released Date: <%#Month(DataBinder.Eval(Container.DataItem, "ProdDate")) & "/" & Day(DataBinder.Eval(Container.Dat...more >>

StoredProcedure -> Value from the Application
Posted by Viktor Popov at 7/31/2004 4:34:20 PM
Hi, I use ASP.NET/C#/MS SQL and I'm trying to do the following but I find it very hard! I have Stored Procedure which saves data from the Application into DataBase. One of its parameters is @Rooms INT. When A user insert in the WebForm a value everything is allright because I do this: cmd....more >>

IHttpHandler, IHttpModules, and cleaning up after File Uploading...
Posted by Sky Sigal at 7/31/2004 2:56:05 PM
I have created an IHttpHandler that waits for uploads as attachments for a webmail interface, and saves it to a directory that is defined in config.xml. My question is the following: assuming that this is suppossed to end up as a component for others to use, and therefore I do NOT have access...more >>

How to read a text file in the website?
Posted by who be dat? at 7/31/2004 1:34:54 PM
I feel stupid for asking this but I can't figure this out. I've got some text files I want my website to read. The text files are located in a subdirectory of my application. Physically, the files are located on drive C: in directory starting with InetPub/myapplication/directrory/files . Thin...more >>



Object Error
Posted by Chris at 7/31/2004 1:31:02 PM
I've read through the prevoius posts and coudln't find an answer. I'm getting a "Object reference not set to an instance of an object." and can't figure out why. My pageload sub is check for login = true, then cookie to login, then bounce to login page. So I find if the user isn't logged in and ther...more >>

Caching Question
Posted by Mark Whitton at 7/31/2004 12:17:17 PM
Hi, I am developing using ASP.Net using SQL Server and also have several layers in between, eventually producing a custom business object that is used to populate the web form. I don't use datasets because of performance issues and also they just aren't proper business entities. When it comes...more >>

Page_INIT and Page_Load What are they the same?
Posted by jack at 7/31/2004 12:03:36 PM
Hello, How should I use Page_init and Page_load with making ASP.NET Apps? Thanks, Jack ...more >>

Syntax error in insert statement
Posted by eric dugal at 7/31/2004 11:41:20 AM
Hi all!! I need your help.... i'm working since 2 hours on a simple insert statement, but couldn't handle it. Here is my code : public int ExecQuery(string SqlString) { OleDbConnection oCoon = new OleDbConnection(connectionString); oCoon.Open(); OleDbCommand cmd3 ...more >>

how to get the html code from the iframe in client
Posted by chenhuawei at 7/31/2004 9:04:45 AM
Hi everybody I want to use iframe to include other website page and get a table (html code) inside the include page code .I don't know how to do in the client ,thank you for any help. ...more >>

Flawed logic
Posted by bstoddart at 7/31/2004 8:55:02 AM
I've been working on a project for the last week and I can't seem to get it working. It's supposed to be finished within the next few days so a speedy reply would be appriciated. Anyways, it seems that my program goes into some sort of endless loop that I can't find, as when I click a link to get to...more >>

smart navigation causing java script error
Posted by David at 7/31/2004 8:04:45 AM
The page whose smart navigation property is set to true shows a javacript error when a button that posts back to the same page is pressed. Line:27 Char: 9 Error: Object doesn't support this property or method Code: 0 It is doing it only on my development machine. Once deployed to the targ...more >>

Design question: frames
Posted by Jeff Johnson at 7/31/2004 12:18:40 AM
Are frames passé? Are they sooooo 90's? Or is it still perfectly acceptable to use them? If not, how would you handle a classic banner/navbar/content layout without them, especially if you want the content to be scrollable but not the banner or navbar? ...more >>

<INPUT type="file" runat="server" - attach to email
Posted by SibAndela at 7/30/2004 11:51:02 PM
Is there a way that I can attach the uploaded file from a client web site to the web server without first storing the uploaded file on the server? Currently on my local PC (local host) the following code works but not when I run the app from a web server it fails: private void StoreFile(HttpPo...more >>

Disconected Dataset & dataTable
Posted by Wance at 7/30/2004 10:45:01 PM
Hi everybody, I have datatable and stored in dataset. The dataset Never connect to datasource before. How can I move mydata in dataset into the table in data souce? For instance my table say it Temp_table have fields EmpID, Name and age and my Table in datasource, say it Origin_Table have t...more >>

Unable to start debugging on the web server
Posted by usamedb208 at 7/30/2004 10:38:43 PM
Hi. I have two versions of visual studio. One of them is 2002 enterprise edition , another is 2003 Pro evaluation version. I 'm able to debug using version 2002 and can't do that usin version 2003. Any ideas how to fix this problem without uninstalling 2002? Thanks in advance. --- Ou...more >>

How to upload file > 4GB on web server from ASP.NET
Posted by DotNetJunkies User at 7/30/2004 10:37:15 PM
The HTMLInputFile control works fine up to 25 MB with changing MaxRequestLen in web.config but didn't work for greater size of the file..does anybody have the idea how to do that.?? --- Posted using Wimdows.net NntpNews Component - Post Made from http://www.DotNetJunkies.com/newsgroups Our ne...more >>

replacing CR with <BR>
Posted by Saber at 7/30/2004 8:35:17 PM
I'm using a multiline textbox as a simple editro. I want to change all CRs in textbox with <BR>, Is there a way better than using For loops and replace CR with <BR> one by one? ...more >>

any caching experts please?
Posted by suzy at 7/30/2004 8:10:35 PM
hi, i know that when i browse to a website for the 1st time the code gets compiled into a dll and is cached. but this dll gets removed from cache after a period of inactivity, right? someone told me it is possible to control the length of time the dll is cached in the web.config file? i...more >>

HTTP Modules and global.asax
Posted by Norton at 7/30/2004 7:56:34 PM
I understand how to create HTTP modules that can be used to add functionality to a website but there are a few things I don't understand. If I create an HTTP Module and I want it to intercept a call to AuthenticateRequest, I know that in my init function for my HTTP module, I can add a hand...more >>

How do I populate td tags from code behind
Posted by benmatt_1999 NO[at]SPAM yahoo.com at 7/30/2004 7:48:24 PM
I am converting an ASP page that used iframes for dynamic content to populate td tags in an html table. The parent page called the iframe page and then populates a parent table via Javascript (window.parent.....) In asp.net, since I am on the server (code behind page), short of using a datag...more >>

Help converting from ASP to ASP.NET and turning components on
Posted by Wayfarer at 7/30/2004 7:38:57 PM
XP Pro w/SP1 IIS 5.1 Microsoft.NET Framework 1.1.4322 Two things: -- 1. I'm currently converting from ASP to ASP.NET. I used Microsquash's Migration Assistant and, after trying to run the app on my home computer, I get the following error message. Obviously, it can't find System.FileS...more >>

C# Ascx in VB.net Web App
Posted by George Durzi at 7/30/2004 6:48:52 PM
So I'm working on a VB.NET web application, and I'd like to build a user control in C# and use it within my VB .NET web app. What kind of project do I need to create that user control in. Are they any examples of how I would "reference" that user control in my project? Thank You ...more >>

Intermittent failure to read registry key in ASP.NET application...
Posted by akhare1 NO[at]SPAM my-deja.com at 7/30/2004 4:37:42 PM
OK, before I start, let me clarify a few things here. This is not the run of the mill failure to read a registry key while trying to write to the Event Log. Here's our setup: a) IIS 6.0 server w/ SharePoint installed b) ASP.NET application w/ NTLM authentication running under an account (a...more >>

DataGrid Footer
Posted by Alexandre Soares at 7/30/2004 4:33:14 PM
Is it possible to access the footer item in the render method of a datagrid? So far, I can only find the FooterText of each column using the columns collection, but that doesn't allow me to find out how many cells are contained in the Footer item. Thanks in advance for any hints! ...more >>

Dynamically Created DataGrid's Cancel/Update Button Not firing
Posted by Lucas Tam at 7/30/2004 4:25:55 PM
Hi all, I have dyanmically created a datagrid and the cancel/update buttons do not fire. All buttons are "edit". Also, it seems the item indexes are off as well. Does anyone have a tutorial on how to build a dyanmic datagrid and bind the events properly? -- Lucas Tam (REMOVEnnt...more >>

How to create on/off rolloverimage button with non-image text
Posted by strout at 7/30/2004 4:17:01 PM
It's a pain to create each button with 2 images: button_on.gif button_off.gif I am looking for a control that have on/off two states, preferred as BACKGROUND images and with button text on it. Any hint?...more >>

Server-side validation and mozilla
Posted by Frédéric Mayot at 7/30/2004 4:13:37 PM
Hi, I have some VS.NET 2003 validators in a page. When I use IE, OK. With Mozilla, as it's supposed to behave, the validation doesn't occur on the client-side. The problem is the server-side validation doesn't work (Page.IsValid is true in the validation button event handler) ? Fred ...more >>

Caching Unique Values For Update
Posted by Mark Whitton at 7/30/2004 4:05:19 PM
Hi, I am developing using ASP.Net using SQL Server and also have several layers in between, eventually producing a custom business object that is used to populate the web form. I don't use datasets because of performance issues and also they just aren't proper business entities. When it comes...more >>

Re: IIS caching output of pages
Posted by Nick Gilbert at 7/30/2004 3:54:04 PM
I'm still struggling with IIS caching pages when they've been modified: http://support.microsoft.com/default.aspx?scid=kb;en-us;832139 Is there any way I can get this hotfix? I don't see why I should spend £80 to get a hotfix for something which MS has acknowledged as a bug in a knowledge ...more >>

Catching events from ctls programatically added to a web asp:table
Posted by stb at 7/30/2004 3:52:19 PM
I have an empty asp:table on a form. Rows and cells in the rows are added programatically. At the end of each row, there is a cell with a button inside it. How do I catch the button's click event? dim dr as sqlDataReader Dim tempCell As TableCell dr=........ While dr.Read Dim tempR...more >>

Custom Errorpage
Posted by Lars Netzel at 7/30/2004 3:35:38 PM
Hey! I use a custom error page in my solution, ErrorPage.aspx. Which I have styled so it goes well with the rest of the appliction... it's currently all static... Is there anyway in that page to actually access the error messages and infroamtion given by the IIS? To at least give the user f...more >>

Problem with Controls...
Posted by Raphaël Désalbres at 7/30/2004 3:35:08 PM
Hello, everybody, I'm having a problem creating a control...All I want to do is a simple poll system, so I need to input (trough a ListitemCollection) the values from the user. The problem is I'm getting an error each time I try to modify the elements, I don't know why.... If anyone can ...more >>

DataView RowFilter
Posted by Ryan Moore at 7/30/2004 3:18:01 PM
I have a dataset (called adset) which has a column called "Large" which is either an integer 0 or 1. I am creating 2 dataviews, one which should display the 1's and one which should display the 0's using the following code: DataView largeview = new DataView(); largeview.RowFilter = "Large=1...more >>

using email template asp.net
Posted by gdc at 7/30/2004 2:41:12 PM
Hi, I want to create a custamizable e-mail template which will contain place holders to fill the data from teh database and i want to use these templates to send mails. How do i create these templates?. How do i use the templaes to send mails in asp.net? thanks gdc ...more >>

handling events inside a userControl
Posted by Xaviero at 7/30/2004 2:09:01 PM
I have a webform that contains a placeholder control that is filled with various usercontrols. I have an error/info message label on the webform (for interface clenliness). Sometimes the the usercontrol has to populate the message label on the webform. How can I have the webfrom respond to this ty...more >>

ASP.NET/C# question
Posted by Viktor Popov at 7/30/2004 1:57:15 PM
Hi, I'd like to ask you for using session. Let's say that we have StartWebForm. A user who has opened it want to Search the site and he/she click on the link Search.But he/she is not logged on, so LogInWebPage is openning. After he/she input his/her username and password and they are correct, h...more >>

Update 2 different Tables from one record?
Posted by gthompson at 7/30/2004 1:41:01 PM
Is this possible: Read fields(rows/columns) from one sql database table (TableA). Then edit/update the same 'field' in TableA; and in TableB edit/update a different field - all at the same time? This is the current situation in an Access Form using Sql for the backend. We would like to conve...more >>

Why am I getting this error?
Posted by William Gower at 7/30/2004 1:32:52 PM
I am trying to display a page that has a data grid on it. I get this message Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Parse...more >>

Access to the path "C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\test\c40279d3\f7471ca7" is denied.
Posted by James at 7/30/2004 12:55:03 PM
I am still having permission problems, but it has changed from a blanked 'Access Denied' error to this. I have ensured ASPNET user has 'full control' of the Temporary ASP.NET Files folder. However, there are no folders within this folder, so to me it looks more like the files are missing ra...more >>

Newbie to XML
Posted by Sorin Sandu at 7/30/2004 12:49:15 PM
It's my first time when I use XML and it's not working. I have the following code. WindowsIdentity MyIdentity = WindowsIdentity.GetCurrent(); string IdentName = MyIdentity.Name; string suser = IdentName.ToString().Substring(4); XmlTextReader reader = null; reader = new XmlTextReader("f:\\int...more >>

Getting username
Posted by Vik at 7/30/2004 12:21:11 PM
An ASP.NET page uses Windows authentication method for the user log in. How can get the username by code in this page? Thanks. ...more >>

table field names vs. display names
Posted by Bob at 7/30/2004 11:59:13 AM
When displaying data from the database, very often the field names are not suitable so custom headings have to be created, For example, the column storing zip code may be named zip, but when displayed, it may need to be displayed as "Zip", "Postal Code", "Zip/Postal Code" etc. DataGrid/DataList...more >>

How can I edit image...
Posted by Ather Ali Shaikh at 7/30/2004 11:57:12 AM
Hi all, How can I edit an Image opened in the browsers and saves it with a new name. The scenario is that I received an email having some attached documents in the image format. I read that document but there is some problem in the scanning or overwriting. So, I need to mark that place w...more >>

Question on AppDomain
Posted by A at 7/30/2004 11:43:20 AM
Hi all, Since Asp.net creates a distinct application domain for each application it hosts in its worker process does that mean that each request is processed through that application space until the last request at which time a new application domain is created? In other words, do all session...more >>

server equivalent
Posted by TJS at 7/30/2004 11:36:14 AM
is there a server side equivalent to this ?? Inherits System.Windows.Forms.Button ...more >>

aspnet_wp.exe
Posted by Vai2000 at 7/30/2004 11:11:27 AM
Hi All, I am just baffled up with the Memory Usage of the ASP.NET worker Process.. On the servers its almost 500MB..... also I am unable to kill this process.... :( How do I resolve this? I am doing output cache on one of the pages.... TIA ...more >>


DevelopmentNow Blog