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


all groups > asp.net > june 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

Code Autoformatting
Posted by GD at 6/30/2004 10:39:44 PM
Problem: HTML Code reformats even though I have turned it off in "Options" Using .NET 1.1, in Options under Text Editor - HTML/XML - Format there are two options Apply Automatic Formatting When saving document When switching from design to HTML/XML view I have turned off both opt...more >>

WebForm DataGrid Resizing using Mouse
Posted by John Paul. A (MCP ID# 3015176) at 6/30/2004 10:12:02 PM
Hi, In a ASP.NET page I have a DataGrid Control populated with some data. I want to resize the DataGrid columns using mouse. That is, when I move the cursor to the edge of a column, the cursor must change to "Size WE" cursor. So that I can drag the column to my preferred size. Can any one he...more >>

Absolute Products the Best for ASP!
Posted by DavidM at 6/30/2004 10:11:54 PM
Hello all -- I recently stumbled across a great company with wonderful products for easy integration within ASP pages. I've even created a community forum to support the products on my site. Please feel free to visit. http://www.micro-mess.com/forum/index.php?c=9 http://www.xigla.com T...more >>

Benefits App
Posted by Simon Harris at 6/30/2004 9:20:34 PM
Hi All, I recently attended a training course - MS Course 2310B - "Developing Microsoft ASP.Net Web Applications Using Visual Studio.Net" I am now trying to following through the course book, in prep for an exam. Just wondering if anyone can help me out setting up the examples etc. Spec...more >>

Asp Script
Posted by WStoreyII at 6/30/2004 8:30:26 PM
Hello, I am making a webpage and the only thing that i really wish to use the asp for is to set up a way to save changes made to my xml for instance add a new transaction node to a ledger what is the best way of doing this . As the rest of this page will be made using html so should i just se...more >>

Read EML with ASP.NET
Posted by Franco FigĂșn at 6/30/2004 7:53:57 PM
It's possible read a EML files with asp.net? Wich namespace i have to use? Thanls -- FF www.francofigun.com.ar www.microsofties.com.ar MSN: francofigun@hotmail.com UIN: 314408886 Yahoo MSN: frankofm@yahoo.com.ar ...more >>

ASP .NET website deployment
Posted by Roberto at 6/30/2004 7:40:01 PM
Hi All, I build an ASP .NET web site using VB.NET the website works perfect in my computer. Now I am ready to deploy on my customers server, and I already did that. I copied all the files inside my virtual directory and copy them to the wwwroot of my customers server. When I open the IE...more >>

How can I completly disable ViewState?
Posted by Stan at 6/30/2004 5:55:47 PM
Dispite the fact that ViewState="false" at the page level, and all controls have viewstate disabled, ViewState is still on the page (<input type="hidden" name="__VIEWSTATE" value="..." /> Why is that? -Stan ...more >>



complex data structure in httpcookie
Posted by Waqqas Farooq at 6/30/2004 5:38:10 PM
Can I add more than 1 values in a cookie? e.g if i create a httpcookie then the syntax would be like this: Dim myCookie as new HttpCookie("myCookieName") myCookie.Value = "myval1" Response.Add(myCookie) Now if i want to add more than 1 values in the cookie then how can I do that? ...more >>

Any elegant solution for managing upload file size?
Posted by heybrakywacky NO[at]SPAM hotmail.com at 6/30/2004 5:37:05 PM
Hello, I have an ASP.NET webpage that uses an instance of System.Web.UI.HtmlControls.HtmlInputFile for uploading files to our server. I came across the documentation at MSDN for upping the filesize limit, once I saw the behavior of the page bombing with files bigger than 4 MB. So far so goo...more >>

server updateing data already on the client
Posted by Jake at 6/30/2004 5:15:21 PM
Hi I would like that when data is updated in a database on the sever taht all instance of that data already being viewed on aspx pages by clients be updated. Is this acheiveble with an activeX control on the page that listens for information from the server? I dont want to have to use...more >>

Can someone convert this code to VB.Net for me ?
Posted by Harry Hudini at 6/30/2004 5:04:06 PM
Hi, I need to run exactly this code in an asp.net file when someone uploads an image, but i dont know C# and im having real issues converting it. If anyone can, could you convert it to VB.net for me to use ? Loads of karma in it for you :) <%@ Import Namespace="System.Collections" %> <...more >>

Visual Studio Remote Debugging:
Posted by spamtrap NO[at]SPAM online.nospam at 6/30/2004 4:47:15 PM
I cannot for the life of me get remove debugging to work. I continue to receive "Error while trying to run project: Unable to start debugging on the web server. Access is denied. Verify that you are an administrator or member of the Debugger Users". I have followed (ms-help://MS.VSCC.2003/M...more >>

Single email to multiple recipients
Posted by .Net Newbie at 6/30/2004 4:41:50 PM
Hello, I am currently coding my ASP.Net pages in c# and have run into a question concerning Emails. I have four objects on a page (six including 2 buttons). The first is a subject line (textbox) , the next is the email body (a Textbox with multiple rows), an email address (textbox), and a Dro...more >>

listbox and sql stored procedure
Posted by John at 6/30/2004 4:30:16 PM
Hi, First of all sorry for my not perfect english. I've got listbox in my .aspx page where the users can make multiple selection. So, Users can select 7 items in listbox, I have to take value from items and pass it to stored procedure to delete 7 rolls in my table. Thats simple, but what if...more >>

can't load OCI.DLL
Posted by news.microsoft.com at 6/30/2004 4:20:47 PM
Hello, Another issue has risen after installing Visual Studio 2005. When I use OracleClient with ASP.NET v1.1 I receive an error stating it can't load OCI.DLL. This has never been a issue before so I assume that it is a result of the new version of VS. Doe's anyone know a fix for this prob...more >>

Discover User's Screen Resolution
Posted by Guadala Harry at 6/30/2004 4:13:14 PM
Is this even possible?... to somehow discover the current screen resolution of a user (1024X768, 800X600, or whatever). If so, how? Thanks! ...more >>

Accessing showModalDialog argument on server side
Posted by iamsoneat NO[at]SPAM yahoo.com at 6/30/2004 4:03:44 PM
The showModalDialog has an argument parameter that will allow the modaldialog to access it through the client side property: dialogArguments. Is there any way to access this property on the server-side? I currently do nothing if IsPostBack is false and then on the client-side during the onl...more >>

validator SPANS have visibility:hidden. ARGH!
Posted by darrel at 6/30/2004 3:35:54 PM
I'm using some validators for a form. I'm noticing that it writes the text out to the browser as a SPAN with it's visibility set to none. The problem is that it still takes up space, so I have gigantic gaps in my form. It SHOULD be set to display: none instead. Is this a setting in the control...more >>

ASP.NET Debug failure
Posted by news.microsoft.com at 6/30/2004 2:58:32 PM
Hello, I installed all the Visual Studio Express IDE's and SQL Express yesturday and they run with no errors. With that said I can't debug web applications in VS2003. Has anyone else had this problem and what can I do to fix it? Error-- Error while trying to run project: Unable to start ...more >>

Booking puzzle....
Posted by bredal Jensen at 6/30/2004 2:57:19 PM
Hello gurus, I'm building a small booking system and i have come accross quiet a tedious pitfall. "I need to make sure that people do not book for tomorrow when todays time is greater or equal to 11." Well some of you probably allready know the answer but this is not so obvious for ...more >>

Forms Authentication and recycling web.config
Posted by DotNetGruven at 6/30/2004 2:46:08 PM
Hi, I'm noticing that if web.config is changed, the web app is restarted = and all Sessions are restarted as expected, but with Web Form = authentication, it seems like the user is still authenticated. This = allows the user to keep on trucking, but without any session state. Addin...more >>

ASP.Net DropDownList
Posted by ken at 6/30/2004 2:21:36 PM
I have a row of DropDowns within an HTML table that must have a fixed size or else there will be horizontal scrolling. Within the fixed size table the display text ListItems in the DropDowns are cut off. Is there any way, when a user selects the drop down to allow the user to see the e...more >>

RadioButtonList is a table? Why? Can I change that?
Posted by darrel at 6/30/2004 2:04:07 PM
I'm using a RadioButtonList so I can easily bind some data to it. This works nicely. However, the HTML it spits out is a TABLE. I can't figure out why I need a table for a simple radio button list. Is there a way to make it NOT be a table? Or do I need to do this with a custom repeater control...more >>

Compiler Error BC30456: 'DataItem' is not a member of 'System.Web.UI.Control' ?
Posted by Zenobia at 6/30/2004 1:38:14 PM
How do I bind an array, arrayList or even a stack to a repeater containing hyperlinks. The data structure (array, arrayList or even a stack) has dates in ISO format "YYYY-MM-DD". The repeated hyperlinks will be displayed, for example, in this form: <a href='default.aspx?arc=2004-06-29'>2004...more >>

SQL Server "CURRENT_USER" and "user_name()"
Posted by Jim Moon at 6/30/2004 12:40:28 PM
Hello. We have SQL Server Stored Procedures that use the "CURRENT_USER" variable. We have SQL Server database fields that call "user_name()" as a default. That has been fine in the use and storage of user names, in the context of being called from IIS 5 and 6, from ASP 3.0 using ADODB. I'll...more >>

META HTTP-EQUIV="Refresh"
Posted by mg at 6/30/2004 12:39:02 PM
Is there a way to replace the URL value below, on the fly? <META HTTP-EQUIV="Refresh" CONTENT="3;URL=http://www.some.org/some.html">...more >>

Help with repeater and datagrid
Posted by News at 6/30/2004 12:37:02 PM
Hi I need help to display and edit data in a data grid within a repeater. The code is below: Sub dgrdEvents_EditCommand(sender As Object, e As DataGridCommandEventArgs) dgrdEvents.EditItemIndex = e.Item.ItemIndex BuildList() End Sub <asp:Repeater ID="rptEvents" RunAt="serve...more >>

How to Get a New Session ID
Posted by jamie.pompu NO[at]SPAM bell.ca at 6/30/2004 12:29:08 PM
Hello, We are opening Web Forms via a workflow system that our company has purchased from an outside vendor. Our problem is when opening multiple pages from the workflow system for the same Web Project (under the same virtual directory). Each time a page or new browser is opened via the workf...more >>

Help! SQLTransaction and Identity(?) column in SQL Server 2K
Posted by .Net Newbie at 6/30/2004 12:10:51 PM
Hello, I am somewhat new to .Net and currently working on an intranet site using C# going against SQL Server 2k. I am accepting personal information on a single webform and trying to insert the information into three separate tables (all in a single aspx page -- without using stored procedure...more >>

Adding a page break between items in a ASP.NET datalist output
Posted by Barbara Alderton at 6/30/2004 12:07:01 PM
I recently wrote an ASP.NET app that used user controls. I produced a printer-friendly output form. One requirement was a pagebreak between one part of the form and another. I had no problem adding the style definition below in the <hr> tag (line tag) which was the last item in the page before th...more >>

Inserting Records from another table
Posted by Bijoy Naick at 6/30/2004 11:31:17 AM
I need to be able issue a query, then insert each record in the reader into another table. But, when I issue the myCommand.ExecuteNonQuery call, I get an error telling me that a reader is already open and must be closed.. How do i go about doing this? *** Sent via Devdex http://www.devdex...more >>

Running query on web datset
Posted by John at 6/30/2004 11:25:07 AM
Hi Is it possible to do run a select query on a dataset from a web method using a dataadapter? A code example would be great. If not, how can we grab hold of the remote dataset data in a local table? Thanks Regards ...more >>

loss of session when using mode=stateserver
Posted by Seth Broomer at 6/30/2004 11:19:45 AM
I am losing my session state for some reason randomly and i don't know why i store just simple things like an id for the user, and their username, etc. maybe 10 items per user it happens about every 5 min. in my web.config file i have <sessionstate mode="StateServer" stateConnectionString="...more >>

SQL SERVER TIMEOUT PROBLEM
Posted by Mustafa Yesilkaya at 6/30/2004 11:13:22 AM
Hi. I have a problem with sql server. I have thousands of record in a database table. When i want to list all with SELECT * command in asp.net page, an error message comes : SQL SERVER TIMEOUT. But when i list with SELECT CITY command there is no error message but the process is very slow. ...more >>

SQL SERVER TIMEOUT PROBLEM
Posted by Mustafa Yesilkaya at 6/30/2004 11:12:40 AM
Hi. I have a problem with sql server. I have thousands of record in a database table. When i want to list all with SELECT * command in asp.net page, an error message comes : SQL SERVER TIMEOUT. But when i list with SELECT CITY command there is no error message but the process is very slow. ...more >>

List of active sessions?
Posted by Marcio Kleemann at 6/30/2004 10:49:16 AM
Is there a way to get a list of the session id's for all currently active sessions for the application? Thanks ...more >>

(classical ASP question) Order a xml
Posted by Eduardo Rosa at 6/30/2004 10:44:58 AM
I have a field type date in xml, loading with Microsoft.XMLDOM, how can I order by date? xml code: <Root> <Fields> <Field Id="456955" Date="01/05/1956" /> <Field Id="159753" Date="21/06/1972" /> <Field Id="769513" Date="14/07/1932" /> </F...more >>

Custom Validator in a Datalist
Posted by Richard Payne at 6/30/2004 10:34:17 AM
Hi This is probably a newbie question but I can't seem to find a clear answer to the problem I have. I have created a Custom Validator control on my webform that works fine, but when I put the control in to the header section of my datalist it doesn't work, the ServerValidate event doesn't ...more >>

Source safe?
Posted by Darren Clark at 6/30/2004 10:06:14 AM
HOw do i get source safe working with .net? I have source safe the server setup on our server... however on my machine when i go File > Source Control > All options are always greyed out. do i have to install the source safe client on my machine? i thought visual studio .net woudl at the ...more >>

Title in forms drawn by showModalDialog
Posted by Jim Brandley at 6/30/2004 10:00:44 AM
I have a base aspx page that is used to dynamically generate many different forms using showModalDialog. I cannot set the title using javascript due to a bug (KB 263033). Is there a way to set the title in the code-behind before or as the page is rendered? Thanks in advance for your help. J...more >>

How do i setup a virtual directory for VS2003
Posted by Danny Ni at 6/30/2004 9:41:21 AM
Hi, I downloaded a C# project from Internet and unzipped the project to a directory in my local machine, in IIS console I setp up a virtual directory, the project seems to work fine because I can use IE to browse the ASPX pages. But when I tried to use VS2003 to connect to this project by "...more >>

Looking for a good book
Posted by Christoph at 6/30/2004 9:35:52 AM
I was browsing both the Amazon and Barnes & Noble websites looking for some good books but there appears to be *so* many and it's hard to tell which are going to be good or not. I'm looking for one or two *good* books on the subjects of ASP.NET and ADO.NET together. E.g., using ASP.NET on the...more >>

ASP.Net server too busy on Windows 2003/IIS6
Posted by Raymond at 6/30/2004 9:35:44 AM
Dear all, We ran into very strange situation recently with our ASP.Net applications running on Windows 2003 servers. After running for a couple of days, the .Net application begin to reject request and the client saw "Server too busy" exception in .Net. There was no error recorded in a...more >>

Class Library reading Web.Config Settings?
Posted by Tony Jones at 6/30/2004 9:02:34 AM
Is it possible for me to create a class library DLL and have it read it's configuration settings from the web.config of the ASP.NET application referencing it? IE - if I call ConfigurationSettings.GetConfig("somesection") in one of the base class dll methods, will it/can it return the settings...more >>

CSS Button Rollover Effects
Posted by Blake at 6/30/2004 8:21:01 AM
Can someone point me to a good article or online tutorial or sample app that explains how to create rollover effects *without* using JavaScript to swap out images? Thanks! ...more >>

Newbie needs a tutorial on reading and writing to nodes in an XML file
Posted by David Hearn at 6/30/2004 7:59:07 AM
I have an ASP.NET app that I am writing using VB.NET and I want to use an XML file to store configuration settings in sort of like the way I used to use an .INI file for in Windows apps. When the user opens a page, it needs to go read certain settings out of the file and fill textboxes and oth...more >>

Format how a field is displayed in grid
Posted by Poppy at 6/30/2004 7:29:34 AM
In my code behind I add a coloumn to a datgrid : [CODE]lBlockUsedUp.DataField = "BlockUsedUp"[/CODE] [CODE]lBlockUsedUp.HeaderText = "Blocks Used Up"[/CODE] [CODE]lBlockUsedUp.ItemStyle.Width = New Unit(300)[/CODE] [CODE] dgBiopsyLocation.Columns.Add(lBlockUsedUp)[/CODE] I then ...more >>

Programmatically turn off custom errors for current request
Posted by Matt.Caton NO[at]SPAM BTInternet.com at 6/30/2004 5:36:11 AM
Hello all, The app we are working on uses custom errors extensively to provide friendly error pages to users whilst logging the actual exceptions behind the scenes. However.... We are now having to integrate some Web services into the application using the existing architecture. These Web s...more >>

DropDownList not showing data
Posted by Darren at 6/30/2004 5:14:37 AM
hi i have got a dropdownlist in a templatecolumn and I am trying to load it with values. this is the code in the testGrid_EditCommand function testGrid.EditItemIndex = e.Item.ItemIndex; DropDownList list = (DropDownList).Item.FindControl("employees"); // The dropdownlist is...more >>


DevelopmentNow Blog