Psst! Did you know DevelopmentNow is a mobile web site design agency?

Contact us for help mobilizing your site, or to sign up for our beta Mobile Web SDK!


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 2006 > threads for friday june 2

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

Url Expression
Posted by Howard at 6/2/2006 11:17:47 PM
the default regular expression for url validation in VS 2005 does not support port numbers http(s)?://([\w-]+\.)+[\w-]+(/[\w- ./?%&=]*)? http://mywebsite.com:8080/something.aspx will not work How do I add that? ...more >>


Web Browser File Association
Posted by Robert W. at 6/2/2006 10:46:01 PM
With a WinForms app I know how to configure the registry to understand a specific file association so that it is associated with a given application. But how does one do this with a web browser? Say that one creates a new file type called ".abc". If the user clicks on a ".abc" file on a w...more >>

Nested Ordered List
Posted by CK at 6/2/2006 9:31:20 PM
Hello all, I have a nested ol and I need help with the numbering. For example. <ol> <li>Sweet</li> <li>Salty</li> <ol> <li>Very Salty</li> <li>lightly salted</li> </ol> <li>bitter</li> <li>sour</li> </ol> I want the output to be 1.. Sweet 2.. Salty 1.1Very Sa...more >>

javascript with .net 2.0
Posted by Bruno Alexandre at 6/2/2006 8:44:50 PM
Hi guys... I'm always help the comunity, but this time it is me that need help :-( in the old Classic ASP I usted to have javascript to for example populate a 2nd dropdown from a 1st one, and I used input form for that... Now in asp.net 2.0 I can't use input forms because I could not...more >>

Validator Controls
Posted by Howard at 6/2/2006 8:31:37 PM
Since validator controls use client side javascript to validate the input. Do I still need to validate user input at the server side? What if an attacker writes a custom script that doesn't require the use of an internet browser? Will he be able to skip the asp.net validator controls? Thanks...more >>

mySQL and asp.net questions - PLEASE HELP
Posted by JJ at 6/2/2006 8:12:21 PM
I am a newbie to mySQL. I am developing an ASP .net Web site with mySQL as the database (of products), using vb .net 2003. Can anyone point me in the direction of a good book (or in fact ANY book) on using mySQL with asp .net ?? I am having trouble working out: 1. What type of connector to ...more >>

2.0 data architecture question
Posted by Tina at 6/2/2006 5:57:59 PM
I'm reading about the "3-tier" design afforded by using Object Data Sources in the App_Data folder in 2.0 asp.net projects. To me, putting an object data source in a separate folder on the web sever isn't 3 tier design. To accomplish 3-tier design I would want to put the Object Data Source...more >>

how to pass variable to SelectCommand of SqlDataSource?
Posted by phil at 6/2/2006 5:43:46 PM
Hi, I want to put a recordset in a gridview but i don't know how to pass the value of the variable in the 'where' statement. The value of the variable is set in the code-behind. i added a tag <selectParameters> but i don't know which elements are needed and how... This is my aspx file: <as...more >>



What Changes I Have to do to publish my Atlas Enabled Asp.net Website ?
Posted by yasin at 6/2/2006 4:57:40 PM
There are errors occures while I surfing in my Atlas Website . Pages which are coded whitout Atlas works normally. Only Atlas Insided Pages are Problem. What Changes I have to do at server features to Enable Atlas In my web site. ...more >>

Trying to perform build...website will only display debug
Posted by andy6 via DotNetMonster.com at 6/2/2006 4:30:40 PM
I am in VS2005 Configuration Manager and have selected from the Active Solution Configuration "release". The deployment project and a supporting c# dll project both switch to release, however the website remains at debug. When I attempt to change the dropdown for the website debug is the only op...more >>

Looking for a method name
Posted by Andreas HÃ¥kansson at 6/2/2006 4:16:16 PM
Hi, I would like to begin to appologise on how vauge the information will be in this post. Maybe 6 months ago I was working on some UrlRewrite code for ASP 1.x and was reading up on the subject. Now I'm not quite sure exactly what I'm looking for here, but I know I came across some informat...more >>

