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
all groups > asp.net > february 2004

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

A good book on ASP.NET & JavaScript
Posted by Asaf at 2/29/2004 11:54:05 PM
Hi, Is there any good book on C# ASP.NET with JavaScript? Thanks in advanced, Asaf ...more >>


Page Security
Posted by Z D at 2/29/2004 11:03:41 PM
Hello, I'm trying to create an ASP.NET page that ONLY allows access if its linked-to from another specific server. I know the IP address of this server. I was wondering how I'd go about setting this up in a secure way? I considered using HTTP_REFERER but I found that its easy to spoof thi...more >>

Error : Unable to start debugging
Posted by Brijesh at 2/29/2004 10:46:05 PM
Hi When I try to run an asp.net project or windows application project in debug note, I get the following error messag "Error while trying to run project: Unable to start debugging The debugger is not properly installed, Run setup to install or repair the debugger I tried both the approach, Un...more >>

Uniformal look for all pages
Posted by Sasha at 2/29/2004 10:15:32 PM
Hi, What is the best way to enforce uniformal look on all of my aspx web pages? I know it is done through Master pages in ASP.NET 2.0, but what can I do in ASP.NET 1.1? Should I creat just one base page and just inherit all of my pages from it? Thank you for your help, Sasha ...more >>

Login (newbie)
Posted by Saber S at 2/29/2004 9:30:27 PM
I'm completely mixed things between session,state, login, validation, ... I want to make a simple login page, and pre-defined users in DB can login and signout, where can I find a good and simple tutorial about that? tried searching many times, but didn't got a simple thing. ...more >>

Bar code scanners on a web application ?
Posted by Mike Smith at 2/29/2004 9:24:43 PM
Can i have a web application to interact with a bar code scanner attached to the clients pc ? Would i have to download some form of active-x component to do so ? or would the scanner just be like a keyboard and would work seamlessly ? Its basically for the user to scan an item and fill in the cod...more >>

Navigate to specific location on page
Posted by Linda Wienholt at 2/29/2004 9:06:30 PM
Hi I am trying to link to a specific location on a page using a named anchor. I also have some parameters attached to the query string. I am having problems getting the page to display the correct portion of the page when it loads I have a few named anchors on the page using the following form...more >>

Web form and Arabic characters...
Posted by Greg at 2/29/2004 8:36:41 PM
I'm having trouble displaying and passing arabic characters from my web form. I've added requestEncoding="windows-1256" responseEncoding="windows-1256" to my web.config but it didn't help. I also added <meta http-equiv="Content-Type" content="text/html; charset=windows-1256"> to the top of the...more >>



Pros and Cons about automatic increase in MS SQL 2000
Posted by Benny at 2/29/2004 7:58:40 PM
Hello experts, Currently I am writing a database web application using viusal studio .net with C#. Just wondering when come to the database design, what are the pros and cons about setting the primary key field to automatic increase? Thanks, Benny *** Sent via Developersdex http...more >>

Change text color in the listbox control
Posted by SOS at 2/29/2004 7:19:35 PM
Hi everybody ! i have a list box that contains some items, how can i change the font color of some of this items ? Thanx ...more >>

Why compile a Web Application
Posted by Jarod_24 at 2/29/2004 6:52:45 PM
I've been working with a ASP.Net Web application project and it' ASP-NEt pages and the classes that you create seems to work without compiling the project. so my question is: why compile it? The whole thing is then reduced to a .dll file and i don't wee how you're gonna be using that as a website...more >>

