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 > june 2004 > threads for thursday june 3

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

newbie please help!
Posted by Kate_Luu at 6/3/2004 11:55:10 PM
How can I know the page was closed at client site? Thanks you all in advance. Take care and have a nice day... Kate ...more >>

Packing IE Web Controls in the Setup
Posted by s_laha NO[at]SPAM rediffmail.com at 6/3/2004 11:25:10 PM
Hi, I have developed an web aplication using ASP.NET and for menus I use IE TreeView control. Now the trouble is I need to install IE Web Controls in the server while deploying my application. Is there any way I can package it in my Setup only so that it runs and gets installed while in...more >>

Old Version of .NET
Posted by s_laha NO[at]SPAM rediffmail.com at 6/3/2004 11:24:39 PM
Hi, When I installed VS.NET, it installed .NET 1.0.3705. Now I have installed .NET Framework redist 1.1, but the system seems to be using the older one. How do I check/assure whcih version is being used and how to get rid of the older one (to reclaim some space!). regards, -suraj...more >>

Multi-relational tables in a dataset....
Posted by rmorvay at 6/3/2004 10:47:01 PM
I have three tables in a dataset that I need to relate. I know how to relate two tables but going beyond that is, quite frankly, beyond me. Any insight? Here is the C# code that I did for a two table relate. I need to relate TerritoryExceptionColumns as well: DataColumn[] Territo...more >>

Sample demonstrating how to create surveys?
Posted by Steve Franks at 6/3/2004 10:34:54 PM
I have a need to create a customer satisfaction surveys in ASP.NET. Nothing too fancy, just a handful of questions. Can anyone guide me to an ASP.NET sample application which demonstrates how to create an online survey? ...more >>

Scrollable Datagrid...
Posted by EMW at 6/3/2004 10:34:43 PM
I have used the info on this page to create a scrollable datagrid. http://www.datawebcontrols.com/faqs/CustomizingAppearance/ScrollableDataGrid.shtml But now everytime after a postback the datagrid scrollbars are in their default state aka value = 0. How can I, if possible, retain the posi...more >>

Listbox - How do I sort?
Posted by Jason P Opdycke [MSFT] at 6/3/2004 9:56:16 PM
Hello All - I have 2 list boxes. Items in Left list box populated from a DB. I remove an item from the left box and add an item to the right box to allow user selection. When that item is removed again, the item is in the bottom of the listbox on the left. Here is the remove code snippet...more >>

Could not load type 'Namespace.PageName'.
Posted by Bent Biker at 6/3/2004 9:16:45 PM
This message occurs when browsing to the start of an asp.net program that has been transferred to a machine with the dotnet framework 1.1, IIS 5.1, XP/Pro, and SQL/Server. It is is operational on the development machine using vs.net 2003, running quite well. The program has been built on the d...more >>



HELP!!! ASP.NET pages not displaying correctly
Posted by todd.carter NO[at]SPAM mybizideas.com at 6/3/2004 8:41:19 PM
Hi, For the last couple of days I have been stumped as to why my computer decided to not allow me to either open or view asp.net pages. I have not added any programs or has any of my settings changed in the last few days. Here are the steps I have gone through to try and restore my asp.ne...more >>

Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were
Posted by Guoqi Zheng at 6/3/2004 8:07:00 PM
Dear sir, I keep getting the following errors on one of my sites after clicking for many times. Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached. Belo...more >>

ASP.Net Server objects and properties
Posted by Meya at 6/3/2004 7:26:04 PM
Hello The issues is. while developing an asp.net page, it could not diplay the server-object properties automatically. e.g: server.createobjec response.writ request.form, etc. now i am typing everything manually...Do I need to change any settings to display the object-properties automatica...more >>

DesignMode for webforms...
Posted by Galore at 6/3/2004 7:22:53 PM
Hello, In winforms, we had the DesignMode property, to know when we're developing code or executing the application. I wonder if is there something similar in webforms. I need to write a webcontrol, but when I'm in design mode, I wish the webcontrol rendering only its name: Protected ...more >>

ASP.net navigating records
Posted by thebargirl69 NO[at]SPAM hotmail.com at 6/3/2004 7:12:28 PM
I want to be able to create a web form that contains textboxes, that I can nagivate thru ie:first, next , previous and last. As well as diplaying the number of records and what record I am currently on. I tried using this to fill the form with the records for each textbox and column: Te...more >>

