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 > august 2003 > threads for friday august 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

Validator does'nt work!
Posted by Arjen at 8/1/2003 11:43:29 PM
Hello, Here is my file input field: <INPUT id="ImageFileUpload" style="WIDTH: 353px" type="file" name="XmlFileUpload" runat="server" width="300" cssclass="NormalTextBox"> Here is my validator: <asp:RequiredFieldValidator Display="Static" id="RequiredSrc" runat="server" ControlToValidate="I...more >>


Huge number of checkboxes to be populated from database
Posted by Mike Lerch at 8/1/2003 6:19:16 PM
I have a database with 90-odd true-false values that I need to display on a webform as checkboxes. There are also some other values (numbers and text) that need to be displayed. I'm wondering the best way to do this! Do I need to individually place and databind 90 checkboxes (and label the...more >>

debugger not automatically attaching aspnet_wp.exe as a debugged process
Posted by Mark Kamoski at 8/1/2003 6:03:51 PM
Hi-- All of sudden (?) the VS.NET v1 IDE is NOT automatically attaching aspnet_wp.exe as a debugged process. Why? Here is the situation. VS.NET (v1) Framework (latest version) VB.NET code ASP.NET application Run code in IDE by choosing >Debug, >Start. Code launches. ...more >>

Deny access to a folder
Posted by Onur Bozkurt at 8/1/2003 5:54:11 PM
How can I deny access to a folder when authorization mode is none. I have xml files and I don't want then to be seen. When I restrict it from IIS, I can't read the files from codebehind. ...more >>

aspnet_wp.exe (PID: xxxx) stopped unexpectedly.
Posted by Matt Sollars at 8/1/2003 5:08:39 PM
Hi all. I'm having a nasty problem. A client's website was originally written with classic ASP. They requested a new portion of the site that was deemed a perfect candidate for ASP.NET. So, .NET was installed on their web server and one of the subdirectories in the web site was converted to a ...more >>

cast from datetime type to smalldatetime type?
Posted by Salim Afþar at 8/1/2003 4:44:23 PM
Hi, How can I cast from datetime type to smalldatetime type. I get the records from a table which has got a datetime type column but I want to display it smalldatetime format. Thanks, Salim ...more >>

Formatting Data in Dataset.
Posted by jayuya at 8/1/2003 4:08:19 PM
Can anyone give a sample code, tip, or a web link with an example of how to format data to currency. eg: $3451.25 I set a dataadapter and I fill the dataset from a SQL Statement, but some fields are a double data type and I need to display those fields to the user in currency format... ...more >>

Excel Functions in .Net
Posted by Clive at 8/1/2003 4:04:55 PM
Hi, I am developing a app that does soem calculations, rounding etc. Does anyone know if I can use an Excel Library in .Net in order to leverage the functions in MS Excel? Thanks, Clive....more >>



button does not work upon clicking
Posted by huayuli NO[at]SPAM yahoo.com at 8/1/2003 3:09:09 PM
Hi, I have 3 buttons on a asp.net page. They are exactly the same except for the name. Two of the buttons works but the third one does not respond to the clicking. Here is the code: <tr> <td align="right" style="PADDING-LEFT: 10px; PADDING-TOP: 5px"> <INPUT class="t...more >>

Getting the data key field value when selecting a row in a datagrid...
Posted by Stu at 8/1/2003 2:59:54 PM
Hi, I am trying to return the data key field value from a dataset when I select a row in a datagrid after the datagrid has been bound to a dataset. When I an the Edit, Update and Cancel row I can return the DataKey using the sub listed below. However, the select button does not have 'DataGr...more >>

Expiring cookies
Posted by Jim Kelly at 8/1/2003 2:57:47 PM
Hi, I'm having a strange problem with setting a cookie's expiration date. The relevant code is as follows: HttpCookie hc = new HttpCookie("MyCookie"); hc.Values.Add("UserName", tbUserName.Text); hc.Expires = DateTime.Now.AddDays(30); Response.AppendCookie(hc); As you can see it's just a...more >>

Dynamically load an ASP Page
Posted by J.Marsch at 8/1/2003 2:07:59 PM
I'm pretty new to ASP.Net (server side) Suppose that I have an instance of an ASP Page class, and I want the client's web browser to load it. I don't necessarily know the URL of the page that I have, I just have an instance of it. How do I make the browser load the page. If I were writing...more >>

