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 > february 2005

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

Object Moved to here
Posted by Ganesh Ramamurthy at 2/28/2005 11:45:03 PM
Hi Experts, I am getting the following error when I do a Response.Redirect from an aspx page to another aspx page. I am using the following code in my global.asax Application_Error event to redirect to an error page. Session["Error"] = Server.GetLastError(); Response.Redirect("Err...more >>


Using SQL TimeStamps in datagrid
Posted by Craig G at 2/28/2005 10:23:30 PM
im not too sure how i should be storing the SQL2000 timestamps basically i return a dataset which is used to populate an editable grid. this dataset contains the timestamp. how should i be storing the timestamps for each grid row? is it possible to hold them in the grid in someway? or do i nee...more >>

Height of checklistbox
Posted by Vikram at 2/28/2005 10:22:33 PM
I want to fix the height of checklistbox control so that when items exceed the height, than vertical scrollbar should be displayed....more >>

using VS.NET ASP1.1 and Visual Web Developer ASP2.0 on the same PC
Posted by Patrick Olurotimi Ige at 2/28/2005 10:22:19 PM
I have ASP.NET 1.1 (VS.NET 2003) But i'm thinking of installing Visual Web Developer which i think it comes with ASP 2.0. If i install both VS.NET 2003 and Visual Web Developer on the same PC can i run ASP.NET 1.1 and 2.0 on the same PC with no hassles??? *** Sent via Developersdex http://w...more >>

3-tier data layers seperation
Posted by Mike at 2/28/2005 9:41:53 PM
Dear people , I have a question about seperating data code from presentation code for, like in client server applications. The example i am looking for goes about the topic data layer. In my server code i often use the same code for connecting, calling the data adapter and the dataset, and the...more >>

Problem with Web.HttpUtility.UrlDecode
Posted by Lloyd Sheen at 2/28/2005 9:29:25 PM
I have a file name which will not decode correctly with the Web.HttpUtility.UrlDecode routine. The original file name is : "G:/MyMusic/iTunes/iTunes%20Music/38%20Special/Rock%20&%20Roll%20Strategy/01%20Second%20Chance.mp3/" The file name after the routine is: "G:/MyMusic/iTunes/iTunes ...more >>

Displaying images from a DB using a Repeater control.
Posted by Jim at 2/28/2005 9:23:02 PM
I am trying to display images that are stored in a database, and I am using a repeater control. What I still use the Response.BinaryWrite method with a binding expression, if so, what with the code look like?...more >>

configuring application folders
Posted by gh0st54 at 2/28/2005 9:21:01 PM
Hi I would like to know how to configure an application folder from .net code I would like for my site ( asp.net in c# ) to be able to create a folder from asp.net (this part i know) configure the new folder as an application folder (this is what i'm looking for ) thanks ...more >>



ListItems as checkbox in a listbox
Posted by Vikram at 2/28/2005 9:12:05 PM
Can we have a listbox containing checkboxes in asp.net. I do not want to use checkbox list control as it does not have scrollbar facility....more >>

DateTime Instance problem
Posted by I am Sam at 2/28/2005 7:45:02 PM
I have created this DateTime object and instanced it I think correctly DateTime myClubNow1=new DateTime(DateTime.Now.Year,DateTime.Now.Month,DateTime.Now.Day,DateTime.Now.Hour,DateTime.Now.Minute,DateTime.Now.Second); I keep getting the below error: Object reference not set to an instanc...more >>

Adding new records to a grid dynamically
Posted by AnandaSim at 2/28/2005 7:17:09 PM
Hi All, I've read about the standard asp.net controls and other general info. I'm puzzling out how to make a "register new member" webpage - with the ability to allow for at least one interest. That is, I'm thinking of having a drop down list which allows one area of interest, and if the par...more >>

Navigating to page position on post back...
Posted by Jim at 2/28/2005 7:11:03 PM
I have a drop-down list that posts back to the server, but on post back the page scrolls all the way to the top and I would like to have it go to a certain anchor. Does anyone know how to accomplish this without having to Response.Redirect?...more >>

RedirectFromLoginPage not redirecting to RedirectUrl
Posted by jjjooooohhnnn NO[at]SPAM mail.com at 2/28/2005 7:08:50 PM
Greetings, I have encountered what appears to be a fairly common problem: RedirectFromLoginPage is not redirecting to RedirectUrl. I have tried all the advice that I could on the 'net, and nothing has worked yet. My problem is very simple. I want to redirect from a login page to the default p...more >>

ASP.net -> Mozilla
Posted by cmk128 NO[at]SPAM hotmail.com at 2/28/2005 7:08:03 PM
Hi All website written in ASP.net cannot run in mozilla. But now, hotmail can, how can we do that? How can we make sure the asp.net code is mozilla compatable during coding? thanks from Peter (cmk128@hotmail.com)...more >>

Updating a texbox with Javascript
Posted by Denise at 2/28/2005 5:55:04 PM
I am working with some pre-written code that dynamically builds a page with user controls based on data. I need to attach my Javascript to one of the controls on the form - I do not have access to the code of the master page. Because of this my <javascript> ends up inside the <form> tag. I ...more >>

how to dispose and object nicely.
Posted by Asha at 2/28/2005 5:29:04 PM
hello, i wants objects to be clean up after a page close, either by a button or by clickingon the x on the top right of the browser. so in vb.net i would use the finalize method... but how can this be done in c#? i want a finalize a methond. thanks...more >>

IP Address Question
Posted by hecsan07 at 2/28/2005 3:57:04 PM
How do I find out the IP Address from of a server for which I only have the physical path. My company sends financial email messages to its subscribers. The messages are delivered from different servers. I am logging each sent message, but I can't figure out how to log the IP address of the se...more >>

Help on Error - Unable to detect the web server!!!!
Posted by sikkavarun NO[at]SPAM gmail-dot-com.no-spam.invalid at 2/28/2005 3:48:40 PM
hi, im a just a starter in the .net.I have to make a project on asp.net.Im using windows XP and have IIS 5.0 Installed on it.I have configured all the properties of a web server.But when i compile my code in asp.net it alwaz shows an error Unable to detect web server or u r denied access on th...more >>

Fire Custom Validator on AutoPostback
Posted by tshad at 2/28/2005 3:48:04 PM
I am trying to fire the CustomValidator when I leave the Email field. Following is the code. It does PostBack, but the CustomValidator doesn't seem to be firing. <asp:TextBox AutoPostBack="true" Columns="45" ID="email" runat="server" TextMode="SingleLine" /> <asp:CustomValid...more >>

sending inline image in email via .net smtp mail
Posted by Ersin Gençtürk at 2/28/2005 3:47:03 PM
Is it possible to send images as inline images via asp.net send mail ? I don't want them to appear as attachments in the email. ...more >>

Image viewer with a twist
Posted by Troy at 2/28/2005 3:37:02 PM
Hi all, Im a little new to ASP.NET. I'm looking to create an image viewer that zooms in, pretty common. But I need to draw a box on the 1:1 scale image and 'zoom in' on another picture box. The box outlining the zoom area would change in size according to the level of zoom of course. ...more >>

Reading UC variable from page. (Again... ;o)
Posted by darrel at 2/28/2005 3:14:57 PM
Karl has helped me in the past in regards to communicating between controls and pages: http://www.openmymind.net/communication/index.html#3.1 I ended up going down the interfaces path and actually got that working fairly well, but, then, in the end, decided that was overkill and that it wou...more >>

ASPNET User on Win Server 2003 Domain Controller
Posted by SL at 2/28/2005 3:13:35 PM
How do I set up access to a file on a Windows Server 2003 Domain Controller that also has IIS? The file sits on another server. The Domain Controller / IIS server connects to this file through a share. Domain controllers have no local users so ASPNET user is not available. Microsoft ...more >>

Write to webpage from code behind
Posted by Ben at 2/28/2005 2:44:27 PM
Hi I have a string variable which is populated in the Page Load sub of my vb code behind for my webpage. I cannot seem seem to write this text to the webpage. What is the best method of achiving this. Thanks B ...more >>

Writing errors to the Event Log
Posted by MattB at 2/28/2005 2:18:28 PM
I'm writing some code to log errors in a web app (vb/asp.net). I found a straightforward-looking example here: http://www.c-sharpcorner.com/Code/2002/May/CustomErrorHandlingASPNEt.asp But mine doesn't seem to be working. If I step through the code I put in global.asax.vb it seems to get to ...more >>

How to secure my webserver
Posted by Raghu Raman at 2/28/2005 2:12:49 PM
Hi we maintain the .net app in our webserver. It is assigned a public ip,so that our client could easily see and work with the project we design. simply by typing the Ip address followed by the virtual dir name ,they could open our .net app running. ** Is it possiable to the intruders t...more >>

creating property in web services
Posted by ypul at 2/28/2005 2:07:06 PM
How to use properties in webservice ? if I want to create a webservice as my middle tier and want to create public properties so that the presentation layer can assign values to the property and then call insert() method in webservice. how should I do that I web service does not allow pub...more >>

Unable to open ASP.NET Project using VS .NET 2003
Posted by Srinivasan Vasudevan via DotNetMonster.com at 2/28/2005 1:58:00 PM
Dear All, I am having windows 2003 server as Operation System and iam using Visual Studio .NET 2003, my problem is if i open the ASP.NET project the application showing the below given error. "The Web was created successfully, but an error occured when trying to configure the applicati...more >>

Seeing the source code created for an ASPX page...
Posted by Patrice at 2/28/2005 1:56:18 PM
What is the easiest way to see the code created by ASP.NET for an ASPX page ? In 1.1, I use i/i to get a compile time error so that ASP.NET shows the code. In 2.0, it runs fine showing NaN (Not a Number). The code seems temporary and I guess the file is deleted almost as soon as compiled. ...more >>

Filepath lookup from id
Posted by Andreas Zita at 2/28/2005 1:32:15 PM
Hi The code below takes an id and return the corresponding image-stream. My Album-class scans the provided dir for images and tags them with id and filePath on server. In my current approach the m_album is re-generated each time a request is made. However I would like it to be generated only o...more >>

Dispose called twice
Posted by Sharon at 2/28/2005 1:28:22 PM
Hi. I put a message box in the form designer, Dispose method. Clicking the form close (X) button, i noticed that the message, appears twice. My code does not call Dispose. What is happening here? Thanks. Sharon. ...more >>

xslt, multiple transforms
Posted by Random at 2/28/2005 12:52:43 PM
Can anyone provide a good example of the simplest way to do multiple transformations on an xml file? I start out with an xml string and three physical xslt files, and want to transform the xml using all three stylesheets, one at a time, and end up with a result xml string. All the examples I ...more >>

Latest .Net 1.1 patch causes aspnet_wp.exe not to work
Posted by John Blair at 2/28/2005 12:31:44 PM
Hi, I updated the latest .Net patch on my system this moring and now my SQL Web Data Administrator application is not working. I get the following error: Server Application Unavailable The web application you are attempting to access on this web server is currently unavailable. Please hi...more >>

Distinguishing Between IE Windows
Posted by Nathan Brady at 2/28/2005 12:15:05 PM
Does anyone know of a way on the server side to distinguish between browser windows on the client's computer? Any help would be greatly appreciated. Thanks, Nathan...more >>

Sorting and Paging in a repeater
Posted by mattcur NO[at]SPAM gmail.com at 2/28/2005 12:07:58 PM
I am creating an app that lists clients of a company for management of different attributes for that company. The first page is a listing of the companies currently in the database. I have my repeater working, and paging/sorting works, but there is a small bug that I can't seem to figure out. ...more >>

Help - Server Control Hierarchy Built Twice
Posted by robotalphaomega NO[at]SPAM hotmail-dot-com.no-spam.invalid at 2/28/2005 12:02:04 PM
I'm sure this is a design question that is commonly encountered, but I can't find any resources which explain how to solve it. I would deeply appreciate any advice. Basically, when building a composite server control, I'm trying to avoid having to build the control twice. Here's why this happe...more >>

ASP.NET text in image
Posted by marko at 2/28/2005 12:01:29 PM
I have created a small script in ASP.NET using VB.NET for creating pictures with text inside. Now I have a problem how to use my own font directory, and not Windows system fonts directory. How to read available fonts an put on of them into the objFont? Thanks! m. ...more >>

Datagrid update command
Posted by siaj at 2/28/2005 11:59:05 AM
Helo All, If some one has faced a similar issue.. My datagrid Update command is not getting fired in fact it seems that the no event fires on clicking the update link. Although the cancel and the Edit Commmand are getting fired properly. The One difference I have seen is that in the task ba...more >>

Let User Drag to Re-Size Image
Posted by ACaunter at 2/28/2005 11:55:03 AM
Hi there, I was wondering if there is a way to allow the user to resize an image by clicking and drawing on of the four corners of the image.. thanks -- AdamPC@hotmail.com...more >>

Looking for Web Server of XP Home Edition
Posted by Wayne Gibson at 2/28/2005 11:49:26 AM
Hi, I'm looking at deploying my website to run on workstations/notebooks. Some of these are running Windows XP Home Edition, which doesn't have IIS or PWS.. So was wondering if anybody could suggest a Web Server that will run on XP Home for ASP.NET 1.1 and possibly ASP.NET 2.0.. Any Id...more >>

Problem with lengthy process
Posted by atefshehata NO[at]SPAM hotmail.com at 2/28/2005 11:36:00 AM
hi all, i'm using iis6 installed on win2003 , dotnet framework 1.1 . My problem is.. a page on my application have a lengthy process which takes about 4 minutes (performing database transactions ..) to completes. user click on the transaction button to start this lengthy process. after...more >>

"Downloading" datagrids
Posted by spammy at 2/28/2005 11:30:22 AM
Hi all, I have developed a pretty straightforward web app which displays the results of a query in a datagrid. I want to provide a "Download as csv" link, but want to generate this without having to requery the database. What's the best way to persist the underlying datatable? It's runnin...more >>

where should I dispose the connection ?
Posted by ypul at 2/28/2005 11:15:03 AM
the code below given is connection class ... now I want to use the connection in another class , by using the getConnection method. where should I call con.dispose() ? in connection class or in the caller class ? if I call con.dispose in connection class as given below ..will I be able to ...more >>

DataFormatString with euro as currency?
Posted by news.wanadoo.nl at 2/28/2005 11:10:15 AM
Hi, Is there a sollution for a DataFormatString as currency that shows always the euro sign: ? <asp:BoundColumn DataField="UnitCost" HeaderText="Prijs" DataFormatString="{0:c}"></asp:BoundColumn> <%# DataBinder.Eval(Container.DataItem, "UnitCost", "? {0}") %> Both gives when I put t...more >>

Websites with Audio Features?!?!
Posted by ACaunter at 2/28/2005 10:49:05 AM
Hi all, I am in desperate need of being able to have the users of my asp.net site to be able to make a recording from their computer mic, and save that audio on my server.. the user should be able to play back the recording with fast forward, rewind, and pause features... If you can provid...more >>

DataGrid edited row and jScript
Posted by SergioT at 2/28/2005 10:35:21 AM
Hi I wanna to create a jscript function that sets the value of a textbox into a datagrid, But the problem is How can I obtain the name of the textbox and send it to my jscript function???? The textbox is in a TemplateColumn The Idea is sent to the funcion the name of the control and then...more >>

can Cached read only data hurt performance?
Posted by Julia at 2/28/2005 10:29:50 AM
Hi, I have basic questions regarding ASP.NET site I am going to use Microsoft application configuration block and I wonder 1.does caching read only data in the application can hurt performance when multiple request arrived? (multiple pages read the cached data) 2.Instead of caching...more >>

SQL Parameter question
Posted by hecsan07 at 2/28/2005 9:55:03 AM
I am writing some code that passes two parameters to a store procedure. One of the parameters is an output parameter. I am querying the DB using the input value and returning a field from the result using the output parameter. The issue is that when I run the ExecuteNonquery command I get the ...more >>

Asp.net to excel export format cells
Posted by gontierj NO[at]SPAM hotmail.com at 2/28/2005 9:18:44 AM
Hi, I'm actually trying to export a repeater to excel, everything seems ok but the problem is that the cells are not validated This means that for example date, it is left-centered instead of been right-centered when it is correctly validated, apprently excel doesnt recognize the numbers with c...more >>

global function in asp net
Posted by ray well at 2/28/2005 9:09:59 AM
hi, i have a function i need to use in various aspx pages and would like to keep it in one place instead of duplicating it in every page i want to use it. i tried puting it in 'Global.asax' declaring it as public, thinking it would have a global scope, but when i called the function in a asp...more >>


DevelopmentNow Blog