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 > february 2004 > threads for thursday february 26

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

help: why the Application_Start will be called multi times
Posted by jonathan zheng at 2/26/2004 11:36:07 PM
I have built a web application and I put some code in the Application_Start, but what surprised me is that these codes are called more than one time. Actually when a new request is begin, these codes will be called Could anyone help on this? Thanks a lot I'm using Visual Studio .Net 2002 & Windo...more >>

Preoblem with Visual Studio Forgeting Button Events
Posted by Daniel Brown at 2/26/2004 10:01:07 PM
Im using Visual Studio 2003 on Windows XP and Windows 2003 Serve The issue im having is, for some reason after the webapp is compile, sometimes the buttons do not fire the onclick event and do not function at all. To fix this i have been just double clicking on the button and the recompliing it, w...more >>

Keeping objects between requests within the same session
Posted by Don at 2/26/2004 9:20:28 PM
I have an ASP.NET program that references a VB.NET DLL. I had originally planned for my DLL to put things in the HttpContext.Current collection so that the ASP.NET can access them throughout an entire session (according to a tip I saw on a website somewhere), but it turns out that it only lasts ...more >>

Screen scraper again
Posted by _eee_ at 2/26/2004 8:50:07 PM
I recently posted a query about screen scraping, but haven't turned up any leads yet. Here's what I need to do: The first screen is retrieved via HttpWebRequest/Response. Easy enough, as no parameters are required. But then I need to fill in some fields from that initial screen and POST it ...more >>

C# eval function?
Posted by ChAnGePoInT_DaWg at 2/26/2004 7:49:56 PM
Is there an "eval" function in C#? Here is what I want to do: I have a lot of controls like this: <asp:textbox id="books_quantity" runat="server"/> <asp:textbox id="vcds_quantity" runat="server"/> <asp:textbox id="dvds_quantity" runat="server"/> In my script, I want to refer to the name...more >>

Datagrid's pager style
Posted by Mark Warner at 2/26/2004 7:34:15 PM
Hello, I have a datagrid in a asp.net page. This page contains styles from a CSS file which design links with no decoration. I'd like to have customized styles applied to the datagrid's pager while keeping the page's styles. For instance, I'd like to have a bold current page number, and unde...more >>

Please see statement encloded about postal and lottery laws
Posted by Linda Rowe at 2/26/2004 7:01:52 PM
A chain letter is a "get rich quick" scheme that promises that your mail box will soon be stuffed full of cash if you decide to participate. You're told you can make thousands of dollars every month if you follow the detailed instructions in the letter. A typical chain letter includes names an...more >>

Secure SqlConnection in Web apps
Posted by Adam Getchell at 2/26/2004 5:16:08 PM
I have an ASP.NET application on IIS6 that will access a SQL2000 database. I would like to use integrated security, ie a connect string similiar to ConnectionString = "workstation id=WEBSERVER;packet size=4096;integrated security=SSPI;data source=\"SQLSERVER\\INSTANCE\";persist security info=False...more >>



Downloading File Includes HTML ???
Posted by johnz at 2/26/2004 5:16:08 PM
Why does the following code include the HTML page in the downloaded file Response.ContentType="application/x-msdownload"; Response.AddHeader( "content-disposition","attachment; filename=download.txt"); FileStream sourceFile = new FileStream(@"c:\temp\scbdoif.txt", FileMode.Open); long FileSize;...more >>

Call function in codebehind from jscript in aspx page
Posted by moondaddy at 2/26/2004 4:45:00 PM
I'm using vb.net and have an aspx page where I want to call a function in the code behind to do something on the backend and I want to call this function from a jscript function in the aspx page. Furthermore I know there will be a postback involved but the state of the page will not change at al...more >>

A potentially dangerous Request.Form value was detected from the client
Posted by amit at 2/26/2004 4:43:06 PM
hi, Can anyone tell me is there any other way to fix the problem listed in the subject (its seen in some of the browsers), I am right now adding the following in the <system.web> block of web.config... <pages validateRequest="false" /> Is there a security threat after we do this, if ...more >>

