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 2004 > threads for thursday july 1

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

call a click event
Posted by interuser NO[at]SPAM hotmail.com at 7/1/2004 11:16:18 PM
Hi In the lbtnSubmit1_Click, lbtnSubmit2_Click , lbtnSubmit3_Click ,etc of my .aspx form , I want to store the sender in the session , so I can call again the click method at some other point X in the code. At point X, I just want to call something like sender.click. How can I do that?...more >>

Event Question
Posted by WStoreyII at 7/1/2004 10:20:15 PM
when using a codebehind aspx form. i know how to declare the event in the code the .vb file but my question is do i need to still declare the event in the attribute of the control on the aspx form? WStoreyII ...more >>

Developing lots of top level webs - whats the best method?
Posted by Martin Zachs at 7/1/2004 10:07:41 PM
I'm new to ASP.NET, but 5+ years experienced with conventional ASP. We currently use "non-isolated" development using Frontpage Extensions for lots of websites (100+). To move to ASP.NET, I've read the numerous documents on .NET Team development at http://msdn.microsoft.com/library/default.as...more >>

How to STOP ASP.NET from shutting down at night.
Posted by rooster575 at 7/1/2004 8:25:36 PM
When asp.net is idle for xx minutes, it shuts down until the next request. How can I make this time 72 hours so the process is NEVER restarted by asp.net? Thanks. ...more >>

Login failed for SA account
Posted by Paul King at 7/1/2004 7:40:29 PM
Ok, Im going crazy now - I had this working a week ago Im using the SA account authentication to my test.aspx page. It was working fine but now I get Login failed for user 'sa'. I had no password set on this account by default - how can I check someone has not changed this password and r...more >>

How to create a DLL library of custom controls to redistribuite them?
Posted by Crosta at 7/1/2004 6:56:50 PM
Hi everyone, As subject suggests I'm wondering how is it possible to do so in ASP.NET. The fact is that I'd like to "atomize" an entire series of custom user controls (.ascx and .ascx.vb) to redistribuite them to friends but without having to give away my source code. I'd like to have only one c...more >>

ASP.NET performance issue
Posted by Paul King at 7/1/2004 6:37:04 PM
Hi all, I have written a very simple ASP.NET page on my website that displays the results of wedding fayres based on the Venue Name selected by the user. However, when the ASP page loads for the 1st time, this takes quite a long while to appear (approx 15-20secs). I understand that the ASP ...more >>

Web site URL -> thumbnails/printscreen
Posted by JD at 7/1/2004 6:23:41 PM
I need to create a thumbnail/printscreen (picture - gif or jpeg) of the existing website on the internet. I am able to "grab" the content of other website, but how do I create a picture from it (all I have is HTML)? I provide URL and it returns picture (printscreen) of the website. I even don'...more >>



Looping through textboxes - error in my code?
Posted by Nick at 7/1/2004 4:39:38 PM
Hi - I'm trying to loop through the textboxes on a page to unlock them for editing. The Enabled property is set to false, and the following code is on an 'Edit' button on the form. Can anyone tell me why it doesn't work? Thanks Nick. Code: Dim frmCtrl As Control For Each frmCtrl In ...more >>

Session Management
Posted by Lloyd Taylor at 7/1/2004 4:16:43 PM
Hello, I am creating a web application and I would like to adopt similar session/user management to my online banking system. I was wondering if anyone could give me a few pointers. 1. When my session is about to expire a notice is displayed counting the time down, what is the b...more >>

The number name 'System.Web.UI.WebControls' contains more than the maximum number of prefixes. The maximum is 3.
Posted by mayur at 7/1/2004 4:04:27 PM
Hi, Can anyone help me with the following error I am getting in my asp.net application. The number name 'System.Web.UI.WebControls' contains more than the maximum number of prefixes. The maximum is 3. any help appreciated -- Mayur ...more >>

redirection
Posted by Andrew Jones at 7/1/2004 3:54:30 PM
I'm struggling with page redirection. Here are the steps 1. forms authentication to authenticate user. 2. when system returns to base page I have the following code in Page_Load if ( New Password Needed ) Response.Redirect("NewPass.aspx") 3. Problem lies in NewPass.aspx - How do ...more >>

Example of showing/hiding panels
Posted by Charlie Dison at 7/1/2004 3:45:59 PM
Hi There, Should I be able to show and hide panels in an asp.net page without requiring a postback? I thought there was a way to do this using java script. Can anyone give me an example? I can't seem to find one that makes sense. Thanks. ...more >>

ASP.NET Quick start Tutorials
Posted by Luke Vogel at 7/1/2004 3:11:13 PM
Hi all, I've just started with asp.net, and thought I'd work my may through the quick start tutorials before asking any silly questions. I didn't get very far. On the 'Introducing Web Forms' page there are a number of examples, and I cant get the 'vb intro8.aspx' example (and others) to ru...more >>

