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 > july 2003 > threads for wednesday july 2

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

Remote GAC Server
Posted by Softwaremaker at 7/2/2003 11:10:02 PM
Hi Fellow developers, Juz wondering if there is a remote Global Assembly Cache (GAC) Middle-Tier Server that acts just like a COM+ Server. Only things is its serving .NET Assemblies instead of COM Components. How do you deploy that GAC Server, if there is ? I have a web farm that runs 7 IIS...more >>


datagrid created from a view
Posted by David at 7/2/2003 11:04:17 PM
Hello, I have a datagrid populated with rows from a view. Because they are from a view, the rows are not actual database records, and therefore lack unique identifiers. So I have a command button for each row. When the button is pressed, I want to go to another page with all the informati...more >>

How to delete a cookie?
Posted by Boban Dragojlovic at 7/2/2003 10:34:47 PM
I need the statement for deleting a permanent cookie that I created earlier... The .NET documentation refers to the .discard property, but the compiler balks at that property e.g. Response.Cookies("deleteME").discard() ...more >>

Machine.Config followup...
Posted by David Waz... at 7/2/2003 9:38:45 PM
My base path is c:\WINDOWS\Microsoft.Net..... etc NOT C:\WinNt... So, on my machine, the machine.config is under WINDOWS, not WinNt......more >>

formatting a date field in a datagrid colum - newbie
Posted by RP at 7/2/2003 8:40:58 PM
I'm working with a datagrid control and needing to format a date field(from access) so that it just has dd/mm. Do I format it in the Tag or in my OnItemDataBoundEventHandler (or similar). I was looking at the DataFormatString parameter but couldn't get that to affect the data. Thanks Rich ...more >>

asp.net versions
Posted by Subsonic at 7/2/2003 8:22:28 PM
I have installed asp.net version 1.1 on my home machine, and when tried to copy a project to my ISP's server from VStudio using the \project\copy project menu I am told that my ISP does not have the same version of asp.net that I do, and that I should update the server. Is there a way to mak...more >>

Cookie Trouble --> disappearing
Posted by dave at 7/2/2003 8:21:24 PM
I have 2 pages... in the first page i check to see for the existance of the cookie, if found do something else set the value and set the cookie. (cookie gets set ok) I use the following code to read and write the cookie.. READ.. Dim stmp As String Dim c As HttpCookie = H...more >>

ThreadAbortException
Posted by David at 7/2/2003 7:24:11 PM
Just moved my app. to V1.1 on W/2003 using .Net studio 2003... It runs a lengthy process, sending progress output. The web app dies EXACTLY 105 seconds into the process. I checked all settings in IIS, machine.config and Web.config. The exception is a System.Threading.ThreadAbortExcepti...more >>



importing Aspx page into ASP page
Posted by Lakshmi at 7/2/2003 5:47:33 PM
Hello I am working with Visual Studio .net and I have created an aspx page. Now I have to import this into an existing asp page. So there is a menu bar on the left of the asp page and my aspx page is on the right. I am using iframe to do this. <iframe name="frame1" width=650px frameborde...more >>

ASPNET Account
Posted by Rich at 7/2/2003 5:46:42 PM
I needed to go to my user accounts when I discovered this aspnet machine account.I didn't know where it came from so I deleted the account. Now I find it's from netframe works 1.1 and since I deleted the account(left netframework 1.0 and 1.1 intact in add/remove)it is possible I could have...more >>

Clunky Cache Code Conundrum?
Posted by Jim Owen at 7/2/2003 5:45:01 PM
I am storing all my application data in the application cache. Anytime I have a method as part of an asp.net form, I need to access the objects in the cache. The only way I can think of to do this is to call something like: MyDataType LocalVar = (MyDataType)Cache["MyData"]; Which works fine,...more >>