javascript:__doPostBack error
Posted by Nikhil Patel at 2/26/2004 4:38:45 PM
Hi all, I have developed a web page with a sortable DataGrid with Select button column in ASP.Net. It works fine in inernet explorer. The purpose of the web page is to display it in a third party application. When I try to open my page in that application, it loads fine. But when I click on a...more >>

Comparing String with ASP.net
Posted by - Steve - at 2/26/2004 4:33:35 PM
The following line of vb.net code works fine: if(strAnswer.toUpper() = strUserAnswer.toUpper()) However in an ASP.net page I'm told Object reference not set to an instance of an object What am I doing wrong? -- Steve Evans Email Services SDSU Foundation ...more >>

Filling two datagrids from two SELECTS in one DataSet
Posted by DC Gringo at 2/26/2004 4:33:17 PM
This code has two SELECT statements, each returning several records. I want to fill a dataset and then two datagrids. How would I fill the SECOND datagrid from this code ----- Sub BindSQL() Dim MyConnection As SqlConnection Dim DS as DataSet Dim MyCommand As SqlDataAdapter Di...more >>

Dynamic StyleSheet
Posted by Jurjen de Groot at 2/26/2004 3:59:44 PM
Is it possible to Dynamically set the StyleSheet to be used on a page, depending on who is logged on to your web-app ? <LINK href="../Css/MyStyleSheet.css" type="text/css" rel="stylesheet" > or <LINK href="../Css/HerStyleSheet.css" type="text/css" rel="stylesheet" > Kind regards, Jur...more >>

Another Windows Service Question
Posted by Jerry Camel at 2/26/2004 3:42:34 PM
I want my service to terminate automatically if the specified parameters are invalid. I tried to use a servicecontroller component to attach to the service, but I think that it's failing because it's being called in the OnStart event (where I validate the parameters) and the service isn't fully ...more >>

Render webpage with attachment
Posted by William F. Robertson, Jr. at 2/26/2004 3:42:13 PM
I am trying to render out a full webpage, but have an attachment with the page that will open. Here is the code I am using the send the file. Response.ClearHeaders(); Response.AddHeader( "Content-Disposition", "attachment; filename=apdetails.csv" ); Response.ContentType = "text/csv"; Respon...more >>

CheckboxList Web Control - Bug.
Posted by Mythran at 2/26/2004 3:03:43 PM
BUG: Place 2 CheckboxList controls on a web form. Give them some checkboxes (listitems) at design time (not runtime) and then run the application. CheckboxList gives each checkbox an id # coinciding with the index in the collection for the parent list. Therefore, item #0 has an id of "0", it...more >>

set value for DataNavigateUrlFormatString dynamically
Posted by TJS at 2/26/2004 2:56:34 PM
how can I dynamically set the value of DataNavigateUrlFormatString in a hyperlink column I have the value to use, I need the correct syntax . "<%= %>" isn't working <asp:HyperLinkColumn Text="View" DataNavigateUrlField="field1" DataNavigateUrlFormatString="<%= dynamic value ...more >>

Using Windows Services
Posted by Srinivas at 2/26/2004 2:52:01 PM
Hi, I have developed a vb.net assembly which I use in existing asp.net pages. I also want to execute it every night at 12. I am new to windows services. Can anyone guide how to execute this program using windows services only once every day at 12 in the night. Any pointers to code samples wou...more >>

HTTP/1.1 500 Internal Server Error...HELP!
Posted by Trint Smith at 2/26/2004 2:38:58 PM
I have tried everything...aspreg -i and modifying machine.config and running the fileupdate...deleting and reinstalling framework 1.1... It only happens when I do a 'Copy Project' to the webserver...it loads into vs.net and runs locally just fine... Any help is appreciated...I'd like to get rid ...more >>

