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 > march 2004 > threads for monday march 15

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

Redirect to embedded link within page with query strings
Posted by Lloyd Sheen at 3/15/2004 11:36:36 PM
If I direct to page with format as such: http://localhost:8080/LessonsLearned.aspx#StatusLink?UID=Another&Lang=Eng the page shows but does not go to the internal link. Remove the queryString and it works. Any ideas?? Lloyd Sheen ...more >>

Urgent Help on finding a word in asp:DropDownList
Posted by mae at 3/15/2004 11:31:05 PM
Dear all, I have a problem here. Suppose I have a asp:DropDownList in my aspx page as below :- <asp:DropDownList id="Dropdownlist1" Runat="server"><asp:ListItem>apple</asp:ListItem><asp:ListItem>mike</asp:ListItem><asp:ListItem>michael</asp:ListItem><asp:ListItem>racheal</asp:ListItem><asp:Lis...more >>

Creating Web Applications
Posted by Wezz Potter at 3/15/2004 10:34:26 PM
Hi I have a question about creating asp.net web applications. When i create a new web application in the vs.net ide it asks for the url of the web app, the next step asks how it should create the app 1. By network share 2. Using Frontpage Server Extensions I can do neither as this is ...more >>

ASP eating Javascript from VB code
Posted by Lloyd Sheen at 3/15/2004 10:23:55 PM
I have a page with the following script (no code behind ,using WebMatrix - customer doesn't want to spend money on dev tools). 'Dim psInfo() As String 'psInfo = Split(psSV, "/") psURL += "UID=" & psInfo(0).Trim & "&Lang=" & psInfo(1).Trim popupScript = "<script language='java...more >>

Validating Multiple Controls
Posted by David Krussow at 3/15/2004 9:54:46 PM
1. Can validation controls validate more than one control at a time? E.g., a RequiredFieldValidator control requiring that that each of 5 textboxes has some content? 2. Can validation controls by dynamically associated with validated controls at runtime? My situation is this - I'm dynamical...more >>

redirect to startpage
Posted by Niclas Lindblom at 3/15/2004 9:54:38 PM
Hi, Is there anyway to send a user to the applications startpage without hardcoding the name of the page ? Regards Niclas ...more >>

retrieving user's timezone
Posted by Guy Brom at 3/15/2004 8:04:44 PM
Hi there, Is it possible to determine what's the user timezone and use it in an application? How else will you be able to synchronize server time and user's time on globalized website? Thanks Guy ...more >>

Name Overwritten by ID when runat=server
Posted by Charles Law at 3/15/2004 7:41:47 PM
I have an html input (type=text) field on an html page, with runat=server. The field is inside a form element. It looks like this: <FORM id="Form1" method="post" runat="server" action="mypost.aspx"> <INPUT id="Text1" type="text" Name="myname" runat="server"> </FORM> When the form posts ...more >>



Javascript escape & JScript GlobalObject.escape
Posted by Hugo Wetterberg at 3/15/2004 7:32:49 PM
I've got a problem with the escape function in JScript. It simply doesn't escape the single quotation mark ' This becomes a problem when I have to construct javascript calls. I'm trying to pass the url ref_handler.aspx?id=someguid&name=O'Brien as a parameter to a javascript function. Wha...more >>

check url asp script is runnig from
Posted by Peter at 3/15/2004 6:49:13 PM
Hello, I want to handle with 404 error via asp .net script. I need to know what url was eneterd by user. Can I do it ? How to retrieve current site url in asp ..net ? Thanks ...more >>

C# servicecontroller permissions
Posted by batwater at 3/15/2004 5:31:07 PM
I am trying to restart a service on a remote machine through C#. I am an administrator for that machine and can control the service on the remote pc though the "Services" app in the Administator Tools on my pc. I have also added ASPNET as an administrator to the remote machine (just for testing pu...more >>

HttpWebRequest.GetResponse throws error on "Not Found"
Posted by Dan at 3/15/2004 5:26:15 PM
When I execute the following with a purposely bogus URL, GetResponse throws an error before I can retrieve the HttpStatusCode. Why is that? try { HttpWebResponse response = (HttpWebResponse) m_request.GetResponse(); Console.WriteLine("Status Code = " + response.StatusCode); } cat...more >>

supporting multiple authentication methods
Posted by bb at 3/15/2004 4:59:54 PM
i have a requirement to support forms and windows integrated authentication, for an application. i was going to use two nested web configs with differnet authentication modes, which both end up assigning you a forms ticket (upon correct login) and redircting you into the main app however...more >>

Project problem - sourcesafe & dotnet
Posted by me NO[at]SPAM privacy.net at 3/15/2004 4:55:58 PM
I am editing a project in Microsoft Development Environment 2002 Version 7.0.9466, in Visual Basic .NET. It also has underneath that in the Help/About screen Microsft .NET Framework 1.0 Version 1.0.3705. I know i have Framework 1.1 on my system though. What's happened is that I have 2 projec...more >>

Anchor name problem (#)
Posted by Dan Tanzer at 3/15/2004 4:53:09 PM
I have a page that has two user controls header and body. In the header control I set a hyperlink navigateURL = #somesection in my usercontrol body I have anchor tag called id=somesection. I must be missing something but how do I get the hyperlink to move to the somesection on my page? Set...more >>

ihttpmodule URL rewrite
Posted by roko at 3/15/2004 4:51:30 PM
I build a URL rewrite where a user can go from website.com/345 to go to website.com?id=345 without seeing the "?id="... pretty neat. Now, I'm stuck to the point where if I go from http://localhost/website, it failed, but it's ok if I add another slash, i.e. http://localhost/website/ or http://...more >>

Datagraid and radiobuttons
Posted by SteveS at 3/15/2004 4:41:15 PM
This problem is driving me nuts... I have a datagrid which a user can = "Approve" or "Deny" a record. I created a radiolist control with = "Approve" and "Deny". When the user clicks the submit button, I want to = check each row to see which button was checked. For some reason, it = doesn't s...more >>

AutoUpdate,Timing, Very intersting
Posted by Amir at 3/15/2004 4:33:18 PM
Hi every one I have a website (well I am in process of creating one using C# and asp.net) any way, I have an AdRotator, where it uses Advertisement.XML file to display random Ads now in my website user have the opportunity to sign up for advertisement and upon registration they have an oppo...more >>

Determine the URL of the request
Posted by Douglas Macnguyen at 3/15/2004 4:24:54 PM
Hi all, I want to have multiple domain names pointing to a same IP address (i.e. a same Start.aspx page) and redirect each domain to its own web site. Using C#, how can I get the actual name of the URL? TIA, Douglas ...more >>

Limit site acces to 18 users.
Posted by george d lake at 3/15/2004 3:59:08 PM
Hi, I need to limit an Intranet site to 18 users. Of the 18, 17 are "Domain Users" and 1 is from "DepartmentX Users" What would be the best way to do this? Thanks ...more >>

ascx added at button click event doesn't carry the value on postback
Posted by Bob at 3/15/2004 3:50:26 PM
I want to create an aspx page to load different ascx controls to create a wizard like process, that is, the aspx page has a Continue button, on initial load, it loads the first ascx control into a placeholder, on postback, the page's button click event calls a public method on the ascx to proces...more >>

IE is Ignoring my HTTP Header: Content-Type Help!!
Posted by msnews.microsoft.com at 3/15/2004 3:31:09 PM
I have an ASP.NET application that stores files as BLOBS into a database server for later retrieval. About two weeks ago we started experiencing problems in IE when it stopped parsing the Content-Type HTTP headers we were sending from ASP.NET. Any help very much appreciated! SYMPTOMS: 1) Wh...more >>

generate random student id in asp.net
Posted by Hmmm at 3/15/2004 3:26:10 PM
I'm developing a student management app and need to generate a random 8-digit student id. What's the best approach to ensure uniqueness and yet not take so much computing time? thanks! ...more >>

Why does VS mark files as changed?
Posted by Bruce at 3/15/2004 3:10:35 PM
Why does Visual Studio sometimes mark my .ascx files as "changed" as soon as I open them, and before I've even touched the file in any way? Since I only want to save files that are changed so that the file dates are reflective of files that were actually changed for code management purposes, th...more >>

DataBinder.Eval
Posted by hymort NO[at]SPAM hotmail.com at 3/15/2004 2:33:23 PM
Hi, I want to use a column index instead of name to get the value of a field: Instead of: DataBinder.Eval(Container.DataItem, "config") I want to do something like: DataBinder.Eval(Container.DataItem, Container.DataItem.Table.Columns(1).ColumnName) The above index method was sugges...more >>

MailTo Question
Posted by Rob Edwards at 3/15/2004 2:29:25 PM
I have an Asp.net application that we use to track changes to our Servers... Up to this point I have been using Web.Mail to send messages using an SMTP server. The users would like to have the mail route through Outlook so 1) They can edit the message and 2) The message is stored in their Sen...more >>

