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 2005

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

Excluding certian pages from Forms authentication
Posted by Samba at 7/31/2005 10:01:01 PM
Hi, I've a web application and I'm using Forms authentication. My app contains some pages that can be viewed by everyone and it doesn't require any authentication or authoization and these pages mostly come at the start of the application. After a couple of such 'general' pages, the login s...more >>


Partial class and code behind in asp.net2
Posted by Anders S. Willumsen at 7/31/2005 9:08:39 PM
Ok - this is so stupid but i just don't get it. When you create an aspx-file in asp.net2 with code behind, place a button on the form an dbl click the button you end up in a partial class - that I understand. But where can I find "the other half" of the class where controls are decladed and...more >>

adding javascript after post back
Posted by David Tilman at 7/31/2005 8:00:01 PM
I'm new to ASP .NET and have run into a problem. I have a child page open in a web application that the user adds information to and then clicks the save button. The information is added to a databse. If there is a problem with adding the record to the database, I want to display the error mes...more >>

large objects in viewstate - bad idea?
Posted by Steve Richter at 7/31/2005 3:07:12 PM
I have some potentially large objects I would like to store in the viewstate of a user control. Large as in an entire email message. Is ViewState not the sort of place to store such an object? I think my question and concern depends on what asp.net does with the view state when the page is wri...more >>

ASP.NET to SQL Server
Posted by androoo at 7/31/2005 2:04:03 PM
Im trying to run a health check on some new processes developed. The bind method on list control seems to open a new database thread.. When i run sp_who on sql server it lists the new process as sleeping, awaiting command. Are these threads eating up resources or getting in the way of any ...more >>

