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 > october 2003 > threads for monday october 27

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

Default document in IIS loads after every page request in application.
Posted by aDc at 10/27/2003 11:27:52 PM
Hello, I am getting some strange behavior with my ASP.NET application. Anytime I make a request to a page in the application the page_load for that page is fired as expected BUT then the page_load for the default document configured in IIS (5.0) (in my case Default.aspx) fires also. This hap...more >>


Include files
Posted by Kraai at 10/27/2003 10:49:37 PM
in normal asp , and even php i could use the <!--#include file="login.aspx" --> or <!--#include virtual="login.aspx" --> to include pages in my main page without using frames! when i try this with my aspx page's i get the following error! There can be only one 'page' directive How d...more >>

Request.Form("field_name") no longer use in ASP.NET?
Posted by Matt at 10/27/2003 10:39:54 PM
I want to confirm if Request.Form("field_name") no longer use in ASP.NET? Since we can just use TextBox1.Text to get the value from the user. Please advise! Thanks! ...more >>

get record field value in ASP.NET
Posted by Matt at 10/27/2003 10:36:25 PM
In ASP 3.0, rs("field_name") is able to get the value of field_name in a recordset. In ASP.NET using VB.NET, I think SqlDataReader is the substitute of recordset? I don't quit understand how to use it. Here's my code attempts, but it yields run-time error "Invalid attempt to read when no da...more >>

Where is the spell checker in Visual Studio .NET ?
Posted by Max at 10/27/2003 10:34:28 PM
Ok, there's got to be one right? Don't tell me I have to load all my pages into Dreamweaver or something to check the spelling... -M ...more >>

aspx refresh
Posted by Max at 10/27/2003 10:26:00 PM
I changed code in my local aspx page. Executing in browser, in localhost, the page is not recompiled. The page is recompiled with "view in browser" in VS .NET. Am I doing something wrong? Thanks Max ...more >>

simple postback to a database
Posted by Ray Valenti at 10/27/2003 10:24:59 PM
In a .Net Asp application I am able to retrieve data from an Access db and display in on a web form. How ever during the update function after a page update, the update command does not throw an exception but it does not save out the changes either. It seems that upon the postback no data exists...more >>

XSL help....
Posted by anonymous NO[at]SPAM discussions.microsoft.com at 10/27/2003 10:05:19 PM
Hello Guys, I am trying to render an Xml dataset into HTML using XSLT. When I am loading the XSLT file into transform object to render it. Here is the code snippet: <!-- XslTransform transCart = new XslTransform(); transCart.Load(Server.MapPath("1.xslt")); showCart.Document = cartFro...more >>



HTTPS and WebRequest
Posted by Tony Guidici at 10/27/2003 9:43:22 PM
I have been attempting to send an XML post to a ASPX page I created as a listener. On our Windows Server 2003 Web Edition server, I installed a test certificate from Thawte and can hit the page just fine from the browser. However, when I attempt to use the WebRequest object to post to the page, I...more >>

Basic Architecture 2
Posted by Todd at 10/27/2003 9:35:01 PM
I need clarification on how an application should be structured. In my mind, you should have a data base sever, a middle server to host a bulk of the code, and a front end web server. However, I have received input that I should build my application in ASP.NET and running on the web server...more >>

web setup question
Posted by popman at 10/27/2003 8:43:33 PM
I use vs.net to create a web setup project.There are already some dialog there,such as license agreement,readme,Textboxes(A),Textboxes(B),etc. I am wondering if I can create new form and add it into setup progress. If that is possible,how should I do?Can someone provide me some useful sources? ...more >>

Looking for a component
Posted by Dmitry Korolyov [MVP] at 10/27/2003 8:13:06 PM
Desired functionality: ability to upload files and save them into a = database (or save them on the file system), ability to pick up files = stored in the db or file system and send them in the reponse to the = client's request. I've used aspsmartupload component with ASP some time ago, and it...more >>

BUG : Datagrid ?
Posted by benoit.laflamme NO[at]SPAM riotinto.com at 10/27/2003 8:08:58 PM
Hi, I have come across a situation which appears to be a BUG with the DataGrid control (asp:datagrid) Following the application of a fliter on a PostBack, it seems the total number of items (dgItems.Items.Count) of the control varies depending on its page size ? What prompted me to lo...more >>

Dynamic server controls using XML and XSLT
Posted by anonymous NO[at]SPAM discussions.microsoft.com at 10/27/2003 8:02:57 PM
Hi Guys, I am generating dynamic server controls using XML and XSLT. With this I am generating two buttons which when clicked redirect the page to a different page. Here is my "checkout" button which is generated dynamically looks something like this <input type="image" name="checkou...more >>

