Groups | Blog | Home


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 > september 2005 > threads for friday september 23

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

second opinion
Posted by rodchar at 9/23/2005 9:54:02 PM
hey all, i could have comma-separated values in a string let's say: "4005","3","Updated" or really it can be individual strings it doesn't matter. what's the quickest or best way to get into this form: "[field1]='4005' AND ([field2]='3' OR [field2]='Updated')" thanks, rodchar...more >>


Getting the application path
Posted by Water Cooler v2 at 9/23/2005 9:45:23 PM
How does one get the root of the ASP.NET application. For instance, my application is: http://localhost/MyApplication/login.aspx Today, it is on a test server, but when I move it to the production server, it would become something like: http://www.foobar.com/MyApplication/login.aspx ...more >>

am i understanding this correctly
Posted by rodchar at 9/23/2005 9:22:02 PM
hey all, i have a simple app that references the web.config. i browse to the page. i changed the web.config. i do a postback to the page, And session is gone. Only after i close the browser and reopen it start working with the new settings. am i understanding this correctly? thanks,...more >>

Visual Winform Assembly on a ASPNET form
Posted by CSharpNewBie at 9/23/2005 8:59:19 PM
Hi I created a WindowsApplication with 2 textboxes and 1 button on a Form, and set the output type to Class Library and VS2003 created a WindowsApplication1.dll now i would like to load this assembly on webform. Can somehelp. Any samples is appreciated. Thanks. ...more >>

Shared or Instance Method?
Posted by Water Cooler v2 at 9/23/2005 8:56:35 PM
I'm a web newbie so be gentle. Should I make this static/shared and put it in Glabal.asax or should I make it an instance method? Since it does not have constant parameters, is it thread-safe to make it a static/shared method, given that this is a web application? Public Function GetFullN...more >>

asp.net email text box validation
Posted by frekster at 9/23/2005 8:55:06 PM
Hi. Looking for some feedback on how to prevent a specific spam attack. I have a form for a person to subscribe to a mailing list and they can type in their email and click submit to subscribe. They then are sent an email asking them to click a link to confirm. how can I prevent a spammer ...more >>

