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 > april 2005 > threads for friday april 8

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

Looking for Web app framework
Posted by Ahmed Shafi at 4/8/2005 10:56:58 PM
Hi there, I am developing a web application that allows developers to keep track of different Software engineering artifacts while doing development. It is a software engineering artifact tracking and managing application. I am looking for a web application framework where user login and r...more >>


How to change the TARGETDIR of a web setup project ?
Posted by Jéjé at 4/8/2005 10:06:41 PM
Hi, I want to create a deployment project of my web application. But I want to force the target physical folder instead of the "c:\inetpub\wwwroot" (or the root folder used by IIS) how to do this? thanks. Jerome. ...more >>

Redirect in a another frame
Posted by Just D. at 4/8/2005 7:10:28 PM
All, How can we redirect to another frame from the C# code? I usually use Response.Redirect("TargetPage.aspx") to redirect inside the current frame, but I don't know really how can I change the frame and open a required page in another frame to leave the active frame in its current conditio...more >>

the assembly 'ASPnetMenu' could not be loaded...
Posted by Asha at 4/8/2005 6:51:02 PM
hello attach is a problem i'm having after deploying to the production server. can someone please identify whats wrng with it? all the required dll which was running on the development server was copied into the production server even the aspnetmenu dll... but i'm still having this problem...more >>

Client-side calculation without postback
Posted by John Mason at 4/8/2005 6:07:20 PM
Hi, I am trying to figure out how to do a client-side calculation based on textbox values, using asp.net, without performing a postback. I have 2 textboxes... <asp:textbox runat="server" CssClass="ddclass" ID="txtTotal" onBlur="calculate()" /> <asp:textbox runat="server" CssClass="ddcl...more >>

Old Proxy IP Used By .NET Client Unless Forced by Machine.config
Posted by A. Ashby via DotNetMonster.com at 4/8/2005 5:44:57 PM
I have a .NET client that fails to communicate with a webservice because it is looking for an old proxy IP address. The IP address of several servers changed, including the proxy server, and since then, the client fails. After running a trace, I can see that it is still trying to reference the o...more >>

need log analyzer
Posted by Max at 4/8/2005 5:36:06 PM
Any free server-side log analyzers out there? I just need something I can drop on the server and let my clients how many visits they are getting. It could even be in something other than .NET, but would be nice to use ASP.NET. The closest thing I've found is awstats, but it doesn't work on ...more >>

Grabbing the version of a MS Word file upon upload?
Posted by darrel at 4/8/2005 5:14:40 PM
Is there any way to detect the specific version of an MS Office document when accepting it from an upload? I'm creating a mini-document upload tool for people to manage some MS-office centric documents for public consumption. Ideally, I'd want people to save these files back a few versions for...more >>



Newbie Question
Posted by peg at 4/8/2005 3:42:27 PM
I am brand new to asp.net and I was asked to write a web version of a access application. My question is how do you pass variables to pages thru asp.net. I'm familiar with classic asp & using request() object from the passing page. I would think asp.net has a better to manage variables thru t...more >>

Can aspx file use PATH variable to locate dlls
Posted by (iana_kosio NO[at]SPAM yahoo.com) at 4/8/2005 1:56:33 PM
Hi, I was wondering if I can make an aspx file use the PATH variable to locate dlls that it needs. Currently, it looks as though that the aspx page looks for binaries in a bin folder that is located in the current directory. Even if I put the dlls in bin/debug folder it will not work. Thank y...more >>

oh no! another datagrid dropdown question!
Posted by Kurt Schroeder at 4/8/2005 1:49:02 PM
I'm getting there!!!! I've used the artical http://www.4guysfromrolla.com/webtech/050801-1.shtml to create my dropdown list from a database. The DDL gets populated! The artical says, "then set the index as you normally would". Well, what can i say i can't figure out how to set it. any ideas ...more >>

Something I always wanted to know
Posted by BillGatesFan at 4/8/2005 1:34:48 PM
Whenever you get an unfriendly error in .NET, it show the stack trace with the error and beside each line in the stack trace there is a number with plus sign in front of it. What does the number with the plus sign in front of it mean? Thanks ...more >>

HttpWebRequest with java session id cookie; HELP PLEASE
Posted by Amil at 4/8/2005 1:32:14 PM
Please don't repond to this if you are guessing or just don't know the answer. I'm trying to login to a backend system running Java/Tomcat. I create a HttpWebRequest with the login data and do a POST. This works fine. The HttpWebResponse content I get back is just javascript "window.locatio...more >>

web requests and mobile requests
Posted by Fernando Arámburu at 4/8/2005 1:15:56 PM
Hello everybody, I´m working on a web application and I need to make a difference between a page called from a PC and one made from Mobile because I need to do a transfer to diferent pages, Do I make myself clear? For example I got my mail page on www.mysite.com/index.aspx ...more >>

