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 > november 2003

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

How do I restrict to the same user's double_login?
Posted by Lawrance at 11/30/2003 11:54:58 PM
DearAll: How do I restrict to the same user's double_login? Is there any way to solve this problem under "user closed browser" or "computer crash" condition ? Best Regards, Lawrance Chang ...more >>


include other aspx/html in my aspx page
Posted by Mr. x at 11/30/2003 11:42:25 PM
Hello, How can I include programmatically different code, by using some of the aspx techniques. Suppose I have main.aspx. and I want to include table1.html in my code (or table1.aspx). and to change it in some kind of code to table2.html. How can I do that programmatically ? Thanks :)...more >>

How do I bind a repeater?
Posted by timmso at 11/30/2003 11:00:59 PM
I got this sample of code from Mike Moore in response to my question of how I create clickable links from a data source. <asp:Repeater id="Repeater1" runat="server"> <ItemTemplate> <asp:HyperLink id="HyperLink1" runat="server" NavigateUrl='<%# "http://localhost/ngrid1/repeater.aspx?a...more >>

dotnet controls seen much differently on IE and on netscape.
Posted by Mr. x at 11/30/2003 10:47:13 PM
Hello, The following show in netscape with a line delemiter between each row. How can I avoid this behaviour in Netscape ? <asp:Table runat="server" CellPadding="0" GridLines="horizontal" HorizontalAlign="Center" dir = "rtl" border = "0" width = "558"> <asp:TableRow> <asp:TableCell...more >>

status bar question
Posted by fatboycanteen at 11/30/2003 9:50:23 PM
I make a hyperlink in my page.. then, How to invisible the url link on the window status bar when the user click it. ( I tried to use the javascript with mouseover and mouseout event, but when I click the link, the url still appear) Thank You ...more >>

IIS lockdown tool woes
Posted by Alvin Bruney at 11/30/2003 9:37:57 PM
I've run iis lockdown and debugging stopped working. I've added the debug verb to urlscan. The error message is asp.net and atl server cannot be debugged. I haven't seen this one before. If I reverse the tool, debugging works fine. I'm choosing asp dynamic server and accepting all the defaults i...more >>

How to send a website to a client without demand?
Posted by Jens Klingelhöfer at 11/30/2003 8:13:50 PM
Hey, In my ASP.NET application there is a form that has to be filled out and posted back to the server. The processing time of the data is quite long, let's assume 1 minute. I would like the server to inform me periodicly about the actual state of processing my data. Is it possible that the s...more >>

Problems with listbox
Posted by Lloyd Sheen at 11/30/2003 7:36:29 PM
I am making changes to listbox contents in JavaScript and those changes are not persisted when a PostBack happens. Anything I add during Server events are saved and restored. I only have access to the information for JavaScript. I have an embedded object that cannot be accessed at server exec...more >>