Bind a string collection to a data grid
Posted by Pete Nelson at 10/27/2003 7:58:42 PM
Does anyone know of a way to bind a string collection to a datagrid? Basically, I have an object, CreditPlans, and a string collection, ModelNumbers. I'd like to bind the ModelNumbers collection to the datagrid, but because there isn't a custom object with properties, just a string object, I'm ...more >>

How can I get relative path in Class Library?
Posted by handlim NO[at]SPAM hotmail.com at 10/27/2003 5:59:19 PM
I am trying to make some program with XML in class library by C#. I read XML file in my program by using oXmlDoc.Load(xmlfilename); But, It occured error... It read from C:\windows\system32,,, But my XML file is in same directory with my program. So, I know I have to use relative path.... Who ...more >>

Simple form postback to update a database
Posted by Ray Valenti at 10/27/2003 5:31:02 PM
In a .Net Asp application I am able to retrieve data from an Access db and display in on a web form. How ever during the update function after a page update, the update command does not throw an exception but it does not save out the changes either. It seems that upon the postback no data exists...more >>

Good book to get me started...
Posted by Sam Carleton at 10/27/2003 4:48:20 PM
I have been a Windows C++ programer for 8+ years. I have played with real basic windows programming for years, I have created <http://www.miltonstreet.com>. I have also done some non web programming of C#.Net. My point is that I know how to write code, I don't understand how to clue all the ...more >>

Eval and Execute - Newbie question
Posted by J. Shane Kunkle at 10/27/2003 4:30:35 PM
Please help - I am having issues doing some really simple stuff without Eval/Execute in ..NET - does anyone use a replacement for Eval/Execute in .NET or have a workaround with basically the same functionality? One example, I'm passing a query string into my page the query string contains m...more >>

NANT, web projects and resource files
Posted by HaukiDog NO[at]SPAM hotmail.com at 10/27/2003 4:02:58 PM
Hi, I am trying to set up my C# web project to be compiled by NANT. Everything compiles and works fine within the IDE. I have a created a NANT build file which has a simple project tag, like this: <?xml version="1.0" ?> <project name="MyProject" default="build" basedir="."> <descriptio...more >>