import of dynamic class file
Posted by s.hong at 6/3/2004 7:11:26 PM
Hello? On the ASP.NET, I can use the class by import declation on the top of page. <%@ page language="vb" explicit="true" aspcompat="false" debug="true"%> <%@ import namespace="System.Data" %> <%@ import namespace="System.Data.SqlClient" %> It's work well for the compiled class files in /...more >>

update help
Posted by Mike at 6/3/2004 7:02:17 PM
I have an update page and on the page there are sometimes names with 's (car's) in it When I try to update it i get a syntax error. How can i update the record with a 's (car's) in the name? thx ...more >>

Slow loading of page and OnClick not working...
Posted by EMW at 6/3/2004 6:57:14 PM
Hi, I've got two problems: My datagrid is 35 columns wide and 26 rows tall. Columns 4 to 35 are filled with ImageButtons, created during runtime and each one with it's own name. During the creating of these buttons I do the following: img.Attributes.Add("OnClick", "ButtonClicked") With...more >>

Urgent Request - TONIGHT
Posted by Demetri at 6/3/2004 6:51:03 PM
Is anyone available tonight to help me out a wee bit? Perhaps some email or MSN instant messenger communication? I'm very pressed for time here to create a demo for a group tomorrow I'm having troubles getting an event to fire for a superclassed control and need another set of eyes to perhaps help...more >>

Please help! - configuration error
Posted by VB Programmer at 6/3/2004 6:36:47 PM
I am using the free rich text editor control from ExportTechnologies. Every once in a while I get this error (for no apparent reason). Sometimes it happens even when I'm working on a totally non-related page! To fix it I strip out ALL references to the editor the redo the references and it so...more >>

Modifying a javascript...
Posted by Krest Kusten at 6/3/2004 6:16:02 PM
hiye, i've got a javascript file *.js which i need to pass in some parameters to it so it can render it. heres the code.. if you notice the link, my actual intention is to query the link from the db and put it into the javascript below. i'm clueless on how this is to be done. anyhelp is appriciat...more >>

Do I have to do anything for Netscape clients?
Posted by john_20_28_2000 NO[at]SPAM yahoo.com at 6/3/2004 5:53:20 PM
I am about to start production outside of the Intranet for the Internet. I use Visual Studio .NET. Is there anything I have to set on the IDE for the Netscape browsers? Last I checked there were still quite a few, though, of course, not nearly like there used to be - no offense, just trying t...more >>

Calling Javascript from codebehind...
Posted by Ekken Zuiber at 6/3/2004 5:31:03 PM
hiye people, i know this have been ask multipletimes over the past year, but i cant find any here in the new group so here goes.. in my code behind, i'm going to do some validation and use javascript to throw the msg out to them, these errors msg are query from the db 1st, how can i call a javasc...more >>

Image Repositioning in ASP.NET
Posted by PhoenixFalconhand at 6/3/2004 5:16:31 PM
Begginners' question: I am trying to make a small webform application that doesn't use frames. The application is supposed to show some thumbnails on the left, and whenever you click on one of them, the large image shows on the right side. The tricky part is when I scroll down the thumbnails ...more >>

MessageBox questions
Posted by Russ at 6/3/2004 5:07:39 PM
I've been trying to figure out how to show a simple messagebox with an OK button in my web client program (C#). I have looked at every reference to JScript and MessageBox that seemed even remotely like it could help, both in the VS help and in this NG. I found lots of examples of people saying...more >>

distance calculator
Posted by mahsa at 6/3/2004 4:51:04 PM
Hi Im llooking for a good distance calculator what is your suggestio ...more >>