white screen appearing
Posted by headware NO[at]SPAM aol.com at 7/1/2004 3:03:13 PM
I've been getting a strange bug occurring in my ASP.NET pages. If while waiting for a page to load, the user clicks a dropdown listbox that causes postbacks, the whole screen turns white and it apparently cannot be refreshed. I have a framed layout and only the main frame turns white. If you cli...more >>

Server side menu problem
Posted by Ohad Young at 7/1/2004 2:53:57 PM
Hi, I have a frameset page that contains two frames: 1. the first frame, an aspx page, contains a menu for navigating in the website. 2. the second frame contains content, pdf, html or other aspx files The problem is that the menu activates a server-side methods when the user clicks on one...more >>

Displaying a message contigent on another validator.
Posted by darrel at 7/1/2004 2:48:26 PM
I'm using some validators for a form. If the field is invalid, the page reloads with the error next to the field. This works, and I like it. I'd also like to add a separate message to the top of the page along the lines "there appears to be an error with your submission. Please check the fo...more >>

Error suddenly fixed: BC31011: Unable to load referenced library
Posted by sam420 NO[at]SPAM hotmail.com at 7/1/2004 2:29:30 PM
Hi, I used to have this error come up everytime I tried to build(Ctrl+Shift+B) my ASP.NET app: (ERROR#1) Compiler Error Message: BC31011: Unable to load referenced library 'c:\winnt\microsoft.net\framework\v1.1.4322\...': Access is denied. The workaround solution was to add a space or ch...more >>

IsValid always returns true on server-side under FireFox 0.9
Posted by Jeremy at 7/1/2004 2:29:06 PM
The code is in a server control: If Me.Page.IsValid Then ExecuteSomething End If ExecuteSomething is always called and the validators always return True for IsValid, even though their properties would indicate that they are invalid (RequiredField validator, InitialValue = "", CurrentVa...more >>

User Control Disappears After PostBack - Why?
Posted by Guadala Harry at 7/1/2004 1:50:43 PM
I have a simple user control (see below) that has EnableViewState="true". I place it on an ASPX page at runtime using a PlaceHolder - which also has EnableViewState="true". After a postback, the aspx page renders back to the client, but the user control is not on the rendered page. Why? I thou...more >>

Ensure page is only accessed via SSL
Posted by - Steve - at 7/1/2004 1:49:29 PM
If a user where to go to http://server/page.aspx I want to force them over to https://server/page.aspx. So those that didn't catch the subtle hint there, I want to move them over to the SSL page. What's the best way to handle that? I know I can have IIS block access to a page if it's not ...more >>

Anchor <a name=... > tag
Posted by Sunny at 7/1/2004 1:36:43 PM
Hi, I would like in runtime to create some sections of the page, and at the beginning to put some links to these sections. Lets say I have to provide some details for every city user will visit. I fetch the cities from the DB, and details for every city. Now I want to have a page like th...more >>

HyperLink to webform in aspx
Posted by Miguel Ramirez at 7/1/2004 1:27:33 PM
Hello All, How can I call a WebForm from another WebForm when user clicks a button? Any help will be appreciate, Regards, Miguel. ...more >>

Can you get the record count inside a repeater control?
Posted by darrel at 7/1/2004 1:18:03 PM
I'm trying to whip up a fancy repeater control that will put records into a two-column table for me. This is how I envision it working: itemtemplate if record count = odd then write out the TR tag td <record> /td if record count = even then wrote out the /TR tag if record coun...more >>

web server folder security
Posted by feng at 7/1/2004 1:13:32 PM
My ASP.Net app need write permission for a folder on the web server. What confuses me is that I can only make it work if I give it write permission to the server machine's Users group. It doesn't work if I give the same permission to the IUSR_<machine name> user. It's been my understanding...more >>

Creare una DLL come libreria di controlli customizzati
Posted by Crosta at 7/1/2004 1:13:05 PM
Salve a tutti, come da oggetto, come è possibile fare ciò in ASP.NET? Il fatto che vorrei in qualche modo atomizzare tutta una serie di controlli customizzati da redistribuire ad amici eccetera ma senza passare necessariamente il codice sorgente. Grazie a tutti....more >>

Upload picture problem
Posted by The Clansman at 7/1/2004 1:00:59 PM
Hi, I have a upload picture procedure that works ok, but when the upload is done and the user press CTRL+R, the picture is uploaded again! how do I prevent it? thanks ...more >>

Question on static methods
Posted by Simon Harvey at 7/1/2004 12:45:09 PM
Hi all, In my project I have made a number of helper methods static. As I understand it, this will create the problem that multiple threads could access the static method at the same time and interfere with one another. My question is, for each static method, do I need to lock access to only...more >>

Input string incorrect format
Posted by Big E at 7/1/2004 11:58:23 AM
Here is my code below. I recieve this error when I run MyCommand.SelectCommand.ExecuteNonQuery() Thanks. Big E Sub MyDataGrid_Update(ByVal Sender As Object, ByVal E As DataGridCommandEventArgs) Dim DS As DataSet Dim Portal As String = ConfigurationSettings.AppSettings("Portal.Co...more >>

Help! - Could not load type error
Posted by Paul Smith at 7/1/2004 11:17:02 AM
I am hoping this is a simple problem for someone. We have two development servers, DEVNET (a web server) and DEVSQL (a DB / File Server). We have recently moved all of our .NET source code from an old server to DEVSQL, where it compiles beautifully. We have an application with several project...more >>

Regular Expressions
Posted by Andrew Jones at 7/1/2004 10:58:57 AM
looking for a regular expression to validate an entry contains both letters and numbers. I can do them individually, but not together. Is there a better group to post this on? Thanks, AJ ...more >>

Regular Expression Validator
Posted by Andrew Jones at 7/1/2004 10:51:01 AM
I'd like to validate an expression contains both letters and numbers, but can't figure out the expression for this. ..*(0-9).* for numbers ..*(a-zA-Z).* for letters How do I combine the two? Are there good groups for working on regular expressions? Thanks, AJ ...more >>

Deployment Error
Posted by Sunil Sabir at 7/1/2004 10:20:01 AM
Dear All, I am trying to Deploy ASP.net application on the remote server. I am trying to deploy it by WebSetup project. I have only installed .Net Framework on the server. I am geting the following error: Runtime Error Description: An application error occurre...more >>

Adding new pages without recompiling whole site
Posted by Christopher Kimbell at 7/1/2004 10:18:13 AM
In ASP.NET, is it possible to add new pages without having to recompile the whole website? Can the site span several dlls? Chris -- Using Opera's revolutionary e-mail client: http://www.opera.com/m2/...more >>

Accessing intrinsic ASP (not ASP.NET) objects from .NET class
Posted by Alek Davis at 7/1/2004 9:45:01 AM
Hi, Is it possible to access intrinsic ASP objects, such as Request, from a .NET class. Say, I have a .NET library exposed via a COM or COM+ wrapper. Can this library retrieve the request info (basically, server variables exposed via the Request object), when it is invoked from a traditional A...more >>

how to pop a dialog box
Posted by sun at 7/1/2004 8:58:28 AM
i want to pop a dialog box, but i use asp.net c#, always not realization; who man can tell me why is it? thanks. ...more >>

how to build progress bar
Posted by Daniel at 7/1/2004 8:44:47 AM
Hi, Is there good article recommend for how to build a progress bar, or any idea? Thank....more >>

.NET Framework installation
Posted by Roberto at 7/1/2004 7:54:02 AM
I am deploying an ASP .NET web site. For some reason on the machine I am deploying the .NET Framework was installed before re installing the IIS. The machine is a Windows 2000 Server. Is there an order on this installations? I am wondering if this is causing me problems. TIA -- Roberto...more >>

Date entered from textbox becomes null (1/1/1900) when entered into SQL table.
Posted by TN Bella at 7/1/2004 6:53:24 AM
Hello, I was looking through the older posts for a solution to this problem, but I am still confused on how to fix my problem. There are two dates on my form, one (txtInvDate) is entered by the user and has a validator (reDate) attached for specific dates that can be entered. The second date ...more >>

COM components referenced in asp.net leave SQL connections open
Posted by benjilloyd NO[at]SPAM btinternet.com at 7/1/2004 6:38:27 AM
I am having problems with old COM components that I must use in my ASP.NET project leavings connections open in the SQL server "Process Info" with "AWAITING COMMAND". After some testing I have determined that .NET is not correctly calling the Class_Terminate in the old COM componet which would...more >>

ASP.NET breaks on every reboot??
Posted by hpinsley NO[at]SPAM kayescholer.com at 7/1/2004 6:26:20 AM
Every time I reboot my machine, I can no longer run ASP.NET applications. I have to run aspnet_regiis.exe /i after every reboot. The error: Server Application Unavailable The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" ...more >>

Adding an asp.net web app project to the solution's directory
Posted by Avi Shilon at 7/1/2004 5:22:01 AM
Hi, I'm trying to create a Solution that contains several projects within it, one of which is an ASP.NET web application and the others are class libraries (Data and Business tiers, which are seperate projects). When i created the two class library projects, the projects were added to the ...more >>

How to verify account existence on SMTP server from ASP.NET ?
Posted by darin_dimitrov NO[at]SPAM hotmail.com at 7/1/2004 4:19:44 AM
Hello, Is there a way to verify that a particular account exists on SMTP server before sending email to it in an ASP.NET web application?...more >>

Help with Function...
Posted by Tim::.. at 7/1/2004 4:11:01 AM
Can someone please explain why this doesn't produce the required result? It is suposed to pull some data from a database and build a some code similar to the line of code shown below: Dim submenu1 As New skmMenu.MenuItem("Item Name", "URL") ...:: Code that doesn't work ::.. Private Funct...more >>

ASPNet validation and Javascript
Posted by richard.webber NO[at]SPAM services.fujitsu.com at 7/1/2004 3:33:39 AM
I have a page that conatins some text boxes that need to be completed before submission. I used requiredFieldValidators which work very well. User being what they are where quite happy, but they wanted an Hourglass displayed when the page is submitted as they can't remember whether they have ...more >>

Sequential numbers without a database?
Posted by mike NO[at]SPAM kingscott.f9.co.uk at 7/1/2004 3:25:58 AM
Hi all, I'd building an app that posts to a web service. One of the things that is required in the soap header is a sequential number appended to a ref, i.e. "IGI1001", "IGI1002", etc. Obviously the first part of the reference ("IGI") stays the same, but I need an incrementing number genera...more >>

TIP : Installing .NET 2.0 - Sites all change to 2.0
Posted by Phil Winstanley [Microsoft MVP ASP.NET] at 7/1/2004 3:10:43 AM
Hi, When you install .NET 2.0 it will by default reregister all the sites in IIS to run against the 2.0 Framework. To switch things back easily, there is a really nice tool here: - http://www.denisbauer.com/NETTools/ASPNETVersionSwitcher.aspx That tool can be used to switch the Framewor...more >>

Re: Adding new pages without recompiling whole site
Posted by Phil Winstanley [Microsoft MVP ASP.NET] at 7/1/2004 3:05:50 AM
Chris, Yes it's possible to do this, if you use inline script within the ASP.NET pages and not CodeBehind the pages will just JIT compile, no precompile is nessesary. Hth, Phil Winstanley Microsoft ASP.NET MVP http://www.myservicescentral.com ...more >>

Re: choosing environment
Posted by Phil Winstanley [Microsoft MVP ASP.NET] at 7/1/2004 3:03:12 AM
David, For me the choice is simple, what integrates with my source control product and what do the rest of the team use? Visual Studio .NET Hth, Phil Winstanley Microsoft ASP.NET MVP http://www.myservicescentral.com ...more >>

Re: How to loop through all images of a page
Posted by Phil Winstanley [Microsoft MVP ASP.NET] at 7/1/2004 2:41:44 AM
Hi, If the controls are not server side controls, i.e. they have the runat="server" tag, you won't be able to see them server side. Would you like to do this client side then upload the results? Phil Winstanley Microsoft ASP.NET MVP http://www.myservicescentral.com ...more >>

Impersonation wont work to remote server
Posted by Alstersjo at 7/1/2004 1:32:01 AM
Hi I am trying to develop an web application that should use netsh dhcp to show information about our dhcp scope. The problem is that our dhcp server is different from our IIS (iis6). I am trying to do this command via impersonation but I can't get the permissons to be right. I constantly get perm...more >>

Concurrent database updates
Posted by Jill Graham at 7/1/2004 1:27:23 AM
Hi, What is the best way to resolve following problem in a multi-user environment ? I have a table called TOTAL_SALES. The table has 2 columns : "CarId" and "TotalSales" I need to access a given car in the TOTAL_SALES table using the "CarId", read the "TotalSales" value and increment thi...more >>

"Thread was being aborted" error from WebApp using Thread.Sleep.
Posted by jsausten NO[at]SPAM hotmail.com at 7/1/2004 1:23:43 AM
I have an ASP.Net application that sends a NetworkStream to a .Net Service, which has a TcpListener listening on a port for the ASP.Net client. When it receives a request it creates a new thread with the AddressOf a class that runs a long data intensive process that can take between 1-15 minutes...more >>

Comment : ASP.NET Performs 10 Times Faster than J2EE
Posted by John Paul. A (MCP ID# 3015176) at 7/1/2004 12:07:01 AM
Dear All, The link below says that ASP.NET performs 10 times faster than J2EE. Please give me your comments. http://www.gotdotnet.com/team/compare/petshopperf.aspx -- Thanks & Regards, John Paul. A Sharp Software Development India, Pvt. Ltd., Unit 5, Level 3, Innovator, ITPL, Whitefield Ro...more >>

CRC generate
Posted by Shishir Kumar Mishra at 7/1/2004 12:02:01 AM
Hi List, I have one small doubt and I know that some of you will definitely guide me how to approach for this. Before uploadaing file from Client machine I want to genate a CRC value for the file and send it to WebServer so that integrity of file can be checked on server . Can I do it in Java scr...more >>


DevelopmentNow Blog