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 > october 2004 > threads for wednesday october 13

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

Getting drop down value
Posted by John at 10/13/2004 11:13:33 PM
Hi I am trying to get the value from a web drop down control but there is no text property. How do I get the value in this case? Thanks Regards ...more >>


Regular Expressions Help
Posted by Jason Williard at 10/13/2004 10:28:09 PM
I am trying to break down the results of Request.ServerVariables("URL") into just the name of the script. Currently, the output is looking like: /lang/de/test.aspx I want to strip the /lang/de/ and keep test.aspx. The /lang/de/ may not always be there. Sometimes it may just be "/" or there...more >>

Error with ArrayList
Posted by Patrick.O.Ige at 10/13/2004 10:01:02 PM
Hi All, I have a code below:- That Binds a DropDownList to a database using ArrayList. This code works well in ASP.NET webMatrix. But when i use it below in VS.NEt it gives me the error:- System.NullReferenceException: Object reference not set to an instance of an object. Can amybody tell ...more >>

Auto-add files & folders to VS.Net project?
Posted by Jon Maz at 10/13/2004 9:57:59 PM
Hi All, I'm in a possibly unusual situation, that is working alternately on an ASP.NET web site from two dev computers, one of which has VS.Net installed on it, the other of which does not. As you can imagine, this is sometimes a pain in the ... When I go back to working on the computer wi...more >>

Option Strict
Posted by Simon Harris at 10/13/2004 9:32:17 PM
Hi All, I've been advised to use option strict. I've tried to read up on this, all i can find is that it... "disallows implicit narrowing conversions" This kinda makes sense - Means I have to explicitly cast or convert data when comparing/setting two different data types right? Is th...more >>

Showing datagrid totals in the footer
Posted by Justin at 10/13/2004 9:05:03 PM
I am trying to figure out how to display the sum total of a numeric column in the footer of a datagrid. I have tried putting a label control in the footer of a column but for some reason when I try to reference the label control using: txtTotalDollars.Text = ttlDollars.ToString(); I get ...more >>

Convert color image to B&W
Posted by Scott Schluer at 10/13/2004 9:03:05 PM
Is there a way to use the Image class to convert a color photo (GIF or JPEG) to a B&W photo? Thanks, Scott ...more >>

NTLM and many duplicated requests
Posted by Tom at 10/13/2004 9:00:20 PM
Hi, I have activated NTLM authentication on IIS on Windows 2003, and the log files show that for each request, three or four hits are generated. Typically, the first and second hit get a 401 (authentication required) and the third hit is successful (200). While I understand this is normal ...more >>



Response.Redirect with IE
Posted by sospetermurigi NO[at]SPAM scceramics.com at 10/13/2004 8:27:34 PM
Hi Ken, I have done that but still experiencing same problem. Tried the following i.e. turning smartnavigation = false and using server.transfer as below but nothing works. Please help. Page.SmartNavigation = False FormsAuthentication.SetAuthCookie(txtCustID.Text, False) 'FormsAuthent...more >>

Response.Redirect
Posted by sospetermurigi NO[at]SPAM scceramics.com at 10/13/2004 7:24:31 PM
Hi, I have a web application that has a login page. Once a user is authenticated, he gets redirected from the login page by using FormsAuthentication.RedirectFromLoginPage(txtCustID.Text, False) The above and response.redirect isn't working when I use Internet Explorer. Works fine with fir...more >>