ThreadAbort on redirect?
Posted by javatopia at 7/31/2005 1:51:02 PM
Hello, I have a simple redirect on a login page: Login_Click() { // ... do the login verification try { Response.Redirect("index.aspx"); } catch(Exception ex) { // Get ThreadAbortException here! } } When I catch the ThreadAbortException, the redirect fails to work,...more >>

Using stringbuilder
Posted by et at 7/31/2005 1:26:03 PM
Once I've created a string with stringbuilder, how do I view it in the command window? Char by Char seems pretty inefficient. Thanks for your help. ...more >>

Problems loading web pages
Posted by Jon at 7/31/2005 1:00:29 PM
I can't run aspnet applications after doing building it in Visual Studio. I can load the application in my browser until I make changes in vs. After that, it just hangs. I've waited up to 5-10 minutes for the page to load, but eventually have to shut off the power as everything stops responding....more >>



How to get IIS
Posted by T Hall at 7/31/2005 10:27:01 AM
I'm currently trying to learn Visual C# .Net 2003. I'm at the point of creating Web Applications using ASP.Net. I have Windows XP Home Edition installed on my laptop. I don't think my system is running IIS. I have tried to find a download of it somewhere with gettng any good results. Can ...more >>

Internet Explorer wont accept a style on an ASP:Textbox
Posted by John at 7/31/2005 9:35:41 AM
Hi, I am creating a Subscription section on an asp.net webpage. On the left there is the string value "Email:", and on the right there is the Textbox, whose ID is EmailAddress. Using a table to line these elements up with the "Name" details, no matter what I do*, the EmailAddress textbox ...more >>

can u get MSDN
Posted by Sean at 7/31/2005 8:08:02 AM
can u get MSDN for free i want to get windows vista beta one or can som1 help me download it from some where else...more >>

can't see have which have been set in the client side
Posted by okaminer at 7/31/2005 8:05:09 AM
Hi I have hiden fields which are been set in the client side, using jscript functions. The problem is that when I move to the server side the values of those fields are empty in every step of the page lifecycle The hiden fields are set to runat = server (so I can see them) If you have ...more >>

Before EMail
Posted by Niggy at 7/31/2005 6:25:02 AM
How do I check that I am online before sending email? TIA....more >>

Can images be saved to Session State and retrieved?
Posted by charliewest at 7/31/2005 1:55:01 AM
Hello - I have images saved in my SQL SERVER 2000 database. Using ASP.NET (C#) is there any way to temporarily save an image to a session object, and after running some other operations, later retrieve the image from the session object, convert it back to an image, and re-save it to the dat...more >>

reading e-mails
Posted by jamal at 7/31/2005 12:00:00 AM
hi guys I am looking for a way to read & download my e-mails from my pop3 account from another server by using ASP(vb) If you know anything about this subject please feel free to let me know. I learn how send but not receive. thanks Jamal ...more >>

Include code inside repeater
Posted by Arjen at 7/31/2005 12:00:00 AM
Hi, I want to do add an if statement (C#) inside my itemtemplate. Something like this: <ItemTemplate> IF (true) ...<td><asp:HyperLink... ELSE ...<td><asp:HyperLink... </ItemTemplate> How can I do this? Thanks! ...more >>

ASP.NET : General Functions File!
Posted by Adam Knight at 7/31/2005 12:00:00 AM
Hi all, I am still teething on ASP.NET after flogging ASP for a number of years. What approach is recommend for storing commly used functions ? In classic asp, normally these unrelated helper functions were in a 'include file'. I have thought of writing a class, but in this instance the ...more >>

Late night beginners question
Posted by B. Chernick at 7/30/2005 8:44:04 PM
I'm reviewing the 70-305 course and I'm trying to do the Chapter 5 lab. I've created the Calls.aspx page and the dsCalls xsd. I've set the DataSource of dlstcalls to 'dsCalls.Tables(“Calls”).DefaultView' as instructed. (Page 296) When I run the project and try to access the Calls pa...more >>

msdata:ReadOnly="true" ???
Posted by G Dean Blake at 7/30/2005 5:24:43 PM
I have a textbox in an ItemTemplate of a grid I'm using to allow users to change a value. I've done it a hundred times. In this project I have it returns the original amount even though the user enters a revised value in the textbox. the code is identical to my many working examples. How...more >>

Inherit DropDown Box
Posted by Sehboo at 7/30/2005 12:28:18 PM
Can somebody please tell me how to inherit a DropDown box in asp.net C# - step by step. I just want to inherit DropDown box and then add few more properties and methods - but I just don't know how to inherit and make it appear on the toolbox, so that I can drag and drop it on my asp.net pages....more >>

User Controls and Postbacks
Posted by Roshawn Dawson at 7/30/2005 10:26:03 AM
Hi, If I were to create a web user control (with all its bells & whistles) and add it to a page, is it possible to just postback the web user control instead of the whole page? Thanks, Roshawn...more >>

Q: two questions
Posted by JIM.H. at 7/30/2005 10:08:03 AM
Hello, I have to questions about ASP.NET, I heard that APS.NET is platform independent and it can run in any browser. Here are my questions: 1. Doesn’t ASP.Net require .NET framework, if yes how is it not platform dependent, can I install .NET framework to a UNIX, IBM, VAX machines? 2. If ...more >>

how to install a easy disk memory stick
Posted by ellisydjogra at 7/30/2005 9:29:02 AM
i have down loaded net framework 1.1 but i still can not get my usb2.0 menory stick to work on my computer? any idea's pls?...more >>

Aligning controls
Posted by Douglas Adams at 7/30/2005 9:28:49 AM
Hi, I want to align controls to the center of the screen how can i do this? Would i have to put them in a div and center them up that way ? ...more >>

Adding JavaScript Validation on ASP.NET Textbox
Posted by JJ_377 NO[at]SPAM hotmail.com at 7/30/2005 8:57:42 AM
I want a JavaScript validation function to fire on an ASP.NET textbox's change event. Here's what I've been trying and it is not working. The following added in the webform's page load event: txtBirthdate.Attributes.Add("txtBirthdate_TextChanged", "MyJSFunction()") txtBirthdate.Attribute...more >>

asp.net 2.0 type not defined
Posted by phil at 7/30/2005 6:33:20 AM
I recently tried converting my asp.net 1.1 app to 2.0 in visual studio 2005 beta 2. I get several "type xxx is not defined" errors. It seems that some of my code file within my web application can no longer see the types defined in my asp.vb files. Here is a simple example: default2.as...more >>

How to add items to a dropdownlist control within a Javascript eventhandler?
Posted by Oscar at 7/30/2005 12:00:00 AM
I want to add items to a dropdownlist control within a Javascript eventhandler. This is what I code : var dd = document.getElementById("DropDownList1"); dd.Items.Add("1990"); dd.Items.Add("1991"); dd.Items.Add("1992"); however, it doesn't work. What should I code instead ? ...more >>

ASP.net table lock upon record insertion
Posted by Nestor at 7/30/2005 12:00:00 AM
I'm writing a simple aspx page that allows users to key in some data and submit them into a SQL2k database. I realised that even after that db connection closes and the page unloaded and closed, the table will still be locked in the database. Is there any way to unlock the table after the proces...more >>

ASp.NET and Outlook
Posted by SomaShekar at 7/30/2005 12:00:00 AM
Hi, I am into developing ASP.NET web application which has Appointment functionality (similar to Outlook). The appointment I do should go to the calendar of outlook for the user I select. Any idea? Code sniplet? Regards, Somashekar ...more >>

Overriding forms authentication in child folders...
Posted by Stu at 7/30/2005 12:00:00 AM
Hi, I have an app which uses form authentication to controll access to all files. How do I allow anonymous access to a specific folder? I have a web.config file in the root of the child folder with this in it - but it still asks for a login... <?xml version="1.0" encoding="utf-8" ?> ...more >>

How to record audio from ASP.NET website?
Posted by Vihar Patel at 7/30/2005 12:00:00 AM
Hello Group, I want to record audio file using Webpage, I am using ASP.NET (1.1 Framerwork) to develop website. If anyone knows about this, then please let me know, Thanks in Advance, Vihar Patel ...more >>

WebControl, to select part of a web-image.
Posted by Jurjen de Groot at 7/29/2005 9:39:40 PM
Hi, I'm looking for an ASP.NET web-control in wich I can show a generated image to user, the user should then be able to select part of the image using the mouse (rubberbanding), a postback should result from this action returning the coordinates of the upper-left and lower-right corners ...more >>

Insert a line break in a label control
Posted by Mardy at 7/29/2005 7:58:02 PM
Hello In my asp.net application, I'm trying to write a multi-line message to a label server control after a db insert. I'd like to force a line break at a particular point but I can't seem to find the magic words. Please help...more >>

How To Parse HTML Page in ASPX Page
Posted by Axel Dahmen at 7/29/2005 7:48:57 PM
Hi, in order to add user dependant style sheets to my HTML pages I'd like to create an ASPX wrapper page which reads an HTML page, adds a currently selected style sheet and then outputs the rest of the page. But I couldn't find any class helping me to read HTML as a string enabling me to pa...more >>

Session behavior
Posted by T Ralya at 7/29/2005 6:24:02 PM
I am told that ASP.NET controls the session ID and session variables, but that does not fit my symptoms. I am posting here as directed. I'm hoping that someone can at least recommend something to try to isolate the problem. I have a simple application that demonstrates my problem. Page 1...more >>

disappearing cookie
Posted by m at 7/29/2005 5:16:13 PM
I have a strange and frustrating problem. page1.aspx asks for a login and goes to itself to validate the login. if it succeeds it creates a cookie for the login and goes to my creditcard form, where the cookie always works, though i don't actually use it. when the user submits the form it...more >>

Export datagrid to excel
Posted by Ed Chiu at 7/29/2005 5:09:01 PM
Hi, I copied the following codes from Internet to export datagrid to Excel, it works with datagrid not supporting sorting or paging. Response.ContentType = "application/vnd.ms-excel" Response.Charset = "" Response.AddHeader("Content-Disposition", "attachment;filename=Statement.xls") Me.En...more >>

Could not load type asp.net
Posted by segue at 7/29/2005 3:38:05 PM
I'm still getting this problem? You wouldn't happen to have a suggestion? Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Mes...more >>

LOOP THREW A REPEATER CONTROL
Posted by Dave at 7/29/2005 2:40:07 PM
I have a button in the same page as the repeter control, so when I click that I need to loop threw the repeater and get the value of each textbox and id Dave ...more >>

Dynamic asp form via cs (c#) code
Posted by dpfollmer NO[at]SPAM yahoo.com at 7/29/2005 2:03:32 PM
I am currently designing a ASP.NET form for contacts which displays a picture depending on which contact is being viewed. This code works perfectly thus far, but I want to add an if-case for when the picture does not exist. In english it would be something like this: If file exists (".....more >>

check for function return type
Posted by WebBuilder451 at 7/29/2005 1:39:02 PM
I have a function that returns a dataset or a boolean depending upon whether a record was found. I can check for the string value of the return type, but i don'r think this is the right way to do it what is the correct method? any help would be appreciated. (hey, i'm actually learning how to ...more >>

Help: Problem with ASP.NET 2.0 with VS 2005
Posted by sacred_warrior at 7/29/2005 1:33:04 PM
After I saw Scott Guthrie's ASP.NET 2.0 with VS2005 seminar (which I think was great because I got to see all the cool features of VS 2005), I created a website using VS 2005 with option of File System. I used the login controls to create the registration and login process. I tested it by runn...more >>

session record in ASPStateTempSessions remains locked indefinitely
Posted by SethHer at 7/29/2005 1:29:03 PM
error: System.Web.HttpException: Exception of type System.Web.HttpException was thrown. ---> System.Web.HttpException: Unable to connect to SQL Server session database. ---> System.Data.SqlClient.SqlException: General network error. Check your network documentation. at System.Data.Sql...more >>

going from debug to release
Posted by zambizzi at 7/29/2005 12:51:04 PM
I've got an asp.net app which has a whole series of class libraries (assemblies)...all of which is currently in debug mode. When I push all this to production, what is the easiest way to go from debug to release? Currently I have to re-create all of my references in vs.net and that's tedio...more >>

sending a structural email using ASP
Posted by Rani at 7/29/2005 12:11:06 PM
hi guys I need to send an email from a form the form is collecting data from a user and then submits it to us. I would like the email to appear in the following format Name: Email: Etc. all I was able to do so far is: strBody = "Name :" & strname & " Email :" & StrEmail etc. ...more >>

Need a suggestion. User control or Web Form?
Posted by Hugo Flores at 7/29/2005 11:58:01 AM
Hi, The system that I'm building has some conditions, which will tell me which page to show at that time. My first thought was to have a table of controls in my DB, which will have a column for the path of a control. This way, a web form would query the table to know which control it has to...more >>

DropDownList in DataGrid
Posted by CsaaGuy at 7/29/2005 11:23:21 AM
Hi, I have a datagrid and each column i have a dropdownlist. I am populalting these dropdownlists in the itembound event. This part is working fine. However, when i press the update link, and use the arg e like this: CType(e.Item.Cells.Item(3).Controls(1), DropDownList).SelectedItem.Text.Trim. T...more >>

asp.net
Posted by petro at 7/29/2005 10:40:44 AM
When I try to begin a new asp.net web application I get the following error: visual studio .net cannot create or open the application because no web server was detected at this URL: "http://localhost/WebApplication1". Make sure the Web servier is installed and running....more >>

Problem with detecting cookie
Posted by Joe at 7/29/2005 9:36:04 AM
Hi, I have a asp.net page that checks if any one of the two cookies exists. If none of the cookies exist then redirect the user to login page. Cookie “try” doesn’t exists. I can see that cookie “mode” exist, but for some reason the following code fails to detect it and keeps redir...more >>

Converting JPG to SWF
Posted by UJ at 7/29/2005 9:04:24 AM
Anybody know of a way to do this? The problem I'm trying to solve is that I need to be able to have the JPG resized dynamically dependent on how big the window is. TIA - J. ...more >>


DevelopmentNow Blog