Interface, class or collection Question
Posted by Andrea Williams at 2/26/2004 2:31:25 PM
I need to expose the properties of an User Object to all other classes, but hide the operations (functions) from all but the Business layer of my app? The goal is to load up this USER object and pass it from app Layer to bus layer to Data layer and then back once data has been handled. All reque...more >>

Command Line Compilation - Inherits
Posted by Todd A at 2/26/2004 2:18:47 PM
If I use the following in my code behind page: Public Class _Default Inherits System.Web.UI.Page The page will compile with no errors from the command line compiler (vbc.exe) But, If I insert my own base page to inherit from, say, Public Class _Default Inherits BaseWebPage ...more >>

"System.InvalidCastException: Specified cast is not valid." during connection.open
Posted by roy NO[at]SPAM xeon.tv at 2/26/2004 2:05:15 PM
I have no idea what is going on here. I wrote a simple application in VB.NET to generate a Crystal Report, and I am now trying to move it to ASP.NET with Crstal Enterprise. I wish I could tell you how the report works...but I can't even get past connecting to the database :-) I use the typi...more >>

Windows Service Question
Posted by Jerry Camel at 2/26/2004 1:45:49 PM
I'm posting this here because it seems to be a much more active group that the standard VB group and I suspect that ASP developers may be more inclined to write a service, anyway. I've got my service all nice and compiled and it runs just great. Question is, how do I populate the description ...more >>

General Network Error - MS Stumped
Posted by Joe Ross at 2/26/2004 1:22:53 PM
I've been working with Microsoft support for over 3 weeks now on an intermittent General Network Error we're seeing in our production environment between our ASP.NET application and SQL Server 2000. They are continuing to work on the issue, but it seems as if our progress is grinding to a halt....more >>

Button does not work on Enter
Posted by Vik at 2/26/2004 1:18:50 PM
On some ASP.NET forms, a default button (the first in HTML) responds to the Enter key and on some forms it doesn't though it is highlighted. What may be a reason? Thank you. ...more >>

output page source
Posted by Slipperman at 2/26/2004 1:06:45 PM
i'm sure everyone has used the View Source option off the rmb menu to look at the source of a page. question: is there a way to output the source of a page to a file at run time via a button or something on the page itself?? ...more >>

Date Validation Expression and Leap Year
Posted by Hai Nguyen at 2/26/2004 1:01:36 PM
I want to validate a textbox with date in the right format. I already have it worked. However, my validation expression does not solve the # of days in Feb; for isntance it does not solve for leap year like on Feb there are maybe 28 or 29 days Thank for any help ...more >>

asp.net and Web Accessibility Standards
Posted by Paul G at 2/26/2004 1:00:28 PM
Hi There, I do alot of work for educational institutions that need to support text-based browsers (such as Lynx) that do not support Javascript. I noticed that to use the controls in the asp.net architecture, a javascript postback seems to be required. Is there a way to handle this postback on...more >>

datagrid errors
Posted by Kevin at 2/26/2004 12:58:42 PM
What is the correct way to check for this inside a grid? <% If Container.DataItem("from_fly_from") <> "" then %> I want to only display info in a grid if it exists... is this possible? *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get reward...more >>

need advice
Posted by Ramin at 2/26/2004 12:54:44 PM
Hi, I have 2 textboxses on asp.net page textbox=description, textbox2=quantity What I want when I enter values for them it stored temporarily or smth. like that and then when I click order button it should submit it to SQL Server (order, orderdetails) it is like shopping basket bit wi...more >>

Event handling
Posted by Dave at 2/26/2004 12:46:05 PM
I have a page xxx.aspx that has an IFrame in it. The IFrame's source is yyy.aspx and has a button cmdClickMe when the cmdClickMe click event occurs, I want to raise an event in yyy.aspx and handle it in xxx.aspx. So far, no luck. Any ideas? Thanks......more >>

New to ASP.NET but oldtime ASP classic developer
Posted by JackV at 2/26/2004 12:36:55 PM
Hi all, Just starting in ASP.NET finnally. I have a basic question. I want to simply display data from a SQLSever table on to the webpage. Simple enough? I created an app on the ASP server and added the a Data Web Form, found my table and fields and then... When I go and build and sho...more >>