Write a file to outputstream and supply a diferent name for it
Posted by Anton Sommer at 3/15/2004 2:15:36 PM
Hello folks, I would like to let some authenticated users download certain files that should not be downloadable for other users. All files are stored in one directory with a unique filename supplied by the DB. I would feel better if this directory was not directly accessible from the net (not...more >>

ASP.NET Book!
Posted by James Bird at 3/15/2004 1:28:36 PM
Forgive the repost - I've just noticed by subject from the last post didn't include "book"! Can anyone recommend a good ASP.NET book for someone with good classical ASP skills? I'd prefer one that isn't based too strongly on Visual Studio. Any suggestions? Regards James Bird Web Manag...more >>

switching to https solution
Posted by MattB at 3/15/2004 1:21:07 PM
Just in case anyone else wants to do this, here's a shared function I used to switch into the https protocol. Pretty simple, and I'm sure it won't be able to handle every scenario but it's a start. Hope it helps someone. It's come in handy for me! To use, put in a vb class and call with the name...more >>

What is wrong with my browser settings?
Posted by john_20_28_2000 NO[at]SPAM yahoo.com at 3/15/2004 1:17:46 PM
I have a dropdownlist that is repopulated upon a postback. On some of the computers it displays the correct information, but underneath in the HTML, it has the old values (value and text). On other computers, it does just as it is supposed to. The ddl repopulates and everything is wonderful....more >>

Event Handling of dynamic Command Button
Posted by Steve Caliendo at 3/15/2004 1:08:45 PM
Hi, How can I create an event handler for a dynamically generated command button ? Thanks, Steve ...more >>

Application wide Functions and Connections
Posted by Thomas at 3/15/2004 12:54:04 PM
Hi, I want to share a function in an application, so that in global asax or pages can use that function like: Dim sMyVariable = MyApplication.GetSomething("SomeKey") How do I access a global application instance? Is it advisable to store database connections in a global application ins...more >>

Ballroom Blitz
Posted by vbGansta at 3/15/2004 12:49:24 PM
It was sung by a group called "the Sweet's ". There's a one hit wonder for ya. J ...more >>

ASPX to output text only (no headers)
Posted by Oleg Ogurok at 3/15/2004 12:30:14 PM
Hi all, I'm trying to create an ASPX page that will output itself as a text file. For instance, if I have a file text.txt and I try to fetch it through telnet, I get something like this INPUT: > telnet localhost 80 GET /text.txt OUTPUT: the contents of text.txt as is. The problem is ...more >>

ASP.NET Pro Magazine
Posted by Simon Wellborne at 3/15/2004 12:19:26 PM
Hello all, I'm looking to subscribe to this magazine and was hoping I could get some feedback about whether it is a good subscription. Appreciate any feedback. Cheers ...more >>

ASP.NET
Posted by James Bird at 3/15/2004 12:09:40 PM
Hi Can anyone recommend a good ASP.NET book for someone with good classical ASP skills? I'd prefer one that isn't based too strongly on Visual Studio. Any suggestions? -- Regards James Bird Web Manager The Dolls House Emporium Tudor Models Ltd james.bird@dollshouse.com www.dollsho...more >>

Are there any dangers in setting up SMTP services?
Posted by REB at 3/15/2004 12:03:09 PM
I have a application that needed to send out a e-mail from inside a webform so I installed SMTP onto my Window 2003 server for IIS 6.0. What security precautions do I need to set to insure nobody is able to use my server to relay spam or any other activities that are undesirable? I realize o...more >>

Capture Click Event Problem :-(
Posted by Yama at 3/15/2004 12:01:08 PM
Hi I am trying to create a list dynamically as follow Private conn As New System.Data.SqlClient.SqlConnectio Private WithEvents htm As System.Web.UI.HtmlControls.HtmlAncho Protected WithEvents tbl As System.Web.UI.WebControls.Tabl Private Sub Page_Load(ByVal sender As System.Ob...more >>

Upload File Using HTML To ASPX Page
Posted by David Elliott at 3/15/2004 11:53:47 AM
I can send a file from a TRUE HTML page to an ASPX page using the following code: SendFile.htm ================================== <form id="Form1" method="post" runat="server" enctype="multipart/form-data" action="AcceptFile.aspx"> <INPUT id="uploadFile" type=...more >>

aspnet_wp.exe application error
Posted by Steve Caliendo at 3/15/2004 11:50:33 AM
How can I prevent what ever is killing this task from doing so ? aspnet_wp.exe (PID: 2008) was recycled because it was suspected to be in a deadlocked state. It did not send any responses for pending requests in the last 180 seconds. ...more >>

Session variable
Posted by Alberto at 3/15/2004 11:41:09 AM
How can I create a session variable in the Global.asax file? Thank you. ...more >>

Error in setup.
Posted by SS at 3/15/2004 11:00:46 AM
Hi The following error is received while running a asp.net application setup: Issue: Error during project build Error: C:\Inetpub\wwwroot\sankogroupware\beta\gw1.0\gw1.0.vdproj Unable to find dependency 'mscorlib' (Signature='B77A5C561934E089' Version='1.0.5000.0') of assembly 'Accessibility.dl...more >>

Compilation problem for component
Posted by Bob H at 3/15/2004 10:57:50 AM
Hi, I've a simple component that references another component (that I've compiled into a dll): Imports myapp.MyClass 'compiled into Data1 Imports System Namespace Data2 .....etc End Namespace I'm trying to compile Data2 using "vbc /t:library /r:System.dll,Data1.dll data2.vb" using the D...more >>

Out Of Process Session Management
Posted by Maximus at 3/15/2004 10:18:11 AM
Hi Everybody, I am running the out of process session management. I have certain information about the clients, which I need to delete when a session ends. However, Session_End event is not supported in out of process session management. Can anybody help me with this? I thought this mig...more >>

vb.net webform controls - where are the LEFT and TOP properties?
Posted by pdt103 at 3/15/2004 9:51:09 AM
Is this a silly request? Surely everyone out there doesn't design controls on a form in the place they will be displayed at runtime. On a Windows form, you will use LEFT and TOP to reposition everything. How is this done on a webform if these properties don't exist?...more >>

Urgent!!!!!!!!!!! Reading values using column names from Excel spreadsheet and insert into database
Posted by Sileesh at 3/15/2004 9:21:05 AM
H Hope someone out there knows a solution for thi My Situation i I have to read an excel spreadsheet which contains about 200 columns. Each column has a name associated with it. Now i can read the 200 columns using an arraylist (getvalue(0), getvalue(1) and soon) and could succesfully get the ...more >>

Authentication Problem Is Making Me A Little Nuts
Posted by Jerry Camel at 3/15/2004 9:12:38 AM
Okay... More than a little. This was working just fine from the original server. Why would it stop: I'm using a basic test to see if a user is a valid account in AD. Something like: dirEntry = New DirectoryEntry("LDAP://RootDSE", txtUser.Text, txtPassword.Text) sTemp = dirEntry.Propert...more >>

Precompiled Code
Posted by A at 3/15/2004 9:02:09 AM
Hi, I understand that the ASP.Net environment compiles code for a page on its first access and then serves pages from that precompiled code for subsequent requests. I have a couple of questions: 1. Does this precompiled code ever expire? If so, when? 2. Does each and every page have to g...more >>

Very Strange PostBack and Viewstate Conflict Problem
Posted by john_20_28_2000 NO[at]SPAM yahoo.com at 3/15/2004 8:55:49 AM
I have a dropdownlist on my form. When I first load the page no PostBack, the ddl loads fine. When I create a brand new order (INSERT, etc), the same ddl is supposed to be populated with new values. And it does show on the screen the newly populated ddl. It LOOKS fine. I was having vari...more >>

Looking for Good Intro Web Sites
Posted by rob at 3/15/2004 8:40:44 AM
Hey, I've got several years of ASP Classic under my belt, but am looking to finally make the plunge into ASP.NET. I'm looking for reference materials, and ultimately a good book (I see another thread for that though). So, with that in mind, I'm looking for and would appreciate pointers ...more >>

I'm using C# webForms and need to open a new window that loads another .aspx page, HOW??
Posted by Bryan G at 3/15/2004 8:37:49 AM
I'm using C# webForms and need to open a new window that loads another .aspx page, HOW?? Thanks, BG ...more >>

Debugging Web Service.
Posted by Kevin Burton at 3/15/2004 8:11:12 AM
I used to be able to step into a web service call. Now for some reason I no longer can. I have enabled ASP.NET debugging in the project but if I try to step into a web service call the debugger just steps over it. Any ideas Kevi kburton@visa.co ...more >>

Funny ASP.NET Session behavior
Posted by Eric Biggs at 3/15/2004 7:47:32 AM
Hi, I seem to be getting funny behavior with ASP.NET Sessions. According to the performance counters in ASP.NET Applications when I set the Session.Timeout (in the code rather than the web.config) It causes the session to be abandoned. Is this expected behavior? ...more >>

Multiprocessor system
Posted by Joy at 3/15/2004 7:06:08 AM
My production server contains more than one CPU but the WebApp has been developed on a single CPU environment. What do I have to change in order to make full use of more than one CPU? Thanks for helpin Joy...more >>

XSLT - ordering dataTables - Template-driven transformation
Posted by waltborders NO[at]SPAM yahoo.com at 3/15/2004 6:03:29 AM
Hi, using XSLT I'm able to output data, in CSV form, to an Excel 2002 spreadsheet. The report format follows the DataSet table order, not the required display order. Problem: I need a report with a different table order. I am trying to format the output of my DataSet from a C# ASP.NET web p...more >>

How to adapt a class for the DataGrid...
Posted by Tom at 3/15/2004 5:21:06 AM
Hi I've written a class (in C#) which collects data from a remote server Now, I'd like to make that data accesible from ASP.NET My thought is to somehow bind my class to the DataGrid control. I think that can be done by creating an adapter which adapts my class, and then bind the adapter to t...more >>

drill down charts
Posted by Rak at 3/15/2004 4:46:06 AM
Hi all I am building a reporting portal where I need to build several charts with drill down feature. Could u plese tell me wat r the options I have. I tried crystal reports. But I found it less flexible. Any resource will be really helpful Thanks a lot in advanc Rak...more >>

using IE Web Controls in asp.net
Posted by Rajaraman at 3/15/2004 4:21:05 AM
Hi al it seems the following microsoft link says tha we should not use IE Web Controls http://msdn.microsoft.com/library/default.asp?url=/workshop/webcontrols/overview/tabstrip.as Any body from microsoft can clarify this How other feels about this i am interested in creating a stuff like ...more >>

.accept = "image/*"
Posted by theintrepidfox NO[at]SPAM hotmail.com at 3/15/2004 3:47:04 AM
Dear Group file1.accept = "image/*" Why isn't this working? Still get a choice of 'All Files' and 'HTML'. What do I need to accept .jpg and .gif only? Tried file1.accept = "image/*" in Page_Load() and Initialize() with no luck. File Field is running at server. Thanks for your time & effo...more >>

Optimal way to create webcontrols?
Posted by lukas_ NO[at]SPAM hotmail.com at 3/15/2004 3:21:54 AM
What is the optimal way to create a webcontrol? Is it in the aspx-page or in the code-behind (A or B)? A. <asp:TextBox id="Test" runat="Server" /> OR B. Dim Test AS new WebControls.TextBox Test.ID = "Test" Page.Controls.Add(Test) Regards Krister...more >>

IIS not functioning
Posted by Jibey Jacob at 3/15/2004 1:09:16 AM
Hello: I installed IIS on my Windows XP Professional desktop and it's not functioning. When I type http://localhost/aspnet_client/system_web/1_1_4322/SmartNav.htm it says the Page cannot be displayed. I'm able to run inetmgr. Can someone tell me what is wrong? Thanks, Jibey Jacob ...more >>

Is this possible??
Posted by Bob McCormick at 3/15/2004 12:41:06 AM
Hi All I have several webforms that have ZipCode fields. What I'm wondering is if it's possible to have a user enter the ZipCode, and when they tab out of the field, then have a Script run that will do a lookup in a ZipCode table and then populate the City,State,County fields The TextChanged pr...more >>

Session expires
Posted by rahulkansara NO[at]SPAM hotmail.com at 3/15/2004 12:27:38 AM
Hi, I have an web application which I am able to access on one machine, but the same gives me problem when accessed through other machine. The only difference I could fine out between these two machines is the one where i am able to access my application has Internet Explorer 6.0. The other ma...more >>


DevelopmentNow Blog