Suggestion for a good ASP.NET Web hosting?
Posted by Michael at 8/1/2003 1:11:00 PM
At http://www.asp.net/Customers/DisplayByIndustry.aspx?IndustryId=27, there are hundred of ASP.NET hosting companies. Can you suggest one or a couple of good ones? I'm looking to build a small Web site (for fun only). Might not even need a database, but if there is SQL Server, that would be ...more >>

Binding enum values alphabetically to a drop down list
Posted by Mark Heimonen at 8/1/2003 12:40:15 PM
I haven't worked with enum types that much, and I wrote the following code to bind a list of enums to a dropdownlist. Using CType([Enum].Parse(GetType(ManagePointClassLibrary.Utils.Log.EventType), strEventType), Integer).ToString is horrible to read, and probably not that efficient either. Does...more >>

Where to find a professional validation sample with server controls
Posted by Yuriy at 8/1/2003 12:37:36 PM
Hello! I need to validate a date of birth, age, credit card, primary language etc. I found a couple example in the books but they are written not professinal. Thank you for evrything....more >>

is it possible to iterate through all the active sessions of an ASP.net application
Posted by Chris Hayes at 8/1/2003 12:21:27 PM
Is it possible to iterate through all the active sessions of an ASP.net application? I have this fancy user object (with all kinds of properties) that I set as a session level object on session start and I'd like to be able to find a specific user's session so that I can make modifications to ...more >>

How to implement Word Automation in ASP.NET?
Posted by rachel_c NO[at]SPAM rocketmail.com at 8/1/2003 12:02:17 PM
I have just started to rewrite an application using ASP.NET. One of the main features of the application is automated letter production. In the old application this had been accomplished using Word Automation and mail merge. There doesn't seem to be very much information on the net on how to ...more >>

how do i write the xsl transform results?
Posted by suzy at 8/1/2003 11:45:16 AM
if i have an xsl transform that results in a table being generated, how do i display that table on my page at runtime? currently i am having to dim a table control with a row and a cell, then adding the result of the xsl transform to the cell. but this means i end up with a table within a ta...more >>

how datagrid scrollbar can keep same position after postback
Posted by deepika NO[at]SPAM volcanomail.com at 8/1/2003 11:34:35 AM
Hi, I have a datagrid with 200 rows and an iframe adjacent to it. When I click on the row, the details of that row show up in the iframe. Now suppose I click on the 150th row, the postback occurs and I lose the view of my selected row because the datagrid now has the scrollbar repositioned t...more >>

Viewstate versus performance
Posted by Bigal at 8/1/2003 11:09:55 AM
If I want to create a ListBox filled by a database query, it is not recommended to enable the viewstate of the form, because it does not make sense to reconstruct the whole and costs performance. But what if I want to react on the onChange event, I do have to set autoRepost to true to get my se...more >>

Cookie munging problem
Posted by chris NO[at]SPAM yahoo.com at 8/1/2003 11:01:24 AM
Hi, I'm trying to use the cookie munging session handling behaviour of asp.net instead of cookies themselves as I'm finding quite a few people are barring cookies (especially AOL users). If I change the setting in web.config everything seems to work fine as long as I'm using relative paths. ...more >>

asp.net FORMS authentication question
Posted by kevin at 8/1/2003 10:23:07 AM
hi all with forms authentication, how does that work for a site with introduction and tour or maybe some more pages? by using forms authentication, all pages have to be authenticated before viewing, but in case when only the database access page needed to be authenticated, how would forms aut...more >>

ItemCommand Event fires twice
Posted by Jonas Nilsson at 8/1/2003 10:10:18 AM
Hi! I have a DataList with some linkbuttons, and when i click them the eventhandler fires twice. Is there a way around this?, it's the same problem with the repeater and datagrid control also. public void dblFolders_CommandHandler(object sender, System.Web.UI.WebControls.DataListCommandEve...more >>

Doubts about application variables
Posted by Chris Leffer at 8/1/2003 9:35:02 AM
Hi. Reading some Microsoft materials about asp.net I came into two doubts. The following sentence is found on the topic "Application State" in the NET Framework documentation: "Calling Lock on the Application object causes ASP.NET to block attempts by code running on other worker threads ...more >>