aspnet_wp.exe memory usage keep growing
Posted by Clement at 7/2/2003 5:41:46 PM
hi, i have an asp.net site and is using SQL Server 2k. i realize the aspnet_wp.exe memory usage keep growing and i will receive an error for the pages that call the sql connection. others page with no sql connection is fined. At the time when i encounter the error, i check the memory usage for ...more >>

Idle time updates
Posted by Jim Owen at 7/2/2003 5:41:09 PM
I am storing a bunch of data in the application Cache. I want to be able to update the database from the cache (by calling INSERTs and UPDATEs on objects newer than a given timestamp). That I can do. The problem is I know there is a way to make this happen right after a session ends, but I can't ...more >>

datagrid question
Posted by Tariq Ahmad at 7/2/2003 5:34:08 PM
hi, i have a templatecolum in my datagrid. the template contains a hyperlink called "hypFind". when i run my page and do View|Source each instance of hypFind has a separate id like this: id="dgRooms__ctl2_hypFind", id="dgRooms__ctl3_hypFind", id="dgRooms__ctl4_hypFind" etc.. my questio...more >>

Concatenating A Double
Posted by Ron at 7/2/2003 3:40:07 PM
Can anyone tell me how I can remove a few zero's from the end of a double? For example, the number I have is 55.0000, the number I need is 55.00. How can I go about trimming the zeros? Thanks, Ron ...more >>

Unknow number of columns in repeater
Posted by Antonio Maciel at 7/2/2003 2:54:07 PM
Hi. I have a datatable created at runtime that I want to display using a repeater control. The problem is that the number of columns of the datatable can vary. Is there any way to configure the itemtemplate section of the repeater to display data for an unknow number of columns? Thanks, ...more >>

How to question: Added new values to dropdown lists & database
Posted by Chris Becker at 7/2/2003 2:04:18 PM
This is my attempt to rephrase a question I asked earlier that got no response. I suspect it was my poor/unplanned wording. Here is another attempt: I have a form with some drop down lists. I would like the user to be able to start filling in the form, then get to one of the dropdown lists ...more >>

Move to bookmark after postback
Posted by Dan M at 7/2/2003 1:58:29 PM
Is there anyway to return to a specific location on a web page after a postback? If I place a list box at the bottom of a web page that a user has to scroll to, how can I allow them to add items to the list box without getting thrown back to the top of the page on post-back? ...more >>

Applying datareader results to label or text???
Posted by KathyBurke40 NO[at]SPAM attbi.com at 7/2/2003 1:47:51 PM
Please tell me where I'm going wrong on the marked lines***. The code is fine to that point. I've only used this code to populate dropdownlists using databind to the control. Here, I just need to get the one field associated with a variable or a label control. THANKS! kathy Dim Conn3 As ...more >>

A failure occurred writing to the resources file. Access is denied. -- RESX file is locked? -- WHY?
Posted by Mark Kamoski at 7/2/2003 1:14:21 PM
Hi. This is an error that comes up fairly regularly when trying to run the "Rebuild All" command in a Solution that contains more than one project. C:\VSS\WebAppDev\INVOICING\web\site\detail_grid.ascx.resx A failure occurred writing to the resources file. Access is denied. The offending...more >>

Regional settings
Posted by René de Leeuw at 7/2/2003 1:12:39 PM
Hi, I'm builiding an asp.net application on a Windows XP Professional machine. My regional settings are dutch but the datatype money is still in dollars and the dates m/d/y format. Is there a possibility to change that? Thanks in advance. Regards René. ...more >>

DataList Container
Posted by Chris Fink at 7/2/2003 12:57:42 PM
Hi, My question is how do I set some text within my datalist itemtemplate to be bold, based on the higher value of two bound data items? For example, if the value of <%# Trim(Container.DataItem("points1") %> is greater than the value of <%# Trim(Container.DataItem("points2") %> then I want t...more >>