non-persistent cookies
Posted by hochun at 6/3/2004 4:36:21 PM
I am trying to read non-persistent cookies that is not reading in the program coding is there any software thich can read it (just like Cookie Monster, but it can't read non-persistent cookies ) Thanks ...more >>

ASP.Net and HTML Front End
Posted by Chris Kennedy at 6/3/2004 4:06:31 PM
I am fine designing .net apps by myself. For my company to start utilising ..net properly we need systems and approaches in place where we can integrate web designers designing the frontend and web developers designing the code behinds. Our designer mainly hand codes, how do I get him to give me ...more >>

Session Does Not Time Out
Posted by Jim Heavey at 6/3/2004 4:06:02 PM
My session do not appear to be timing out. When I save something in ViewState, my expectation is that if no interaction occurs within the specified time, that the session variable would be null. Is that not the case? Here are the parameters in my webconfig file... <sessionState mod...more >>

Redirect
Posted by Jim Heavey at 6/3/2004 3:01:10 PM
I have a web page which accepts a query string to retrieve the record that the user wants. The user could then select different values as which cases I am re-directing back to the same page with a response.redirect with the new query string. If I watch this in the debugger it seems to go back to t...more >>

ASP Takes Over The Server
Posted by Jim Heavey at 6/3/2004 3:01:09 PM
I have had a couple of instances where ASP.Net does not respond or I get a server is busy message. When I look at what is running on the server, I see the ASP.Net process consumming all of the CPU of the server. Memory usage seems to grow and grow and nevery drops. Since this is the very first ap...more >>

Session Time Out
Posted by Jim Heavey at 6/3/2004 2:51:03 PM
Can I set session timeout in my web config file. I went and looked at my machine config file and there were a couple of timeout values, so I am not sure which one I would set so that the session would time out after 20 minutes Thanks...more >>

Save generated response stream as a html file
Posted by Tom Vergote at 6/3/2004 2:34:46 PM
Hello world, I'm running into an issue where I would like to save the response stream as an html file on the server (and convert it to a pdf) I've tried putting a streamreader on the outputstream like in the following code, but the stream doesn't seem to be readable Is there any way to do...more >>

Reading Page Title?
Posted by Chad A. Beckner at 6/3/2004 1:51:59 PM
Does anyone know how to read the page title the executing page, using ASP.NET? I thought that this could be accessed using the Controls collection, but I can't seem to figure it out. Thanks! Chad ...more >>

Include asp code in aspx file
Posted by Grey at 6/3/2004 12:51:11 PM
I need to use some asp code to generate some html code. Is it possible = to include asp code into aspx file?? I mean asp and aspx codes are = co-existed in the same page. Million thanks...more >>

.Focus problem..urgent..
Posted by avnrao at 6/3/2004 12:38:31 PM
Hi, I am facing a problem with control.focus (javascript). Here is the description of the issue. 1. I have 2 aspx files. on Aspx1 I have button named NewRow. Clicking on this, will redirect page to Aspx2 which has a Datagrid. PageLoad of Aspx2 displays the DataGrid with existing data fil...more >>

Different behavior between InProc session and SQL Server Session
Posted by VS at 6/3/2004 12:36:05 PM
HOW TO RECREATE 1) Create a Dataset 2) Apply a sort expression to the DefaultView of the first table in the DataSe Ex: __dataSet.Tables[0].DefaultView.Sort = "EMP_NAME" 3). Save the DataSet in the sessio Ex: Session["SortedDataSet"] = _dataSet 4) Retrieve the DataSet from the Session and...more >>

code on button not firing on click
Posted by Eric Sabine at 6/3/2004 12:13:05 PM
I have code in my page_load event that definitely gets fired because I can step through it. But code wired to my button_click event isn't getting fired. The control is of type system.web.ui.webcontrols.button. If I double-click on the control in the design window, I am taken to the appropraite...more >>