is this a lot
Posted by rodchar at 4/8/2005 12:47:07 PM
hey all, i'm using the DataGrid1_ItemDataBound event like this: If e.Item.ItemType = ListItemType.Item _ Or e.Item.ItemType = ListItemType.AlternatingItem _ Or e.Item.ItemType = ListItemType.SelectedItem Then Dim sValue As String sVal...more >>

Q: comparing date
Posted by JIM.H. at 4/8/2005 12:45:02 PM
Hello, Since I am learning C# now, I might have a simple question, I know my datarow dr[myDate] keeps datatime and I need to compare it if it is current date, if not how many days ago? How should I compare date and find how many day difference? Thanks, Jim. ...more >>

Business Object Problem
Posted by Sparky Arbuckle at 4/8/2005 12:32:33 PM
---------------------------------------- ..vb Code Imports System Namespace ValidateComponents Dim res As Boolean Dim strISBN as string = tbISBNNumber.text Dim checkISBN as string Dim Number As String Dim CheckDigit As String Dim CheckValue As...more >>

dropdownlist selectedindexchanged
Posted by rodchar at 4/8/2005 12:09:04 PM
hey all, is it ok to instantiate and new dataset and business object each time this is changed or is it better to persist objects in session? thanks, rodchar...more >>

Web Application Install
Posted by Reza at 4/8/2005 11:37:02 AM
Hi I want to install a web application by a project installer of Visual Studio 2003. The problem is that when I add the primary output of my web project to Install folder of Custoom Actions of my Installer project I can't install that application. It generates an Unknown error of number 0x...more >>

Q: drawing a line
Posted by JIM.H. at 4/8/2005 11:25:03 AM
Hello, How can you draw a line in asp.net design view? Thanks, Jim ...more >>