Which ASP.NET Controls Have Child Controls?
Posted by poi at 8/1/2003 9:24:52 AM
In VS.NET 2003, I get intellisense if I do this: LiteralControl literalControl = new LiteralControl(); literalControl.ID = "something"; literalControl.Controls.Add..... And it compiles fine but I get an error saying that the LiteralControl does not allow child controls. So which co...more >>

Refresh/Redraw enhancements in IE/ASP.NET
Posted by Tom Kaminski [MVP] at 8/1/2003 9:19:45 AM
In many of the presentations I've seen about ASP.NET there was talk about how on postbacks only the data that has changed gets redrawn in the browser. I'm looking for documentation on this feature so I can share it with my development staff but so far have been unable to find anything that discu...more >>

free hosting
Posted by Null at 8/1/2003 9:11:12 AM
Hello - uhm, this might be off topic, but are there arny free services for hosting my domain and asp.net app? TIA. Cheers! ...more >>

order of event firing problem
Posted by steven.shingler NO[at]SPAM virgin.net at 8/1/2003 8:33:19 AM
Hi all, Would really appreciate some help on this one! Am trying to make a multilingual site with a button to toggle between English and Welsh. Have an imagebutton with an onclick event to handle the toggle: private void changeLanguage(object sender, System.Web.UI.ImageClickEventArgs e...more >>

DIV problem
Posted by Kekec at 8/1/2003 8:23:38 AM
Hi! I have some zindex problem with DIV on my webform I have several asp:dropdownlist controls and in some case i want to show div in middle of that form but when I show that div every dropdownlis is above my div element. I try to set zIndex style for div but no result. Can someone help me wi...more >>

Manipulating a User Control from another User Control
Posted by Tom Rowton at 8/1/2003 6:41:51 AM
This one has me a bit confused and I'm not finding what I need in the MSDN or by searching these forums, so here goes... I have a rather large, complex code-in-page WebForm (don't ask) and a section of that Form is 4 or 5 ASP:Panels pretending to be a set of Tabs, each with its own s...more >>

Nested Repeater question
Posted by Bojesphob at 8/1/2003 6:08:19 AM
Can someone help? I have a nested repeater in which I wish to format one of the bits of data in currency. I know that the code for the regular repeater (which works fine in parent) is databinder.eval(Container.DataItem, "Net", "{0:c}") . BUT I use that code in the nested repeater and IT DO...more >>

word automation in asp.net
Posted by rachel_c NO[at]SPAM rocketmail.com at 8/1/2003 5:23:30 AM
I have just started to rewrite an application using ASP.NET. One of the main features of the application is automated letter production. In the old application this had been accomplished using Word Automation and mail merge. There doesn't seem to be very much information on the net on how to ...more >>

Catching events in web form fired by user control
Posted by nick NO[at]SPAM nlsol.com at 8/1/2003 3:54:24 AM
I'm trying to process an event raised by a user control in the web form that contains that control. I've fathomed out how to handle the event within the control but how can I then pass it on to the parent web form? Thanks, Nick...more >>

How to handle personalized events of a class in a web form?
Posted by Roberto López at 8/1/2003 1:02:13 AM
Hello, I´m trying to do a progress page that indicates some visual information to the user in a long directory copy process. I have a Class that copys directories from one location to other. The function "CopyDirectory" is started in a new Thread. This class also contains one Event that is raise...more >>

WHy do i get this error message?
Posted by Sara at 8/1/2003 12:27:44 AM
Parser Error Message: Could not load type 'MyIp.Global'. Source Error: Line 1: <%@ Application Codebehind="Global.asax.cs" Inherits="MyIp.Global" %> Any ideas? I really need some help on this one. ...more >>

Out of Memory Exception: System.Drawing.Image.FromFile
Posted by ana_stasie NO[at]SPAM yahoo.com at 8/1/2003 12:18:56 AM
I get an out of memory exception when attempting to excecute the following code: original = System.Drawing.Image.FromFile(file.FileName,true); I ONLY get this exception when the file is in the "My Documents" folder or subfolders. If the file lives anywhere else on the hard drive, I have no ...more >>


DevelopmentNow Blog