still not working
Posted by Charles A. Lackman at 7/2/2003 12:19:23 PM
How do I retrieve a value from an ASP.NET Textbox in Java Script. The following code returns Null, What am I doing wrong? var AName = document.GetElementById("txtName.Value") Changing "Value" to "Text" also returns Null, Also, if I remove "Value" [object] is returned. txtName is a ASPX...more >>

DataBound ListBox
Posted by ana_stasie NO[at]SPAM yahoo.com at 7/2/2003 12:16:09 PM
I have the following code (this is a snippet): InitDBConn(); OpenDBConnection(); OleDbCommand cmdRidge = new OleDbCommand("SELECT * FROM TRDRidgeTypes", oleDbConn); OleDbDataReader oleRidges= cmdRidge.ExecuteReader(); if (!this.IsPostBack) { ddlRidge.DataSource = oleRidges; d...more >>

Application events
Posted by William F. Robertson, Jr. at 7/2/2003 12:16:06 PM
Is it possible to wire another event handler to the Application events? If so, how can I gain access to the events for the Application. thanks, bill ...more >>

Removin a user control
Posted by Kurt at 7/2/2003 12:06:14 PM
If I load 4 user controls using LoadControls is there a way to remove 1 of them? Thanks! Kurt ...more >>

How to prevent changes to CheckBoxList
Posted by Meerkat at 7/2/2003 12:00:14 PM
Hello. Can anyone tell me if there is ANY way to prevent the user changing the values in a checkboxlist. I just want to use it for information only. Disabling it is not an option as it results in a unacceptable gray color. Many thanks in advance for any replies....more >>

question on access control
Posted by Tony at 7/2/2003 11:59:24 AM
Hi, I am a newbie, currently i am doing a project, upon user login, there will be 3 or 4 levels of previleges of access to the system, that is, for example, User A can only access 1.aspx, 2.aspx, User B can only access 2.aspx and 3.aspx. User C can access all. Anybody can give me a hint how to...more >>

returning values from dynamically created user control
Posted by Duncan Welch at 7/2/2003 11:55:14 AM
Hi, I've got a fairly simple date control, that I'm creating dynamically in my page. The reason for creating it dynamically is that I want the ID to vary, depending on it's situation. The control loads on the page, and the set date is shown. The problem is, when I submit the page, the con...more >>

Alternatives when user's browser doesn't accept cookies
Posted by Robert V. Hanson at 7/2/2003 11:36:41 AM
If you have per user information that you want to store in session and the setting in web.config is set to cookieless=false so you are intending on using cookies, the user's browser is set to not accept cookies, what can you do as alternative for storing that data? What is the tradeoff if you ...more >>

Please Help With Java Script and ASPX
Posted by Charles A. Lackman at 7/2/2003 11:01:33 AM
How do I retrieve a value from an ASP.NET Textbox in Java Script. The following code returns Null, What am I doing wrong? var AName = document.GetElementById("txtName.Value") Changing "Value" to "Text" also returns Null, Also, if I remove "Value" [object] is returned. txtName is a ASPX...more >>

Session_End Not Firing
Posted by Chris Sibel at 7/2/2003 10:50:03 AM
Hey guys I have a user tracking setup to track users. What it does is once a user hits my site it sends me an email telling me some info and once a user clicks the logout button it sends a second email that tells me what pages the visited, how long they were on each page, etc. The second email is...more >>

C# interfaces
Posted by William F. Robertson, Jr. at 7/2/2003 10:49:48 AM
This is probably a more C# language question, but how can I tell if an object implements a certain interface? bill ...more >>

Passing parameters to user controls
Posted by akira NO[at]SPAM regonline.com at 7/2/2003 10:36:35 AM
Hello. I'm having problem with passing parameters from .aspx file to user control. Could anyone tell me how to pass parameters from .aspx file to user control(.ascx) and how to recieve parameters at .ascx? Thank you for your help!...more >>

Check for button click in page load...
Posted by Bob Erwin at 7/2/2003 9:44:54 AM
Hey, I have an interesting problem that I need some assistance for... It is my understanding that when you click a button on an ASP.NET page, it will actually run the page load first and then run my button procedure. Is there a way, that I can check to see if the button was clicked in the *...more >>

Cookies Liability Issue
Posted by Robert Hanson at 7/2/2003 9:39:14 AM
After you determine that a user's browser is set not to use cookies when storing per user information in session, since you can't change to cookieless for that particular session (only in machine.config and web.config), what is the suggested alternative? Thanks in advance, Bob Hanson CEO ...more >>

Remote_User visible in ASP but not ASPX
Posted by Matt at 7/2/2003 8:59:49 AM
I'm trying to convert a site to ASP.Net and I noticed that when I try to use the Request.ServerVariable("REMOTE_USER") value with the ASPX page I get a generic value. If I use the same code on an ASP page and place it in the .Net website directory I get my NT login (which is what I want). I sa...more >>

Tracking DataGrid changes
Posted by glenn.owens NO[at]SPAM kodak.com at 7/2/2003 8:31:18 AM
I have a DataGrid web control which I've dynamically populated with template columns to be used for bulk-editting. Generally, all of the columns are textbox and/or dropdownlist child controls. Currently everything is working. I can find the updated rows/columns by parsing the posted data colle...more >>

update dataset
Posted by pas07920 at 7/2/2003 8:24:29 AM
How can I update a dataset loaded with data from an xml file? The structure of the xml: <Poll> <Choice>First Choice</Choice> <Value>0</Value> </Poll> .... .... I think I want to load a dataset with the data, update the dataset, then write it back to the xml file. Qu...more >>

Request for guidance storing of information in ASP.Net
Posted by Robert Hanson at 7/2/2003 7:48:21 AM
I am new to the asp.net application building and I have read the information regarding the storing of information using session vs cookies vs viewstate. I am asking for suggestions/guidance as to when each is appropriate. I noticed that in the case of cookies, there is a liability because of...more >>

HELP: How to I download a file without viewing it in ASP.NET?
Posted by luvdotnet NO[at]SPAM hotmail.com at 7/2/2003 7:04:53 AM
I need to download a file like MS Word doc from a web form without viewing it. Something that goes directly to the 'Save As' dialog. Right now the browser takes over the displays the document. Is this possible? TIA luvdotnet@hotmail.com...more >>

Unhandled Exceptions & Framesets
Posted by terry at 7/2/2003 5:34:49 AM
Hi, Question: When using Framesets and Server.Transfer in the Application_Error event handler is there a mechanism to get the error page to display in the total view of the browser not just in the offending frame? Overview: I have an application in which I am using framesets. When an ...more >>

Timer
Posted by Rob at 7/2/2003 5:20:23 AM
Hi, what is the best way to show the actual time on an aspx site? Robert...more >>

src Versus codebehind
Posted by varun_789 at 7/2/2003 4:49:01 AM
hello friend, while developing an application, i encountered a subtle point. for a aspx page, what is the difference between src property and codebehind property ? src stands for code-behind class to compile where as codebehind stands for code-behind class to design. regards....more >>

Problems with frameset
Posted by Henrik_alstersjö at 7/2/2003 3:05:11 AM
Hi everyone I have a problem with a frameset with 3 frames. In the "main"frame i have a page with a numer of textboxes and dropdownlists and all of them are set to autopostack = true If i change the text in a textbox and then emediatly opens a dropdownlist the frame goes totally white and i ha...more >>

Response.Redirect and frames
Posted by Steve at 7/2/2003 2:00:53 AM
I have a page which has some frames. After processing one of the pages I want to redirect to another frameset. However, when I use Response.Redirect I end up with a frameset with the frameset rather than just the new frameset. I have had to resort to using Javascript to do this but I'd ...more >>

Close a window after button click
Posted by Steve at 7/2/2003 1:57:16 AM
The user clicks a buuton and the server does some processing. If successful I want to close the window. Any suggestions? Steve...more >>


DevelopmentNow Blog