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 > december 2003 > threads for thursday december 11

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

What account is ASP.NET using?, it's not ASPNET!
Posted by dryer at 12/11/2003 10:56:24 PM
I have a web app that runs fine on my local machine (W2K pro), but when ran on Windows 2003 server there is a glitch. I have a function that writes an XML doc to a directory, but I can't figure out what account the 2003 server is using. I gave ASPNET write privilges to the directory, but get 'A...more >>


Validation Controls block form submit
Posted by Chris Tillotson at 12/11/2003 10:42:57 PM
Thanks in advance... I have an odd problem. I developed a .net app on my home computer and it works fine but when I put it on the hosted environment my ImageButtons that are supposed to post my forms don't work. I found that if I remove all the Validation controls the post works fine off ...more >>

Urgent:::::::::::::;:::User Controls and their methods
Posted by Vannela at 12/11/2003 10:35:36 PM
I want to create some 100 user controls and write the common methods for all these user controls ,is this possible? Also i want to refer this user control and their methods on the aspx.cs file is it possible (after placing this user control on the web form )? Please give me few code sn...more >>

Getting the value from ItemTemplate of DataList
Posted by Vannela at 12/11/2003 10:04:34 PM
I have got DataList on the aspx page . In the Item Template i have placed checkboxes. How can i get the value ie., whether the box is checked or not in the code behind page? Please give me some code snippets for my problem Thank you...more >>

Caching for dummies
Posted by moko at 12/11/2003 10:03:39 PM
I want to know whether 'dataset caching' is at the client end , or the server ? Similarly is an aspx page caching at the server or client ? Are there any 'gotchas' with caching ? ...more >>

Is there a method to fetch the last value stored in a DB column with out having to read in the entire column?
Posted by DeWitt Phillips at 12/11/2003 9:32:45 PM
First let me say thank you. I am trying to extract the last value entered into a database column without having to read through every value stored in the column. Is that something that is easy to do? ...more >>

no code in webform using vs.net, but in webform using notepad
Posted by timmso at 12/11/2003 9:09:23 PM
If I create a webform in notepad (save it with an .aspx extension), I can see the VB.Net code along with the ASP.Net code in one file. If I create an Asp.Net web application and add a web form using VS.Net, only the Asp.Net code is behind the web form. Where is the VB.Net code stored? And wh...more >>

help??????????????????????????
Posted by yaa at 12/11/2003 8:44:40 PM
how I can install asp.net and is there a visual version .and what is the .net framework? and what is the download requirement for asp .net ?? help????????????? email...more >>



Forms Authentication Persistent Cookies Problem
Posted by joey.powell NO[at]SPAM goldcoinc.com at 12/11/2003 8:43:11 PM
Hello, I originally configured my application to use persistent cookies in error. Now, I need to find a way to disable those cookies. I have tried changing usernames and passwords for all of the users, but that doesn't help - they can still access our site using their old persistent cookies. How...more >>

Email Application Errors
Posted by Namaste at 12/11/2003 8:39:58 PM
Im curious if anyone knows a way to setup asp/vb.net site to email site admin the error and error reason when an unknown bug is found and crashes a site. Thanks in advance for any help! -s- --- Posted using Wimdows.net NntpNews Component - Posted from .NET's Largest Community Website: http:/...more >>

User control development using VS 2003
Posted by Lloyd Sheen at 12/11/2003 7:26:58 PM
Is there any one who has actually done this. I have now scanned more web articles about this with the realization that not one of them (including MSDN docs) outlines how to do this. This is beyond frustration. It seems that with every new VS release the documentation falls further behind. W...more >>

SELECT satements multi values return in ADO.NET + VB.NET
Posted by Brian Henry at 12/11/2003 7:13:36 PM
Hello, If i do something like "SELECT ID,NAME,ADDRESS FROM MEMBERLIST WHERE MEMBERID = @MEMBERID" in languages like PHP and FoxPro you can have that returned as an array, do I have to use a datareader to get the data even if it is a scaler result? or can you also have it returned as an array f...more >>

ODBC problem
Posted by HB at 12/11/2003 6:30:22 PM
Guys, On an ASP.NET web application, Each time I try to generate a connection string to be linked to an ODBC I get the error "The .Net Data OLE DB Provider(System.Data.OleDb) does not support the MSDASQL Provider, Microsoft OLE DB Provider for ODBC Drivers" I have .Net Framework 1.1., W...more >>