Netscape and windows controls
Posted by Chris Leffer at 2/29/2004 6:48:30 PM
Hi. The article found at (http://msdn.microsoft.com/msdnmag/issues/02/01/UserCtrl/default.aspx) teaches that hosting windows controls in a web page is a responsibility of IE. Can any version of Netscape or other browsers, hosts this kind of control? Regards, Chris Leffer *** Sent v...more >>

WEBCONTROL?
Posted by Patrick.O.Ige at 2/29/2004 6:30:12 PM
Can anyone tell me how i can create my own .dll file to use in a WEBCONTROL? I need a ContextMenu control that i would like to have it linked to a Datasource(e.g XML file) Can anybody help me with this! ...more >>

WebControl !!
Posted by Patrick.O.Ige at 2/29/2004 5:40:41 PM
Can anyone tell me how i can create my own .dll file to use in a WEBCONTROL? I need a ContextMenu control that i would like to have it linked to a Datasource(e.g XML file) Can anybody help me with this! ...more >>

Unable to start debugging on the Web Server.
Posted by Richard B. Lewis at 2/29/2004 4:38:21 PM
Hi, I'm getting this message ever since I applied W2KSP4 on my server (which is both my local machine development environment and my web server). I've been through the "Things to Check" help on this error and am about 80% sure I'm OK with all the points mentioned. Per KB 821255 I have also...more >>

Caching a Large DataSet
Posted by George Durzi at 2/29/2004 4:21:05 PM
I maintain a list of companies in my application. The first time the company table is accessed, I create a dataset and stick it in the Cache. When the company table is modified, I expire the cached item, recreate the DataSet, and stick it in the Cache again I get excellent performance when running...more >>

Referencing an object in another browser instance. Possible?
Posted by theintrepidfox NO[at]SPAM hotmail.com at 2/29/2004 4:07:29 PM
Hello Group I'm having a bit of trouble figuring this out. I'm grateful for any hints. Let's assume I'm have a webapplication with two .aspx pages, Page A and Page B. Page A consists of a textbox (textbox1) and a HTML Button control. Page B consists of a datagrid control. When the but...more >>

ASPMAIL
Posted by Chris A. at 2/29/2004 3:13:54 PM
Trying to use the following to sendmail... ASP/IIS don't give me any problems or errors, but no mail gets sent either. Dim objMailer Set objMailer = Server.CreateObject("ASPMAIL.ASPMailCtrl.1") objMailer.SendMail "my.smtp.com",strTo,strFrom,strSubject,strBody Set objMailer = Nothing Does t...more >>

how to create static pages
Posted by Blue Man at 2/29/2004 2:14:33 PM
what's the best methos to create static archive pages (like DotText) instead of dynamic with query? i mean like http://mydomain/archive/mytitle.aspx not http://mydomain/index.aspx?postid=13 ...more >>

Datagrid won't sort
Posted by DC Gringo at 2/29/2004 12:12:56 PM
I have a datagrid that won't sort. The event handler is firing and return label text, just not the sort. Here's my Sub Page_Load and Sub DataGrid1_SortCommand: -------------------- Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'Put...more >>

How to ?
Posted by Laurent Jordi at 2/29/2004 11:57:14 AM
Hi, I'm building cross technologies projects. I mix ASP, ASPX, HTM files BUT... I don't know how to add new kinds of new template files for exemple simple asp page (in Visual studio .NET 2003) Do someone can help me ? Thanks LJ ...more >>

Array Contents to XML
Posted by Steve Bishop at 2/29/2004 11:08:35 AM
Could anyone give me an example of sending an array's variables to an XML document all within a subroutine. I'm thinking of a basic example capturing a form fields values into the array. Help appreciated. Thanks *** Sent via Developersdex http://www.developersdex.com *** Don't just part...more >>

Datagrid with fewer records than page size is ugly
Posted by Charlie Dison at 2/29/2004 10:41:08 AM
I am using a datagrid bound to a Dataset. The problem is when the dataset has fewer records than the page size for the height, the cells grow automatically. Thus the datagrid with one record grows the cell heights between the one data row and the header row to match the whole datagrid height. Is t...more >>

Get html that Control render
Posted by Yanir at 2/29/2004 10:36:10 AM
Hi How can I get the HTML that a server control represent as an text/XML may be there is a common way to serialize it to a stream ...more >>

How to detect user's intention when onunload fires?
Posted by feng at 2/29/2004 9:36:02 AM
I want to use onunload to capture user's action when he clicks on the "x" button to close the browser. Here is how I do this: <SCRIPT FOR="window" EVENT="onunload"> myScript(); </SCRIPT> While myScript() does get called when "x" gets clicked, it is also get called when the user leaves t...more >>

Can I terminate session programticly?
Posted by feng at 2/29/2004 8:52:05 AM
Hi, In stead of waiting for Session_end to fire, I would like to kill the current session using my code behind depending on certain conditions. Can this be done? how? Thanks...more >>

Marshal in Asp.Net
Posted by Elton Rabello at 2/29/2004 7:56:08 AM
Hi I developed a component using 'Queue', it works fine at a Windows application, but i call it at the Asp .Net and return the error 'System.Runtime.InteropServices.COMException Can I use the Marshal object at Asp .Net? If not what can i do to do some background process I call at this way Pr...more >>

Copying an entire solution
Posted by tempframeworkfan NO[at]SPAM hotmail.com at 2/29/2004 7:52:17 AM
Hello. If I created a .NET solution called say MySol, how can I make a copy of this *entire* solution (project folders, files, everything) and create a second copy of this somewhere else on my hard drive, so that I can begin working on a radical change, while at the same time leaving the orig...more >>

Reduce The Size Of Your ASP.NET Output
Posted by sunil NO[at]SPAM volcanomail.com at 2/29/2004 6:32:17 AM
Dear All, I just read an article on how to Reduce The Size Of Your ASP.NET Output... http://www.codeproject.com/aspnet/WhitespaceFilter.asp Though IIS6.0 also provides a Compression feature, it is not bug free... The above mentioned article provides a very basic approach...are there some m...more >>

Session State and debugging the code behind
Posted by moondaddy at 2/28/2004 10:42:15 PM
I'm writing a shopping cart in vb.net and for the first time I'm working with session state on the server. I'm using it to maintain the user's shopping cart for the session. in the browser is a datagrid with a listing of products. If I put a break point in the code behind the code execution w...more >>

how to find control in headertemplate of datagrid
Posted by Cheng at 2/28/2004 10:33:01 PM
hi i have adding a label in the headertemplate of a datagrid i have write the code to find it; //my code Label lbl = (Label) DataGrid1.FindControl("myLabel"); but i can't find it what is the right method that i can find it? thank you :P ...more >>

Yes, tihis again: ASP.NET Version 1.1 not installed.....
Posted by mark at 2/28/2004 10:31:07 PM
I'm probably about the 100th person with this error and read all the KB articles, deinstalled framework 1.1 and resintalled it. Still getting this most annoying error that has wasted hours and hours of my time. (Micrsoft: you need to fix this problem during installation and/or warn of missing com...more >>

Security Error
Posted by Dave at 2/28/2004 9:44:02 PM
I have a ASP.net application that work fine with IIS 5.0. I'm trying to put it on IIS 6.0. And getting the following error. ASP is enable It is in a virtual directory - I also follow the direction in Microsoft Knowledge Base Article - 320268 Any help will be appreiciated Thanks D...more >>

how to run asynchronous methods on a web site?
Posted by Max at 2/28/2004 9:33:08 PM
Is there a built in way to run a piece of code asynchronously? I'd like to run some code in the background that's triggered by a user action on a web page. Examples of what I'm talking about: User clicks on "Update Database" which downloads a text file from another site and imports into a dat...more >>

How to get inner html of page/control with datagrid and pass text back to client as string
Posted by moondaddy at 2/28/2004 8:54:54 PM
I have a frame set where I have a hidden frame page used to marshal data back and forth. In another frame who's source page needs to stay fixed and not do round trips. However, at times I want do display a small table and its row count will vary depending on the number of transactions taking pl...more >>

c# to vb.net
Posted by John at 2/28/2004 8:49:41 PM
Hi Is there a reliable way to convert asp.net/c# to asp.net/vb.net? Thanks Regards ...more >>

How to get copies of old browsers for testing
Posted by moondaddy at 2/28/2004 8:42:52 PM
Is there a way to get copies of old browsers such as ie5.0, Netscape, and any others that should be used to test for the general population of browsers? -- moondaddy@nospam.com ...more >>

unique values out of text area
Posted by jason NO[at]SPAM cyberpine.com at 2/28/2004 8:24:32 PM
NEWBIE - Hello. I've been able to do the following in other languages (perl,jscript,etc.) but am a asp.net newbie and need some help. I have this textbox that has a bunch of data in it. At the beginning of almost every line I have some names followed by a ":" Many (about 3/4) of the names w...more >>

Sockets
Posted by SOS at 2/28/2004 7:43:28 PM
Hi Guys , how can i send some data to an IP address ? for eample i have an local app that is running on the client machines and listen for incomming data , and i want to send some data to this clients from ASP.Net? Thanx ...more >>

OT: Job tracking system
Posted by John at 2/28/2004 7:12:39 PM
Hi We are looking for an online job-tracking system to which our clients can login to and see the progress on their jobs. We will enter the progress on jobs from our end. Any recommendations would be appreciated. Source preferable so we can customise if needed. Thanks Regards ...more >>

Controls..
Posted by Norman Wooten at 2/28/2004 4:40:57 PM
Does anyone have any suggestions for books about/developing User Controls Composite Controls Server Controls in VB.NET I am new to NET and controls.. but catch on quickly.. so dont really need slow paced beginners book.. looking more for intermediate.. Thanks.. -Norman -=-=-=-=-=...more >>

How to get reference of the <body runat=server id=.../> on server side?
Posted by feng at 2/28/2004 3:41:10 PM
I need to add an "onload" attribute to <body> tag so that I can insert client side JavaScript when the page is reloaded. It looks like I should be able to get a reference to the <body> control as it takes a "runat=server" attribute. But I still don't know how to define this body control in...more >>

help on ASP
Posted by Bruno Alexandre at 2/28/2004 3:40:45 PM
Hi guys, First, my apologies, but I can't find a MS newsgroup for ASP and not ASP.NET like this one But here is my question Set cnData = server.createObject("ADODB.Command") Set rsData = server.createObject("ADODB.RecordSet") ' set the page size rsData.PageSize = iPSize rs...more >>

How to test for HttpContext.Current.Session variable
Posted by moondaddy at 2/28/2004 3:01:30 PM
I need to set a variable to a session variable (if that's what you call it) like this: dim ds as dataset = HttpContext.Current.Session("CustDataSet") But I get an exception if this variable in the current session hasn't been set yet so I need to test it. I tried: If HttpContext.Current....more >>

Pass multiple parameters into page's querystring property from jscript
Posted by moondaddy at 2/28/2004 12:28:36 PM
This is a basic question but I cant seem to find the answer anywhere and have never tried it before. Here's one of many syntax I'm trying, but should at least show you what I'm trying to do: parent.data.frameElement.src="data.aspx?Task=CartAddNew & sku=" + ItemSku; where there's 2 paramet...more >>

Custom Error - Access Denied
Posted by Michael Hetrick at 2/28/2004 11:36:37 AM
If I set authorization in a web.config file to only allow certain individuals access to pages, those users who are not named receive an access denied message: --------------------------------- Access is denied. Description: An error occurred while accessing the resources required to serve th...more >>

Controls move when scroll appear/ disappear problem
Posted by Tamir Kamara at 2/28/2004 11:27:28 AM
Hi, I have a page with several server controls (textboxes, datagrid, ...) which are positioned absolutely from the right of the page (like RIGHT: 25px; POSITION: absolute;). that works well if the page has or doesn't have a scrollbar in any case (always). but when the page could have a verti...more >>

Data driven site strategy for normal URLs
Posted by nickgieschen NO[at]SPAM hotmail.com at 2/28/2004 11:02:46 AM
Hi there, I'm designing a site with pages where the layout is the same and content is different. So, obviously, I'm just coding one page and brining the data in from the database. The drawback to this is that the URL names aren't really meaningful. For example, let's say I have an aboutus pag...more >>

How to turn a asp web form TextBox into a password field?
Posted by feng at 2/28/2004 10:23:27 AM
I would like to use asp web form's TextBox control for my password field but I don't know how to do this. I know I can use HTML textbox and then set the type="password". In asp TextBox, however, there is no type attribute. Can someone help me on this? Thanks...more >>

data at the root level is invalid problem
Posted by john_20_28_2000 NO[at]SPAM yahoo.com at 2/28/2004 10:17:57 AM
I get "data at the root level is invalid." I have changed security for the IUSR_xx to be in the adminstrators (tried anonymous access); changed all the file security I could; tried virtual directories and file paths. I have googled and googled. Any ideas why it cannot load this file? It is ...more >>


DevelopmentNow Blog