Disable Enter Key
Posted by sck10 at 6/2/2006 4:10:41 PM
Hello, I have a 2.0 web page that if the user hits the enter key, it submits the form. Is there a way to disable this? -- Thanks in advance, sck10 ...more >>

Deploying 2.0 app on a Service Provider .. Membership Provider
Posted by sloan at 6/2/2006 4:05:25 PM
Are there any "gotchas" on deploying the default Membership Provider (aspnetdb) to a hosting provider? I'm about to do it. And how does one get to the "auto configurer" .. that allows you to setup roles/users .....? Can I do these steps: To create a membership user 1.. On the Web...more >>

2.0 debugging question
Posted by Tina at 6/2/2006 4:03:03 PM
I'm a 1.1 developer learning 2.0. I have a book on 2.0 (Murachs upgraders guide)... It tells how to use the development server to test my asp.net apps ie. hit F5 just like we did in 1.1 using IIS. Then it tells all of the things you can't test using the development server and says if yo...more >>

Themes Change onfly
Posted by suresh.csharp NO[at]SPAM gmail.com at 6/2/2006 3:52:58 PM
Hi, I have created two themes in our application. Trying to apply themes on fly to the entire application(all pages..) . 1. In web.config file mentioned <pages theme="theme1" />, It is applying for the entire site. 2. In each Page, PreInit event menthod if I mention Page.Th...more >>

Closing window and Clearing the session
Posted by srinivas at 6/2/2006 2:38:02 PM
Hi I'm having a asp.net page.When i'm clicking on the Logout hyperlink i want to close the window and clear the session. Actually i have taken LinkButton control and written a javascript function to close the window.I have attached Javascript function to link button in the page load using a...more >>

Binding ArrayList to GridView/DataGrid
Posted by Neven Klofutar at 6/2/2006 1:36:04 PM
Hi, How can I bind ArrayList that contains list of myObjects to GridView/DataGrid ? thanx, Neven ...more >>

Call in asp.net page.
Posted by NewDirection at 6/2/2006 1:21:38 PM
My area is changing from vb to ASP.net. I am new to asp.net but I need to know if the following is possible. We have a proprietary package that can only an executable. Is it possible to create a executable that will launch an asp.net page. In direction is appreciated. ...more >>

Hide pagename
Posted by sasikumar at 6/2/2006 1:05:29 PM
Can i hide page name (default.aspx) appearing in addressbar and status bar of internet explorer or firefox. if yes please tell me vb.net code for that. ...more >>