DataList's ItemCreated event
Posted by Hardy Wang at 10/27/2003 3:58:49 PM
Hi all; I have a DataList with ItemCreated event like below: private void myList_ItemCreated(object sender , DataListItemEventArgs e) { DataRowView myRowView; DataRow myRow; if (e.Item.DataItem != null) { Trace.Write(e.Item.ItemType.ToString(), "---with data"); } else { Trace.Wri...more >>

Pointing to the current record identifier
Posted by Stephan Bour at 10/27/2003 3:45:56 PM
Hi, I am trying to implement a SQLServer database update inside a catch loop and I'm having difficulties pointing to the row to update using the current order's OrderID primary key Identifier in the table. The block: catch (Exception MailEx) { //Tag record as FAIL ...more >>

asp.net and excell.. file share problems
Posted by Robert Halstead at 10/27/2003 3:42:27 PM
Hi guys, I have a asp.net web app and it's connecting to an excell 2003 document (in another folder) via OleDataAdapter. Everything works and all, it's just that when I shutdown IE and try to access the excell document, asp.net seems to still keep it and won't release it. Excell gives so...more >>

Registering ASP.net
Posted by Jason Michel at 10/27/2003 3:35:22 PM
Hello, I recently installed VS.Net 2002 on a laptop running XP Tablet edition and IIS 5.1. The installation procedure does not appear to have registered ASP.net with IIS. So IIS is sending down the .aspx and .asmx files as file transfers. In addition there is no serivce discovery, and aspne...more >>

Where to find a cheap image lib
Posted by NoSpamThanks at 10/27/2003 2:41:58 PM
Hi, I am searching for a cheap image lib to create my asp.net site. Any idea welcome. C. ...more >>

ASP.NET Hosting
Posted by Terry at 10/27/2003 2:07:47 PM
To host an ASP.NET app, can I simply install the .NET Framework on my server (W2K Advanced Server), or do I have to upgrade to 2003? Thanks ...more >>

spliting string by one of several characters? NEWBIE
Posted by jason NO[at]SPAM cyberpine.com at 10/27/2003 1:57:42 PM
Hello. Given string "yyy/zzz/lll.bbb \ggg\rrr\zzz" Id like to split (in vb) by characters: /.\ and space yeilding: yyy zzz lll bbb ggg rrr zzz flirting with the following code that's not working: <vbcode> dim tosplit as string tosplit = available.selecteditem.text dim ...more >>

bug with panel and datagrid
Posted by bob at 10/27/2003 1:42:10 PM
just an update from a previous post.. I have several forms that keep crashing in the designer when I place a panel on a form and then try to put a datagrid inside. the form has several panels and datagrids and is very lengthy. has anyone experienced this?...more >>

html gets deleted
Posted by bob at 10/27/2003 1:23:35 PM
I'm using visual studio and working on some webforms. the last few forms that I have created have been very long and after I save the form - parts of the html get deleted and I lose the objects at the bottom of the page. the code however is still in the code behind module. has anyone e...more >>

Module Not Found
Posted by Jim Heavey at 10/27/2003 12:50:47 PM
I am trying to figure out the @Assembly directive. I have an application which uses "codebehind" and only uses source code, so I am using the "src=" option of the @Page directive. So I have something that looks like the following: ASPX Files ASPX.VB Files Pa...more >>

JavaScript submit method doesn't work
Posted by Eric George at 10/27/2003 12:34:20 PM
Hi, Has anyone had any success using jscript submit method in their VS.NET projects? For example I have some client processing in a script function then call <form name>.submit(); This won't work. It does however work in a hand coded html or aspx page. Any suggestions? THANKS...more >>

Dynamic variable names without EVAL - NEWBIE
Posted by jason NO[at]SPAM cyberpine.com at 10/27/2003 12:23:18 PM
I'd like to write an asp.net-VB subroutine that accepts the name of an itemlist as a parm to be populated. I think under classic ASP I would use EVAL() to accomplish dynamic code like this. How would I do this in ASP.NET-VB? For example in the code below I'd like pass nnnnnn in. Of course th...more >>

Server Side Controls in ASP.NET
Posted by Kerri at 10/27/2003 11:54:03 AM
Hi, I have an aspx page with some server side textboxes. I have a button onmy page which allows users to add data to a database. In my onclick event for my button when I try and get teh value from the textbox using.. Dim myString as String = textbox1.text ...it is blank. When I...more >>

HttpPostedFile.SaveAs() permission error
Posted by jeff_winkler NO[at]SPAM benefitstreet.com at 10/27/2003 11:41:59 AM
I am using the HttpPostedFile to allow users to upload files to a server farm. The SaveAs() saves to a shared network path (\\SERVER\SHARE) so that no matter which web server is taking the request, all uploaded files go to the same location. The .SaveAs() call throws the error "unknown user na...more >>

Validation
Posted by Yama at 10/27/2003 11:26:05 AM
I am returning false. Here is what I am doing... <%@ Page Language="vb" AutoEventWireup="false" Codebehind="_index.aspx.vb" Inherits="Demo.__index"%> <html><head><title>Validate</tile> <script language="JavaScript" type="text/JavaScript"> <!-- // Hide older browser function validate() ...more >>

Using .net to enter form values (WebClient)
Posted by Tom Yates at 10/27/2003 11:23:18 AM
Hi, I'd like to write a web service that goes to a specified web page, enters some data in the forms on there and gets the response. Can anyone give me a helping hand to get started (like open a page and enter one value on a form)? Thanks! Tom ...more >>

Xml and XSLT
Posted by anonymous NO[at]SPAM discussions.microsoft.com at 10/27/2003 10:08:46 AM
Hi Guys, I am using XSLT to render my XML dataset at the client side to HTML code. When I am trying to load the XslTransform with an Xslt file, it gives me the following error. >>>> The path is too long after being fully qualified. Make sure path is less than 260 characters. I have...more >>

ASP.NET Hosting
Posted by Katrina at 10/27/2003 10:05:10 AM
Does it cost more to host an ASP.NET site? I have found a site that will do hosting for $10/mo. Is this more expensive than it costs to create a site without ASP.NET? Is there anyway I can bring the price down -- I don't have a lot of experience making sites "live." Thx, Katrina...more >>

How to print pdf document.
Posted by Yuriy at 10/27/2003 9:59:24 AM
Hello! I need to print PDF Document by clicking a button on .aspx page. The PDF should be printed on client printer without displaing it on the window. I tried Process namespace but it doesn't work. Please, help! Thank you....more >>

Httprequest problems
Posted by jdaley NO[at]SPAM data-tronics.com at 10/27/2003 9:53:53 AM
I'm trying to screen scrape for some data, but the response that comes back is the "Browser Detect" page. Is there any way to "impersonate" a browser (IE6.0 for example)?...more >>

asp.net & web services
Posted by Thomas at 10/27/2003 9:45:01 AM
Hi all! Currently I have a web application that consists of a classic frameset. I would like to rebuild the application and just use tables or layers. The problem is, that some parts of the application need to be refreshed at a given interval. Currently, these parts run in a separate frame and...more >>

WebControls Handlers dont fire
Posted by berlicche NO[at]SPAM hotmail.com at 10/27/2003 9:36:44 AM
Hi all, I cant think about the solution of this problem. I have a WebForm that performs a file upload . But when I click on the button controls no handler function fires . Can anyone give me a hint where I have to find out the solution? Many thanks Alessandro...more >>

Drop down list - Display only items
Posted by Cleus at 10/27/2003 9:28:19 AM
Is there a way to display read only values in a drop down listbox? Below is an example of what I need displayed in the drop down list. The users should only be able to select Item 1-9. Category A-C are just for display/clarification purposes. Category A Item 1 Item 2 Item 3 Cat...more >>

Check If Username Exsists
Posted by harrysingh1976 NO[at]SPAM hotmail.com at 10/27/2003 9:22:41 AM
Hi, just getting started on ASP.NET and C# and MS-SQL. Ive managed to get all the connections working and database intergrated nicely for content and stuff. I now want to include a user registration form through a 4 step process asking for various bits of info. I think I can get the data ...more >>

request.querystring and frames problem
Posted by ooper at 10/27/2003 9:21:16 AM
Hello, I have a page with multiple frames. The body frame has an href as follows: http://www.fincalc.com/BUD_02.asp?id=12345&css=demo BUD_02.asp has code that tries to read the id value from the querystring as follows: dim id id = Request.QueryString("id") This code does not get the value "12345...more >>

receive garbage from oracle records
Posted by Tony Piperato at 10/27/2003 9:11:50 AM
Greetings, I am retrieving data from an Oracle database and when I try to output to the webpage I get chinese looking characters...any thoughts? Thanks in advance for your help. Tony ...more >>

What to download?
Posted by Jorge Castro at 10/27/2003 8:56:04 AM
Hi I am a newcommer to .NET. I am interested in both .NET and also in ASP.NET. I read in the .NET SDK release notes that as a pre- condition you have to have IIS pre-installed on your machine. However, I could not find a free download for IIS. On the other hand ASP.NET download seems to...more >>

Q&A from PDC
Posted by Natty Gur at 10/27/2003 8:11:49 AM
Hi every one, Im attending PDC and i will be happy to answer questions regarding ASP.NET, whidbey and longhorn on that news. I'll do my best to answer but I can't promise (avaiability of internet stations). Natty Gur[MVP] Phone Numbers: Office: +972-(0)9-7740261 Fax: +972-(0)9-7740261 M...more >>

Dataset persistence???
Posted by jason NO[at]SPAM yoursolution.com at 10/27/2003 7:51:01 AM
I am having problems understanding how to access a datasource only once, fill a single dataset, and then reference that dataset multiple times through different user controls(ascx) found on the same page. My main page(aspx) contains multiple user controls. The main page also contains a publicl...more >>

Changing stylesheets
Posted by Adrian at 10/27/2003 7:49:23 AM
I'd appreciate any help possible. I have a number of different stylesheets. All have identical elements. I only want to use one at a time, but want the system administrator to be able to choose which one to apply. I thought that I could hard code the pages to a generic stylesheet and usi...more >>

C# UserControl Bubbling events
Posted by andy45320 NO[at]SPAM yahoo.com at 10/27/2003 7:32:03 AM
Alright, I am beyond confused here and need some guidance. I need a C# only sample. I have a simple Page and within it i am creating a user control (ascx). The user control contains textboxes, buttons, ect. I would like to catch/add a handler/recieve the Button.OnClick event from the buttons...more >>

Recyclye of ASP.net
Posted by Vani at 10/27/2003 7:21:48 AM
Friends, I have this error in my event log for ASP.NET Worker Process. Severity: Critical Error Source: ASP.NET 1.0.3705.288 Name: ASP.NET Process Recycled - Deadlocked State Detected Description: aspnet_wp.exe (PID: 2168) was recycled because it was suspected to be in a deadlocked...more >>

Calling COM from ASP.NET
Posted by Sid at 10/27/2003 6:49:29 AM
Is it possible to call compiled COM components directly from ASP.NET without having to set a reference to them using the IDE? e.g. in ASP you could use Server.CreateObject("somedll") but for some reason this does not work in ASP.NET, is this actually possible?...more >>

asp
Posted by ani at 10/27/2003 6:49:14 AM
I need to dynamically load all the controls on to a page. Most of the controls are either radio buttons or checkboxes and the web page basically is a questionaire. I am concatenating all the radio button items in a function in my class. The function returns the concatenated text(in the for...more >>

Concatenating asp server controls
Posted by Ani at 10/27/2003 6:45:22 AM
I have a questionaire page , which basically has questions with multiple choice answers. I need to accomplish paging on this and there are few questions that are gender specific. According the person who has logged in, if the person is male, i need to generate only those questions specific...more >>

What can Content Management Server do?
Posted by sunil NO[at]SPAM itb-india.com at 10/27/2003 6:20:30 AM
Dear All, I stumbled upon an article on "Content Management Server"...but got a bit confused...i would like to know if "Content Management Server" can.. 1. Show me a Word Document in a browser without having Word on the client machine and only on the Server? 2. If Yes....can the u...more >>

Please help.. .can't make this work on win 2k3 (delegates related)
Posted by Esteban Felipe at 10/27/2003 6:11:16 AM
Hi, thanks for reading. I hope to find some help here before I commit suicide because this is driving me crazy. Please excuse me if this looks like a long post, but I hope that a complete explanation help you to help me :=) ....Let's start with some background: ..- I'm building an asp.ne...more >>

How do I retrieve / request a Windows.Form.Control's Value running on a WebForm ?
Posted by Softwaremaker at 10/27/2003 6:00:02 AM
Hi all, I have created a Windows Form control that runs on a web form. This control is a composite control comprising of other textboxes (public scope). This control inherits from the Windows.Form.Control class. I have put it on a web form with the following code : <OBJECT id="MyWebContr...more >>

Web Forms
Posted by Vannela at 10/27/2003 3:45:55 AM
As i asked u earlier also that is it possible to create a web form dynamicaly and add controls to it? For example i will write the HTML code and script code in a single file by name Default.aspx and execute it will it work. And when ever i want to add controls i will write the code into s...more >>

Throw Exception Vs Throw New Exception
Posted by Kerri at 10/27/2003 3:01:34 AM
Hi, I am new to .NET In my Error Logic on my Aspx pages when an error happens it hits my catch statement where I throw an Exception. My question is : what is the difference between Thwo Exception and Throw New Exception? Anq when should either be used? Thanks, Kerri....more >>

I need help with .bat script
Posted by Lucas Cowald at 10/27/2003 1:59:42 AM
Hi, I have no idea how to write .bat scripts, can you help me write one? Here is a pseudo code of what I would like the .bat script do. For intFolder = 1 to 100 For intFileNumber = 1 to 20 IF intFileNumber.wmv file does not exist, THEN exit loop. sse45.exe -i k:\o\intFileN...more >>

Error de depuracion en Visual Studio .NET 2002
Posted by Jose Martinez at 10/27/2003 12:56:10 AM
Hola a todos, Tengo instalado el Visual Studio .NET 2002, en el cual,=20 he creado un proyecto, que al ejecutar en modo=20 depuracion, me sale el siguiente mensaje:=20 Error while trying to run porject: Unable to start=20 debugging on the web server. You do not have permissions=20 to debug...more >>

VB.NET Application File Upload to Webserver
Posted by randall g at 10/27/2003 12:46:21 AM
Hello, I have been trying to figure out how to make a VB.NET application program (not a web page) upload a file to a .NET website. File upload from a webpage form is straightforward and works fine, but when I try to use the WebClient.UploadFile method in an application program (to the same webpa...more >>

How to retrieve HTML in ASPX page
Posted by nazy NO[at]SPAM bigfoot.com at 10/27/2003 12:17:01 AM
Hello, Is it possible to retrieve the HTML which gets dynamically created in an ASPX file and presented to the client? I need to do this from the server. Thanks Naz...more >>

Problem accessing application through a gateway
Posted by vmaury NO[at]SPAM hotmail.com at 10/27/2003 12:15:13 AM
Hi, I've a communication problem with my .NET web application and I need some suggestions. My application is composed of few ASP.NET pages running on a Windows 2003 Enterprise Server (.NET 1.1). When I access these pages from a browser (Explorer 6.x) in my enterprise LAN all works right. ...more >>


DevelopmentNow Blog