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 > june 2004 > threads for friday june 18

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

Visual Studio.Net Wysiwyg
Posted by Marty U. at 6/18/2004 9:04:42 PM
I know this topic has been beat to death. However, I was sitting here trying to figure out what Microsoft Does when they develop an ASP.net for WYSIWYG functionality. Visual Studio's sucks to be honest. And I don't believe Microsoft has purchased Dreamweaver to do their designs. Are any of ...more >>


general archetecture questions.
Posted by jack at 6/18/2004 8:48:29 PM
I'm starting a venture into the ASP.NET area for the first time in ways. though i've learned how to write up a page real quick i'm starting to write a full application. My past projects used classic asp and java (with j++ and javareg.exe) because i kinda sorta dispise vb6. asp.net fixed that,...more >>

Parent page name (Usercontrol)
Posted by John at 6/18/2004 7:30:13 PM
Hi, is it possible for a UserControl to get the Page name and querystring of its parent? e.g If a userControl is inside a page called "index.aspx?ID=66" how can a usercontrol print out this value? I was hoping there might be a Parent.PageName or Parent.Querystring method :) Thanks in advanc...more >>

SQL Newsgroup
Posted by Miguel Dias Moura at 6/18/2004 7:28:56 PM
Hello, can you point me a good SQL Newsgroup? thank You, Miguel ...more >>

Wierd .NET / IIS problem
Posted by anony at 6/18/2004 6:51:20 PM
Hi, I have an HTML pattern matching web service that's been working great. It's been misbehaving lately, though. On first hit, it works fine. But if you reload the page, it times-out (System.Net.WebException: The operation has timed-out.). If I stop the WWW service and restart it, the page...more >>

need help
Posted by Mike at 6/18/2004 6:41:11 PM
Ok, I'm having a major issue trying to connect to my SQL Server and Db. I have the user id and password setup on the sql db, I have the user id and pwd in my connection string, and i keep getting access denied. Is there something i'm missing? what do i need to do to get my asp.net app on one ...more >>

Creating functions, components
Posted by John Cosmas at 6/18/2004 6:23:28 PM
I am new to .NET 2003 and I'm having trouble locating answers. I need to run a initiate a set of classes, or rather load some initial values into an array - data originates from a database. Then throughout my application, I will make a functional call which will retrieve the corresponding value...more >>

Bulk upload like SPPS 2003
Posted by Azkaban at 6/18/2004 6:10:13 PM
Hi, are there someone who know what kind of control or component Share Point Portal Server use to make bulk upload documents? Thanks. -- --------------------------------- Filippo Macchi www.filippomacchi.it ...more >>



Change url of supplied page without doing a redirect?
Posted by Martin at 6/18/2004 6:00:37 PM
I know this might seem like an odd question. I've got a page that has a few url parameters. There's a couple of modes the page can be entered in, with correspondingly different urls params. Once on the page, typically the user causes a post back to occur. I then want the url to reflect the...more >>

ASPNET tutorials
Posted by Ammar at 6/18/2004 4:36:35 PM
Hi all I am new to ASP.NET,I searched through the internet and found hudreds of ASP.NET tutorials, but can you recommend a good site that you know to me? Ammat ...more >>

ASP.NET host recommended
Posted by John at 6/18/2004 4:12:09 PM
Hi all, can someone please recommend to me a reliable American based .NET 1.1 hosting company with SQL Server 2000. I need at least 100MB space (With room to expand), SQL server 2000 with at least 100MB space, preferably unlimited traffic. I need to be able to specify file permissions via the ...more >>

ASP label control
Posted by rodney at 6/18/2004 3:51:03 PM
guys I am trying to add multiple lines of text to a label control.Each line of text should be on a newline. But when I add/append the text to the label I can only see the first line. I havbe tried using Environment.Newline,"\n",<ol>,<br> nothing works How could i possibly do thi...more >>

Global.asax and HttpContext.User
Posted by Victor Jones at 6/18/2004 3:46:48 PM
I had a question about accessing HttpContext.User in global.asax. I was trying to access HttpContext.User in Application_BeginRequest() which had a null value as opposed to containing a valid GenericPrincipal while accessing it from a Page_Init() method of the same application. When does the ...more >>