localhost on development machine, localwebserver on live site :(
Posted by Eskimo at 4/8/2005 11:23:02 AM
Hey, How do you tell a web service to resolve to localwebserver vs. localhost? in reference.map I see .... <DiscoveryClientResult referenceType="System.Web.Services.Discovery.ContractReference" url="http://localhost/[InstallationIISVirtualDir]/[WebServiceName].asmx?wsdl" filename="...more >>

Visual Studio on XP Pro
Posted by Child at 4/8/2005 11:10:05 AM
installed visual studio on XP pro. It says i don't have the dot net framework installed (I do). Any ideas? ...more >>

Datagrid column widths in edit mode
Posted by Elmer at 4/8/2005 10:49:03 AM
Hi. When setting a certain the EditItemIndex of a certain row of a datagrid, the columns in the row increases its width thus increasing the width of the entire datagrid. Where do you control this? I've played around with my CSS file and the actual properties settings but still get the same res...more >>

Build problems
Posted by MattB at 4/8/2005 10:18:55 AM
Does anyone else get this when building (asp/vb.net project) sometimes when you have a compiled assembly in your project? I get this with two different projects with two different compiled assemblies involved. It's not consistent either. It will plague me one day and then go away for a week ...more >>

global vars in ASP.NET
Posted by cFleury at 4/8/2005 10:03:01 AM
Hi, I’m desperate to have a solution for this problem. This is a system critical order entry application and I simply need to have a bunch of global (public) variables to store information before it gets written to the database. I have tried public structures defined in a VB module just to ...more >>

problem in sending email to hotmail account
Posted by guoqi zheng at 4/8/2005 10:02:50 AM
Hi, I am testing an email component (the native system.web.mail class is very bad.), I found out that when I send email to a normal account, it works fine, but when I send to a hotmail account, email never get delivered to that hotmail account. I am using XP with .NET framework 1.1. Any...more >>

Datagrid generating duplicate border attribute
Posted by tshad at 4/8/2005 9:55:42 AM
Why is the Datagrid creating a multiple border attribute? With this code: <asp:DataGrid AllowPaging="true" AllowCustomPaging="false" PageSize="4" PagerStyle-Visible="false" visible="false" AllowSorting="True" AutoGenerateColumns="false" CellPadding=...more >>

retrieve operating system from ASP.NETcode
Posted by djoledjole at 4/8/2005 9:20:11 AM
How to retrieve server operating system from ASP.NET code Thanks in advance ...more >>

optimizing DropDownLists
Posted by Alejandro Penate-Diaz at 4/8/2005 9:07:57 AM
another question on optimization. could I just post back the selected value of a dropdownlist? I have like three dropdownlists with lots of data, in the same web form, problem is that is slowing down the loading process, so I though that if I just send back to the server the selected value and...more >>

Clear datagrid for optimization
Posted by Alejandro Penate-Diaz at 4/8/2005 8:43:51 AM
Does any body know a cool way to clear a datagrid, for optimization purposes. cause hidding the datagrid doesnt remove those junky values from the viewstate, and keep sending it back and forth. Thanks, Alejandro. ...more >>

JavaScript return values accessible to ASP.NET
Posted by phil at 4/8/2005 8:13:06 AM
Is there an elegant way that I can return a value from a JavaScript function to ASP.NET? I want to have a popup confirmation dialog using JavaScript and only have a button control execute its ASP code if the confirmation is positive. I can associate the JavaScript with the button using the Att...more >>

THE GREATEST NEWS EVER ! °º¤ø,¸¸,ø¤º°`°º¤ø°º¤ø,¸¸,ø¤º°`°º¤ø°º¤ø,¸¸,ø¤º°`°º¤ø°º¤ø,¸¸,ø¤º°`°º¤ø°º¤ø,¸¸,ø¤º°`°º¤ø°º¤ø,¸¸,ø¤º°`°º¤ø°º¤ø,¸¸,ø¤º°`°º¤ø°º¤ø,¸
Posted by RonGrossi_38127 NO[at]SPAM yahoo.com at 4/8/2005 8:05:02 AM
http://www.print-it-011.blogspot.com << The Greatest News Ever ! ...more >>

Create an object
Posted by david at 4/8/2005 7:15:02 AM
I am new to VB.NET. Anyone could give a hint? Thanks. What is the problem about the following code: Dim myPrincipal As CustomPrincipal = New CustomPrincipal(id, roles) where CustomPrincipal is constructor defined as Public Sub CustomPrincipal(ByVal identity As IIdentity, ByVal roles As ...more >>

SelectedIndex Dropdown in DataGrid
Posted by Tim::.. at 4/8/2005 6:43:05 AM
Can someone please tell me who I get the selectedindex of a dropdown in a datagrid??? I have the following code and it works but it doesn't select the correct value when I edit the dropdown list! Thanks Dim Myconn As New SqlConnection(ConfigurationSettings.AppSettings("strConn"))...more >>

Third party cookies and P3P
Posted by Chris at 4/8/2005 5:58:03 AM
Does anyone have any documentation on compact privacy policy and asp.net session or http session cookies. I have a third party app that relies on a session cookie to maintain the state of my app in a users site. Currently my P3P policy is causing IE6 to reject my third party session cookie....more >>

RegExp between tags
Posted by Charles Taylor at 4/8/2005 5:05:40 AM
I have a regular expression problem that is driving me crazy. How do you capture the stuff between two closed html tags i.e <b>One</b> Capture all this 'stuff' <em>dkskldsd</em> <table> <tr><td></td></tr></table> <b>Two</b> this suprisingly doesnt work, it captures the <b> tag...more >>

Global Variable in Class
Posted by Joe via DotNetMonster.com at 4/8/2005 3:03:50 AM
Hi, How can I declare a variable in a Class so that it can be accessed from the page that calls it? Normally I would declare a variable outside a function so that it can be used globally on the page but I'm not sure how to do it in a Class. I tried using public but that didn't work. I have the...more >>

CustomErrors Trapping in a Page -
Posted by SMG at 4/8/2005 12:00:00 AM
Hi , Sory for incomplete message in last post here is the actual problem.. I am using following code in web.confiig for trapping all the error through out my site.. <customErrors mode="On" defaultRedirect="WebForm1.aspx"> <error statusCode="404" redirect="ServerError.aspx"></error> <...more >>

Page uload occurs two times when redirecting
Posted by mortb at 4/8/2005 12:00:00 AM
Hi, I'm overriding OnUload in my pages. I've put the Connection.Close in the method. But I have noticed that the method is run twice if I do a Response.Redirect in the page. Do some one know why? cheers, mortb ...more >>

to_date function
Posted by gane kol at 4/8/2005 12:00:00 AM
Hi when i try to use to_date function in C# codebehind, i am getting to_date doesnt exist in class or namespace error. i am trying to use something similar to INSERT INTO OracleTypesTable VALUES ( 'test', 2, to_date('2000-01-11 12:54:01','yyyy-mm-dd hh24:mi:ss'), '0001020304' )"; ref lin...more >>

How to handle form double submitting.
Posted by Nacho Nachev at 4/8/2005 12:00:00 AM
This may sound like a silly question, but what is the appropriate way to handle form double submitting in ASP.NET. Page expiration, etc? I am looking for a way to handle this in some cetral point of the application without affecting the web page implementation. Thanks, Nacho...more >>

Read/Write permission on hosted ASP.NET sites
Posted by Urs Eichmann at 4/8/2005 12:00:00 AM
We're developing a standard software application (ASP.NET) which will run on servers of various ISP in a shared/hosted environment. With the ISP I usually work with it is no problem to get a folder where the ASP.NET account has read/write access. However, I'm concerned that this might be a p...more >>

Javascript debugging <hit blank>
Posted by John at 4/8/2005 12:00:00 AM
Hi all, I'm using VS2003 and for some reason can't get the Javascript debugging to work. Please would someone provide me with a checklist-of-sorts to peruse/check. Perhaps a virtual smack would help. ;-) Thanks people . . . Regards John. ...more >>

No-Cache problem on the first time
Posted by Frank at 4/8/2005 12:00:00 AM
I would like to close the cache, so I put the following statement on the head of A.aspx, <%@ OutputCache Duration="1" Location="None" VaryByParam="None"%> However, when I view that A.aspx, and click one link to B.aspx, in there something about page A.aspx is changed. Then I click BACK butto...more >>

Number of connections
Posted by Joe via DotNetMonster.com at 4/8/2005 12:00:00 AM
Hi, When I bring up a page, 6 connections are created. Is this too much? What I have is a header in a usercontrol that uses a class function. Then this class function is bound to two repeater control on the page. <ASP:Repeater id="RepeaterPageText" runat="server" DataSource="<%# Data.data...more >>

General Q: XML vs traditional SQL datastores
Posted by Martin Knott at 4/8/2005 12:00:00 AM
Hello, I'm in the process of looking for a host for my site. The host I like the look of (firestorm.ch) charges more for MySQL or MSAccess databases. I don't plan at this stage to host large amounts of data and I guess I could always upgrade if I needed to, but as a general rule are there ...more >>

Namespace error
Posted by msnews.microsoft.com at 4/8/2005 12:00:00 AM
Hi I am just practicing ASP.NET Whenever I compile the page and try to see in the browser it shows the following error: The base type 'ProjectName.CodeBehindClassName' does not exist in the source file 'CodeBehindClassName.aspx.vb'. Project name is my project name (which is the Roo...more >>

IDE - support for use of interfaces
Posted by Frank Esser at 4/8/2005 12:00:00 AM
Hi! When I want to implement a new class on base of an existing interface I always have to switch between window of new class and the interface definition. Is there an easier way? Any support by IDE? E.g. a command to add all required methods/properties to the class as soon as there is ...more >>

Recycled Application Pool
Posted by Lars Netzel at 4/8/2005 12:00:00 AM
Hi We have an ASP.NET application running on a Live server and we have had some problems with the Application pool beeing recycled due to heavy load on the server. The load is really not that bad and this should nto occur. The application is using a lot of Session varaibles but I have no id...more >>

post variables from 1 page to another
Posted by nicholas at 4/8/2005 12:00:00 AM
When I transfer variables from 1 page to another I add the variables in the querystring. So, in the script of my asp-button I put for ex.: response.redirect("thenewpage.aspx?myvar=<%= thevariable %>") problem is that these variables are ofcourse visible in the url So, what is the best and...more >>

Get Username with anonymous
Posted by Magnus Blomberg at 4/8/2005 12:00:00 AM
Hello! Is it possible to get the domain\username of a client user with anonymous access enabled in IIS? If so, how?!?! Regards Magnus ...more >>

CustomErrors Trapping in a Page
Posted by SMG at 4/8/2005 12:00:00 AM
Hi All, I am using following code in web.confiig for trapping all the error through out my site.. <customErrors mode="On" defaultRedirect="WebForm1.aspx"> <error statusCode="404" redirect="ServerError.aspx"></error> <error statusCode="500" redirect="WebForm3.aspx"></error> </customEr...more >>

RangeValidator1.maximumvalue
Posted by nicholas at 4/8/2005 12:00:00 AM
on the page.load event in the script I set: RangeValidator1.maximumvalue = CurrentRow("remainingamountwanted") but this seems not to be working. How can I set the maximumvalue of a range validator with scripting?? thx ...more >>

RTf to Html with C#
Posted by Christian Filzwieser at 4/8/2005 12:00:00 AM
Hy I need a C# code, class to convert rtf to html !!! Please post Links or Sources. Greez FMeister...more >>

Change item-template value format...
Posted by Julius Fenata at 4/8/2005 12:00:00 AM
Dear all, I need help to change my item-template value format... Here is my case, I have a datagrid, with 'SubjectPrice' field, and when the grid displayed, my 'SubjectPrice' field displayed as this format: $30,000.00, because I put it this format {0:C}. I need to re-format as only this v...more >>

Target path for web setup?
Posted by Frank Esser at 4/8/2005 12:00:00 AM
Hello, does anybody know where to set the target path for a web setup? I do not find it anywhere... Thanks, Frank ...more >>


DevelopmentNow Blog