Retaining values in ASP.Net webform.
Posted by Mark at 2/26/2004 12:31:08 PM
Hello all - I can't seem to find what could be causing this issue so I wanted to appeal to the .NET gurus out there. When I have users input values into Page 1 and submit it, I want the ability so that the user can navigate back from Page 2 (through clicking the "Back" button) and the values they...more >>

Best place to set a global variable
Posted by Schoo at 2/26/2004 12:07:47 PM
I have some program constants that I need to set and I thought it would be best to set them all up in a central location so that I can change them quickly when we go from development to production. What is the best way to do that? Should I put them in web.config? Should I create a special clas...more >>

GAC assembly in VS.Net Add-Reference box?
Posted by Mark at 2/26/2004 12:06:07 PM
Hello I can successuly install an assembly into the GAC with GacUtil. However I cannot get the assembly to appear in the "VS.Net > Add Reference > .Net tab" (where for example, other assemblies in the GAC like System.dll appear) Can anyone tell me how to get an an assembly to appear in VS.Net's ...more >>

Best thing to do-Need Advise--Please
Posted by Jay at 2/26/2004 12:01:30 PM
Hello there, I am trying to set up a test website that includes a header, footer, = left and right navigator, and a central section. Since I am new to ASP = and ASP.NET I was wondering what is the best thing to do. I have read = that it is possible to use controls (Web Forms controls shown i...more >>

viewstate lost when using querystring
Posted by Max at 2/26/2004 12:00:57 PM
Is there anyway to preserve the current viewstate when a hyperlink is clicked to the same page? I have a datagrid on "customers.aspx" but I want to have several hyperlinks that do not post, they just querystring like "customers.aspx?id=56" but once this happens, all the viewstate is lost or res...more >>

Visio
Posted by Dave at 2/26/2004 11:56:05 AM
Has anyone seen any examples of building class diagrams using custom collection classes (that inherit say, collectionbase) in the UMLwith Visio?...more >>

Wizard style pages
Posted by Stu at 2/26/2004 11:53:18 AM
I need to produce a series of C# aspx web forms that will collect insurance application information. The sequence of the pages needs to change dependent on choices that are made on the forms. I forsee it looking like a wizard style screen with back and forward buttons and a series of questi...more >>

Web Service from aspx
Posted by RR at 2/26/2004 11:46:05 AM
Hi is it possible to call a web service from inside SQL Server in any way? If yes, how Basically I am trying to fire a insert trigger, which will select some data from a table and instantiate .Net dll and populate its properties with the table data. I know there are other ways to do it but i woul...more >>

Validation question
Posted by Stu at 2/26/2004 11:45:26 AM
I'm using the following validation code in an aspx form page, its the standard email validation provided with MSVS 2003. My question is how can I have validation triggered only if something has been entered in the text box, i.e. email is not a required field, but if the punter decides to let u...more >>

Download Large File
Posted by JZink at 2/26/2004 11:36:06 AM
I am using the following code to allow the ability to open a large text file on our web server Response.ContentType = "application/x-msdownload" Response.AppendHeader("content-disposition", "attachment; filename=reportenginelog.txt") string FilePath = @"c:\tqis\logs\reportenginelog.txt"; Respon...more >>

Session state with load balancing
Posted by Robert at 2/26/2004 11:21:28 AM
In Web.config file is a setting for sessionState. If I want to maintain a users' session state (ie use the Session object) in a web farm that is being load balanced by a Cisco CSS 11501 Switch. How do I setup sessionState so anything saved to the Session object stays with that session no...more >>

require help for reading from ressource files
Posted by Steve B. at 2/26/2004 10:57:30 AM
Hi all, I'm looking for a pretty way to globalize an ASP.Net application. I base on the Globalization Architecture for ASP.NET article from the MSDN Library. If I have a user control named DesktopBanner.ascx (from Portal Starter Kit), I added two files in the same directory using the "a...more >>

Setting HttpWebRequest Credentials to be current user
Posted by Jamie at 2/26/2004 10:56:02 AM
I'm trying to create a HttpWebRequest object that uses the current logged in users credentials. The site is using Windows Authentication, Anonymous access is turned off. Will the HttpWebRequest object use the current users credentials if i use <identity impersonate="true" /> ? or do i have ...more >>

Object reference not set to an instance of an object
Posted by hansiman at 2/26/2004 10:37:08 AM
Coming from classic asp, I'm a bit in the dark here. I want to dispaly the content of a file in a literal server control. I've created a class utils.vb Imports System.IO Public Class Utils Inherits System.Web.UI.Page Public Function ReadFile(ByVal pFile) ' As String Dim ForRea...more >>

Global Variables on a VB.NET Web Page
Posted by Fred Nelson at 2/26/2004 10:30:57 AM
Hi: I'm a relative newby so hopefully this is a simple question! I have found that I can create global variables easily on a web page by placing the dim statement before the first "private sub" in a program: dim mydata as (whatever) Public Sub Page_Load(etc..) End Sub This makes i...more >>

Dropdownlist.SelectedValue ISSUE
Posted by sanchisudhir NO[at]SPAM hotmail.com at 2/26/2004 10:30:28 AM
Hi, I have a dropdownlist, which I am creating during runtime. I am then populating it dynamically. Depeding on a condition, I am changing the selected value. After this I am adding the dropdown to a panel. But the dropdown is not showing the new selected value when the page loads. Does anyo...more >>

can't gain access to controls
Posted by bill yeager at 2/26/2004 10:20:22 AM
I did some more debugging and found the following: 1) I placed the following code in the button event just to see if I could cycle thru the datagrid control collection: <code> Dim strhello As String Dim myDataListItem As DataListItem Dim myDatagridItem As DataGridItem ...more >>