Adding events to dynamically created controls
Posted by JezB at 6/18/2004 3:11:55 PM
I'm adding WebControl objects to a Page dynamically on Page_Load, but I'm having trouble attaching events to these. For example, adding an image button :- ImageButton nb = new ImageButton(); nb.ImageUrl = "text.gif"; nb.ToolTip = "Edit Text"; nb.Click += new ImageClickEventHandler(b1_Click);...more >>

Datagrid with Checkboxes
Posted by dave at 6/18/2004 3:08:13 PM
I have a datagrid with checkboxes for each row. The user is able to select the ones he wants, then hit a "Save" button, which then loops through them all and insert the checked ones into a DB. At the moment i am using the following code to do it, which is assigning the ID of the record to th...more >>

.NET framework 1.1 and Win2003 Server, Web Edition
Posted by Russ at 6/18/2004 2:51:19 PM
I set up a web server machine using Windows 2003 server, Web Edition. Every time I try to do anything with it I get an error message that says that "the specified Wew server is not running ASP.NET version 1.1. You will be unable to run ASP.NET applications or services". What is the cure for t...more >>

Session Timeout using frames
Posted by Bilbo at 6/18/2004 2:45:24 PM
Hello, My main ASP.NET interface uses frames. The problem is that once the session times out (if the user hasn't yet closed the browser), the user is automatically redirected to the login screen (setup in Web.Config file), but this occurs for every frame!!! Is there a way to redirect away from...more >>

downloading a file
Posted by delphiconsultingguy NO[at]SPAM yahoo.com at 6/18/2004 2:34:39 PM
Hi all, I am creating a web application to convert files to a different format. The interface is simple in that there's a filename control and a submit buttom. The functionality I'm looking for is for the user to use the filename control to indicate which file to convert, then to press subm...more >>

ASPNET user and IIS
Posted by Sorin Sandu at 6/18/2004 2:32:06 PM
How can Start WWW service with ASPNET account ? ...more >>

ASP.NET / VS.NET 2003 won't work with ZoneAlarm firewall?
Posted by Lauchlan M at 6/18/2004 2:25:20 PM
All of a sudden, with ASP.NET 1.1 one happily installed and working, VS.NET tells me "Visual studio.net has detected that the specified web server is not running asp.net version 1.1. You will be unable to run ASP.NET web applications or services." It won't let me load/run my project. When I tu...more >>

Active Directory - setPassword method error
Posted by knea00 NO[at]SPAM yahoo.com at 6/18/2004 2:10:41 PM
Hi, I noticed a bunch of postings about getting error while invoking the "setPassword" method. I am getting similar error and any help would be appreciated. The error that I am getting is: ------------------------------------------------- System.Reflection.TargetInvocationException: Excep...more >>

Netscape problems
Posted by Vik at 6/18/2004 1:53:30 PM
1. To show the sort order in a datagrid, a label is added to the datagrid header in the ItemCreated event (this method is taken from a book): With lblSorted ..Font.Name = "Webdings" ..Font.Size = FontUnit.XSmall ..Text = IIf(blnSortDir, " 5", " 6") End With This label is rendered as <span ...more >>

How to allow only one checkbox to be checked in a group of checkboxes
Posted by moondaddy at 6/18/2004 1:02:08 PM
There are different times when I will have a group of checkboxes and need to force only one to be checked at a time. I would also like to do this client side and not require a postback. These checkboxes could be just a group of check boxes across the top of a page, or could be part of a datalis...more >>

Manipulating instance var from a static method - thread safe?
Posted by Oleg Ogurok at 6/18/2004 12:51:13 PM
Hi all, I've just realized that static data are not thread safe because they are shared by all users of the ASP.NET application. What if a static method is passed an object variable? Do I still need to lock() on that variable for the time the method is manipulating it? Thanks, -Oleg. ...more >>

System.Data.SqlClient.SqlException: General network error. Check y
Posted by Kalyan at 6/18/2004 11:38:01 AM
Hello, System.Data.SqlClient.SqlException: General network error. Check your network documentation. What does this error means? My web app, suddenly started to show this error today in my production environment, beta environment, development environment, and also on my machine too. When i d...more >>

Show light weight thumbnail of large images
Posted by moondaddy at 6/18/2004 11:31:25 AM
I have an app where users will upload photos to their shopping cart. When they review their cart I need to include a light weight thumbnail of the image they uploaded. how can I take the image a user uploaded (PixOfMom.jpg at 600k) and convert it to a thumbnail and put into the image url of a ....more >>

retrieve all information from domain
Posted by vaidas gudas at 6/18/2004 10:57:04 AM
How from asp.net page retrieve all information about user how using the asp.net page. Authentication type is "Windows" and the user is in the domain ...more >>

SQL connection issue
Posted by Mike at 6/18/2004 10:54:06 AM
I'm trying to connect to a SQL 2000 db that is on another server then the web server. I setup and ID and PWD to access the SQL db via the code and it works locally and when I put the everything on the web server I get an Access denied to SQL Database. what is causing this, what do i need to c...more >>

Application folder
Posted by Marc Tousignant at 6/18/2004 10:44:05 AM
Hi, I'm currently working on a project and my Inetpub folder was on C:\. I shall now run my project on a server, and the path will by D:\. How can you change the main root ? ...more >>

Please Help! Can't figure this out...
Posted by Chad A. Beckner at 6/18/2004 10:20:05 AM
Hey all, Ok, I've been working on this problem for a few days now, and I can't figure it out. I have a .aspx page that has 2 panels on it. In the first panel, I have a form with a few radio buttons, then a submit button (I'm using postback). On the second panel, I want to list the radio b...more >>

Textbox postbax comma bug
Posted by kdoran NO[at]SPAM travelsavers.com at 6/18/2004 10:00:06 AM
I have a webform page that contains a textbox control. The textbox is initialized by the codebehind module and contains a value when the page is first loaded. The user can then edit the textbox if they choose to or leave it as is. The strange behavior I'm seeing is that when the form ...more >>

is session_end event totally USELESS?
Posted by Jason Shohet at 6/18/2004 9:51:16 AM
We want to redirect a user when the session ends, to a page. It doesn't seem to work (should it?). We can put the redirect in the session_start, but this causes other problems because when the session_starts, we actually want to redirect the user to a different URL. Can anyone help us out he...more >>

https and browser back button
Posted by Freddy at 6/18/2004 9:48:46 AM
Hi, The registration process in our web site is of 3 step process spanning 3 pages and it is performed on https. I have noticed in some websites while doing credit card payments if we click the back button of the browser we get a page saying "Warning page expired...." etc. But in the reg...more >>

Regular Expression to validate file extension
Posted by Chris Kennedy at 6/18/2004 9:47:15 AM
Does anyone know a regular expression that will validate the file extension but also allow multiple file extensions if necessary. It also needs to be case insensitive. Basically, what I want is to validate a file input box to check if the extension is the correct type, i.e. .doc for a Word Docume...more >>

Client Side OnBlur Triggering Validation
Posted by Joe.Dattilo at 6/18/2004 9:40:02 AM
Hello, Does anyone know how I can stop the RequiredFieldValidator from validation OnBlur and OnChange. I only want it to validate when the user submits the form (but still want it to run client side) Thanks ...more >>

Advice on redirection after session timeout
Posted by Larry at 6/18/2004 9:37:17 AM
I have a requirement to redirect to a pre-defined landing page if the session times out. I'm able to trap when the session time's out, however, I am unable to redirect. The software seems to go into an infinite loop. Any suggestions. Thanks! ...more >>

Generating hashes (System.security.cryptography)
Posted by Mauricio Correa L. at 6/18/2004 9:36:19 AM
Hello, I was proving algorithms to generate hash from string (MD5 32 characters), but those that I have found return hash to very long (because the user must work with this number, does not have to be very long), exists some form to generate a hash with length 16 characters? greetings and thanks...more >>

Shared Dll
Posted by mimi at 6/18/2004 9:32:47 AM
I have created a component (called DataAccess) using com+ service for retrieving data from database. When I reference it to other projects, I notice that it is copied in to the bin folder of each project. And after all the projects run, under component service/computer/mycomputer/com+ applicat...more >>

Set focus on the textbox field in datagrid
Posted by Grey at 6/18/2004 9:28:15 AM
I have implemented the datagrid with add function successfully. However, when one record was added in the grid, the cursor was lost focus to somewhere. is it possible to set focus on the textbox for further adding record in the datagrid Million thanks ...more >>

Graphic/Random Generation ?
Posted by WJ at 6/18/2004 8:56:38 AM
When register oneself to do business online, at thew end of registration page, there is a Graphic that contains a string of number, you are required to enter this string before prewssing the submit, I think this is very good idea to ensure that there is a real person entering the data. My questio...more >>

Passing DataTable Across ASPX Pages
Posted by Eric at 6/18/2004 8:28:56 AM
Hello, I am trying to come up with the best way to pass large amounts of data from page to page, namely a data table. The user needs to enter data into a form in one page and confirm it on another. Session variables seem like the easiest, but I'm afraid of crashing the server after deployi...more >>

Close a Pop up window with ASP.NET (VB)
Posted by Ryan Ternier at 6/18/2004 8:24:19 AM
I have a pop-up window that I'm closing when a user presses a submit button. The page we're creating is not supposed to use any .NET controls. All the HTML is output through a single string to the page, using <% = body() &> When it comes time to close, i'm using this simple snippet: Res...more >>

Comparing dates
Posted by Philip Townsend at 6/18/2004 7:36:19 AM
I am having difficulty with a simple routine as follows: public static bool VerifyExpirationDate(DateTime date) { if(date>=DateTime.Now)return true; else return false; } The problem is that when today's date is passed in, the method returns false. Any ideas? Thanks! ***...more >>

Getting Work Sheets from Excel and place in Word Document
Posted by srinivasvkm NO[at]SPAM yahoo.co.in at 6/18/2004 4:29:44 AM
hai, how can we get Work Sheet in Excel and can place it in Word Document through C# progrmming, if any solution please give me Reply,I really Appreciate your help. Regards, srinvias vikram...more >>

Concatenation of Word Documents
Posted by srinivasvkm NO[at]SPAM yahoo.co.in at 6/18/2004 3:52:54 AM
hai, I am doing concatiction of Word Documents. I did it using the steps selection,Copy, and paste through C# programming. If the documents are more it's takes more time. Is there any other solution for concatination of word documents. I really Appreciate your help. Regards, srinvias v...more >>

Streaming Word-document
Posted by jonas.broman NO[at]SPAM tietoenator.com at 6/18/2004 2:38:48 AM
Hi ! Perhaps this isn't the right group to send to, but... I have exported my report (Crystal Report) to a stream formatted as Word-document. Both the exporting and streaming works just fine but when the Internet Explorer loads the document it is editable and Words toolbar isn't visible (un...more >>

viewstate
Posted by javier ferrero via .NET 247 at 6/18/2004 2:33:08 AM
try adding this code: protected override object LoadPageStateFromPersistenceMedium() { return Session["_ViewState"]; } protected override void SavePageStateToPersistenceMedium(object viewState) { Session["_ViewState"] = viewState; } please tell me if it works ...more >>

IHttpHandlerFactory and problem with Session
Posted by Bartosz Krzywicki at 6/18/2004 2:07:01 AM
I have the problem with Session object witch is null, when I implement IHttpHandlerFactory. Implementing IRequiresSessionState interface doesn't help. My code is like this: class MyController : IHttpHandlerFactory, System.Web.SessionState.IRequiresSessionState { public virtual IHttpHandler Ge...more >>

IHttpHandlerFactory and Session problem !
Posted by Bartosz Krzywicki at 6/18/2004 2:05:01 AM
I have the problem with Session object witch is null, when I implement IHttpHandlerFactory. Implementing IRequiresSessionState interface doesn't help. My code is like this: class MyController : IHttpHandlerFactory, System.Web.SessionState.IRequiresSessionState { public virtual IHttpHandler Ge...more >>

Global.asax or web.config
Posted by hansiman at 6/18/2004 1:29:13 AM
I use Application_Start in global.asax to set some physical folder paths ie.: Application("pdf") = "c:\www\<site>\pdf\" global.asax uses code behind. When I move the project from the dev to the production server the global.asax code behind is compiled into the project.dll (i guess). Th...more >>

Simple SQL question. Can you check what am i doing wrong? Thank You.
Posted by Miguel Dias Moura at 6/18/2004 12:22:11 AM
Hello, i have an ASP.net / VB page which i want to display 1 record of a database acording to this: 1. The page receives a variable name "Explicador" in the URL. Example: "Explicador = Jonh Smith" 2. The database where the records are is named "explicador" 3. Two of the database fields are...more >>


DevelopmentNow Blog