Secure Users from dangerous html tags with RegEx
Posted by Hero41Day at 6/2/2006 12:53:06 PM
Hi, I'm looking for a easy simple way, using Regular expression to remove any dangerous HTML from user posts which might put other users at risk. right now i'm using this regular expression: return Regex.Replace(text,@"</?(((?!a|b|i|u|img|table|tr|td|/)[^>]*)|((a|b|i|u|table|tr|td|img)[^\s>...more >>

How to make textbox in datagrid appears alternating back-color?
Posted by rockdale at 6/2/2006 12:34:26 PM
Hi, All I have an datagrid with alternating color, I also want the back-color of my textbox in ItemTemplate also appears alternating, how could I do that? <asp:datagrid id="dgridEmpHours" width="100%" runat="server" DataKeyField="employee_key" AutoGenerateColumns="False" BorderWidth="...more >>

Session Data Lost on Response.Redirect with IIS 6.0
Posted by deisner NO[at]SPAM dataprise.com at 6/2/2006 12:29:05 PM
All- I have a Framework 2.0 application running under Windows 2003 Server and IIS utilizing the default application pool. On my development machine (XP w/ IIS 5.1) the code runs perfectly. But when deployed recompiled under 2003/6.0, every time the application gets to a Response.Redirect (h...more >>

Repost, please help, my composite control's oninit won't fire
Posted by Beavis at 6/2/2006 11:14:20 AM
I hate to repost a message, but I am still at the same point where I was when I originally posted, and hopefully someone else will see this one... Ok, so I have gone off and documented the lifecycle of a page with a custom composite control on it. You can find that document here: http://w...more >>

button click event problem
Posted by ODAN at 6/2/2006 10:59:45 AM
I have an ASP.NET application written in C#. one of the web form where you create user information and user name has a button to click to print selected user information for the users record. However when this button is clicked it does nothing the first time, bring up the popup the second time...more >>

Panic: error trying to debug
Posted by Carlos Albert at 6/2/2006 10:42:21 AM
Hi folks, I started working using a new computer, with a new Win, VS2005, etc, installation. But every trime I try to debug the solution I was working with, I get this error... any help will gonna be preciated: Error 1 Could not load file or assembly 'System.EnterpriseServices, Versio...more >>

HTTP 403 error on a newly created web site
Posted by Edward Lorden at 6/2/2006 9:54:56 AM
I created a new website, using the ASP .NET Website template. Before I did anything, I tried running it in debug mode. This worked, giving a blank page. I then moved the site to become the default site on my machine. At first, I had issues with an XML error that came up. After I se...more >>

Strange HttpContext issue
Posted by Torfi at 6/2/2006 9:25:35 AM
Hello all I've got a very weird situation I need help with. I'm building a solution where I have custom components in a web content management system using a web store library (API in DLLs). The CMS is using Forms authentication to verify users when they log in. I log the user in using the fo...more >>

Dynamically (in code) add a Event Proc Prop??
Posted by Groove at 6/2/2006 8:48:13 AM
This might be fairly easy to do. Hopefully, it is. (asp.net 2 / vb) I have a Drop Down List and in th code-behind vb file, I'd like to optionally add a OnSelectedIndexChanged attribute to it. Depending on whether certain conditions are met when the page loads, I'd like to be able to op...more >>

FrontPage Extensions trouble
Posted by JT at 6/2/2006 8:45:55 AM
Hi, I apologize if this is posted in the wrong group or if this has been covered in the past. I didn't find anything in previous posts. I'm wondering how far the influence of the frontpage extensions extends. I would like to be able to put .net 2.0 web services on a web host in the directo...more >>

Refreshing the browser after an insert creates an additional record
Posted by Adam Sandler at 6/2/2006 8:44:11 AM
Hello, This problem came up during testing. There's a button on the page and when a user selects the button, a row is added to the database. If the user refreshes the browser (View | Refresh or F5) then a duplicate of the previously inserted record is added to the database. Calling dispo...more >>

Custom validation of date
Posted by Mike P at 6/2/2006 8:38:22 AM
I have 3 dropdowns in my grid view in edit state, representing day, month and year. I need to validate these controls by trying to parse the day, month and year together as a valid DateTime. Is it possible to do this with a Custom Validator? *** Sent via Developersdex http://www.develope...more >>

Adding textboxes dynamically
Posted by Alex Denton at 6/2/2006 8:18:02 AM
Okay, here's my problem: I need to populate different fields in an HTML table with TextBoxes. For example, if I had 3 columns "Name", "Address", and "City"; I need to have a TextBox in all of the Address fields. This is basically the code that I used. <script language="VB" runat="server"> ...more >>

documentation for web.config elements
Posted by keithb at 6/2/2006 8:07:35 AM
Can someone direct me to a listing of all possible web.config elements and attributes. Preferably a document that explains each setting in detail? Thanks, Keith ...more >>

reading text file issue
Posted by John at 6/2/2006 7:50:39 AM
I have a process that reads a text file then uploads the data into a database table. The text file has 10 lines at the end of the file that are blank BUT it appears that the enter key or space bar was hit so the code thinks its lines of data and this is causing my process to fail. How can I ...more >>

loading page
Posted by graphicsxp at 6/2/2006 7:38:54 AM
Hi, I can upload large file from my asp.net app to the server. As soon as the user click submit, I display a view (I've got a multiview control on the page) that contains a loading animated gif. But once the file is uploaded I don't know how to switch to another view and tell the user the uploa...more >>

DropDownList to String ArrayList
Posted by dan_williams NO[at]SPAM newcross-nursing.com at 6/2/2006 6:29:15 AM
Without having to loop through all my items in a dropdownlist, is there an existing asp.net 1.1 function to populate a comma delimited string with the values of my dropdownlist? I'm sure it's staring me in the face and there must be an easier way to do the following without having to loop th...more >>

ASP.NET2.0 cookieless vs cookie sessions
Posted by maboo59 at 6/2/2006 6:06:07 AM
when using ASP.NET 2.0, if you set 'cookieless session = fales' (meaning you want to use cookies), is the session information stored in a cookie on the client machine or in the browsers memory? Thanks Maboo ...more >>

Dataset or datareader
Posted by ^MisterJingo^ at 6/2/2006 5:26:19 AM
Hi all, I have a form with 4 dropdownlist controls which I populate with data from DB tables. I have a class with a method which constructs a dataset, putting each DB table into a dataset table. I then return the DS and bind the tables to the relevant controls. I've been reading that DataRe...more >>

can't find control in master page
Posted by graphicsxp at 6/2/2006 3:59:37 AM
Hi, In my master page I have : <div id="divPageNav" runat="server"> <div id="divPageNavHeader" runat="server"> test</div> test </div> and in the load event of a page that inherits from the master page: Me.Master.FindCon...more >>

Try to deploy VB .NET Application but Cannot select Primary Output.
Posted by Zeroman at 6/2/2006 3:33:44 AM
Hello all, I'm new for .NET. I try to deploy new application. When I do step by step to deploy web. The Step Add project Output Group,It don't have 'PRIMARY output' to select but only has Content Files. Does anyone has any idea to solve this problem. Or I did something wrong,Pls suggest. T...more >>

webservice and session
Posted by ^MisterJingo^ at 6/2/2006 3:18:51 AM
Hi all, I have to build a webservice which allows users to login through it (using a ticket system). What I'm unsure on is does the server start a session for remote webservice requests? I ask as I need to generate a ticket to be stored in the application to authenticate valid requests from ...more >>

asp.net connection problem with sql server 2005
Posted by amjad at 6/2/2006 1:12:02 AM
Hi i received that error when connection to sql server 2005 from work station . An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote conne...more >>

cannot load http://localhost/default.aspx
Posted by scott at 6/2/2006 12:00:00 AM
Hi, From IIS6 and from a session on the 2003 server i attempt to browse to http://localhost/default.aspx and get the following error: Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details ...more >>

aspx extension
Posted by magix at 6/2/2006 12:00:00 AM
Dear Guru, What is the requirement to be able to run asps extension ? I installed .NET Framework 2.0. Any other .NET components I need to install in order to run aspx extension ? My IIS Server is 6.0. Currently, if I run aspx file in localhost, it will said page not found. Please advise. ...more >>

cancel POST request
Posted by Pavel Dvorkin at 6/2/2006 12:00:00 AM
Hi All, I have next problem. A page contains HtmlInputFile. User tries to upload file. File size is too large, so I can't allow this request. Now I have DNS error accoeding to MSDN When uploading large files, use the maxRequestLength attribute of the <httpRuntime> element to increase...more >>

membership.getallusers add extended property?
Posted by Guoqi Zheng at 6/2/2006 12:00:00 AM
Dear Sir, I added some extended property(first name, last name) besides the normal createUserWizard. If I use MemberShip.GetAllUsers, it does not return those properties? How can I show those properties to the gridview as well? Thanks! Guoqi Zheng ...more >>


DevelopmentNow Blog