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 2003 > threads for june 22 - 28, 2003

Filter by week: 1 2 3 4 5

datetime class: setting day, month...
Posted by Ante Perkovic at 6/28/2003 9:26:10 PM
Hi, How to declare datetime object and set it to my birthday, first or last day of this month or any other date. I can't find any examples in VS.NET help! BTW, what is the difference between date and datetime classes? Please, help Ante...more >>


Clearing values in WebControls
Posted by John Smith at 6/28/2003 7:47:02 PM
Hi folks, I have a form with ASP.NET web controls. At the end of the form there's the "Clear" button to clear the available values and start over. How do I do that? The following did not work because it unloaded the controls, and not just clearing the values: - this.Controls.Clear(); ...more >>

How to put ASP.NET in my application?
Posted by johnfofawn NO[at]SPAM hotmail.com at 6/28/2003 6:29:43 PM
Hi, I'm buliding a windows application. I would this application to be monitored and controlled remotely from a browser. Is there a way to host an ASP.NET interface within my application? I don't want to force the end-users to have IIS installed and configured just to access my program remo...more >>

Multithreading
Posted by Boris Condarco at 6/28/2003 5:01:01 PM
Hi, I have to develop an application, whose main feature is: read data from DataBase, do many calculations, then write back the results to the DataBase, and finally show it to the user. This calculations are based on different formula, so i was thinking to develop a multithreaded Web Based ...more >>

How can I refrence html object from aspx form.
Posted by Mike John at 6/28/2003 4:49:16 PM
I have created checkbox in the aspx form (html) not the design. Syntax:<input type =checkbox name ="mycheckbox"> now how can I read i's value from aspx. I have type Me which stand for the current form, but the mycheckbox was not in the list. Sincelery yours Mike John ...more >>

Close window with JavaScript
Posted by jhe_bc NO[at]SPAM yahoo.ca at 6/28/2003 12:52:27 PM
Hello I have some trouble in closing a window, Here is the problem: I develop a asp.net website use client side valiation <asp:CustomValidator id="CustomValidator1" ControlToValidate="Text1" ClientValidationFunction="BasicSearchValidation" OnServerV...more >>

'Copy project' menu item
Posted by Antonio Maciel at 6/28/2003 12:11:56 PM
Hi. Is it possible to use the Copy Project window to copy my project files to a machine on a different network? From my development machine I need to send my files to a machine named 'tests.com' on another network but I do not have a file share on the tests machine. Thanks, Antonio Macie...more >>

Error when starting page at this first times
Posted by Sara T. at 6/28/2003 12:09:38 PM
I always found that web page written by ASP.NET (VB.NET) generate error when starting at the first times. If I click refresh button on the IE again, it can work as well. What's wrong ? Again if I terminate process aspnet_wp.exe, it will generate again ONLY at the times to read page. Foll...more >>



Change display in status bar with link button ?
Posted by Marc Chouteau at 6/28/2003 11:23:35 AM
How to change the display of status bar with the "LinkButton" control ? for example : javascript:__doPostback() Marc ...more >>

Help: Cannot open or create any web applicatoin!
Posted by CM at 6/28/2003 8:10:11 AM
Hi there: I have a web project which can be open and run without problem. I didn't open the web application for a period and during which I didn't modified any IIS items, but now I cannot open any web project even cannot create a new one. The message for create a new web project is: -----------...more >>

Disabling LinkButton using JavaScript?
Posted by Jeelz at 6/28/2003 4:24:07 AM
Hi Guyz, Would appriciate any tip on disabling an ASP.NET LinkButton using client sided code like javascript. My Requirement is such that the user should be allowed to click on the link button only once (viz. he should not be allowed to submit the form twice). This stuff is easy when ...more >>

How can I execute a stored procedure in .net?
Posted by FireListen at 6/27/2003 9:33:04 PM
Hello all, Is there anyone who can tell me how to execute a stored procedure in .net. More detailed, I want to pass some parameters to the procedure and the procedure must return some value in the parameters and return a value indicating whether the procedure is successful. The problem is ho...more >>

is databinding in asp.net read-only?
Posted by neil m at 6/27/2003 8:17:48 PM
i have a dataAdpater and dataset, and can use databinding to set the value of a textbox to a field in the database. what about updating? what do i need to do? can asp.net/ado.net do it automagically? it seems to have the code built into the dataadapter to do the update... how do i get it to up...more >>

password vs. text
Posted by Matthew C at 6/27/2003 7:34:15 PM
Hello, I have a single line input box and when it is set to "password" the value in it dissapears during form submits, but persists when simply set to "text". How do I set and or persist the PASSWORD field? thanks for listening. M ...more >>