Binding Arrays to Database?
Posted by Patrick.O.Ige at 10/13/2004 7:01:03 PM
I have 2 Array Values below how can i bind them to a database? Ideas are welcomed! Dim arrValues(4) As Integer arrValues(0) = 100 arrValues(1) = 135 arrValues(2) = 115 arrValues(3) = 125 arrValues(4) = 75 Dim arrValueNames(4...more >>

Problem in adding template of server side control using client side scripts
Posted by Lau Lei Cheong at 10/13/2004 6:21:36 PM
I have an aspx page which have the following code segment: <script> // I do something here template = "<input id=\"hidden_info_1\" type=\"hidden\" runat=\"server\"> // I do other things here </script> When I tried to run, it returns "Parser Error Message: The Runat attribute ...more >>

problem with running an win32 exe
Posted by Rajesh Birelly at 10/13/2004 6:18:57 PM
Hi all, I am calling an exe from C#.net web application by using System.Diagnostics.Process.Start(Server.MapPath(".") & "\HalfBidData.exe") the exe get calls but not performing the operation for which it meant. when iam runnig the exe i am getting the outupt. Can anyone help me on...more >>

Do not have permission to debug on the server (?)
Posted by ~~~ .NET Ed ~~~ at 10/13/2004 5:57:58 PM
Hi, First of all I my development environment is a Windows XP Professional machine. For security reasons my development account is a limited account, I only use the other account (with administrative privileges) for installing software and changing configuration, etc. The problem I am faci...more >>

ASP.NET InputStream is not a stream
Posted by Steve Drake at 10/13/2004 5:43:16 PM
All, I have a HttpHandler that handles a PUT, if i PUT 700MEGs of data it runs out of memory, i have found that this is due to the Request.InputStream loading the entire stream when you access it. If I run any of the following i get the error : Context.Request.SaveAs(@"C:\1.xxx",false); /...more >>

Suggestions for implementing personalization
Posted by NathanV at 10/13/2004 5:07:02 PM
I'm creating an e-commerce site and would like users to be able to freely navigate the pages without signing in. However, authorization and authentication is required to purchase products. Currently I am using session variables to monitor if the user is logged in or not. I have inherited ...more >>

Forms Authentication across directories
Posted by NathanV at 10/13/2004 5:03:03 PM
I have an application on my local machine that has a 'Manager' folder which holds the content management/admin pages to the site. I'd like to administer forms authentication for the pages in this folder alone. Do I have to make this a new application in IIS? If so, can I use user controls i...more >>

QueryString keys
Posted by Alex at 10/13/2004 4:57:47 PM
I have a question about determining if one QueryString keys exists. The = idea is, if this key exists, than its presence is enough to indicate = that its value is true. For example ... www.something.com/main.aspx?client Client is the QueryString, but no value is given. This would mean to me ...more >>

Enter Key in aspx page
Posted by Purvi T at 10/13/2004 4:44:41 PM
Hi, I am trying to do the enter-key capture in an aspx page. Since I wanted to use a common function in all my forms, I wrote a function as shown. I call this function on the textbox onkeydown by adding attribute as follows in the c# code behind file. txtUserID.Attributes.Add("onkeydown","Log...more >>

asp button in xsl
Posted by simon at 10/13/2004 4:40:33 PM
Hi, I was wondering how you include an asp.net button inside an xsl transform file. I want to put a button next to each entry when i style my xml data. Thanks in advance, Simon ...more >>

always getting a 0 returned using ExecuteScalar (ms datablocks)
Posted by Max at 10/13/2004 4:28:59 PM
Anyone know why I'm always getting 0 returned? My stored procedure returns -1. Dim iErrorCode As Int32 iErrorCode = Convert.ToInt32(SqlHelper.ExecuteScalar(AppVars.strConn, _ "gpUpdateMember", _ Convert.ToInt32(lblMember_id.Text), _ -snip- -Max ...more >>

check file size before post
Posted by nicholas at 10/13/2004 4:20:44 PM
when I upload a file, I can set in my code not to save it if the file size is too large. But then the user has allready been waiting a few minutes to upload his file, as this can only be controlled once it is uploaded. I would like to say to the user the file is too large before it uploads it....more >>

ASP.NET and browsers
Posted by Bart Schelkens at 10/13/2004 4:17:48 PM
Hi, It might be a stupid question. I'm creating a webapplication using vb.net. I was wondering can this webapplication be viewed in other browsers besides Internet Explorer? Or are we limited to IE? Thx ...more >>

relative document path problem
Posted by Calvin X at 10/13/2004 4:15:25 PM
Hi All, I am getting the following error when I try to open an xml file that is in a directory just underneath the site root. 'Could not find a part of the path "C:\WINDOWS\system32\content\site_text.xml".' I am loading my XMLTextreader in the following way: XmlTextReader rdr = new X...more >>

Identify User After Session Ends
Posted by Alphonse Giambrone at 10/13/2004 4:07:56 PM
I am building a web app for users to add/edit data. They may add/edit several records during a session. When they are done (not necessarily immediately, could be 10 or more minutes later), I need to send an email with some summary info of what was added/edited. I can keep track of the records b...more >>

Vertical Datagrid
Posted by Kenneth Keeley at 10/13/2004 4:02:30 PM
Hi, Is it possible to have a datagrid that has the results displayed verically, Ie the headers are down the left side. I have a page that displays the summary of all results in a datagrid, I then have a hyperlinkcolumn that links to a detailed page for the selected item. It is this page that ...more >>

open / close new window (no java)
Posted by nicholas at 10/13/2004 3:46:11 PM
is there another way to open a new window than using javascript. I would like to do it in VB.NET on an asp.net page. I also would like to close that same window. In fact here is what I want to do: asp.net page uploads file. So, on click upload begin => + open new window "uploading..." when...more >>

Closing child window and refreshing Parent window automatically
Posted by Sileesh at 10/13/2004 3:39:01 PM
Hi I have a btn in Parent.aspx page . On server_click() of the Btn, i am opening a new window called the child.apsx window. Child window also have a Btn. On serverClick of this Btn, I perform some operation . Once the operation is done, i have to close the child window, and refresh the pare...more >>

postback simulating button click
Posted by CW at 10/13/2004 3:35:12 PM
I have message entry screen that's causing me a bit of an issue. At the moment, there are 2 buttons, one is used to send message to another user (btnSend) and another is used to send messages to all users (btnSendAll). When user hits enter, I also simulate the effect of clicking button (btn...more >>

Compiling ASPX pages into the DLL
Posted by Anon-E-Moose at 10/13/2004 3:20:59 PM
Will there ever be a time when we can compile everything (ASPX, VB, Resources, etc) into a DLL? Sometimes the programmer doesn't want the end user to touch ANY files on the server. Compiling everything would make deployment a snap... ...more >>

New Property
Posted by Demetri at 10/13/2004 3:13:04 PM
Hi, I have created my own textbox class in order to implement some functionality that it does not already have (it inherits the TextBox webcontrol class). In addition, I would like to create a new property for it. Here is my problem: TextBox server controls get rendered as input tags on cl...more >>

"Invalid mail attachment" error from server only
Posted by GD at 10/13/2004 2:46:31 PM
Hi, An intranet application, with a SMTP mail function that lets users to attach files with emails by selecting files in their local computers (through a file browser component), works perfect on my local machine. However, after deployment to a server that has Windows 2003 Sever installed, th...more >>

How to close browser window automatically
Posted by Sileesh at 10/13/2004 2:45:07 PM
Hi I have a Button in an .aspx page. On server click of this button, I perform some Operation. Now my question is, is there any way that i can close this window automatically after the operation performed is finished. Thx Sileesh...more >>

Closing browser window from server side in asp.net
Posted by Sileesh at 10/13/2004 2:41:10 PM
Hi I hope some one has an answer to this. I have a button in an aspx page . On server click of this button, i perform some operation. Once the operation is performed i want to close this window automatically. Pls help Sileesh...more >>

How to set the upload file size maximum for an application
Posted by gh0st54 NO[at]SPAM hotmail.com at 10/13/2004 2:37:36 PM
Hi I would like to know how to set the upload file max size on an application, not machine level thanks...more >>

Little problem with WebForm
Posted by Dave at 10/13/2004 2:36:20 PM
Hello. I have many controls on my form, so the form needs to be scrolled down for accessing some controls, but when I click on any button the form goes to the top. How can I do so, that web form will stay at position in which it was before I pressed a button? Thank You. ...more >>

How to implement Sub form in vb.Net web page?
Posted by JAPHET at 10/13/2004 2:32:21 PM
How to implement Sub form in vb.Net web page? ...more >>

Server.Transfer between 2 different Web Apps
Posted by BrandonN at 10/13/2004 2:26:38 PM
I have 2 seperate web applications A and B. During the execution of A, I want to do a Server.Transfer to a page in application B. This works fine if A has a reference to B, but without the reference, I get the following error: Parser Error Description: An error occurred during th...more >>

class design question
Posted by rodchar at 10/13/2004 2:24:50 PM
Hey all, I'm trying to understand Master/Detail concepts in VB.NET. If I do a data adapter fill for both customer and orders from Northwind where should that dataset live? What client is responsible for instantiating the orders class? Would it be the ui layer or the master class in the ...more >>

How to update the checkbox value in the datagrid?
Posted by xie NO[at]SPAM proexam.org at 10/13/2004 2:19:33 PM
Hi, I am trying to update the checkbox value in a datagrid. I am using TemplateColumn to add the checkbox to the datagrid and it is showing correct data from the database now. Ideally, the end user will check the checkbox(if it is approved) and then there is a confirmation button on the page. Af...more >>

Web app deployment Server Error
Posted by gowens NO[at]SPAM nixonpeabody.com at 10/13/2004 2:16:11 PM
I've just deployed an asp.net 1.1 web app to the remote server (Win 2000). All of the pages work fine with one exception. Part of this app's purpose is to upload and download files to/from a database. The upload works without any problems. The download however gives me the following error: ...more >>

Web.config
Posted by Neven Klofutar at 10/13/2004 2:00:43 PM
Hi, I get this message when working on different sites: Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed...more >>

Notifying client before timeout
Posted by Steve Caliendo at 10/13/2004 1:38:21 PM
Hi, Does anyone have a good way to notify the client before the session times out? Thanks, Steve ...more >>

html email with embedded images
Posted by Hans Kesting at 10/13/2004 1:32:15 PM
Hi, I know how to send emails from the .Net environment, even html mails. But, what is the best way to add images to the html? A URL to an image somewhere on some server is usually blocked nowadays, so you need to send the image as attachment. I had some success when I used the filename (wi...more >>

is it bad pratice to call multiple controls using one aspx page
Posted by thedebugger at 10/13/2004 1:19:22 PM
Dear Friends, I am working on website application in c# with asp.net. My practice using aspx files is, I have 1 main aspx files for inside pages. Whenever user hit the button like aboutus, contactus and similar buttons, also any other button from menu, it always call contentDisplay.aspx, includ...more >>

HttpContext Error In Code Library
Posted by Leon at 10/13/2004 1:17:43 PM
I'm Building a Code Library in VS.NET 2003 to be reference within my ASP.NET web application. However, within my Code Library I have an AppException.vb page that keep receiving the following error when compiled: Type 'HttpContext' is not defined Take a look at the code: ' Get the current H...more >>

ADSI code that will not work in asp.net
Posted by msnews.microsoft.com at 10/13/2004 1:12:02 PM
I have ADSI code that I can make work at the command line. I cannot in any way get it to work in asp.net. Even using Windows authentication, impersonation on, and providing the credentials hardcoded, I cannot make this same code happen. This is all I am trying to do: static void Stuff() ...more >>

Integrated Authentication Global.asax
Posted by jzink at 10/13/2004 1:09:01 PM
I need to update a sql table with the last date/time that a user logged into my web site. The site is protected via integrated authentication. I can put code in the global.asax file to update when a user hits any page in the site. Is there any code I can put in to capture if a user tries to...more >>

HttpContext Error In Code Library
Posted by Leon at 10/13/2004 12:55:08 PM
I'm Building a Code Library in VS.NET 2003 to be reference within my ASP.NET web application. However, within my Code Library I have an AppException.vb page that keep receiving the following error when compiled: Type 'HttpContext' is not defined Take a look at the code: ' Get the...more >>

Datagrid/Datalist - Multiple Rows as one questions.
Posted by mike_olivieri NO[at]SPAM comcast.net at 10/13/2004 12:51:17 PM
Hi! Been stuck on this one for a bit. Would really appreciate any help on this one. To start. I have a sql database table with the following data and design (ex) ------------------------------------ provider_id | plan_id | plan cost ------------------------------------ 1 US-...more >>

Class with an Array of Strings - newbie
Posted by bob garbados at 10/13/2004 12:43:05 PM
How would I go about filling this class with name/value pairs? Public Class IGSParameter Public Name() As String Public Value() As String End Class I thought it would be done by the following code: Dim igsInput as IgsParameter igsInput = new IgsParameter igsInput.Name(0) ...more >>

MailMessage.BodyEncoding
Posted by Neven Klofutar at 10/13/2004 12:36:55 PM
Hi, I'm trying to change Encoding of an e-mail I'm sending after user submits the form. User can enter some special characters , so I need to send e-mail with Central European encoding >> windows-1250. Please help me ... Thanx, Neven ...more >>

dataset filter question
Posted by Mike at 10/13/2004 12:31:11 PM
I'm trying to filter a dataset on items that are being passed in via a querystring. the string looks like this. chevy|ford|BMW| on the information page i split the string such as selCars.split("|") and i want to filter the dataset based on the string so i do this dataview.rowfilter ="c...more >>

Update TD cell info during procedure run
Posted by news.microsoft.com at 10/13/2004 12:26:06 PM
Hi, I have an procedure run in my code behind. Is there a possibility to update the innerHTML part of an cell during the process run in the procedure. Used to give the user some info on the progress of the process. Regards, Rene ...more >>

aspnet user
Posted by Justin at 10/13/2004 12:26:00 PM
Hi All, Can the ASPNET user be deleted on an end user's machine that will run .NET applications? I heard someone say it was only needed on the developers machine. Sounded odd to me but I thought I'd ask. Cheers ...more >>

Navigate from href in Iframe
Posted by Jeronimo Bertran at 10/13/2004 12:21:27 PM
I have an <a href=url> inside an Iframe.... when I click it, the url is navigated inside the frame... what do I need to do in order to navigate the url on the browser window and NOT the iframe?? Thanks , Jeronimo...more >>

Export to Excel
Posted by Diego at 10/13/2004 12:13:47 PM
Hi, I have a ASP.NET application and i'm interested in reporting in excel format. I read a good artile written by Steve C. Orr that gave me info about exporting to excel. http://www.aspnetpro.com/NewsletterArticle/2003/09/asp200309so_l/asp200309so_l.asp Basically the app shows the report...more >>

Console in a ASP.Net application
Posted by Cherno at 10/13/2004 12:06:38 PM
Hi: Anybody knows if there is a way to see the console in a ASP.Net page (or a way to redirect the console to a file) I want to write some info on an error to the console, but i can't see it later. I'm doing this: try { //something here } catch(Exception e) { Console.WriteLin...more >>

Debug error - The project is not configured to be debugged
Posted by cs_hart NO[at]SPAM yahoo.com at 10/13/2004 11:59:19 AM
I am running Microsoft Visual Basic .NET 69462-270-0000007-18739 I get an error while trying to run a project: "Error trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged." I poked around other posts & checked the items mentione...more >>

using ASP.NET with https
Posted by vbGansta at 10/13/2004 11:55:08 AM
Hi there, I already have a web site written in ASP.Net with vb as the code behind. How do I convert this site to use https instead of http. Thanks for your help. Joe ...more >>

multithreading
Posted by Keith Henderson at 10/13/2004 11:41:09 AM
does multithreading work the same way in ASP.NET as it does in winforms? Or do you have to work with it differently? Keith O. H. ...more >>

validation controls quit working on webserver
Posted by GD at 10/13/2004 11:35:21 AM
Hi, There are serveral validation controls in our intranet application. The controls work fine on all of our local machines that have Windows XP professional operating systems on them. After deployment to our server, the application seems working fine except all the validation controls quit ...more >>

Client-side imagemap editor?
Posted by Ben Fidge at 10/13/2004 10:42:21 AM
Hi, The company I'm currently contracting with has their own in-house CMS and they need to be able to let the end user create their own imagemaps. Does anyone know of any javascript based client-side imagemap editors that could be employed? Unfortunately, ActiveX controls aren't an optio...more >>

=?ISO-8859-1?Q?File_download_and_spanish_characters_like_"=F1"?=
Posted by ccordero NO[at]SPAM gmx.net at 10/13/2004 10:15:42 AM
Hi! I have this C# code in a Button_Click event procedure: string FilePath = MapPath("diseño.doc"); Response.ContentType = "Application/msword"; Response.AppendHeader("content-disposition", "attachment;filename=" + "diseño.doc"); Response.WriteFile(FilePath); Response.Flush(); Response.E...more >>

work around popup blockers
Posted by Leo Muller at 10/13/2004 10:14:52 AM
Hi, I found a nice way of working around popup blockers. A popup would be opened automatically, but if it isn't then something else on the page would happen, like displaying a manual link. function StartGame(){ var newwin = window.open (http://www.com,"GameWindow","") if(eval(newwin....more >>

Implications of subdomain vs. subfolder for web services
Posted by Bill Borg at 10/13/2004 10:13:03 AM
Hello, I have a couple web services that I use across my apps. My isp supports exposing them either via subdomain (e.g. services.mydomain.com) or subfolder (e.g. mydomain.com/services). Are there any implications for doing it one way versus another? Performance? Security? Thanks, Bill...more >>

LDAP Active Directory Bind Stops Working
Posted by Marshall at 10/13/2004 10:03:02 AM
I appear to be having a problem similar to Neil as posted at http://msdn.microsoft.com/newsgroups/Default.aspx?query=directoryentry+intermittent&dg=&cat=en-us-msdn-dotnet&lang=en&cr=US&pt=&catlist=DEA2432D-EA76-4E5B-AF80-E56902048BAD%2C774F24A2-F71F-425F-AC2B-DC48AB0DA5C9&dglist=&ptlist=&exp=&sloc...more >>

Code Behind
Posted by ewindham NO[at]SPAM aislp-dot-com.no-spam.invalid at 10/13/2004 9:57:37 AM
Hello All I am new to ASP and my employer outsourced some web app work before I began working here. It was written in ASP(C#). In the pages it says the codeBehind=page.aspx.cs. I can't find this file on the server anywhere. The reason I am looking is that we want to change some things and...more >>

uniqueidentifier in SQL Query
Posted by Kenneth Keeley at 10/13/2004 9:54:09 AM
Hi, I am trying to get the results out of an SQL database where the Id is equal to a given value. The Id field is a uniqueidentifier this is what I am trying to do. SQLQuery = new SqlDataAdapter("SELECT Id, Title, Publication, InsertDate, NoPages, Colour, Status " + "FROM Features WHER...more >>

good referecne
Posted by Reza at 10/13/2004 9:51:12 AM
I am going to write an ASP.NET Application using C#,I want to use OO technique as much as possible.Probelm is that I have no idea how to start it how make the structure of my application and so on.I am looking for a reference that gives me required idea and later I can use that in developement p...more >>

Odd MachineKey Error?
Posted by Ron at 10/13/2004 9:38:02 AM
Error Message:Unable to validate data. Stack Trace: at System.Web.Configuration.MachineKey.GetDecodedData(Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Int32& dataLength) at System.Web.UI.LosFormatter.Deserialize(String input) Has anyone seen this? Or know why it has ocured?...more >>

download file
Posted by Nikhil Patel at 10/13/2004 9:24:53 AM
Hi all, I am writing an asp.net application that will allow users to upload and download files. I know I can use the Input html control with type=file to allow the uploading of files. But what is a good way to allow downloading files? When users download a file I would like to show them a ...more >>

Designing web pages
Posted by rodchar at 10/13/2004 9:21:05 AM
Hey all, Where's a good place to start making my ASP.NET web pages look and feel consistent for current and future projects? thanks, rodchar...more >>

Problem Accessing Dynamicially created HTML Control in Code Behind
Posted by Himanshu at 10/13/2004 9:19:05 AM
Hi, I have created a table in my webform and in that table i am creating/assigning dynamic HTML. I have added few control e.g strInnerHtml.Append("<td><input runat='server' type='text' Class='HomeContent' MaxLength='100' width = '100%' value ='"+oDSGetCustContract.Tables[0].Rows[intCounter]...more >>

client side editing in Text Boxes?
Posted by Tina at 10/13/2004 9:17:32 AM
Are there any textbox controls capable of enforcing client side editing i.e. telephone number edit masks, enforce numeric, etc. Thanks, T ...more >>

Reading a file from another server
Posted by manika at 10/13/2004 9:05:02 AM
Hi, I would like to read the contents of a file from another server through asp.net .The file is a text file and i have the url to the file. Since the file is not on my local machine i can't use the virtual path. I know this is possible in PHP..but i have not figured out the right class i...more >>

3rd party controls you couldn't live without?
Posted by Max at 10/13/2004 9:00:09 AM
Anyone have a list of 3rd party controls or VS add-ins they use and couldn't live without? There's a rather small list of 700+ on gotdotnet, but when I go to the site it's like all they want is your money. Open-sourced ones would be nice... -Max ...more >>

Cache expiring
Posted by Bogdan Fiedur at 10/13/2004 8:59:50 AM
Hi All, Recently our production server asp.net cache expires on average every 5 seconds. Any clues why is this happening and how to fix it. Bogdan Fiedur ...more >>

Using Shell command in ASP.Net
Posted by RJN at 10/13/2004 8:40:54 AM
Hi I'm trying to create a windows task through code. I could do this through the shell command and the WMIService in .net exe. But the same doesn't work from asp.net. Any idea? This is the code --WMI strComputer = "." objWMIService = GetObject("winmgmts:" _ & "{impersonationL...more >>

need some help
Posted by Mike at 10/13/2004 8:35:34 AM
I have a datalist that has checkboxes in it and allows the user to select certian things and be able to vew only the items selected. (like hotmail or yahoo where you can select 1 or all and delete them) I'm NOT DELTETING THEM. I need to view only the cheked items. I've tried everything I possi...more >>

UnauthorizedAccessException in HttpPostedFile.SaveAs but StreamWriter can write
Posted by michael NO[at]SPAM mhuhn.de at 10/13/2004 8:30:29 AM
I have a WebForm with several File-Inputs. On the server side I loop through the Request.PostedFiles and call a .SaveAs to a specific subfolder of my web. I get a System.UnauthorizedAccessException for the folder but when I try to write a file with a StreamWriter, it works. Of course the folder ...more >>

Setting up my site for multiple sub sites
Posted by John at 10/13/2004 7:54:25 AM
Hi all, I have created a structure on my site at home/LAN where I can type MYMACHINE/MAINSITE/SITE_A and I go into SITE_A having a specific set of session variables. Alternatively I can go to MYMACHINE/MAINSITE/SITE_B and have my separate set of session variables. The problem I'm having is ...more >>

SQL and Windows XP Pro Question
Posted by Miguel Dias Moura at 10/13/2004 7:46:36 AM
Hello, I have Windows XP Professional on my computer. I am working on an ASP.Net / VB web site and i need to use Microsoft SQL Database. I think it is possible to use SQL in Windows XP Professional. I believe it's something like an Add-on... Is this right? Where can i get this? T...more >>

move data from grid to data set ?
Posted by Paul at 10/13/2004 7:43:06 AM
I am using a dataset to populate a data grid, then have some code that modifies the data in the grid and want to write it back out to a dataset, just wondering if this is possible and what method to use. Thanks, -- Paul G Software engineer....more >>

raise a bubble event.
Posted by Lucifer at 10/13/2004 7:34:13 AM
Hi I am trying to raise a bubble event. I have a dropdownlist and a datalist in a datalist. I want to use the postback from the dropdownlist to rebind the nested datalist. But i need the event to be a datalist Command so i have access to e.item for the main datalist the aspx code <a...more >>

Problem w/ session variable being incremented on reload
Posted by N. Demos at 10/13/2004 7:27:19 AM
Hello, I'm learning ASP.NET, and am having a strange problem with some example code from the book I'm using. The code increments and displays the value stored in a session variable when the "Add" button is clicked. In addition, the session variable is reset to zero when the "Empty" button i...more >>

Waiting for a file deletion to continue
Posted by Diggler at 10/13/2004 7:27:03 AM
I have a web application that allows a user to manage files on the server. On the page is a counter that tells them how many files are in their folder. When you delete a file from the folder using ASP.NET, it seems to send a command off to delete the file and keeps processing the page... th...more >>

SmartNavigation + IE: Check for newer version of pages: Every visi
Posted by m_laci at 10/13/2004 7:15:13 AM
Hello there, We have encountered a strange error with our ASP.NET applications in combination with SmartNavigation and the setting from Internet Explorer: ‘Check for newer version of pages: Every visit to the pages”. With this option is set in Internet Explorer, after postback displayin...more >>

Web user controls & Google SEO spiders?
Posted by Thomas Andersson at 10/13/2004 7:13:03 AM
Hi all, I posted this question before but didn't get any good answers so I give it one more try. I am wondering how the search engine spiders like Google's or Yahoo's handles your asp.net web page if it is built with Web User Controls? Most of our web site is built with web user contro...more >>

Asp.Net click event fires on 2000 but not 2003
Posted by Rob Penner at 10/13/2004 6:43:03 AM
Hello. I am running into a strange problem moving my asp.net site (c#) from a Windows 2000 server to Windows 2003. This problem only happens on 2 pages out of about 30 on the entire site. On these 2 particular pages, none of the buttons do anything. The exact same pages work fine on the ...more >>

One solution to: Server is not running ASP.NET version 1.1. You will be unable to run ASP ...
Posted by contact NO[at]SPAM itdesign-inc.com at 10/13/2004 6:12:37 AM
I am sure that many of you have got this unpleasant message:" Server is not running ASP.NET version 1.1. You will be unable to run ASP ....". I got it after completely rebuilding my machine and installing all patches and before starting putting my stuff, even before MS office. So, I was puzzled....more >>

flash a window on toolbar
Posted by CW at 10/13/2004 5:56:00 AM
I have written a chat program using asp.net. It basically has a hidden frame that's constantly refreshed and uses document.write to write new messages to the chat transcript frame. Because chat windows can be obscured either by other browser windows or other applications altogether on the desk...more >>

User Control Error
Posted by Arek at 10/13/2004 5:20:37 AM
Hey, I have a user control that I want to use as a header in my application on different pages. So I follow the example first from one book but it doesn't work, then from second book...etc since quite a few hours already. My user control is very simple, has label1 and property: Public Proper...more >>

Visual Studio .NET 2005
Posted by Lee at 10/13/2004 5:15:04 AM
I notice that the page layout property of a document and HTML grid layout panels have completely dissapeared from .NET studio 2005 beta 1, is this because they have been dropped or becuase its a beta release? -- Lee...more >>

Cookies & Redirection
Posted by Jason Williard at 10/13/2004 4:48:37 AM
I am trying to implement several website translations. In doing so, a cookie is set so upon return to the site, they are automatically redirected. If the language is set to something other than "en" the page should redirect to /lang/LANGUAGE. To set the language, there is a drop-down menu, ...more >>

Form Authentication- Query
Posted by Sachi at 10/13/2004 3:05:04 AM
Hi, I am using default.htm as my startup page. But now recently there is one change that is form authentication. After using form auth, now after successfull login it is going directly to default.aspx. any chance to control this programatically? Or only round about ways? Regards, S...more >>

On The Fly
Posted by (aminihadi NO[at]SPAM yahoo.com) at 10/13/2004 2:54:44 AM
How can I access a Bitmap object from two pages pf a Web Application ? ********************************************************************** Sent via Fuzzy Software @ http://www.fuzzysoftware.com/ Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources......more >>

Execute the insert command with boolean
Posted by nicholas at 10/13/2004 1:04:04 AM
my insert works, but without the boolean value contentavailable. When I try to insert this boolean I get a data mismatch error. this "contentavailable" is an asp.net checkbox I use a ms access dbase. any ideas? THX here's the code: commInsert.Execute("INSERT INTO tbl_contents (content...more >>

DataReader Error When there is no record!
Posted by Kivanç Karaca at 10/13/2004 12:54:49 AM
Hi all ! I am pretty sure this is an easy one but I couldnt find a way to fix it. How can I get rid of the asp.net error saying "Invalid attempt to read when no data is present. " when there is no data available? What should I do ?? Thanks KK ...more >>

List Control, multiple choise from the code
Posted by Peter at 10/13/2004 12:39:02 AM
Hello! Please, could anyone tell, is it possible to set multiple items to be selected in list control in the code? For example when the web form is loaded three items of 5 are selected in list control already? Now I manage to set only one item to be selected during page load, but there is n...more >>


DevelopmentNow Blog