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 > april 2006 > threads for sunday april 9

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

Get date from textbox
Posted by Dave at 4/9/2006 11:50:23 PM
Hi, I have a textbox that the user inserts the date of birth in the format dd/mm/yyyy, I'm validating it with regex to set the value to a Date variable, I have dBithDay = CDate(txtBDate.txt) but if the user enters 01/02/1980, the month of the date variable is 01 instead of 02. shoul...more >>


Windows Authenticaiton with custom Roles
Posted by charles NO[at]SPAM charlesforsyth.com at 4/9/2006 11:40:28 PM
Hi, I am trying to port my ASP application to ASP.Net 2.0 My application is sold to large corporations that have many thousands of users. So I do not use Forms authentication. To make it more convenient for them I developed a custom hybrid model of authentication and authorization. You s...more >>

Date Time Function
Posted by Baren at 4/9/2006 9:59:01 PM
Hi! I have a requirement, where in I am saving the events based on certain date seleceted from the drop down values. Onces saved the data is stored in database. I have calendar control which highlights the date having events and onclick on the dates it shows the event details. Its working fine...more >>

Gridview Sorting and Paging problem
Posted by yefei at 4/9/2006 9:32:57 PM
In my web design, I display records from a SQL DataBase according to some filters the GridView is defined with select commands and selest parameters however, I also want to display all records in the database when the user press a "View All" button. In this case, I need to change the selec...more >>

Hierarchical DataList/DataGrid
Posted by nicksertis NO[at]SPAM gmail.com at 4/9/2006 8:53:40 PM
Hi All, I'm working on a project which has thrown up an issue that I'd like some advice on. It basically calls for me to display a tree like structure, but for each node to be editable (ie each row will have a number of fields that will become editable when selected). The tree has to be colla...more >>

SQL SERVER 2000 or MDE
Posted by mmcnurlin NO[at]SPAM usfamily.net at 4/9/2006 8:33:24 PM
I have a Windows XP HOME edition and I want to use the tutorial, but I can't until I install SQL SERVER 2000. (OR MSDE). It installs correctly, but it won't let me initialize the data base. _________________________________________ Mitchell McNurlin ICQ#:235649936 Current ICQ status: SMS: (...more >>

question
Posted by joe at 4/9/2006 7:56:01 PM
how to convert money datatype for example 1000.0000 to 1000.00 ...more >>

Code Promotion
Posted by Mike Moore at 4/9/2006 6:28:01 PM
Does anyone out there have any Best Practice for managing promotion of large ASP.NET projects which make use of a number of web services, all of which have been developed on a stand alone machine, and now need promoting through a dev, test and production server environment? Specifically ho...more >>



TreeView question
Posted by Shawn at 4/9/2006 4:53:35 PM
Hi. I'm working with the TreeView control in my ASP.NET 1.1 application. I have a problem I haven't been able to figure out. When I click on a node (not expand), whether it's a parent node, a child node or a leaf node then a DataGrid is populated based on the node's ID property. If I expand a...more >>

assembly vs. code behind
Posted by JimO at 4/9/2006 4:49:29 PM
I have two dotNet 2 vb code behind files each about 900 lines. One file has three classes in it and supports three forms. The other file supports one form. What is the best practice to organize these file? Should I leave it alone, break up the on one into three files, or maybe create assembl...more >>

Data Grid Sort Problem
Posted by thebison at 4/9/2006 4:04:34 PM
Hi all, I hope someone can help with this relatively simple problem. I am building a timesheet application using ASP.NET C# with Visual Studio 2003.As it is only a protoype application, my database has been made in MSDE. I've searched all over the web for the answer to this, but can't quite...more >>

validator control not triggering in formview
Posted by Dabbler at 4/9/2006 2:23:02 PM
I have a FormView with lots of field that have validators attached but none of them are working. Most are RequiredFieldValidtors, some are Regex etc. here's some of my code: <asp:FormView ID="fvRegDetail" runat="server" DefaultMode="Edit" DataKeyNames="RegistrantId" DataSourceID="odsRegis...more >>

ASP.NET 2.0 Membership - How to disable Automatic Account Lockouts
Posted by Jaans at 4/9/2006 1:56:01 PM
A very cool feature of the ASP.NET 2.0 membership provider includes the automatic "lockout" of users after repeated failed login attempts. I have a scenario where we don't want this to happen, so how do I disable the automatic lockout of users ? Thanks...more >>

AJAX libraries
Posted by Thirsty Traveler at 4/9/2006 1:51:30 PM
Peter Bromberg has an interesting article eggheadcafe discussing AJAX libraries. He prefers ANTHEM.NET over AJAX.NET because it doesn't break the stateful page model. Our developers are currently using AJAX.NET after extensive research because ATLAS is currently not ready for prime-time and ...more >>