Compiling a ASP.NET project on the server with vbc.exe
Posted by Brian B. at 6/27/2003 7:27:30 PM
Hi, I have an ASP.NET project written in VB.NET on a server. I have made a few changes to some files using notepad while remotely connected to the server. How can I compile the project on the server (that doesn't have VS.NET installed on it) so that the changes take affect? I've tried play...more >>

how to limit user input into the multiline text box????
Posted by cw at 6/27/2003 6:40:06 PM
Hi all, Is anyone have an idea that limit message length input by user into textbox. I'hv tried the maxlength property by setting it to 150, but it seems like not working.., regards ...more >>

DataGrid problems
Posted by Ingeborg at 6/27/2003 6:26:08 PM
Hi. I have a DataGrid, and it works fine, but when I push the edit button for a common edit command, like this: private void institutionGrid_EditCommand(object source, System.Web.UI.WebControls.DataGridCommandEventArgs e) { anyGrid.EditItemIndex = e.Item.ItemIndex; anyGrid.Dat...more >>

file share
Posted by Fábio at 6/27/2003 6:13:45 PM
Whats the rules to create a ASP.NET project using file share?? i don't want to use server extensions!!! I'm inside a intranet and i have total access to the web server!!! what i need to do??? Thanks Fabio ...more >>

Checkbox List Control
Posted by nitc3 at 6/27/2003 5:37:16 PM
Is there any way to reset the Checkbox List control in one line syntax rather than looping through it? Thanks Nitc3 ...more >>

Dynamic Html Headers
Posted by Bora Turan at 6/27/2003 5:33:14 PM
Hi, how to dynamically supply value for the title element in HTML headers section.. thanks in advance ...more >>

How to display Message when Dataset is Null
Posted by Duppypog at 6/27/2003 4:56:31 PM
I have an asp.net page using a repeater control to display a dataset. When the dataset returned is null (no records matched the criteria) I want to display a message to the effect "No matching records found". I can't figure out how to do this. Any help is greatly appreciated, Lynnette ...more >>

IIS Remote programming problem
Posted by gilberto ramirez at 6/27/2003 4:30:52 PM
I want to create an ASP application in the following way: PC1 - Windows XP (SP1) with VS .NET (and everything needed) - im programming with C# .NET SRV1 - ISA SERVER - Windows 2000 (SP3) SRV2 - in a virtual server called xxAP.xxx.xxx.com it has: - Windows 2000 (SP3) - FPSE ver 2002 (cor...more >>

How can I prevent a button event firing on page refresh?
Posted by Stan at 6/27/2003 4:16:50 PM
If a page has a button with event handler private void btnAdd_Click(object sender, System.EventArgs e) { ....... } this event handler fires every time I refresh the page in the browser with F5 AFTER the button was clicked. So the pages loads the first time. clicking F5 does normal pos...more >>

Recupération d'une variable Session asp en asp.net ?
Posted by Christophe at 6/27/2003 3:57:30 PM
Comment puis je récuperer une session asp dans une page aspx ? sans passer par un Request Christophe ...more >>

DropDownList in an .ascx file problem.
Posted by Onur Bozkurt at 6/27/2003 3:16:00 PM
I have a dropdownlist in an .ascx file. When using the dropdown it is workin 3 or 4 times and suddenly it gives an error like "Control 'DropDown1_ddlUrunler' of type 'DropDownList' must be placed inside a form tag with runat=server." ...more >>

All validators stopped working
Posted by Marina at 6/27/2003 2:51:12 PM
Hi, A very weird thing has happened. Today, all the validators on all the pages and user controls on one of the servers stopped working. They seem to do the validation server side, instead of client side. Other servers are running the same code without a problem. I compared the HTML outpu...more >>

.net and dlls
Posted by ana at 6/27/2003 2:41:47 PM
Hi, I'm using .net and C# and from C# i'm calling a dll. The problem is that after the dll runs, it gets blocked and i can't update or delete the file unless i stop .net or reboot my computer. Does this mean that i need to put my dll in a com+ object? Is there an easier way to solve this ...more >>

dynamic object name
Posted by Trevor Hartman at 6/27/2003 1:44:49 PM
Hi, I need to refer to my objects dynamically. I have a 7 table cells (sunCell, monCell, tueCell....). I am looping through some data, checking its date and adding it to the correct cell. I want to be able to do something like: string day; foreach ... { day = getShortDay(someDateTi...more >>

Newbie question on Viewstate information
Posted by raagzcd NO[at]SPAM yahoo.com at 6/27/2003 1:43:18 PM
Hi All, I am new to ASP.NET . I have developed an sample application . My problem is that all webpages are very very slow.. and when i see the HTML source from the IE (view -> source) i see a lot of viewstate information .. i copied the whole viewstate information and pasted in text f...more >>

Can't find WebUIValidation.js
Posted by Kevin Blakeley at 6/27/2003 1:31:59 PM
We are experiencing the following error on our pages: Unable to find script library '/aspnet_client/system_web/1_0_3705_288/WebUIValidation.js'. Try placing this file manually, or reinstall by running 'aspnet_regiis -c'. When searching google I came across the solution that instructs you to ...more >>

TIFF Files
Posted by Ken at 6/27/2003 1:25:31 PM
Are there any good code examples to display TIFF images from a SQL Server 2000 database on a web page? I have been searching the web and various newsgroups and have come up with very little. Thanks, Ken ...more >>

Call a stored procedure with decimal parameter
Posted by Mona at 6/27/2003 1:14:59 PM
I have a stored procedure with a decimal parameter . how can send the decimal value? I try this but it gives an error , invalid cast specified. Dim p1 As SqlParameter = .Parameters.Add("@EstConstructionCost_10", System.Data.SqlDbType.Decimal, 9).Value = CDbl(txtEstConstructionCost.Text) ...more >>

Send Records Straight To DataTable
Posted by Beza at 6/27/2003 12:52:54 PM
I know how to use the Fill method of a SqlDataAdapter (into a DataSet) but it seems quite long winded, if I just want to get the results into a DataTable object. Is there a better way of doing this? ...more >>

RedirectFromLoginPage(username, true) no working
Posted by Gan at 6/27/2003 12:19:27 PM
Hi, I just wonder after calling the RedirectFromLoginPage function, my current page still stick to login.aspx fiile. Any clue?? Thanks ...more >>

Problemns to debug ASP.NET
Posted by marcelo at 6/27/2003 12:09:30 PM
When I try to debug my ASPX application, I receive this Error message: Error while trying to run project : Unable to start debugging on the web server. System Call failed Somebody knows what is, and how I resolve this?...more >>

sometimes clients get : viewstate invalid error , anyone knows why ?
Posted by Ersin Gençtürk at 6/27/2003 11:54:27 AM
Server : WEB System.Web.HttpUnhandledException: Exception of type System.Web.HttpUnhandledException was thrown. ---> System.Web.HttpException: The View State is invalid for this page and might be corrupted. at System.Web.UI.Page.LoadPageStateFromPersistenceMedium() at System.Web.UI.Page.LoadPag...more >>

Problem with sending email from asp.net page using smtp
Posted by bivin at 6/27/2003 11:52:53 AM
hai i am requesting your technical support. please help me. i have been working with this for five days. the problem is relating with the smtp. i am trying to send an email from the asp.net page. earlier it was showing send using not find error. this error was solved when set the smtp...more >>

RE: Newbie question
Posted by Sean M. Severson at 6/27/2003 11:39:20 AM
Hello group, I am trying to wrap my mind around ASP.NET development and how it relates to regular desktop application development. Please bear with me as I walk through my thinking. I can use Visual Studio .NET to create an ASP.NET web application similar to the way I create a desktop appl...more >>

Where can I get the dll referred to in this msdn article?
Posted by Michael Tholkes at 6/27/2003 11:23:40 AM
Hello, I cannot find where to download to code or dll referred to in this article: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/DBGch01.asp "Production Debugging for .NET Framework Applications" I'm looking for the DebuggingCOMLib library referenced in th...more >>

TextBox Controls losing their values
Posted by Philip Townsend at 6/27/2003 10:59:07 AM
I have a user control that contains a form with several text boxes. The text boxes get populated from a SQL Server table when the control loads. When the controls posts back, any values that have changed get passed to a stored procedure to update the table. The problem is that when the form is s...more >>

HRESULT 80131019 - trying to design a usercontrol
Posted by Scott at 6/27/2003 10:43:50 AM
I am trying to make changes to a user control using the designer view. I get error HRESULT 80131019 whenever I try to open the .ascx file. I have done some experimenting and found the following -- -- My user control is derived from a custom class. The custom class is derived from System.We...more >>

Full-text searches and ASP.NET
Posted by Antonio Maciel at 6/27/2003 9:34:30 AM
Hi. I have to implement a search mechanism for the site I am developing. The choosen option for the project was to use full-text searches in our sql server 2000 database. Does anyone have any special recomendations or articles on how to use full-text searches from asp.net? Thanks, Antoni...more >>

vbc compilation fails when using Hashtable
Posted by jon3825 NO[at]SPAM hotmail.com at 6/27/2003 9:13:28 AM
When I try to compile vb.net code using the command line interpreter, it does not recognize Hashtables. Any resolution to this? vbc Utilities.vb /t:library /imports:Microsoft.VisualBasic /r:System.dll,System.web.dll,System.xml.dll /Utilities.dll error BC30002: Type 'Hashtable' is not ...more >>

parent child dropdownlists acting oddly
Posted by Craig Buchanan at 6/27/2003 8:59:57 AM
I've got two dropdownlists on my webusercontrol. Choosing an item from the first DDL restricts the data displayed in the second DDL. Unfortunately, in the SelectedIndexChanged event of the first DDL, the SelectedIndex is -1. I'm not refreshing the contents of the first DDL on the postback. ...more >>

"Could not access 'CDO.Message' object." How to resolve in IIS server
Posted by Kamal at 6/27/2003 8:54:23 AM
I am trying to send mail through smtp. smtp service is running on my machine. But every time during the smtpmail.send(msg) call gives "Could not access 'CDO.Message' object." error. Could some one help me out to resolve this issue. Thanks in advance, Kamal...more >>

Checkbox in ListBox
Posted by Edmilson at 6/27/2003 8:50:33 AM
Hello All I have a Datalist where each "Item" contains a checkbox (among other things). I want the user to be able to click on one or more checkboxes, click the Send button, and have something done to the Items that had the check boxes selected. Seems like a common task. I was easily able to ...more >>

Nasty bug in documentation regarding globalization - wrong Culture Info name for Serbian (Cyrilic)
Posted by DejanVesic NO[at]SPAM sezampro.yu at 6/27/2003 8:39:49 AM
I found nasty "documentation" bug; ms-help://MS.VSCC/MS.MSDNVS/cpref/html/frlrfsystemglobalizationcultureinfoclasstopic.htm claims that proper culture info name for Serbian (Cyrillic) - Serbia is "Cy-sr-SP" but if you try this, you will get "Culture name Cy-sr-SP is not supported" exception....more >>

Function to evaluate whether a string is all UPPER
Posted by pbs NO[at]SPAM mailandnews.com at 6/27/2003 8:27:00 AM
I'm trying to clean up strings in a web form before I plug the fields into a database. Lots of folks like to leave caps lock key on and yell their form entries. I can figure out how to change strings to sentence case, but I don't want to do it to every string since some correctly entered word...more >>

Web enabled application development
Posted by JH at 6/27/2003 7:31:37 AM
I am trying to convert a GUI based windows application developed in C++ into the same web enabled application. My questions are: 1. .NET proveds VB and C# as default languages for web application in ASP. Am I right? 2. What are the general steps involved in porting all the work done ...more >>

Postback jumps to different page
Posted by John Knoop at 6/27/2003 7:02:27 AM
Hi Suppose this page is currently loaded: http://localhost/myapp/?page=news Default.aspx in the Myapp folder will then include /news/default.aspx. In the file /news/default.aspx there is a <asp:button> that triggers Sub_MyClick. But instead of reloading the same page (http://localhost/mya...more >>

Datagrid sorting
Posted by wangs NO[at]SPAM arts.endow.gov at 6/27/2003 6:59:33 AM
I have read most messages in regard with this topic, and have tried every measure suggested. I'm still haveing problem to get it to work. Basically, the page just reloaded as before when I clicked on the header link. Here is the code : ***********************************************************...more >>

Dynamically generated png images
Posted by Chris Jones at 6/27/2003 6:14:55 AM
I am creating a web page that dynamically generates an image, which is placed in an Image control. Everything works fine for .gif and .jpeg files. I would prefer using .png format, but that doesn't seem to work. Here's how it's setup. The Image control has URL property "image.aspx". T...more >>

Displaying Strings in a DataGrid Control
Posted by Duncan at 6/27/2003 1:48:52 AM
I'm trying to display a string in a datagrid control and can't workout how to do it. In VB6 i used a MSFlexGrid ctrl. flxProjNum.TextMatrix(1, 0) = "HELLO" It seems the the datagrid control is supposed to be bound to a datasource and display that. Is there a way to do what i did in VB...more >>

coding standards
Posted by shbgupta_2000 NO[at]SPAM india.com at 6/26/2003 10:51:27 PM
Dear sir, I want vb.net, asp.net coding pdf documents , where they are avaliable,please respond this mail...more >>

How are you supposed to make a half interesting page in Visual Studio? :-(
Posted by Simon Harvey at 6/26/2003 8:27:07 PM
Hi there everyone, I have a fairly open ended but simple question that I could really use some assistance with. When I first bought visual studio (under the student license) i thought it was great. Especially the design tool for ASP.net. It was like making websites as easily as VB or C# - Drag...more >>

how to make a group of dynamicaly radio buttons
Posted by Bisser Milanov at 6/26/2003 8:22:04 PM
I add radio buttons created dynamically in a datagrid on each row of the grid. When I see the generated HTML I see that in front of each name for a radio button is added: name="_ctl0:_ctl1:_ctl3: and this is unique for each radio button. So they are never in the same group. How can I put them in...more >>

freelance resources needed
Posted by Glenn Venzke at 6/26/2003 7:43:41 PM
Hi, I'm an ASP developer in Chicago who has been out of work for several months now. As a consequence, I'm trying out the freelance waters for the first time. Can anybody point me to a good online resource for freelance web development projects? Most of the major job boards don't have much to cro...more >>

Struts or Patterns in ASP.NET
Posted by PeteZ at 6/26/2003 6:37:29 PM
As an architectural question - does ASP.NET offer any "pattern" like = Struts to facilitate front-ends to Web Servers? As far as I can see, it's up to the developer to create the patterns = (eg. like MVC - Model View Controllers, Struts) from scratch=20 Have i missed something here ?...more >>

Controls
Posted by Viorel Ghilas at 6/26/2003 6:28:20 PM
Hi all I make a control and put it on the form. My control search on the page something and if it doesn't found must add one control on the form. I try myCotnrol.Page.Controls.Add(c) and I get error "A control cannot modify its parents' control collections.". How can I add a control to form fr...more >>

Deployment
Posted by T.B. at 6/26/2003 5:48:51 PM
What's the best way in ASP .Net to deploy an app from a development machine to a production machine? Also, do all files (.vbproj, etc) need to be copied, or just the .aspx and related files? Todd ...more >>

Error accessing page
Posted by T.B. at 6/26/2003 5:48:00 PM
I've got an ASP .Net project which I built on a development machine, but when I copy the files to another computer I get the following error: Parser Error Message: Could not load type 'ChainStore.Global'. Source Error: Line 1: <%@ Application Codebehind="Global.asax.vb" Inherits="...more >>

.NET Framework won't install
Posted by Someone Please Help! at 6/26/2003 5:23:03 PM
I had Visual Studio .NET installed on my system for a while and then decided I would install a second copy of Windows 2000 on my second drive and use it strictly for developing Visual Basic apps. I reformatted and reinstalled Windows 2000 on my first and my second drives. On the second dri...more >>

How do you access controls in the HeaderTemplate of a DataGrid
Posted by SamIAm at 6/26/2003 5:07:49 PM
Hi I have a DataGrid called dgTraders 1 of the columns is a template column and this column has a Dropdown box in its HeaderTemplate section. The Dropdown box is called selCities. How do I access this DropDown box at runtime? <asp:datagrid id="dgTraders" runat="server" BorderColor="#DEDFDE...more >>

error running my first web appication
Posted by Pa Ji at 6/26/2003 5:06:06 PM
I just created a simple web application and tried to run it. Getting following...any idea what I'm missing Thanks in advance ---------------------------------------------------------------------------- ---- Server Error in '/test2' Application. --------------------------------------------...more >>

ActiveReports.NET in ASP.NET
Posted by sramruttun at 6/26/2003 5:03:41 PM
hi guys Has anyone been using ActiveReports.NET to create reports in ASP.NET? I need to programmatically bind a dataset to a report - I've tried but nothing is being displayed; can someone help me ? ...more >>

Accessing Com- and LPT-Port with ASP.NET
Posted by Gerald at 6/26/2003 4:19:27 PM
hello, i am developing an intranet-portal and i have to communicate with the client's hardware (com- and lpt- ports). is it possible with asp.net or any other method to do that?...more >>

Cant run ASP.NET Quickstart tutorial
Posted by t322y at 6/26/2003 4:18:39 PM
Hi All I installed Microsoft.Net Framework Version:1.0.3705.209 (included ASP.NET Version:1.0.3705.0) in my Win 2000 SP3 3 weeks ago. It worked well all until i installed a free softwore GoMono. I can't run asp.net quickstart tutorial. it kept asking some file like Microsoft.VisualBasic.DLL and ...more >>

xp professional running asp.net
Posted by jeff at 6/26/2003 4:05:28 PM
Hi I installed the .net framework in my xp professional workstation, but I can't run the aspx page from the iis server. Everytime I request the aspx page, the file download dialog always pops up. It looks like iis server in my workstation can't recongize this type of file. Anyone coul...more >>

Use Design Mode with User Control?
Posted by Steve - DND at 6/26/2003 3:49:10 PM
I have created a user control using the HTML view, and I now want to switch to Design mode so that it will automatically enter the controls used on the page in the code-behind, but the option to switch over is not available. Also, whenever I load up my controls, I get the message: "The file fa...more >>

Long Operations User Notifications
Posted by szabelin at 6/26/2003 3:35:10 PM
Hello, When submitted, the server will run a number of tasks over a period of several minutes. How do I keep users updated? I would like to send response to the user as the tasks progress. Thank you....more >>

CSS & ASP.NET Textbox Control
Posted by Beza at 6/26/2003 3:30:47 PM
Can you change the "Enabled" property of a Textbox control with CSS? Also, is there a property that allows you to change the appearance of a textbox so that it isn't "sunken" i.e. it's "flat"? If there is, is there CSS for it? ...more >>

Invalid attempt to read when no data is present.
Posted by Helixpoint at 6/26/2003 3:25:30 PM
Dim dr1 As SqlDataReader = MachCodeListID.GetSingleMachCode(thecodesID) ' Read first row from database dr1.Read() If IsDBNull(dr1("CATNUM")) Then '**************** This is where I am getting the error?????? thecatnum = 0 Else thecatnum = dr1("CATNUM") End If -- _______...more >>

Cannot debug a project
Posted by SM at 6/26/2003 2:33:56 PM
Have a solution which contains two projects. One is a MT/class project and another is a C# ASP.net project. The ASP.net project has a project reference set to the class project. I compile the projects in debug mode and run the ASP.net application but I cannot hit any break point. There are .pd...more >>

Upload file and read contents from the stream?
Posted by Chris Holliday at 6/26/2003 2:26:54 PM
I would like to provide an interface for users to upload a csv (or other text file). I would like to read the contents of the CSV while it is uploading (from the stream). Is this possible? It is no trouble to read it once it is saved, but I was thinking I could possibly save a step. Thanks, ...more >>

Page Post Back -- how to retain selecteditem.value of TWO dropdowns???
Posted by KathyBurke40 NO[at]SPAM attbi.com at 6/26/2003 1:55:28 PM
Hi, On Page Load (if not postback), the user selects a choice from dropdownlist1. On SelectedItemChanged for dropdownlist1, dropdownlist2 is populated and the user selects an item. I cannot find a combination where I can RETAIN both values during postback...if I put if not posback on the...more >>

How to connect strings in HTML?
Posted by Liu Xuesong at 6/26/2003 1:21:48 PM
<asp:HyperLink ID=3D"DeleteLink" = NavigateUrl=3D"ChapterManger.aspx?CourseID=3D" + '<%# = DataBinder.Eval(Container, "DataItem.course_id") %>' = Runat=3Dserver>Delete</asp:HyperLink> I want to connect the strings with blue, but failed, How to do?...more >>

<HTML> ÖÐ ÈçºÎÁ¬½Ó×Ö·û´®ºÍ±äÁ¿£¿
Posted by Liu Xuesong at 6/26/2003 1:17:16 PM
<asp:HyperLink ID=3D"DeleteLink" NavigateUrl=3D'<%# = DataBinder.Eval(Container, "DataItem.course_id") %>' = Runat=3Dserver>Delete</asp:HyperLink> =D2=D4=C9=CF=D5=E2=CC=F5=D3=EF=BE=E4=B5=C4 NavigateUrl = =D6=BB=C4=DC=CF=D6=CA=B5=CB=F9=B0=F3=B6=A8=B5=C4 course_id = =D7=D6=B6=CE=B5=C4=D6=B5=A1=...more >>

datagrid and border-collapse:collapse style
Posted by Vaclav Jedlicka at 6/26/2003 12:47:12 PM
Hi I need a datagrid on a page, but it is rendered with the style "border-collapse:collapse;". I do not need this style. It interferes with the settings in my CSS file. I tried to supress it with this code (1 line of code): DataGrid1.ControlStyle.Reset(); which works. Unfortunately I ne...more >>

Getting some code to run before any HTTP requests
Posted by Mark Friedman at 6/26/2003 12:38:19 PM
Does anyone know if there is a way to get some code in an ASP.NET application to run even before any HTTP requests come in for that application? I have some timer based code that I would like to run on application start/load. I initially stuck it in my Application_Start event but that doesn't ...more >>

microsoft.public.dotnet.framework.aspnet
Posted by nitc3 at 6/26/2003 12:22:22 PM
How to access script tag attributes in asp.net from code behind? Thanks in advance Nitc ...more >>

browser stop
Posted by I. Adler at 6/26/2003 12:15:15 PM
hi when the user is pressing the stop button in the browser toolbar my aspnet code on the server ist still runnig! how can i stop this code on the webserver? the stop button doesnt fire any events so i cant stop my code! thx, iwan ...more >>

Table Schema Editor
Posted by sunil at 6/26/2003 11:55:20 AM
Friends are there any tools/controls in asp.net which can help design create a table in a database. thanks!!! ...more >>

Microsoft Access with ASP.net
Posted by Me at 6/26/2003 11:47:44 AM
Is it possible to use ASP.net with Microsoft Access. From what I can find ASP.net only works with SQL server. That's kind of step backward from being able to access any data source....more >>

Handling Events in Nested Controls
Posted by nilesh_s_p NO[at]SPAM hotmail.com at 6/26/2003 11:45:31 AM
Hi, I have nested User Controls like below. User_Control_1 User_Control_11 User_Control_12(contains method DisplayMessage) User_Control_2(contains event onButtonClick ) User_Control_1 and User_Control_2 are loaded in the PAGE_LOAD of a Layout.aspx. Th...more >>

dropdown lists - query parameter error
Posted by KathyBurke40 NO[at]SPAM attbi.com at 6/26/2003 11:33:51 AM
Hi, I'm using the following for 2 dropdown boxes in asp.net. The first is the basis for the contents of the second. First works fine, then on its selectedindexchanged event I get "No value given for one or more required parameters" error. I've had it worked ok before using datasets, but can...more >>

Setting textbox width from server side
Posted by Harry at 6/26/2003 11:26:21 AM
Hi I'm trying to set the width of a textbox from the server side. I've tried dim tb as new Textbox() tb.width = "80" but this gives me an error saying that the "value of string cannot be converted to 'System.Web.UI.WebControls.Unit'" How would I set the width? I've also tried tb.wid...more >>

Ignore exception in Application_Error event but maintain state
Posted by twahl at 6/26/2003 11:13:37 AM
Hi, I would like to ignore a certain exceptions in Application_Error event in Global.asax.cs file and still have the page's state be maintained. If I simply issue: Server.ClearError() I end up with a blank page. If I issue: Server.ClearError(); Response.Redirect(Request.UrlReferrer...more >>

string
Posted by tangolp NO[at]SPAM yahoo.com at 6/26/2003 10:32:55 AM
I have a string like "abc hello world abc ri3eroefjdfjdfjdkffkfdjf". If I want to use Regular Expression to split/extract whatever is between abc, how I can do this? Please help! Thanks....more >>

ASCX - Function Not Being Called
Posted by George Durzi at 6/26/2003 10:16:39 AM
I created a simple user control which contains a hyperlink to link the user to a topic in a compiled help file. I named all my help topics to have the same name as the aspx they are for. So in the user control help.ascx's html, I have this: <a href='<%# GenerateHelpLink()%>' class="mischrefcon...more >>

Session end event fires but it is not executing code
Posted by Sampriti at 6/26/2003 10:16:34 AM
I am trying to delete a file from a disk when the user's session ends. So I am putting my file.delete code in Session_End event. I ran the application in the debug mode. When the session timesout session event is firing but it is not executing any of my delete code. Can somebody tell me wh...more >>

(Object source, EventArgs e)
Posted by Trevor Hartman at 6/26/2003 10:04:59 AM
Hi, You know the parameters i'm talking about? void whatever (Object source, EvenArgs e)? how do you go about using those parameters? I need to get the ID of the source object (this is the event handling function for that object). How do i do this? thanks -trevor ...more >>

Code Snipit for saving to CSV
Posted by stmthoma NO[at]SPAM gapac.com at 6/26/2003 9:43:24 AM
Can some one help me find a code snipit for saving the contents of a data set to a comma seperated file? I have created a web service in asp.net that will read the data from a AS/400 DB2 database via a OleDB connection. Then I create the dataset, Now what do I do Here is the function now --...more >>

Panel with horizontal scrollbar
Posted by Marco Liedekerken at 6/26/2003 8:56:23 AM
Hi, I want a Horizontal scrollbar to appear in my Panel control when I add new controls to it (when the width is getting too big). The Vertical scrollbar is easy (adding overflow: auto to the style attribute of the panel element). Now when I dynamicly add controls to the Panel control the con...more >>

Crystal Reports .NET Is Utterly Shite
Posted by markalroberts NO[at]SPAM hotmail.com at 6/26/2003 8:45:36 AM
I have enjoyed using .NET, and C# very much and XCOPY deployment is a dream. Until I started to use Crystal Reports. It's crap beyond anything that DLL hell ever managed to product. It's buggy, slow, clunky, badly designed (push or pull model anyone???). But that's not the worst. It a basta...more >>

ASP.Net and FrontPage mixed
Posted by joe at 6/26/2003 8:31:17 AM
Not sure if this is the best place to ask this or not but I am wondering if it is possible to run a "mixed" website. That is, use pages which leverage ASP.net where appropriate and pages which leverage FrontPage Server extentions (I use FP 2000) on the same web site. Is it possible? Any tr...more >>

Help with Crystal Reports?
Posted by Charles at 6/26/2003 8:03:56 AM
Hello, Questions 1. Can I use stored procedures with Crystal in VS ASP VB 2003 and if so how? 2. Is there a good how to white paper for VB the Crystal people have their examples in C#. Thanks Charles ...more >>

ASP.NET Data Source - Clients/Web Server
Posted by trevor oakley at 6/26/2003 6:44:34 AM
I have solved an earlier problem which I posted here, about coding Data Source in OleDbConnection - I am new to ASP.Net. I do not understand the solution, I just blindly followed the book (Teach Yourself ASP.NET in 21 Days), and guessed, and it worked. When OleDbConnection is used to connect t...more >>

how to fire events of dropdownlist in datagrid
Posted by balajichemba18 NO[at]SPAM yahoo.co.in at 6/26/2003 5:38:34 AM
Hi guys, This is a subtle one. I'm looking for someone who can give me some insight relative to eventsfiring in the codebehind. I have created the dropdownlist dyanamically in the datagrid using the <Item template> tag.but now by requirement is, on change the value in the dropdownlist,i ...more >>

Save a zip file locally?
Posted by Michael Rogers at 6/26/2003 4:50:37 AM
I dunno how save a file locally! How can I copy a file (http://foo.com/foo.zip) to my local server (http://mydomain.com/temp/foo.zip)? I saw a sample in MS Quick Start but I can't manipulate it to work with for example zip files. WebRequest req = WebRequest.Create(txbFile.Text); tr...more >>

codebehind form submit?
Posted by Scott at 6/26/2003 4:50:35 AM
How can I tell a form to submit itself in the code-behind in vs.net? In other words, in javascript I can do blah.submit() - how do I do this in vs.net code-behind?...more >>

Form behavior in ASP.net
Posted by Scott at 6/26/2003 4:38:46 AM
I am using code behind in visual studio to build all of my new web forms. I am attempting to build a page that will allow a user to enter a computer name in a text field, then click a submit button. When the form is submitted, I am performing a series of checks on the computer that can t...more >>

There is already an open DataReader associated with this Connection
Posted by jbrown_gtfc NO[at]SPAM hotmail.com at 6/26/2003 2:25:57 AM
I have an ASP .NET application. [VS 2002, .NET Framework 1.0 SP2] In the application, if I execute a long running query (which may time out or something I guess) from one browser window, and in another instance of the same web application in another browser window, execute a very quick query,...more >>

Embedding webforms controls in asp.net page?
Posted by jsparrow NO[at]SPAM ecclescollege.ac.uk at 6/26/2003 1:23:59 AM
Is it possible to embed (rich) webform controls in an asp.net page? assuming the workstation has IE and the Framework installed of course. Like Java applets? Thanks, John...more >>

SMTP Error
Posted by Latha Rajeev at 6/26/2003 1:13:18 AM
Hi, I have an application which sends out mails(using CDO), the SMTP Server being a machine which is one the same network. Most times, the mails are sent out successfully but every once in a while, the app reports the following error: "The message could not be sent to the SMTP server. The ...more >>

Variable JIT of ASPX files?
Posted by Glen at 6/26/2003 12:22:36 AM
As I understand it, when the first page of an application is accessed, all ASPX/ASCX/etc. files in the same folder are compiled using the JIT compiler. Is there a way to turn this feature off? As a developer, I am sometimes working on a single file that is in a folder with many (dozens or hu...more >>

Calendar control released?
Posted by viswa at 6/25/2003 11:17:36 PM
Hi, Any new calendar control like datepicker in VB relased or freely available for download. I am looking for the calendar control in which the year can easily changable (by typing or choosing it from dropdownlist). If anybody is having that type of control or site in which the code or c...more >>

Have a problem with using cursors in SQL server enterprise manager
Posted by TaeHo Yoo at 6/25/2003 10:58:18 PM
Have a problem with using cursors in SQL server enterprise manager. My code sql query is followed --------------------------------------- DECLARE @element_name varchar(100) DECLARE elements_cursor CURSOR FOR SELECT element_name FROM KB_Element_Ref OPEN elements_cursor FETCH N...more >>

Implement a Print button on ASP.NET webpage.
Posted by Jurjen de Groot at 6/25/2003 10:48:20 PM
I would like to implement a button which will, upon click, print the current webpage. I have no idea where to begin, I think I need some sort of client scripting but I suppose there's a simple solution for this... Kind regards, Jurjen de Groot Netherlands. ...more >>

Make button "default"
Posted by Paul Turley at 6/25/2003 10:08:00 PM
Does anyone have some sample script to "press" a button or image button when the user presses the Enter key? I see this behavior on a lot of web pages but I'm not finding any samples. Thx -- Paul Turley, MCSD, MCAD, MCT, MSF Practitioner, A+ Technician paul@createsolutions.net ...more >>

WINHTTP5.DLL
Posted by Dan Tanzer at 6/25/2003 9:43:06 PM
I wanted to convert some code from asp to asp.net. In my asp page i used the WINHTTP5.DLL to get pages from other sites and save them to disk. Does anyone know how to do this ASP.NET? Thanks Dan ...more >>

Back button on the browser problem
Posted by shimonsim NO[at]SPAM talamus.com at 6/25/2003 9:25:58 PM
Hi In my application I have a wizard and I have to make sure that user can't come back to previous page of the wizard. The problem is that is user clicks on "Back" button of the brouser he returns to previous page. How can I restrict this behavior - let's say showing him - "This page expired" or...more >>

How to access script tag attributes in asp.net from code behind?
Posted by nitc3 NO[at]SPAM hotmail.com at 6/25/2003 7:16:33 PM
How to access script tag attributes in asp.net from code behind? Thanks in advance Nitc...more >>

Manually get the text that a certain control posted when in IsPostBack mode...
Posted by Nathan Baulch at 6/25/2003 6:44:21 PM
I have a page with EnableViewState="false". That page contains a DropDownList with dynamic items and a submit Button. I need to get the SelectedIndex of the DropDownList on postback however all I ever get is -1. This makes sense since on postback, the DropDownList is now empty (ViewState data ...more >>

IbuySpy Store Setup
Posted by Machi at 6/25/2003 5:55:07 PM
i have downloaded the IbuySpy development kit (NOT VS.NET VERSION) from www.asp.net and try to set up the web portal. i have succesfully setting up the web portal in 2 PCs (one is Win 2K Professional and another is Windows XP Professional) ... but yesterday, when i tried to set up the port...more >>

Writing ASP.NET on IIS6 and publishing to IIS5
Posted by Brian Henry at 6/25/2003 4:16:17 PM
Is there any problems with writing on IIS6 with ASP.NET and publishing onto IIS5 on W2K with ASP.NET? (like xp pro to 2k server) any compatability problems? ...more >>

RegularExpressionValidator - check for empty field
Posted by Oleg Ogurok at 6/25/2003 4:00:49 PM
Hi all, I want to use RegularExpressionValidator to enforce non-empty integer format in a TextBox. However, the validator doesn't give the error when the textbox is empty. For example, if ValidationExpression is \d+ or even \d{1,}, the validator still allows empty field. Must I use an addition...more >>

Problem in new way of doing??
Posted by shahzad at 6/25/2003 3:43:33 PM
Hi, As you all know that in classic ASP we when take the user inputs in a form then when user click submit the form the page moves to the page specified in action attribute of the form . Now in Asp.Net how can we do this as the form always posts back to itself .i want to move it to new page wit...more >>

Calling ASPX pages from ASP page
Posted by Lakshmi at 6/25/2003 3:42:58 PM
Hello, I have an asp page which needs to call an aspx page? How do I go about doing that? And also the codebehind for ASPX page (aspx.cs), do I have to make any changes to how that is called from aspx? Thanks. Lakshmi ...more >>

Hot to execute an visual basic script from a webform
Posted by bridor at 6/25/2003 3:33:02 PM
hi, is it posible to call a .vbs from a webform? ...more >>

Prompt for Save in ASP.Net Web forms
Posted by SIVAKUMAR at 6/25/2003 3:28:44 PM
hi All, I had a requirement like, the web form should prompt for save when the user enters/modifies some data on the form and trying to go to other form by means of some Navigation.Then the web form should popup a message box asking to save.plz tell me how could i handle it. Plz do help ...more >>

datagrid: rendered with 'rules="all"' causes trouble in Netscape 7.02
Posted by Bernt Fischer at 6/25/2003 3:27:14 PM
Hello I want to render a datagrid with transparent borders (cellspacing = 1) so the underlying background shines through. Unfortunately, ASPNET renders the <table> tag with a 'rules="all" attribute, causing Netscape 7.02 to draw black borders in spite of the border=0 setting: <table...more >>

HttpContext is Nothing in new Thread inside a control
Posted by Claudio Biagioli at 6/25/2003 3:18:43 PM
I start a parallel thread inside a control with the following code: Private Sub StartParallelProc(ByVal Command As SqlClient.SqlCommand) Dim T As New Threading.Thread(AddressOf ParallelProc) Command.Parameters("MyID").Value =3D Guid.NewGuid.ToString System.Web.HttpContext.Current.Session...more >>

HttpModule for ASP and ASP.NET URL filtering
Posted by Jon Sequeira at 6/25/2003 2:46:25 PM
I'm interested in writing an HttpModule to clean up URLs for a site that's in a transitional phase from ASP to ASP.NET. Basically, I'd like to hide some very messy querystrings (which are Google-proof-- they use GUIDs as query parameters) and use more memorable names in the URLs. I'd like this...more >>

*very* strange date issue
Posted by Tariq Ahmad at 6/25/2003 2:41:35 PM
hi, i am having big issues in deploying my asp.net web application to our web server. dates do not behave the same as on my development machine yet the web.config files are the same and both have the same regional settings. for example Date.Today on the server returns 25/00/2003 !?!?!?...more >>

Export to a Datagrid, YET AGAIN!
Posted by Kevin Blakeley at 6/25/2003 1:47:22 PM
I know this was just posted but I did not want this message to get lost in the other thread as it's slightly different. Yes I want to export my dataset to excel for my clients, but I don't want it to show in the browser. Everything I have tried makes it so that IE will load excel within the b...more >>

ComboBox
Posted by Tamir Berger at 6/25/2003 1:45:44 PM
Hi, I have an ASP.NET form that includes several combo Boxes. The first Combo is loaded with items on Page_load. The second depends on the item selected on the first, the third on the second and so on. I don't want to transfer all the data needed with the form and also want to avoid page r...more >>

HTML Compiled Help within ASPX Application
Posted by George Durzi at 6/25/2003 1:39:46 PM
I'm about to embark on building a compiled help (.chm) application for my aspx web application. I wanted to know if anyone who has done this would have any advice/tips to offer. For example, I read that the compiled help file has to be downloaded to a user's machine.. That seems kinda iffy to ...more >>

Funny Behaviour -- Probably Easily Answered
Posted by Ron at 6/25/2003 1:36:44 PM
I am trying to gather data from various textboxes in a webform. Upon loading, the form populates itself with values from a database. When the Update button is pressed, the new values are loaded into an array and passed to the data object. The strange part is that when I pull the newly edited v...more >>

ASP_SMARTNAV_RDIR Error
Posted by harin_sandhoo NO[at]SPAM yahoo.com at 6/25/2003 1:29:17 PM
The error is that the text <ASP_SMARTNAV_RDIR url=...> is being displayed instead of a redirect taking place. I ran the same app. on 3 different PCs, and only the ones running IE 6.X got this error. The one running 5.X redirected as expected. Just an observation....more >>

multiple files upload
Posted by andrei at 6/25/2003 12:53:52 PM
Hi Group, In my program, the user has to be able to add one or more documents (as files) for one product from the database. The number of files to be uploaded can vary from 1 to maybe 30-40 and each one will receive a number in a sort order, I understand that there is no way to let the user ...more >>

Offline Quick Starts
Posted by A.M at 6/25/2003 12:44:50 PM
Hi, I uderstand any Quick Start samples in .NET documentation or VS.NET documentation or in any other community/portal websites, is a link to http://samples.gotdotnet.com/quickstart/. That means if i don't have internet access, i can't have QuickStarts. I am addicted to QuickStarts and i have...more >>

Server.Transfer does not work?
Posted by Tom at 6/25/2003 11:49:09 AM
Hi I am trying to transfer to a different .ASPX page using Server.Transfer. However, I get the following error: "Error executing child request for [pagename].aspx." Anyone know why? Thanks for help. ...more >>

DotNet Architecture Question???
Posted by Ryan Fiorini at 6/25/2003 11:07:47 AM
1. Every page of my site is going to have a menu at the top. 2. The menu is driven by XML stored in SQL. 3. Many of the pages in the body (in addition to the menu) will also need this XML 4. I don't want to have to hit SQL twice to retrieve the XML (Once for the Menu and twice for the rest ...more >>

how to avoid authentication
Posted by Konrad at 6/25/2003 10:41:13 AM
Hi All users should authenticate to reach some page. How to avoid this for some users. Thanks Konrad ...more >>

Newbie question: Can anyone explain to me how the As New works?
Posted by renata at 6/25/2003 9:46:12 AM
Cheers ...more >>

Forms or Controls
Posted by sunil at 6/25/2003 9:44:11 AM
We have 15 forms each with 20 fields. which approach will be provide more flexibility in programming specially with event handling . Making them as HTML forms or making as User Control. Are there any pros and cons. Thanks!!!! ...more >>

Frameset
Posted by Helixpoint at 6/25/2003 9:37:11 AM
How do you do a frameset in an aspx page? -- ______________________ David Fetrow HelixPoint LLC. http://www.helixpoint.com davef@helixpoint.com Interested in Affordable Email Marketing? Check out the HelixMailer at http://www.helixpoint.com/helixmailer.asp If you are interested in be...more >>

GDI+ Resizing image problem
Posted by James A Taber at 6/25/2003 9:09:22 AM
Problem resizing image.(JPG) If i try to resize an img with horisontal=150 and vertical resolution=150 The quality of the target image is dramatically reduced. Source code is provided below. How can i solve this? What am i doing wrong? Thanx in advance -James A Taber Public Sub Resize...more >>

Problems with session variables
Posted by Rob at 6/25/2003 9:01:32 AM
I'm trying to use session variables to store datasets when moving from page to page (and returning). The datasets are small (I know some may comment on performance issues). It seems simple to use. I can pass a dataset to the second page (once I get one additional page working, the rest will be s...more >>

Reporting in ASP.NET with VB
Posted by Charles at 6/25/2003 8:53:33 AM
Hello, I need to ad some reports (Invoicing,AR Aging) to my VB ASP.NET project. And would like to use stored procedures for the data calls. Any suggestions? Charles ...more >>

Save or Open
Posted by John at 6/25/2003 8:13:04 AM
Hi, I generate a report in a comma delimited file and give it a name like MyReport.csv . I then set a Hyperlink control to point tp the file HyperLink1.text = "Download" Hyperlink1.NavigateUrl = "MyReport.csv" When the user clicks the HyperLink I would always like to see the dialo...more >>

Launch aplication
Posted by Augusto at 6/25/2003 7:34:48 AM
Can I lauch a program with ASP.NET? IF yes, How I could do? Thanks...more >>

dynamic controls not updated
Posted by kellytlim NO[at]SPAM hotmail.com at 6/25/2003 7:16:21 AM
Hi Everyone I have a web application and all it basically does is ask for a user id and show a questionnaire. To create the questionnaire, I get the list of questions from the database and dynamically add controls (i.e,. labels, radiobuttons, textboxes) for each question. If the user has vis...more >>

Problem encoding/decoding image
Posted by Slade at 6/25/2003 7:03:57 AM
Hi, I'm trying to use POST an image to a web page with WebRequest/WebResponse. Only problem is that I must be making an error somewhere in the encoding/decoding process. I've pasted below a bit of sample code that basically shows how I am encoding and then decoding the binary image. Many th...more >>

HTML changing format
Posted by Tobe at 6/25/2003 6:58:57 AM
In the 2003 Visual Studio.NET, when switching between the HTML tab and the Design tab, the HTML changes format into something less readable. I have turned off the automatic formatting for HTML in Tools/Options', but it keeps changing the format that I give it. How can I keep it from ch...more >>

Language and Direction real GURU needed! (Hebrew and maybe arabic) CR or Charset issue?
Posted by EfraimT NO[at]SPAM moch.gov.il at 6/25/2003 6:53:25 AM
Hello all! I wonder if the following subject is a Crystal issue or what? When ever I have a field that includes hebrew(-RTL language) and numbers all the spaces beetwen the words and the numbers are moved to end of field. in the html source it puts "&nbsp" not in right place, the trues is that...more >>

how to find out if control exist
Posted by anteperkovic NO[at]SPAM vip.hr at 6/25/2003 3:47:59 AM
Hi, How to find out if some control exist on the page? Thanks, Ante...more >>

autocomplete
Posted by Mike P at 6/25/2003 2:18:15 AM
In ASP I used to be able to prevent Windows autocompleting text boxes by setting autocomplete="off" on the text box. How do I do this in ASP.NET? Any assistance would be much appreciated. Cheers, Mike *** Sent via Developersdex http://www.developersdex.com *** Don't just part...more >>

creating on-the-fly asp:table in the code file
Posted by Murtix Van Basten at 6/25/2003 2:01:32 AM
Hi, I dont know it is doable, but I wanna ask it anyway. I am pulling 5 different data from a datatable row by row. So each row has 5 fields and row count is variable not a constant. So, each row's fields will be shown in a table in a different design. That means, I cannot use DataG...more >>

App restarts, session disappears...
Posted by Domien Holthof at 6/25/2003 1:42:07 AM
Hi, I'm using a custom-made base class for all pages of a site. However, when I make changes to that class and replace the dll on the (web)server, the application often restarts when a page is requested. When I request the page a second time it usually goes well. This is quite a burden,...more >>

Could not access 'CDO.Message' object
Posted by Nathan Alden at 6/25/2003 12:28:06 AM
I've already searched Google. I've already asked people in IRC. I have still not found a solution that works for me for this extremely discouraging apparent bug in the SmtpMail class. MailMessage message = new MailMessage(); // set params here SmtpMail.SmtpServer = "mail.myispmailserver.com";...more >>

saving pdf file to sql server
Posted by andy_ro at 6/24/2003 11:31:57 PM
Hi group, I have an web application where the user can upload a pdf file. This file is stored in a table, in a column of type ntext. The user can later request the content of this column, and the application should open a new page and load the pdf content. My problem: If I read the uploade...more >>

ViewState Problem with CheckBoxes in a DataGrid
Posted by kannadasan at 6/24/2003 11:10:40 PM
Hi all I am using Datagrid where i place checkboxes in one column with some other columns.The purpose is, if i select the checkboxes and clicks the submit buton Email has to go to the selected Categories. The problem here is after clicking submit button i found the checkboxes are not un...more >>

Positioning Dynamically added controls
Posted by Harry at 6/24/2003 10:43:31 PM
Hi I am adding a textbox control at runtime that allows a user to enter a date. I also want to add a calendar icon beside the textbox so that the user can click on the calendar icon and have it populate the textbox if they choose. (We all have seen this in sites such as expedia or something li...more >>

Dialog postback problem
Posted by majid at 6/24/2003 10:20:45 PM
Hi I have a webform that can show a dialog using javascript . Content of this dialog is an aspx page with a submit button .My problem is when i click the button , postback page apeares in new window while i want it apeares in the dialog?...more >>

Getting custom properties on a user control
Posted by Boban Dragojlovic at 6/24/2003 9:34:28 PM
I created a user web control, and here is the line in my ASPX that consumes that control. <joe:RunningSummary CurrentStep=2 id=myRunningSummary runat=server /> The "CurrentStep=2" is supposed to be a "custom property" and I would invoke this user control with different values on various ...more >>

Enforcing single users
Posted by David Johnson at 6/24/2003 7:39:59 PM
I am using Forms Authentication. What is best practice of enforcing = each user to only be permitted to run a single instance of the = application. I would like to enforce this even if the authenticated = user attempts to connect on a different computer. Thanks for any advice. Regards Da...more >>

Compilier will not recognize DataSet object.
Posted by Dave at 6/24/2003 7:33:50 PM
Compilier will not recognize DataSet object. As you can see below is from a test simple form with no other code. I'm just trying to get any Aspx form to recognize the DataSet object. You can see from the code I am importing System.Data.SqlClient. I can get to DataReader, DataView and D...more >>

AspNet Process Memory Issue on Win2k Server - Peformance is fine - Memory usuage doesn't stop growing
Posted by Cy Huckaba at 6/24/2003 6:24:55 PM
We are running our company website on a win2k server running .NET framework 1.0 and IIS 5. The pages consist of mostly static content built from a combination of custom controls (dll is only 148k total), user controls and straight html content. I am very strict about only using server-side contro...more >>

Dynamic Validation Controls in Netscape
Posted by Mike George at 6/24/2003 6:22:01 PM
I am having a problem with dynamic validation controls. I have some code that uses an XSLT to transform an XMLDocument into HTML which creates ASP.NET validation controls dynamically (v 1.1). The controls are being successfully created, because validation works correctly in IE. However,...more >>

Caching Design Issue
Posted by RMD at 6/24/2003 5:25:16 PM
I am creating a portal that uses UserControls as each "portlet". Each of these UserControls is autonomous in the sense that whether or not they are loaded is determined completely at runtime, and they are independent mini-applications. So far, so good. Each of these UserControls has a title ba...more >>

Dynamically Show/Hide Groups of TR's
Posted by Jerad Rose at 6/24/2003 4:48:56 PM
I searched for a while trying to find the answer to this, but to no avail. I am trying to find the best way (or any way) to dynamically show and hide groups of TR's. For example, I have a section of about 6 table rows that all need to be hidden if a certain condition is met. But I don't want ...more >>

Help: Cant debug ASP.NET code
Posted by VB Programmer at 6/24/2003 4:12:21 PM
I set a breakpoint in my ASP.NET code (Page_Load). But, when I run the application it never stops at the breakpoint. Any ideas? Thanks, Robert ...more >>

Regex help
Posted by tangolp NO[at]SPAM yahoo.com at 6/24/2003 3:41:44 PM
I'd like to replace any html tags containing "< >" with a space. For example, <TR VALIGN=TOP>,