Problem looping through CheckBox value in DataGrid
Posted by Stephan Bour at 12/11/2003 5:45:05 PM
I was playing with this simple code strait from MSDN and I got the following compile error: ³foreach statement cannot operate on variables of type 'System.Web.UI.WebControls.DataList' because 'System.Web.UI.WebControls.DataList' does not contain a definition for 'GetEnumerator', or it is inacce...more >>

ValidationSummary problem
Posted by Mr. x at 12/11/2003 5:38:01 PM
Hello, 1) I need to do ValidationSummary once : only on CustomValidator, and second only for RequiredFieldValidator (I have both CustomValidator and RequiredFieldValidator on my aspx page), please. 2) I need that when ValidationSummary is false - not to perform the task under the button. ...more >>

Filling a drop down from a database?
Posted by Russ at 12/11/2003 5:32:23 PM
I have a drop down list on a web page that I pre-fill onload from a SQL table using a SqlDataReader. The line of code that fills the drop down looks like this while(myReader.Read()) { ddlCompany.Items.Add(new ListItem(myReader["CompanyName"].ToString(), myReader["CompanyID"].ToString()...more >>

Please help with user controls
Posted by Lloyd Sheen at 12/11/2003 5:20:38 PM
I have now spent 5 hours on google/msdn looking for something useful in the creation of user controls for asp.net. The VS 2003 has very limited support for things such as absolute positioning of the control etc. ...more >>

Using subfolder in a project
Posted by Vik at 12/11/2003 4:51:34 PM
I created a subfolder for some Web pages to set special permissions for them. But VS.NET copied all the files from this subfolder to a main folder and uses these copies in a project instead of using the original files in the subfolder. How can I make VS to use the files in the subfolder? Th...more >>

ASP.NET Developer Needed
Posted by Scott Schluer at 12/11/2003 4:43:00 PM
I'm looking for an experienced ASP.NET developer to farm some work out to from time to time. I myself am a .NET developer who caters to a select group of companies that keeps me fairly busy. Recently I've had an enormous influx of new work and need a professional, reliable person to outsource thi...more >>

Transactions
Posted by martin at 12/11/2003 4:00:50 PM
Hi, I have three database Inserts that must be proformed as part of a transaction. I already have three seperate functions that perform each database insert seperatly. The trouble is each function opens and closes it's own database connection. does this mean that transaction can't be used in...more >>

Bound Data problem < >
Posted by JezB at 12/11/2003 3:22:42 PM
I'm binding a DataGrid web-control to data fetched from a database. However some of my data fields contain text that is within <...> characters - I notice that everything between the <> is suppressed in the grid. How can I resolve this ? ...more >>

Custom controls
Posted by Lloyd Sheen at 12/11/2003 3:14:11 PM
I have a piece of functionallity that is replicated on several pages. This would be a good candidate for a custom control right? Well I found a couple of tutorials (none really helpful) so I created a simple asp app and added a custom control to the project. Now to the problem. I created t...more >>

Detecting if Acrobat Reader is installed on Client machine
Posted by Khodr at 12/11/2003 3:14:01 PM
Hello everyone, From ASP.NET, how can I detect if client has acrobat reader installed or not. Client has IE 5 and higher... Your help will be highly appreciated. Thanks Khodr ...more >>

Impersonation in Web.Config
Posted by shailj NO[at]SPAM hotmail.com at 12/11/2003 2:31:36 PM
Hi I am getting Access Denied error on c:\windows\assembly, when i impersonate a user in web.config. I am running windows XP professional. I have given full control for the impersonating user on this folder. If I impersonate the same user from machine.config (aspnet_wp) everything seems to b...more >>

Starting Application from ASP.NET on Server Machine
Posted by Nusret Bajric at 12/11/2003 2:10:41 PM
Hello, I have a problem with starting a COM application from my ASP.NET application on the server machine. I get an error with a message permission denied during creation of COM object. If I start an application alone (without call through another COM DLL), it does nothing (no process activi...more >>

Windows Control Library in ASPX pages
Posted by Akif at 12/11/2003 2:05:13 PM
Hi everyone. I will try to give you as much information as i can.. any idea will be appriciated. I have Written a chat server and client program using C# programming language. Client site is created as a C# windows control library.(.dll).. I put this DLL in a windows application an run it....more >>

ASP.net and traditional ASP
Posted by Robert Storrs at 12/11/2003 1:49:12 PM
I am looking for a few good articles or feedback on the issues and approaches of adding ASP.NET to an existing ASP system. I know the simple problems - session and application variables are not shared, but how about session timeout, error handling, the complex issues we are sure to run ...more >>

Open Windows
Posted by Ruslan Shlain at 12/11/2003 1:28:01 PM
I need to close all child windows that may be used during use of my application. Is there a function that i can use. Child windows opened with window.open() function. Thank you everyone. ...more >>

Display data in a datagrid
Posted by Tom Le at 12/11/2003 1:24:00 PM
Hi, I have a database table with 20 colunms. I don't want to display 20 colunm horizontally in a datagrid because it create a horizontal scroll bar on the browser. Instead, I want to display 20 colunms in a datagrid vertically. How would I do this? I am desprate. Does anyone know how to d...more >>

best, most current Authentication article
Posted by neverstill at 12/11/2003 12:45:23 PM
Hello all- I need to add Authentication with UserRoles to our site to allow certain peeps to edit data. With that said... there are a lot of articles out there. Do any of you feel that you have the best article? I am looking for a good "best practices" article, something that spends plenty ...more >>

Image from Resource File
Posted by Steve at 12/11/2003 12:06:22 PM
Is there any way to load an image from a resource file and show it on the web page. I think I can do it with an image that has for source a second web page that output the data of the image, but I want to use only 1 web page.. please help !...more >>

How do I add descriptions to public functions?
Posted by JR at 12/11/2003 12:04:25 PM
I would like to know how to add descriptions to functions in.Net so that intellisence will show it when calling it? Basically, is there an equivalent to <WebMethod(Description:="Function returns Foo")> for non webservice functions? Thanks, Jamie ...more >>

Page number caption?
Posted by LL at 12/11/2003 12:02:53 PM
Hi, I'm using DBGrid. Can I add a caption "Page:" in front of the PageNumber: Page: 1.2.... Thanks. ...more >>

Add controls at runtime
Posted by JezB at 12/11/2003 11:58:12 AM
I have a page that is in Flow layout mode. I'm adding a list of hyperlinks programatically with code such as : HyperLink h = new HyperLink(); h.Text = pDesc; h.NavigateUrl = "placeholders0.aspx?grp="+pGrp; Page.Controls.Add(h); (in a loop). The problem is that these appear ...more >>

Front Controller pattern!
Posted by Colin Basterfield at 12/11/2003 11:51:59 AM
Hi, has anyone (tried to) implement the Front Controller pattern as described at http://msdn.microsoft.com/architecture/patterns/ImpFrontControllerInASP/ I'm having trouble resolving the controller.mapping section in the web.config file, as it is used in UrlMap.cs and that is used by Redi...more >>

Virtual directories and application root
Posted by Leszek at 12/11/2003 11:32:22 AM
Hello, Could anybody explain what's a difference between a virtual directory and an application root under IIS? I'm a little bit confused. This is mu problem: Let's assume the following directory structure: FileManager (application name a.k.a. virtual directory?) Images he...more >>

Inputting NULLS?
Posted by Bill at 12/11/2003 11:06:25 AM
Is there a way to have a form textbox input a NULL value into the field within the database when you do an insert or an update instead of it putting in a ""(blank) value should the user not put any data into that particular textbox?...more >>

Interaction between 2 different web browsers
Posted by johngilmer NO[at]SPAM yahoo.com at 12/11/2003 10:55:20 AM
How can I do the following? When the user clicks on a certain button, I will open up another web browser, which will act like a dialog box for the first browser. When the user clicks OK in the second browser, it will close and cause the first browser to do a refresh. I want to pass some info fro...more >>

Forms authentications questions
Posted by johngilmer NO[at]SPAM yahoo.com at 12/11/2003 10:38:28 AM
I have 2 questions: 1. I am trying to use forms authentication. When the user logs out, I make these function calls: Session.Abandon(); FormsAuthentication.SignOut(); But after they log out, the user can (e.g. through the web history) go and look at any pages that were alr...more >>

ASP.NET PostBack Question
Posted by Matthew Louden at 12/11/2003 10:34:34 AM
I created simple ASP.NET web application to test how AutoPostBack property in a web control works. I set AutoPostBack property to be true of a web control. When I run the application, here's the sequences when I step through the program: 1. Page loaded to the browser 2. Page_Load method is ...more >>

PostBack Concept
Posted by Matthew Louden at 12/11/2003 10:22:27 AM
I want to know if the PostBack concept applies to HTML web-based forms, regardless of what programming technologies we use: For example, ASP, ASP.NET, Java, CGI, etc... PostBack means to send the HTML form to the web server? Since most of the time I heard this term in ASP.NET circle, thats why...more >>

SmtpMail in ASP.NET
Posted by Jay at 12/11/2003 10:21:13 AM
I have successfully used SMPT Mail in ASP.NET to send single emails with = and without attachments, etc. Now I have a situation where I need to = send emails to 200 people at a time. Is there some kind of buffer limit = I need to be aware of in ASP.NET or the SMTP (System.Web.Mail) classes = w...more >>

Downloading a dotnet .exe file, not execute it
Posted by Fabiano at 12/11/2003 9:53:49 AM
Please, i have a executable DotNet application at my IIS. But when some users goes to download this file it executes at the server. What can i do to let it just a downloadable file. Tks, Fabiano ...more >>

how debug embedded javascript?
Posted by Malik Arykov at 12/11/2003 9:52:04 AM
Hello, All! how debug embedded javascript? ...more >>

Whidbey Installation Question ( PDC version )
Posted by Elrey Ronald V. at 12/11/2003 9:47:58 AM
Hello All, Is it perfectly ok to install the Whidbey ( PDC preview version) into my pc which already contains both ASP 1.0 and ASP 1.1 (without affecting my current web apps) ? Just want to hear from you first before I install this. THANKS A MANY!! ~ElreyRonald ...more >>

returning values from modal dialog boxes in asp.net
Posted by Brian Henry at 12/11/2003 8:41:20 AM
If i have a window showing like this <script>window.showModalDialog('../weblinks/default.aspx','','unadorned:yes' );</script> how can i get it to return a value to its calling page? I want to have a list of values to click in the modal dialog box, and when they click on one of the values it...more >>

inserting new html table row using Javascript?
Posted by Karim at 12/11/2003 7:52:30 AM
I have a form built into an html table. One of the form elements is an asp.net dropdownlist. For some options in the listbox, I want to insert a new table row under the listbox to grab some more info for that option. For example if someone chooses 'other', a user needs to type what other is. B...more >>

What the...?
Posted by Bill at 12/11/2003 7:28:02 AM
Got a form that pulls data and allows for the user to enter a response in a textbox and I have a button that is supposed to push this reponse text back to the database for that record when clicked. HOWEVER all that is happening when I do this is the data field that is supposed to be upda...more >>

passing values
Posted by rpsur NO[at]SPAM yahoo.com at 12/11/2003 7:16:17 AM
is there a way to choose which values to pass to the server when a form is submited?...more >>

Adding Header & Footer to WebForm
Posted by mg at 12/11/2003 6:33:41 AM
Any articles and/or examples on adding header/footer to WebForm (C#) ?...more >>

file upload problem
Posted by anonymous NO[at]SPAM discussions.microsoft.com at 12/11/2003 6:06:57 AM
Thanks Richard and Shan, I am using the HtmlInputFile control.But Shan where exactly do you want me to put in your code? becoz,after the user selects a file to upload and hits Submit, then the flow of the code does not go into the OnClick() event of the submit button, if the filesize is > ...more >>

Color
Posted by acko bogicevic at 12/11/2003 6:00:32 AM
Hi In btnClick event i want to change back color of label lbl.BackColor=Color.Red for example but problem is than i have color like this #F9DA00 and lbl.BackColor = "#F9DA00" does not work. Thanks Alex *** Sent via Developersdex http://www.developersdex.com *** Don't just particip...more >>

HTML File Uploader
Posted by Andy at 12/11/2003 6:00:06 AM
Hi I have recently developed a few sites with an uploader facility for images and all has worked perfectly, until now??? I re-installed .NET due to an unrelated problem and since then if I use a WebServer Button control to submit the form I have nothing within the Html uploader compone...more >>

DLL in ASP.NET
Posted by Akif at 12/11/2003 5:28:19 AM
Hi all. I have designed a Windows Control Library.(.dll) that works as a chat client. it works fine when i use it in a Windows application.. When i put this DLL in ASP.NET it looks fine.. but doesn't comminicate to chat server. How do I solve this problem? best regards. Akif...more >>

TabStrip Events
Posted by Vannela at 12/11/2003 2:40:38 AM
What are the events associated with TabStrip IE Web Control? Where can i find them? Thank you. ...more >>

Need to make control equal to control
Posted by Ron Vecchi at 12/11/2003 12:20:12 AM
I have a situation where I need to make PlaceHolderA equal to PlaceHolderB and keep the contents of PlaceHolderB after PlaceHolderA has been destroyed. is this possible seeing that it is a referenced copy of PlaceHolderA? Thanks, -- Ron Vecchi ...more >>


DevelopmentNow Blog