configuration error
Posted by Dirk at 4/9/2006 1:05:22 PM
Hi, I started with asp.net 2.0. I defined directory inetpub/wwwroot/aspnet as an application in IIS and the directory security is set to "anonymous access" (even when unchecked i get the error). When starting a simple file like: <%@ Page Language="VB" AutoEventWireup="false" CodeFile="Defaul...more >>

Can't set Theme skin Font-Size for GridView CommandField ButtonTyp
Posted by Burt at 4/9/2006 11:25:01 AM
I am trying to move all page attributes to a Theme skin file but can't set the Font-Size for a GridView Button. Anyone know how? <asp:GridView .... <asp:CommandField ButtonType="Button"> <ControlStyle Font-Size="X-Small" /> </asp:CommandField> </asp:GridView>...more >>

__doPostBack Arguments question
Posted by GaryDean at 4/9/2006 10:28:09 AM
below is the html of two dropdownlists as they are rendered. The first was created with Postback = false and I added the onchange="myFunction('DropDownList1,'') in code. I made this look very much like the asp generated onchange attribute in the second dropdown where postback was set as tr...more >>

DataFormatString not working on a GridView DateTime column
Posted by Rob Roberts at 4/9/2006 9:51:01 AM
I have a GridView that is bound to a collection of DateTimes (i.e. - Collection<DateTime>). I have a BoundField in the GridView, and its DataField is set to the DateTime's Date property, and the DataFormatString is set to "{0:d}" in order to display the date in short date format (without the...more >>

How to add rollover effect to a ButtonField in a GridView?
Posted by Rob Roberts at 4/9/2006 9:38:36 AM
I am trying to figure out a way to add onmouseover and onmouseout events to ButtonFields in a GridView in order to give them a rollover effect, but so far I haven't been able to figure out a way to do it. Does anyone know how to do this? Thanks in advance, --Rob Roberts ...more >>

Page Encoding Problem?
Posted by Alex Maghen at 4/9/2006 9:10:02 AM
I have created the world's simplest Code-Behind ASPX page in VS 2005. I've used all the defaults. But when I go to build and run the page, it comes up in Chinese (or some Asian character set). I've tried lots of stuff here and nothing seems to be working. Any ideas?...more >>

application pool locks file
Posted by Steve Bugden at 4/9/2006 8:57:02 AM
Hi, I have an asp.net application running under the .net framework 2.0. The application pool locks any image files if recently displayed in the browser. So I am unable to update any of these files. If I recycle the application pool however they are then released and can be updated. Does...more >>

How do I load a specific child page with a button or ddl?
Posted by needin4mation NO[at]SPAM gmail.com at 4/9/2006 8:53:18 AM
protected void Page_Load(object sender, EventArgs e) { TextBox mpTextBox = (TextBox)(Master.FindControl("txtFreeSearch")); Response.Write("mp" + mpTextBox.Text); //only works the second time } Related to another post I had. Two pages. One master, one child...more >>

avoid nested function
Posted by cipcip at 4/9/2006 8:35:59 AM
I read on msdn that many <%=%> blocks can slows page, because they are processed like nested functions. Which of you have some tips to avoid using them? One of my problem is that all links are dynamic and are in this form: <a href="<%=url%>folder/folder/page.aspx">a link to page.aspx</a> ...more >>

When Profile should be used
Posted by cipcip at 4/9/2006 8:34:07 AM
By default profile use sql server xpress provider and probabily, caches stored data when they are requested for the first time, So the question is: why we should use profile instead of storyng, retrieving and caching user data manually from a database? Is it only for an easier approach of ...more >>

Master pages: Page_Load is backwards
Posted by Brian at 4/9/2006 4:29:12 AM
Master pages run Page_Load() from the deepest level of nesting outwards. So if I write a content page based on a nested master which is then based on some other master, the Page_Loads are executed backwards: Content page, SubMaster Page, Master Page. Does this seem messed up to anyone else?...more >>

Newbie Question: saving form data to sql
Posted by Deano252 at 4/9/2006 2:38:01 AM
Hey folks I'm reletivly new to ASP.Net and Visual studio. I have VS2005 Standard edition and I'm currently working on my own web site with it. What I want to do and I can actually see myself doing this in a lot of different scenerios. is create a form where the user can enter information an...more >>

Displaying SQL Query Results
Posted by Brad Baker at 4/9/2006 2:33:11 AM
I'm completely new to ASP.NET programming, so please accept my apologies in advance for asking what is probably an obvious question. :-) I'm trying to write a page which will display the contents of an SQL record. I've added the following code to a file called default.aspx: <html> ...more >>


DevelopmentNow Blog