Error trying to open connection to Excel file (.NET 1.1)
Posted by PAM at 2/26/2004 10:11:05 AM
Hello I'm a newbie trying to open a connection to an Excel file in a deployed ASP .NET app and get the error [OleDbException (0x8000ffff): No error information available: E_UNEXPECTED(0x8000FFFF). System.Data.OleDb.OleDbConnection.ProcessResults(Int32 hr) +2 System.Data.OleDb.OleDbConnec...more >>

Background processing of DLL
Posted by RR at 2/26/2004 9:46:04 AM
Hi, I am a learner and have a very basic question. Is there anyway that I can call a dll from a asp and return the control to the asp while the dll is processing in the back? Since the DLL does a lot of lengthy processes, I just want to display in the browser that the request has been accepted ...more >>

How do I use my own referenced classes in an asp.net page?
Posted by bodzaxx NO[at]SPAM hotmail.com at 2/26/2004 9:45:46 AM
I have added several classes to an ASP.net project via the PROJECT>ADD CLASS menu. When I try to use them in the main page it fails with a type not found error. What gives? Can't you access code in classes which you have added to the project? Here's the code: <%@ Page Language="vb" Au...more >>

Default text for blank or empty datalist
Posted by j_ruez NO[at]SPAM yahoo.com at 2/26/2004 9:44:51 AM
I have looked everywhere and honestly can't believe I am the only one trying to figure this out. Maybe I am searching under the wrong keywords. I have a datalist. It is bound to an array, but could be bound to anything - dataset, whatever. If, when bound, there are no values, all that show...more >>

form inheritance in ASP.NET
Posted by David at 2/26/2004 9:40:40 AM
I know that unlike windows forms, visual controls cannot be inherited when you inherit from another form. This article claims to how to "shows how to add a type of Visual Inheritance to your ASPX site", but it is available only by subscription. Is there another article that talks about visual...more >>

Data in Custom Web Control
Posted by Brian K. Williams at 2/26/2004 9:12:39 AM
Does anyone know how I can pass data to a Custom Web Control? I have been able to pass a DataSet as an object but I can't use it. DataSets don't seem to be available the namespaces will not load. Thanks for any help. Brian K. Williams ...more >>