Sort web Datagrid
Posted by Jim McGivney at 11/30/2003 6:56:52 PM
I am trying to sort a web datagrid asp.net. In the sort command I use: private void MyGrid_SortCommand(object source, System.Web.UI.WebControls.DataGridSortCommandEventArgs e) { DataView SortView = anteSet11.Ante.DefaultView; SortView.Sort = e.SortExpression; MyGrid.DataSource = S...more >>

FileInfo NameSpace and methods
Posted by Do at 11/30/2003 6:24:17 PM
Hi, I'm getting the following error messages "The process cannot access the file "c:\inetpub\wwwroot\nspi1.5\files\DSCF0009.jpg" because it is being used by another process." This happens when I call the following code. Am I forgetting the clean up something? If objFile.Exists(Curren...more >>

Complex databinding with ASP Listbox
Posted by Ray Valenti at 11/30/2003 6:06:45 PM
I have a ASP listbox that I am trying to populate with two fields, one for display (Category) and one to store (ID) as the selected item. I can successfully populate and view the list. How ever after specifying the field to hold the selected value with the Databindings property, the error belo...more >>

Large File upload question
Posted by Ron Vecchi at 11/30/2003 5:36:48 PM
When posting a file upload I have taken in consideration the maxRequestLength and set it accordingly. In my case where a posibility of a 30 meg file can be uploaded I set it to 30720. Although its hard to test since I'm developing locally I am a little worried about the time it might take to ...more >>

Anyone here deployed a webservice at WebHost4Life?
Posted by Bruce W...1 at 11/30/2003 5:19:17 PM
WebHost4Life is my hosting company. Every web service I ever tried to deploy there gives me this error: This web service is using http://tempuri.org/ as its default namespace. Recommendation: Change the default namespace before the XML Web service is made public. I changed the namespace wi...more >>

directory browsing
Posted by Katrina at 11/30/2003 5:05:25 PM
I am trying to create a Web application that can upload files to a server. I am running into some difficulty, I was wondering if someone could help me: 1. Is there any easy way in ASP.NET to open a dialog similar to the OpenFileDialog, where the user could select a file on their machine? ...more >>

Tracing.Enabled question
Posted by Do at 11/30/2003 4:53:53 PM
Hi, Can I enable trace on all my web pages and have them all turned on or off at build time? Right now, I can turn tracing on and off on a page by page basis. Using my Trace.Enabled. Thanks, Do ...more >>

Checkboxlist control - would like vertical scroll bar
Posted by tempframeworkfan NO[at]SPAM hotmail.com at 11/30/2003 3:20:45 PM
Hello. What is the best way of displaying a large list of checkboxes? I tried using a checkbox list control, but even if you set the height property, the control shows *all* of the checkboxes, without giving you a vertical scroll bar so that you can scroll up and down inside a smaller, more ...more >>

HttpModules et session
Posted by Aurel at 11/30/2003 1:37:09 PM
Hi, I have create a httpmodule but I have some problems. I can't access to the session. Even if I create my class like this public class myModule: IHttpModule, IRequiresSessionState {} Someone got an idea? Another question, the session_start in Global.asax fire before all httpmodules or a...more >>

Repeater Item Index
Posted by George Addison at 11/30/2003 1:19:54 PM
How do I test for the value of the repeater's item index: SOmething like: Select Case Container.ItemIndex if container.itemindex...more >>

Dynamically positioning objects at run-time.
Posted by wzack NO[at]SPAM compuserve.com at 11/30/2003 12:07:28 PM
I have an interesting little ASP.NET problem. I have to position and show multiple "frames" in an IE6 browser at run time in a singe ASP.NET page. Each "frame" will contain a couple of navigation links and one chart object (currently an ActiveX control but we will be switching to native .NE...more >>

Send Form in ASP .NET
Posted by grzybek at 11/30/2003 12:06:00 PM
Hi, I've done form in my .aspx page on the client side and I want to using metod "post" get some variables in next page .aspx using Request.QueryString["name"], but it doesn't work. Is it possible to do on the client side? I only invented on the server side using : Response.Redirect("page1...more >>

create an ASP.NET page dynamically and save to web server
Posted by Joe Bonavita at 11/30/2003 11:33:38 AM
Is there a way to create a page dynamically and save it back to the web server? I need to be able to create custom pages for people. Thanks, Joe ...more >>

ASP.NET Response Delay - Slow
Posted by Vito DeCarlo at 11/30/2003 9:45:05 AM
Over the past week, I've been noticing that any websites (on this one particular web server) built with ASP.NET have unusually slow (5 second) response times when moving through the site. There are times when the delays dissappear, but they are existent 80% of the time. This has only started ...more >>

Windows2000,Word2003,ASP.Net - Help
Posted by Elizabeth Harmon at 11/30/2003 8:47:32 AM
Hi All I am attempting to open a Word App from a web page on the client and so far everything works (After reconfig of dcomcnfg for Microsoft Word Document). I have one minor problem, i cannot get the application to become visible **********What am i doing wrong? is there something else that ...more >>

Progress of page loading
Posted by Konrad at 11/30/2003 5:31:51 AM
Hi How in ASP.NET show progress of page loading? Thanks Konrad ...more >>

multiple class instances
Posted by david at 11/29/2003 8:17:32 PM
i am doing the walkthrough of an asp.net book and i have come to one of the tutorials where i am supposed to create a simple code behind method. but, when i follow the instructions in the book i get this error message. considering that i am following a walkthrough i would like to iorn out ...more >>

encrypt the querystring values for a HyperLinkColumn
Posted by TJS at 11/29/2003 8:16:40 PM
how can I encrypt the querystring values for a HyperLinkColumn ? in example below I would like to encrypt value for field1 ====================================================== <asp:HyperLinkColumn Text="View" DataNavigateUrlField="field1" DataNavigateUrlFormatString="page.aspx?idx={0}"></asp...more >>

adding text to the redered html
Posted by source at 11/29/2003 7:53:10 PM
I have a few hundered pages, where there is one particular text which needs to be formatted in a proper way. Currently the text comes from all different souces(regex files, database and the text is hard coded too) Now according to current legal terms and business rules I need to format that part...more >>

Machine Debug Problem
Posted by Buz Waitz at 11/29/2003 5:36:50 PM
When I try debugging a VB windows app in Visual Studio.Net I get the error, "Error whle trying to run project: Unable to start debugging. The Machine Debug Manager service is disabled." Help? ...more >>

wots wrong here?
Posted by Luke Smith at 11/29/2003 5:27:40 PM
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.IO.FileNotFoundException: File or assembly name System, or one of its ...more >>

DropDownListBox and footer and datagrid
Posted by kgs at 11/29/2003 2:44:17 PM
I dynamically added a DropDownListBox to a footer of datagrid on itemcreated event. In which event in postback can i access the selected item. Interesting thing i noted that even though i create it, every time on postback of the page the selected item is preserved. thanks!!! ...more >>

First time using validators problem
Posted by Mr. x at 11/29/2003 2:33:12 PM
Hello, I am first time using validators of apsx, I did something like this (in the aspx file ) : <form runat="server"> Name: <asp:TextBox id="name" runat="server" /> <br /> <asp:Button runat="server" Text="?????" /> <br /> <asp:RequiredFieldValidator ControlToValidate="name" Text="The ...more >>

problem with regional characters
Posted by Jacek Stepniewski at 11/29/2003 1:43:01 PM
I would like to display on the cell phone my regional characters (polish characters). The best way to do this is to use entity, but the mobile control do HtmlEncode and converts "&" sign to "&amp". For example: - if i do lblTest.Text = "&#x104", the resoult is: &amp;#x104; So this way is wro...more >>

Formating BoundColumn Items
Posted by Fabiano at 11/29/2003 12:37:38 PM
Please, i have a datagrid with columns binded to a DB. I need to show a specific column like 123.423-12 how can i do this? I tryed to use DataFormat property of the BoundCollumn with no sucess. Tks in adv. Fabiano ...more >>

dynamically connect to webservice
Posted by Ed S at 11/29/2003 12:27:32 PM
Hi All, We're upgrading our web project - currently we have a web app and a web service - both written in C#. The web app communicates with the web service for login authentication, the list of who's logged in, messaging between logged in users, etc. For this first pass, we hardcoded the ...more >>

Printing Problem
Posted by Dave at 11/29/2003 12:08:56 PM
Hi Everyone, I am fairly new to .Net and have just completed my first live ASP app. i developed the app on a laptop and basically the user fills in a form submits and the prints the form (in theory) this worked well on the laptop, but fell over when i uploaded the app to the company intranet...more >>

Client-Side Validation using ASP.NET
Posted by anonymous NO[at]SPAM discussions.microsoft.com at 11/29/2003 11:14:36 AM
Dear Justin, Thanks for your reply! Let me explain you my concern in detail.... I have a login field which I am validating using RequiredValidator control. Now when a user omits this field, the ErrorMessage is displayed successfully with the help of validator control, but the page is ...more >>

ASP.NET, XP Pro
Posted by Bewildered at 11/29/2003 10:35:48 AM
I've been trying for days to get ASP.NET framework to run on my PC. I kep getting this error: although I'm not trying to set up and mobile devices. Can anyone help with a solution? TIA Configuration Error Description: An error occurred during the processing of a configuration file required t...more >>

Client-Side Validation using ASP.NET
Posted by anonymous NO[at]SPAM discussions.microsoft.com at 11/29/2003 10:17:04 AM
Hello Guys, I am using the validation controls to validate my data. But the problem is "The page is still being posted to server". I want to get rid of the round trips to server. Are there any get arounds for this problem apart from the traditional JavaScript? I mean to say ... can ...more >>

How Do I add records to a Listbox control ?
Posted by Gordon at 11/29/2003 8:35:33 AM
Hi; I am a novice asp.net developer who would like to create a dataset-table and then use the datatable.select cmd. to look up a value passed from the web calender control. The value(s) would then be used to populate a listbox on a web form. I keep getting an error that says that in the ...more >>

send a querystring from client to aspx page
Posted by Mr. x at 11/29/2003 6:09:21 AM
Hello, I want to activate an aspx page from the client. just oppening the url from html page (client), ie openning the page with parameter : my_url.aspx?my_param=1 Thanks :) ...more >>

Insert new row in DataGrid (WebForm)
Posted by mg at 11/29/2003 5:06:33 AM
Is there any example code that illustrate the DataGrid insert operation? I want to insert a new row into a DataGrid (WebForm/C#). I'd like to press a button, enter the new column values in some TextBoxs, press a second Button and have the new row values appear in the DataGrid (and the und...more >>

Need help to understand this code error 'server error in /online application'
Posted by Ketul Patel at 11/29/2003 4:57:16 AM
can someone please help me understand what might be the possible cause for following error Server Error in '/OnlineServices' Application. ----------------------------------------------------------- --------------------- lookup data is empty! I am getting this while i am trying to sign ...more >>

getting response string problem
Posted by Mr. x at 11/29/2003 4:21:01 AM
Hello, I have declared in my program (*.aspx) something like this : <%@ Page Language="VB" Debug="true" %> .... <% dim current_view_page current_view_page = "1" if not (Request.QueryString is nothing) then current_view_page = Request.QueryString end if %> in the body sect...more >>

HTTP protocol violation - Urgent
Posted by sumit at 11/29/2003 1:21:36 AM
Hi, I am trying to send an XML request from ASPX page to A servlet,,,and gets the XML response back. I am using HttpWebRequest object. It throws exception as: The underlying connection was closed: The server committed an HTTP protocol violation. Previously it was working fine but sudden...more >>

Active X control reference
Posted by Do at 11/28/2003 9:08:47 PM
Hi: I am using an MS Office Automation Active X control in my ASP.NET web application. I've added the reference and noticed that the .dll file gets copied into the \bin folder. All my code works fine on my development server. However, when I copy everything to the production server v...more >>

Accessing ViewState from image rendering aspx page
Posted by Jeronimo Bertran at 11/28/2003 8:47:02 PM
I have an aspx page that saves some information using the ViewState. This page has an IMG META that uses a second aspx page to render the image. <IMG src= "ImageRender.aspx"> I noticed that in the ImageRender.aspx, the "sender" parameter in the Page_Load referes to the page that has...more >>

Web form validation vs object validation
Posted by Colin Basterfield at 11/28/2003 5:34:49 PM
Hi, I have a web form which takes daily sales totals, both counts and monetary value and is done on a weekly basis, so on a Monday morning the User would enter these totals. Each total has a range, which at the lower end is >= 0 and the upper limit is configurable, these totals are then submi...more >>

[OT] Trouble with an asp
Posted by Alberto at 11/28/2003 4:49:55 PM
I have in a server W2000 an asp page (not aspx) but when I try to see it with the IE I only see text. If I try to read the page from another computer, it works fine. Any idea about what's happenig? Thank you ...more >>

Simulation of Button click
Posted by mg at 11/28/2003 4:41:02 PM
I have a WebForm with C# and JavaScript functions - The aspx file holds two buttons: Button1 and Button2 In Page_Load (code behind), I have Button2.Attributes.Add ("onclick", "func()"); My program works if I first press Button1 with the mouse and then press Button2 with the mouse. I'...more >>

Reading SqlDataReader or DataRow
Posted by Michael Carr at 11/28/2003 4:16:33 PM
I have a function that populates a class with values from a database. I'd like to pass into the function either a SqlDataReader or a DataRow, depending on which mechanism I'm using to retrieve data from the database. However, the two classes don't appear to have any common interfaces that would ...more >>


DevelopmentNow Blog