Object Must Implement IConveritble (Application Blocks error)
Posted by Philip Townsend at 6/3/2004 12:11:13 PM
I am using the Microsoft Application Data Block and am getting the following error when trying to return a DataSet. Object must implement IConvertible Here is the code where the error occurs: private DataSet getResults(string sd, string ed) { DataSet dsresults=new DataSet(); d...more >>

Web site needs some back-end processing, looking for best methods!
Posted by msnews.microsoft.com at 6/3/2004 11:54:43 AM
I have a VB.NET web application using SQL Server. I need to do weekly and monthly processing on that database that will probably require a couple hours to complete, so having this run in the web application is probably not a good idea. I'd like to keep this all in the VS.NET environment (VB.NE...more >>

CDO 1.21 Library in ASP.net web Application
Posted by Sal at 6/3/2004 11:53:59 AM
I have used CDO 1.21 in the past in ASP and VB.NET windows applications to create contact and message items in Exchange for different profiles and users. I seem to have problems in Logging to MAPI.Session when I run the same code from my ASP.NET page. Does anyone have a sample code that works o...more >>

Client side scripting
Posted by Ben at 6/3/2004 11:49:05 AM
I want to enable/disable a text field cleint side based on a value in a dropdownlist, what is the 'best'/'standard' approach for handling this in ..net? I know i just just throw an on change attribute on the server controls tag, but is that the 'right' way to do it? Thanks, Ben ...more >>

IE on Mac
Posted by Mark at 6/3/2004 11:44:15 AM
Bit off topic, but is it true that Microsoft is no longer going to be upgrading IE for Mac? Thanks. Mark ...more >>

RedirectStandardOutput From Console
Posted by MolecularFunk at 6/3/2004 11:36:02 AM
I'm coding an ASP.NET application using C# in Visual Studio.NET. I've researched the Process class and its associated members extensively, and I'm fairly certain my code is solid. I'm attempting to use a streamreader to read the output from an external command line application (grep.exe, in this...more >>

Displaying XML
Posted by elora_c NO[at]SPAM yahoo.com at 6/3/2004 11:26:46 AM
There have been lots of posts on this topic, but I haven't been able to apply any of the suggestions to my situation. I have an .aspx page with a form on it that has several submit buttons on it. Clicking a button will cause a web service action that returns XML. I would like to display this...more >>

ConnectionString - best practices ques
Posted by G. Dean Blake at 6/3/2004 11:26:09 AM
We currently distribute a web application to serveral servers for a customer. We have been putting the connection string in our web.config file under <appSettings> <add key="dbconn.Connectionstring" value="workstation id=server025....... etc. When we deploy the application we have to change t...more >>

Response.Redirect
Posted by Big E at 6/3/2004 10:59:09 AM
I'm currently using a submit button. When users click submit it goes to the VB code and does a Response.Redirect. The Response.Redirect is very slow. What are the other options for moving between web forms. Thank you, Big E ...more >>

Newbie Virtual Question
Posted by Chris Kennedy at 6/3/2004 10:39:58 AM
How do I tell IIS where to put the physical folder when it creates a virtual directory on behalf of VB.net standard (I am not using VS). Someone told me but I forgot to note it and can't find it on Google. Regards, Chris. ...more >>

Remove Decimal Places
Posted by harrysingh1976 NO[at]SPAM hotmail.com at 6/3/2004 10:30:33 AM
Hi, Does anyone know how to remove decimal places? ie: I have 334.43 and I need it to be displayed as 33443. Sounds simple enough, but I cant seem to find anything that works! I have tried various ToString(x) formats, but no joy as yet. Thanks in advance. H...more >>

Track Domain User Logons and Logoffs
Posted by Bruno_Mendonça at 6/3/2004 10:26:13 AM
My boss asked me to build a program to create a report with logon/logoff events for all users within our windows domain. I'm using .Net to do so and decided to have a program running on the Domain Controler to listen to all new events and send them to a database. This last part I haven't w...more >>

Session expired exception
Posted by Galore at 6/3/2004 10:14:41 AM
Hello, Guys, how can I determine the kind of exception is thown when the I try to access the Session object when it has expired. I need to write code that handles it (show a custom error page). When another exception happens, such as oledbexception, I'll use another custom error page, def...more >>

I need a good solution ASAP!
Posted by Chad A. Beckner at 6/3/2004 10:02:20 AM
I am (and have been trying!) to find a good way to do the following few things: 1. When a user requests a .aspx/.htm/.html file, the file needs to be automatically integrated into a page template. In ASP.NET, how can I do this? 2. I know I can put custom controls, map .htm/.html files to u...more >>

Re: non-persistent cookies
Posted by hochun at 6/3/2004 9:52:42 AM
I am trying to read non-persistent cookies that is not reading in the program coding is there any software thich can read it (just like Cookie Monster, but it can't read non-persistent cookies ) Thanks "John Saunders" <johnwsaundersiii@notcoldmail.com> ¼¶¼g©ó¶l¥ó·s»D :ujHIGOISEHA.2772@TK2M...more >>

Can Flash player be detected?
Posted by Bruce W.1 at 6/3/2004 9:36:55 AM
Is there a way to detect whether the end user has a Macromedia Flash player installed? If not then I would not want to attempt to push out an .swf file, maybe a GIF instead. Thanks for your help....more >>

.NET version of "ActiveX" ?
Posted by Andrew at 6/3/2004 9:13:44 AM
Hi all, I am still getting into ASP/VB.net and have a concern about something I see coming. Currently our entire website is classic ASP, yet the feelings from on high is that we need to start looking into updating the site to ASP.net. For the most part I am in favor of this, but I am con...more >>

Preventing bookmarking
Posted by chazmanian at 6/3/2004 8:36:05 AM
We have some link buttons that allow the user to "view" a PDF file. That is, the link runs server-side code that generates the virtual path to the PDF file in question and then does a Response.Redirect to the file The problem is, when the file is opened via a combination of IE and Adobe Acrobat, t...more >>

Can't create ASP.Net apps in VB 2003
Posted by John Howard at 6/3/2004 8:08:06 AM
When I attempt to create an ASP.Net application in VB 2003, I get the message "Visual Studio .Net has detected that the web server is running ASP.Net Version 1.0". I have tried the following: 1) Uninstall VB, the Framework, and IIS; then reinstall in order: IIS, Framework, VB. 2) ...more >>

How do you compare local and remote versions of a file?
Posted by aualias at 6/3/2004 7:09:50 AM
Hi, Using ASP.NET, how can I compare my local version of a file to a version on the server? Another developer made changes to the file that I am working on and I do not want to lose (well, I sort of do...) his changes. Thanks. AU ...more >>

Cannot find Web Service Extension
Posted by Jo at 6/3/2004 6:43:16 AM
Hi guys, Sorry for the mistake in the previous post.I cannot see the Web Service Extensions in IIS. Any ideas what could be missing.I just installed IIS before installing VS.NET Best regards, Jo...more >>

namespace and subdomain
Posted by jason NO[at]SPAM cyberpine.com at 6/3/2004 6:29:40 AM
Hello - pardon the newbie question. I have an asp.net page that imports custom vb namespace/class from a vb compiled dll. The code works great when I call the page via the full IP address and path over the net. IE http://123.456.789/my/house/go4it.aspx I've since created a dns A record po...more >>

WebServer Extensions
Posted by Jo at 6/3/2004 6:10:55 AM
I installed IIS but cannot see the web server extensions in IIS. What could be wrong Thanks in advance...more >>

_vti_cnf ?
Posted by JohnR at 6/3/2004 5:51:07 AM
In my VS web forms project folders there always seems to be a sub-folder with the name _vti_cnf and that sub-folder seems to contain copies of all of the webforms and code behind files. Does anyone know what this stuuf is. I'm backing up my work to a 100mb Iomega disk and it's running out of ro...more >>

Using Access queries via asp.net
Posted by Dirk.vervecken NO[at]SPAM vgc.be at 6/3/2004 5:49:41 AM
Hi i've got an application in dotnet that uses queries from an Access database. Now most of the common select statements return the desired data, however, one the queries requires a parameter. This particular queries does not return the correct data. I've tested the query in access and it works...more >>

Update of Datagrid after delete
Posted by Kashif Mehmood at 6/3/2004 5:41:02 AM
Greeting I am using the following code to delete a row from a datagrid ---------------- Private Sub dgClientTypes_DeleteCommand(ByVal source As Object, ByVal e As System.Web.UI.WebControls.DataGridCommandEventArgs) Handles dgClientTypes.DeleteComman cmdClientTypes.CommandText = "D...more >>

Determining previous page
Posted by Newbie question at 6/3/2004 5:36:02 AM
How can you determine (in server code) the name/address of the page before the current page Thanks Andre...more >>

custom controls and datagrid
Posted by Ben at 6/3/2004 5:31:02 AM
Hi I've got a problem with a custon control that inherits form the UserControl class and that used the overlib javascript library. The control works well in a standard form but when I used it in a datagrid, the properties that were binded from the database doesn't keep their value through the pag...more >>

datalist - create diff. controls in same column
Posted by a NO[at]SPAM b.com at 6/3/2004 4:36:35 AM
Hi, I have a datalist which has a column with data from a database. I would like the column to either show a textbox with the value of the data field, or a button. The contol created would depend on the value of the data field. i.e. if data value < 10 then create textbox with value of da...more >>

what is the best way to implement a navigation
Posted by David at 6/3/2004 4:21:44 AM
control? I am talking about a tab control with links to a bunch of pages which could be on the left side or accross the top of the page. I've used user controls, but having to put the user control on every page is getting tiresome. Is using frames a better way? Then if so, how would you ...more >>

Pre select multiple listbox items(newbie)
Posted by angela NO[at]SPAM kaisen.co.uk at 6/3/2004 2:22:24 AM
Hi I am having trouble doing this simple task: What I want to do is pre select the listbox called ltbLanguage (which allows multiple selections). while dtr.read() for i = 0 to dtr.fieldcount-1 ltbLanguage.selectedIndex = dtr("language_id") next end while At the moment it is only...more >>

Specified web server not running asp.net version 1.1 any more?
Posted by Lauchlan M at 6/3/2004 12:25:29 AM
Hi I have had a website developed in VS.net / asp.net 1.1 / C# happily under development for a while. Now when I fire it up today, it suddenly tells me that "Visual studio.net has detected that the specified web server is not running asp.net version 1.1. You will be unable to run ASP.NET we...more >>


DevelopmentNow Blog