ASP.NET 1.1
Posted by Randy at 2/26/2004 9:11:26 AM
Hello All, I'm running .NET 2003 on an XP box. I recently opened an older web service solution (created in the previous version of .NET) and when opening it I got the message... Visual Studio .NET has detected that the Web server is running ASP.NET version 1.0......etc..." It advises me to upg...more >>

Detect which button was clicked?
Posted by Dave at 2/26/2004 9:11:06 AM
If you have multiple buttons on a web form, how can you detect which control was clicked in the Page_Load event Thanks, Dave...more >>

System.Drawing.Printing
Posted by moko at 2/26/2004 9:02:52 AM
Can the System.Drawing.Print namespace (and it's print methods) be used in ASP.NET ? Can we direct an output to a printer using these classes ? If not, what is the alternative ? ...more >>

aspnet_wp.exe wird nicht gestartet HILFE!!
Posted by thomas-99 NO[at]SPAM freenet.de at 2/26/2004 8:56:57 AM
Hallo NG, aus irgend welchen Gründen, kann die aspnet_wp.exe nicht gestartet werden. Eigentlich hat asp.net funktioniert, warum jetzt diese Meldungen? An den Rechten hat sich nichts geändert .... Was kann ich tun, auf dem Server laufen keine asp.net Anwendungen (noch nicht)?!?! Ciao Thomas ...more >>

Can't create new project on local server
Posted by graftonfot NO[at]SPAM yahoo.com at 2/26/2004 8:51:27 AM
Hello. I'm having trouble creating a new Web project using VS .NET 2003 on the local default web. I've done a lot of research about this and found a lot of suggestions, but none of them seem to have worked in my case so far. I'd appreciate any help anyone can offer! Here's the problem: ...more >>

Disable RowSelectorColumn checkbox
Posted by Chip at 2/26/2004 8:39:19 AM
I'm using Andy Smith's RowSelectorColumn control (great control) and I'm not sure if this question is generic to all datagrid controls or this particular one. Is there a way to disable one of the checkboxes based on data in the grid? If so, can you provide the syntax? Thanks, Chip ...more >>

Dynamic CSS/Personalization with VB.NET and XML/XSLT
Posted by ric_castagna NO[at]SPAM hotmail.com at 2/26/2004 8:26:37 AM
Greetings from Snowy Charlotte... I am trying to create a dynamic web site that will be "skinned" based upon an authenticated user's information. This skinning could be extensive (entire change to the UI appearance) or more minimal with a measure of personalization such as the adding of links ...more >>

How do i get rid of the weird message in the eventlog
Posted by bjaburg NO[at]SPAM virtual-affairs.com at 2/26/2004 8:22:30 AM
Hi, I am using the Microsoft Application BuildingBolock (Freudian slip, hahaha) Exception Management and am using a CustomPublisher. This goes fine and it write's stuff the Windows EventLog. However, each entry starts with the following: The description for Event ID ( 0 ) in Source ( <<ap...more >>

How long is a piece of string?
Posted by bjaburg NO[at]SPAM virtual-affairs.com at 2/26/2004 8:18:36 AM
I really need to know! Regards, Bas Jaburg bas@jaburg.com...more >>

ASPX inside ASP iframe
Posted by bkc98 NO[at]SPAM excite.com at 2/26/2004 8:00:29 AM
Hello all, I have a classic ASP web app that requires some new reporting features that I have written in ASP.Net (a .net web application that makes use of a .net webservice on the same box). To incorporate the ASPX page inside the classic ASP page, I added an IFRAME to the ASP page and refere...more >>

New to ASP
Posted by Brad Allison at 2/26/2004 7:05:46 AM
I have created my first ASP app and I have a problem. I am building this application at work, but last night I wanted to take it home to work on. I put the file on a memory key and transferred it to my laptop. I get errors when trying to open this file. Something about the project file could ...more >>

View State
Posted by brian at 2/26/2004 6:44:04 AM
I have been running across the term View State lately and was hoping someone could explain it's purpose or when to use it or even how it is implemented? Thanks...more >>

Firing an asp:button, from the c# code, not from the form
Posted by foldface NO[at]SPAM yahoo.co.uk at 2/26/2004 6:25:31 AM
Hi As the subject says. I have a webpage with a button (amongest other things). I want press the button from the code and hence initiate a postback Thanks F...more >>

Postback problem: Variable lost
Posted by Joseph Luner at 2/26/2004 5:45:59 AM
I am having problem postback, (code shown below) the variable "my_str" is lost after clicking the "submit" button. Isn't it suppose to display "changed" after posting back? Is there anyway I can maintain the state of a variable? Imagine the variable is a Class, not String. After clicking ...more >>

Can't Debug ASP dot net project
Posted by Avdhut at 2/26/2004 4:56:06 AM
While debuging ASP dot net application following error occur Error while trying to run project: Unable to start debugging on the web server. Catastrophic failure. Would you like to disable future attemptsto debug ASP.NET pages for this project?...more >>

Application Unexpectidly Ends
Posted by Ben S at 2/26/2004 3:46:07 AM
Hi I have a reasonably complex ASP.Net application which unexpectedly ends 2 or 3 times a day loosing session info and causing users to log back in. There is comprehensive error tapping and logging both at a procedural level and at the Application level. There are no errors being logged for the ti...more >>

strange & weird problem in ASP.NET application
Posted by shalin NO[at]SPAM imagine.co.in at 2/26/2004 3:45:14 AM
I am having a strange problem in my ASP.NET application. When multiple users access the web site, the changes done by a user gets reflected in another users session. I have some global variables declared in a module which I use throughout the application. Is it problem because of this? If I...more >>

Validation Summary - Adding Error Messages
Posted by Lucas Tam at 2/26/2004 3:10:11 AM
Hi all, I posted a message a couple minutes early and I'm not sure if it was too clear. I'm interested in adding custom messages to the validation control - is there an easy way to do this? Here is what I'm intending to do: 1. Have a form, validate all fields (done) 2. If Page is ...more >>

Why Postback open a new window..?
Posted by Bsiang Tan at 2/26/2004 2:57:25 AM
Dear all expert, I use javascript to open a modal dialog window window.showModalDialog('child.aspx'); but in my child.aspx, got a button, when I click the button, it will do the postback, mean that it shoul refresh the page.. but in my case, the open another window... why th...more >>

Displaying a Validation Error in a Validation Summary Control
Posted by Lucas Tam at 2/26/2004 2:43:47 AM
Hi all, I want to display an error message from a custom validator in my Validation Summary control. Do I need to build the ServerValidate Event handler in order to display an error message? All I wish to do is raise an error message on a failed database insert - can I just set cvMy...more >>

Urgent: Please need help badly
Posted by Bilal at 2/26/2004 2:11:05 AM
hi all I am facing a little problem. I have a form with a dropdownlist control. I have a button and when i click the form posts back The problem is that in the on button click event i'm calling this metho ------------------ Sub cute(sender As Object, e As EventArgs Response.Write(ddlColors.Sel...more >>

UserControl in Template DataColumn
Posted by Alessandro Rossi at 2/26/2004 12:41:09 AM
Hi I developed a usercontrol with a textbox and an htmlInputHidden When I add my usercontrol in a webform, it works properly If I add my control in a template column of a datagrid i have some problems When I load the webform, the usercontrol has a UniqueID like this: "LookUp1:txtRisultato", then...more >>

How to move parameters for one aspx to the next?
Posted by wtumaxi NO[at]SPAM forum.dk at 2/26/2004 12:23:34 AM
Page 1 collects some inputs from the client. It validates the inputs on postback and then forwards to Page 2. How do I make the inputs available to Page 2? If I use Server.Transfer() then the inputs can be read again by Page 2, but Transfer() has some sideeffects I dont want because the client...more >>


DevelopmentNow Blog