There is already an open DataReader associated with this Connection which must be closed first
Posted by Rob Nicholson at 9/23/2005 6:54:52 PM
I'm starting to worry a bit now. We're getting the above error when two users hit the same database/page on an ASP.NET application using ADO.NET, talking to a SQL 7 server. The error is perfectly repeatable :-( But this should help! The error is occurring inside ExecuteReader which uses a Data...more >>

How to bind DropdDownList to ArrayList
Posted by Peter Afonin at 9/23/2005 5:34:09 PM
Hello, I have a code that queries Active Directory and put logins and names into the ArrayList. Then I need to bind this ArrayList to the DropdDownList, making names as DataTextField and logins as DataValueFields. I have no problem doing it, if I have only logins or only names, since ArrayL...more >>



custom, clickable image
Posted by C Williams at 9/23/2005 4:44:16 PM
Hi, What I am trying to build is an image created on-the-fly to be displayed in an aspx page. I can do this, using GDI+, no problem. The catch is that now I would like the ability to carry out customized actions based on where a user clicks on the image (basically as if rectangles or ci...more >>

Running a batch file from an ASP.Net page.
Posted by UJ at 9/23/2005 2:56:04 PM
I know I know - I've already posted this in the DOTNET.general area but my problem seems to be specific to asp.net so I'll recap here...... I (after much work) got to the point where I have a batch file that will do some commands for me. I can run it from a DOS box, double click on it from ...more >>

How to use HttpSessionState with SqlState
Posted by forinti at 9/23/2005 2:30:04 PM
Is it possible to use the Session object, with SqlState, when outside of a request scope? I have some very slow queries that I fire asynchronously, while the user sees a wait page. Therefore, when my results are ready, I don't have HttpContext.Current. Even though I can save a reference to the...more >>

Do most ASP.NET positions require a decent amount of artistic ability?
Posted by Bob Maxie at 9/23/2005 2:20:08 PM
Hey all, I've played about with ASP.NET for a couple of years and was hoping to start going 'pro' soon. I've also have been employed as a software developer doing primarily C++ for several years. It seems as if the 'core programming' and classic 'web development' worlds have collided wh...more >>

Log Button Clicks?
Posted by S. Justin Gengo at 9/23/2005 2:06:12 PM
I'm thinking of building a component that, when dropped onto a .aspx page, will intercept all form post back button clicks (maybe even all postback events triggered by a .net control) using the bubble event and writing to the website log in order to record the event. I did a little bit of se...more >>

ASPNET machine account
Posted by Paul at 9/23/2005 1:52:06 PM
Hi, Does anyone know why ASPNET machine account shows up on WinXP default (non-classic) login screen? Has anyone seen this before? How to remove it? Please advice, thanks! -CL...more >>

unable to start debug from non administrative account in VS.net200
Posted by NAGY at 9/23/2005 12:46:12 PM
hello, I created an asp.net web app in C# from a non administrative account in Visual Studio 2003, .net 1.1. when i try to run the application in debug mode from Debug start menu option, i get an error saying "Error while trying to run project : unable to start debugging on web server. Access...more >>

Page_load not called in base class
Posted by Andy at 9/23/2005 12:35:45 PM
Hi all, I have a site with the following architecture: Common.Web.dll - Contains a CommonPageBase class which inherits System.Web.UI.Page myadd.dll - Contains PageBase which inherits CommonPageBase - Contains myPage which inherits PageBase Each of these classes overrides OnInit...more >>

question about URL
Posted by Kevin at 9/23/2005 12:34:21 PM
hi guys, I typed in C:/UPLOAD/main.jpg on the IE address text box, but = it doesn't load the image in my local drive. =20 do you know what is the proper format to load C:/UPLOAD/main.jpg from = hard drive using IE URL?...more >>

ASP .NET Project + Source Control
Posted by Stephen Noronha at 9/23/2005 12:12:28 PM
Hi, Some consultant has developed ASP .NET project under source control. Now I have to maintain/modify them, they had associated it with "god knows what" control and I am not able to even open the solution. Could someone please tell me how to change the source control properties, so that i ...more >>

Centering an image with text
Posted by Jerry Camel at 9/23/2005 11:14:21 AM
I want to center an image on the screen and have text centered over the image. What's the best way to do this? I've been playing with style tags and I can get the stuff to center automatically OR have the text appear on top of the image. But in the second case, the image and text aren't cent...more >>

WSDL generation for UDDI question
Posted by holder25 NO[at]SPAM hotmail.com at 9/23/2005 11:03:24 AM
Folks, I am trying to run the wsdl.exe tool to generate a server stub for the UDDI wsdl spec file at : http://www.oasis-open.org/committees/uddi-spec/doc/tcspecs.htm#uddiv2 When I run it I get the following error: C:\Program Files\Microsoft Platform SDK\Samples\UDDI\wsdldiscovery\xx>wsdl /s...more >>

Updating list from client-side script
Posted by Mantorok at 9/23/2005 10:54:49 AM
Hi all I have a ListControland it is updated by client-side script, the client script adds a new item and gives it a value and a key. The problem is when it's posted back the server the items that have been added are all blank - the text and value properties are "". Any ideas? Thanks...more >>

Question
Posted by Manny Chohan at 9/23/2005 10:51:04 AM
Guys, Hotmail has this good feature where we can double click on calendar view to create new calendar event. How can we trap this double click on a webpage? Thanks Manny...more >>

Project management / bug management
Posted by Floris van Haaster at 9/23/2005 10:42:17 AM
Hi all, First of all: i know this is maybe not the correct newsgroup to post this but i want to get the info from real programmers and what they feel is the best. What i need is a project management tool/website to manage our project and bug tracking. Now we use an intranet from http:...more >>

TextBox validating currency
Posted by Mantorok at 9/23/2005 10:32:58 AM
Hi I have a textbox and when the user enters say, £25.00 they want some client side script to automatically check the field and update it to a particular format, so £25.00 would become £0,000,025.00. Is this a trivial task or is it a nightmare? Any direction? Thanks Kev ...more >>

equivalent for ModRewrite
Posted by Alexander Widera at 9/23/2005 10:29:58 AM
hi, perhaps you all know ModRewrite for the apache webserver... Is there an equivalent for asp.net / iis? I don't want to buy a component (.dll)... I want to program it myself. Some time ago, I wrote it with an custom errorpage for error 404 which redirects it to the correct page. Perhaps the...more >>

prevent ImageButton to postback
Posted by Carlo Marchesoni at 9/23/2005 10:25:02 AM
I would like to prevent an ImageButton to make a postback, since I added its action in Javascript. But I don't want to remove runat="server", since without this I cannot attach the JavaScript (build dynamically in code behind) to the button. Is there a way to do this ?...more >>

how would you do this.
Posted by rodchar at 9/23/2005 9:50:02 AM
hey all, i have my ideas on how i can do this but i just want to get different perspective. i have a string that contains comma-separated values. (a,b,c) i want to create a string that looks like the following ('a' and 'b' and 'c') how would you do this? the way i'm thinking is like...more >>

New (Old?) Tool From Microsoft
Posted by S. Justin Gengo at 9/23/2005 8:46:45 AM
I just found out about and tried a free Devloper Toolbar from Microsoft that is an add on for IE. The things it does are fantastic. I only needed to install and play with it for a couple of minutes to realize that it will something I'l use from now on. I wanted to let everyone here know ...more >>

tuning...performance
Posted by abcd at 9/23/2005 8:40:16 AM
I am using one asp web page with code behind and using C#. The page is very slow when first hit. some time doesnt display but if I wait and request the page it is displayed. What could be the wrong. Do I missing any caching, performance tuning. Also I noticed that when I request the page it go...more >>

Cookieless session problem...
Posted by Jac Timms at 9/23/2005 8:07:04 AM
Hi, I am building a mobile site. It has to have cookieless sessions enabled as asp.net mobile stores viewstate information for controls in session. I need one directory in the application (that takes input from a remote site), to not have cookieless sessions as it can't redirect the call fr...more >>

ASP.NET + Remoting
Posted by Brad Quinn at 9/23/2005 8:06:01 AM
I have a WebApplication that uses tcp/binary remoting to communicate with remote objects hosted by a Windows Service on another machine. The WebApplication takes an XML post (~200K) and turns that into about 300 remoting calls. There is another WebApplication and a WebService running on th...more >>

What's the difference between Remoting and AJAX?
Posted by needin4mation NO[at]SPAM gmail.com at 9/23/2005 7:56:35 AM
What is .NET remoting versus Ajax? Any links are appreciated. I didn't find a straight forward answer. Thanks for any help. ...more >>

Problem displaying page
Posted by gary.cobden NO[at]SPAM nhs.net at 9/23/2005 7:50:19 AM
Hi I'm getting the following error when I try to display my new page:- Server Error in '/' Application. -------------------------------------------------------------------------------- Configuration Error Description: An error occurred during the processing of a configuration file requir...more >>

Page.isPostBack ????
Posted by serge calderara at 9/23/2005 6:54:05 AM
Dear all, Is there any particular rules on the type of code we usually place inside the Page load event and checking the IsPostback status ? As a beginner I could imagine to put quite many things inside this Postback condition but I doubt it is the tight way to do regards serge ...more >>

Simple question ???
Posted by serge calderara at 9/23/2005 6:51:01 AM
Dear all, I have a web form on which certain controls are visible according to a certain status. For example a list box with items is visible only if there are items to be displayed. What is the best way in asp.Net to handle such case with dynamic visibility of controls? Under window...more >>

RemotingException
Posted by Julia at 9/23/2005 4:13:01 AM
Hi, I have a asp.net appication. Om the server side there is some code and COM+ components. The application works fine on my local computer and on a test server, but on another server it does not work!! What is wrong?? This is the error: The argument type GreenCargo.PM.PriceModelGloba...more >>

[ASP.net 2] TreeView & XmlDocument ?
Posted by Ryo at 9/23/2005 3:32:01 AM
Hello ! I have an XmlDocument in memory and I want to put this document as datasource of my treeview. How to do this ? Thanks....more >>

Enable all textboxes
Posted by MaryA at 9/23/2005 3:12:02 AM
i have an aspx form containing several textboxes.Is there a way with a for loop or something to enable or disable the textboxes, instead of writing textboxName.enable i appriciate any help i need that method waiting for a quick response Thanks a lot ...more >>

Validation user input VS Javascript
Posted by betterdie NO[at]SPAM gmail.com at 9/23/2005 2:33:05 AM
Hi all; I code Perl for CGI, I using regular expression to check the validation of user input, because the form is small and it run only from my own computer, anyways if many people using my form, do you think it will be slow due to Perl is run under server. How about using JavaSCript to chec...more >>

can i get a list of field names in a SqlDataReader ?
Posted by dhnriverside at 9/23/2005 12:27:02 AM
Hi guys Ok, here's the situation. I'm building a reporting system for my application, that basically creates a CSV file based on a load of data in my database. I'm trying to make the application as "extensible" as possible, by not hardcoding anything. So I'm thinking you can select a rep...more >>

Help on Regular Expreission syntax
Posted by serge calderara at 9/23/2005 12:18:01 AM
Dear all, I have a text box on which my user should enter a server name in the form of "\\MyServer" . I have place on my form a RequireFiledValidator and a RegularExpressionValidator. What is the syntax of the Expression to check that the starting charcter for the textbox is \\ ? I h...more >>

ASP.NET architecture : am I missing something
Posted by Julien at 9/23/2005 12:00:00 AM
Hi folks, I am facing a little problem with my website that gives me an headache : It can not have 2 users at the same time (quite annoying, as you see:)) I think I miss something in the ASP.NET architecture, but I can not see why The problem stands in my connection to the database. I have...more >>

Listbox does not appear in Request.Form
Posted by Mr Newbie at 9/23/2005 12:00:00 AM
DropDown lists and Listboxes do not appear in the list of controls and values passed back to the server on PostBack in Request.Form object. Can someone confirm this to be correct and possibly answer why ? The impact of this is that values added via javascript will never make it back to the ...more >>

How to get the calendar controls value in ASPX-
Posted by ¿_Mahesh_Kumar at 9/23/2005 12:00:00 AM
Hi groups, I'm following Master page concept of ASP.NET 2.0, in which I'm deriving = all the following page from master page for Theme. So unfortunately i'm = dont get any Form Tag in my derived pages.=20 <%@ Page Language=3D"C#" AutoEventWireup=3D"true" = CodeFile=3D"CountMaster.aspx.cs" I...more >>

clearing previous selection on browser's back button click
Posted by Rosanne at 9/23/2005 12:00:00 AM
Is there a way to clear the SelectedIndex of a listbox when th browser's back button is clicked? I have a page that contains a server side list box with AutoPostBack True. When the user clicks an item in the listbox, they are redirecte to an information page based on their selection. On th...more >>

How to show a confirm box with Button Click
Posted by ad at 9/23/2005 12:00:00 AM
I can only use the OnClientClick event of a button to show a confirm dialog like: OnClientClick="return confirm('Are you sure?');" Can we show the confirm dialog by progrm, net triggered by a button click? ...more >>

Override Render - adding user control
Posted by John Hughes at 9/23/2005 12:00:00 AM
I'm trying to add a user control to a form via the pages render method and I get the following error : "Control 'Button1' of type 'Button' must be placed inside a form tag with runat=server" The user control has this button on its page. I am outputing the <form runat="server"> inside the...more >>

problem datalist
Posted by Avon at 9/23/2005 12:00:00 AM
HI there, I am sorry for my not perfect English. My question is: I am using datalist control with RepeatColumns=3, the problem is that if I have 4 items in the control, first 3 of them will be on first row, but the 4th item will be on second row with position left, I want it to be in...more >>

Visual web developer Express edition
Posted by Josh at 9/23/2005 12:00:00 AM
Does anyone know if the 2.5mb download from MS is all you need, or does it connect to the web during install and download the rest. Is that all of it? ...more >>


DevelopmentNow Blog