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 > july 2003 > threads for tuesday july 22

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

CollectionClass
Posted by Rob at 7/22/2003 11:42:18 PM
Hi, Is there a way to access the session state or application state of a running asp.net side from another program running on the server? Are papers etc. available on this? All help and hints are appreciated!! Thanks Rob...more >>


TextChanged Event doesn't fire WITH AutoPostBack = True???
Posted by KathyBurke40 NO[at]SPAM attbi.com at 7/22/2003 10:49:32 PM
Hi, clearly I'm just not getting something here. I have an aspx form with ONE textbox and several label controls on it. I have the textbox set to AutoPostBack = True, but when I enter my text and hit ENTER, nothing fires. Oddly enough, this is similar to the button problem I've just posted ...more >>

how to implement copy function in asp.net
Posted by TaeHo Yoo at 7/22/2003 10:37:51 PM
I am trying to copy a string in a text box into clipboard and what I did was Imports System.Windows.Forms and Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Clipboard.SetDataObject(TextBox1.Text, True) End Sub ...more >>

web server not running asp.net 1.1 error
Posted by Bill Bolte at 7/22/2003 10:30:56 PM
i've run the command line installer and am still getting the error. i'm on win2k - sp4. vs.net 2003 installed. what do i need to try next? ...more >>

Find IP Address
Posted by Gopi at 7/22/2003 9:16:59 PM
I have a Web Site wherein i provide links to different websites(Partnet Sites).Now when a user clicks this link , on the partnets site i need to get the IP Address of the machine in which the Site is hosted....more >>

Regular Expression....?
Posted by Rajeev Soni at 7/22/2003 8:01:40 PM
Hi I am looking for the regular expression for validating the allowed file = types to upload like files like "zip,pdf,doc,rtf,gif,jpg,png,txt"; and = the expression should not be case sensitive like it must match ZIP | zip = | zIp..... regards rajeev...more >>

How to repopulate a dropdown list without posting back?
Posted by TaeHo Yoo at 7/22/2003 7:20:15 PM
I have two dropdown list(ie State and Region) that are populated with data from database. I want to repopulate the second dropdown list(Region) according to what state user has selected without posting back to the server. How do I implement this? Thanks a lot in advance. *** Sent v...more >>

I suck. Very basic question.
Posted by BethInAK at 7/22/2003 6:24:06 PM
Thank you in advance for any possible help you have to offer, before I pull my hair out! I am incredibly frustrated attempting to learn asp.net. Its really pissing me off. Please help. First, please tell me the best asp .net book to purchase for a stupid beginner, preferably with vb in...more >>



localizing web form without setting values programmatically
Posted by Philipp Sumi at 7/22/2003 6:09:29 PM
Hello I have to start an Asp.net project that involves i18n, so I was doing some reading on the subject. I'm not sure (and I *really* hope I'm wrong) but is it true, that there is no way to store localized values in resource files without assigning them programmatically? Which means: I ca...more >>

Cookieless Sessions...
Posted by j_v NO[at]SPAM lycos.com at 7/22/2003 5:59:25 PM
Hi, The URL I'm trying to access http://SERVER/VirtualDir/app/test.aspx This page has a lot of links and also images and CSS from the following folder structure. http://SERVER/VirtualDir/images/image.gif http://SERVER/VirtualDir/styles/Style.css I refer to images from test.asp...more >>

Yes ... yet another question about Session State!! - Long
Posted by martin.stickley NO[at]SPAM btinternet.com at 7/22/2003 5:56:43 PM
Hi all As my posting title suggests I'm having problems using InProc Session state in my ASP .NET app. I wrote a site for a friend which uses ADO .NET to keep track of a simple customer/purchases database. A user creates an account and a database entry is added to a customer table. Once a u...more >>

button created using attributes.add to run script in html...fires with each page postback
Posted by KathyBurke40 NO[at]SPAM attbi.com at 7/22/2003 5:48:59 PM
Hi, I have the following script in an aspx html: <script language="javascript"> function pop_window() { var confirmWin = null; confirmWin = window.open('Scanned.aspx', 'SerialNumbers', 'width=300,height=400,left=200,top=200,toolbar=no,resizable=no,menubar=no'); } </script> And in the co...more >>

site asp.net with mysql
Posted by viviane lima - * - * - at 7/22/2003 4:15:39 PM
How create site with webmatrix with MySql ? it's possible ? thanks for help and links examples... Vivian vivianelima@ligbr.com.br ...more >>

show a message to user (WebApplication)
Posted by Marcos MOS at 7/22/2003 3:52:39 PM
Hi all, I would like show a message to user when the function's result return "false"... like this .... if (! my_function(params)) showMessage("my string message"); so, How Can I do it? Like, send a window's message or opening an other iexplorer sending the string message by paramete...more >>

executescalar() method
Posted by buran at 7/22/2003 3:43:14 PM
Dear .NET Programmers, I use the following code snippet but can't figure out what is going wrong since the result object equals to nothing although it shouldn't be :) Function CheckMFileToBeClosed() As Boolean Dim result As Object myCommand.Parameters.Clear() myCommand.CommandT...more >>

Insert a Datatable or Datagrid into ViewState?
Posted by Stephajn Craig at 7/22/2003 3:39:45 PM
Is it possible to insert the contents of an entire datatable or datagrid into ViewState so that is can be persisted between calls to and from the server? It's on an intranet, so bandwidth isn't too much of a concern here. -- Stephajn Craig ...more >>

Page navigator
Posted by Toma¾ Mlakar at 7/22/2003 3:30:55 PM
Hello I'am writing an ASP.NET application and would like to have a page navigator on every page. Navigator would look like this: Start page -> Page 1 -> Page 1.1. I would like as generic solution as I can get. I'am thinking of putting some user control on every page that will automati...more >>

Searching Microsoft Newsgroups
Posted by Uli at 7/22/2003 3:21:23 PM
Is there a way of searching across all microsoft news groups (news.microsoft.com) on the server side? Regards Uli ...more >>

Newbie question: session state:
Posted by canimal NO[at]SPAM my-deja.com at 7/22/2003 2:45:25 PM
I am fairly new to ASP.NET so please forgive errors in terminology. I am using the CrystalReportsViewer control to display report data over the web. Data is posted to the .aspx page from a different form on a standard ..html page. (I know ASP.NET likes to use postback to get form data, but ...more >>

asp:form generates invalid code
Posted by Vaclav Jedlicka at 7/22/2003 2:29:30 PM
Hi all The code generated by the server side control asp:form generates invalid code. The HTML tag FORM always contains attribute "name". When I validate the page with the online validator (http://www.htmlhelp.com/tools/validator/direct.html) it says that: <form name="browse" method="pos...more >>

Validators in version 1.1
Posted by Bill Richardson at 7/22/2003 2:21:19 PM
We have a technique for our order process whereby we simply turn panels on and off to capture data for the various stages, rather than the normal method of moving between pages. In 1.0, the validators were not being fired if they were in a panel whose visibility was set to false. Howev...more >>

attribute 'class' not recognised
Posted by Uli at 7/22/2003 1:50:08 PM
Hi I am looking at ASP.NET Community Starter Kit (VBVS) available from www.asp.net. The application seems to run, however when I run it in Visual Studio in debug mode looking at ascx files, it comes up with two types of errors: 1. The active schema does not support the element 'span' 2. C...more >>

Directory creation
Posted by Sparky at 7/22/2003 1:32:37 PM
I want to create a directory on my web server from within code. I've tried using Request.PhysicalApplicationPath() to get the location of the application, and appended my new directory on the end and used Directory.CreateDirectory which fails with: System.IO.DirectoryNotFoundException: Could n...more >>

Can VS.NET IDE Stop Applying Its Own Intelligence ??
Posted by Deep S. at 7/22/2003 1:20:08 PM
Hi, I'm working on ASP.NET and want to stop VS.NET IDE applying it's intelligence when working in the HTML view of the aspx files. Every time i arrange the HTML code properly, coming back to it, the whole code is in one single line. Pls. Don't expect me to copy all the cod...more >>

LoadPostData
Posted by William F. Robertson, Jr. at 7/22/2003 1:09:51 PM
I have a control called UniqueTextBox, that implements the IPostBackDataHandler. I have trying to use the control in a composite control called UniqueTextBoxEx. The LoadPostData method of the UniqueTextBox is never getting called. What do I have to do to have child controls process their ...more >>

Problem with unique session variables
Posted by Newton at 7/22/2003 1:03:33 PM
Hi, I got here the following problem. I am programming web application for examing students. After student will log on I need to keep his ID, Privileges, Login, Password for manipulating with other functions. All these information I will keep by Session["ID"] = "2" Ses...more >>

The type System.Web.UI.WebControls.TextBox in Assembly System.Web...error
Posted by mattgetting NO[at]SPAM financial.wellsfargo.com at 7/22/2003 12:59:30 PM
I've been getting this error every since I installed InstallSqlState to handle my viewState Sessions. it only happens on 1 section of my asp.net application...any thoughts The type System.Web.UI.WebControls.TextBox in Assembly System.Web, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b0...more >>

Javascript PopUp using Calendar Control
Posted by Stephajn Craig at 7/22/2003 12:38:58 PM
How can I implement the Calendar Control in a popup Window so that when a user selects a date that the selected date is passed into a textbox on the page that opened the Calendar? Can anyone help me with this? -- Stephajn Craig ...more >>

Form in a form - possible ?
Posted by Adam Benson at 7/22/2003 11:23:26 AM
Hi, I have a really simple web page with c# code behind it. It displays news headlines with related text. Click on the headline and you get the text that goes with it. I need to implement a search facility that will go through the entire database and present the user with all the hits. When t...more >>

File.IO
Posted by PJ at 7/22/2003 11:20:28 AM
I have an open FileStream and I open a BinaryWriter on it. After writing to this file, I want to read it to another stream. FileStream fs = new FileStream(Path.GetTempFileName()); BinaryWriter bw = new BinaryWriterer(fs); // write data to a filestream bw.Close(); fs.Position = 0; // **...more >>

Can't load web form in web service
Posted by James Wong at 7/22/2003 11:05:47 AM
Hi everybody, I'm developing a web service using VB.NET which calls a web form to let user input something. In web service, I use Server.Execute ("WebForm.aspx") to load and execute the web input form. But the browser (IE6) says there is a missing necessary space on the following declarati...more >>

dr("field").toString returns "400.0000" instead of "400"
Posted by Dan C Douglas at 7/22/2003 11:03:51 AM
I have just installed VS.NET 2003 on my computer. I have a project that = I have been developing on VS.NET 2002. I haven't upgraded this project = to VS.NET 2003 yet and I am still developing it in VS.NET 2002. When I am putting values from my SQLDataReader into labels and text = boxes I am ...more >>

Suggested Books
Posted by Jay at 7/22/2003 11:02:36 AM
Hello all. I'm new to ASP.NET and I'm looking for a book to help me get going here. I will be doing ASP.NET using VisualSudio.NET. Can anyone recommend a good book that covers the two together? - J ...more >>

Response.Write not working
Posted by Rich at 7/22/2003 11:02:12 AM
Hello, in my ASP.NET c# project I can ouput text using response.write from the code behind class. It works in the aspx file using <asp:TextBox> controls too. It also works using <%="Hello"%>. But using response.write("hello"); I get the error Compiler Error Message: CS1519: Invalid ...more >>

"Temporary ASP.NET Files" Not Being Cleaned Up
Posted by John Saunders at 7/22/2003 11:01:22 AM
I deploy web applications in what may be an odd manner. For every web site "x", I have an "x2" web site which points to an empty directory. I can then use Copy Project in VS.NET to deploy to the empty directory, and have the x2 site QA'd. I then switch over by creating a new empty directory for t...more >>

Datagrid: get value from the row selected by user
Posted by Northern at 7/22/2003 10:56:00 AM
What I want to do is to retrive the value from the row that was selected by uesr. I added the "Select" command column and linked the select event to one of my method by setting my DataGrid's attribute: OnSelectedIndexChanged="OnSelectRow" Now comes the problem. Even though I can invoke thi...more >>

Response.Buffer
Posted by PJ at 7/22/2003 10:35:01 AM
When streaming a file attachment to the response stream, should I set Response.BufferOutput = False or Response.Buffer = False or both? TIA~PJ ...more >>

Help 2nd post!! I cannot add Application Mappings in IIS !!
Posted by Jay Balapa at 7/22/2003 10:26:51 AM
Hello, Iam trying to add an entry to application configuration in IIS 5.0 and Windows XP. I want .htm/.doc/.pdf files to be processed by asp_isapi.dll. I have also checked these extensions have not been mapped yet. But the OK button in that dialog box is greyed out. What am I missing her...more >>

How to hide columns in Datagrid
Posted by J Gao at 7/22/2003 10:15:46 AM
Hi All, I am using Data binding with DataGrid. I need to hide column in the grid using DataGrid1.Columns(1).Visible = False But I get the following error message Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for ...more >>

Looping through all the form fields in the code behind ?
Posted by Aemca at 7/22/2003 10:12:58 AM
In good old asp you could easily loop through all the elements in a posted form. In a for each loop using the request.form elements. How do I go about this in asp.net? Or should I just specify all the fields ? ...more >>

Newbie question about old include stmts
Posted by Bob at 7/22/2003 10:11:48 AM
We want all our new .NET projects to use the same headers and footers, with the application specific HTML/ASP controls in between. In ASP we did this with #include at the top and bottom. What is the best way to do this in .NET? I have considered Import, but did not think it worked with HTM...more >>

legacy String command
Posted by Duncan Welch at 7/22/2003 10:08:35 AM
Hi, Back in classic ASP, there used to be a string function that generated x occurances of a given character. Does anyone know the equivalient in ASP.NET? Thanks in advance Dunc ---/ snip /--- ' Old ASP function to keep strings all the same length... Function PadNumber(sNumber, iL...more >>

DataGrid
Posted by vinay at 7/22/2003 9:10:15 AM
Hi, I am binding a dataset to DataGrid. I have a field which returns decimal values. Ex: 0.23 In dataGrid it is showing only 0 insted of 0.23! How to format it to get the decimal value?? Thanks vinay...more >>

CustomValidator bug?
Posted by George Ter-Saakov at 7/22/2003 9:09:30 AM
Hi. I am fighting the CustomValidator strange behavior for second day already. I created some test project which is only to reproduce the problem. 1. I created UserControl which has an only a Custom Validator 2. in UserControl::Page_Load i set CustomValidator1.IsValid = false; 3. I inser...more >>

Counting lines/characters in an uploaded .DOC/.RTF file using ASP.NET
Posted by j_mcmullin76 NO[at]SPAM hotmail.com at 7/22/2003 8:40:49 AM
Hi, I've been trying to do line/character counts on documents that are being uploaded. As well as the "counting" I also have to remove certain sections from the file. So, firstly I was working with uploaded MS WORD .doc files. Using code like that below: strLine = sr.ReadLine While Not IsNo...more >>

Adding a list item to the System.Web.UI.WebControls.DropDownList
Posted by Chris at 7/22/2003 7:17:26 AM
I was wondering if there was any way to add a blank list item control to the beginning of the System.Web.UI.WebControls.DropDownList's datasource after the control's datasource has been specified. Here's my code right now: Dim oEmptyOption as New ListItem() 'Assign datasource to del...more >>

Get source code
Posted by pepito_grillo_2003 NO[at]SPAM hotmail.com at 7/22/2003 6:43:20 AM
Hi. I'd like to get the source code from a web site (I mean the code we can watch once we click on the "view source" option in the IE). Is it possible? How may I do it? Thanks in advance....more >>

Beginner Mistake
Posted by Jesse at 7/22/2003 6:09:45 AM
I am trying to display a string located in my code behind page. I have tried accessing the variable directly, and also as a Property. Every time I recieve the following error: CS0201: Only assignment, call, increment, decrement, and new object expressions can be used as a statement This ...more >>

Rendering on to Page object
Posted by Vyas Bharghava at 7/22/2003 5:20:52 AM
Hi all, I have written a server-side component that renders some charts as images. I want to give the charting classes (Pie, Bar etc.) the ability to render themselves onto any active page object. I envisage my users calling my component from Aspx pages like: Pie pie = new Pie(config...more >>

configSections - .Net Bug - Please Help
Posted by Jaco de Villiers at 7/22/2003 4:46:33 AM
Hi, I have added the following group and section: <configSections> <section name="sampleSection" type="System.Configuration.SingleTagSectionHandler" /> <sectionGroup name="tilos.sdk"> <section name="tilos.data" type="System.Configuration.NameValueSec...more >>

Server side excel programming
Posted by Avik at 7/22/2003 2:22:28 AM
hi, Can anybody tell me that how i could modify an excel file resided in my web server without using excel automation on my server side code. is there any other alternative like third party software or etc. plz i'm stuck. Regrads Avik Sengupta Programmer Manjushree Infotech ...more >>

.Net_2003_property_window_won't_open
Posted by Regardt at 7/22/2003 12:52:35 AM
Microsoft windows .Net 2003 I have a mayor problem! My property window won't open. I tried using to dynamic help to open the property window, but with out success. (The dynamic help window won't even display). Both windows display while debugging is process. Is there a patch to this p...more >>

aspnet property window won't open
Posted by Regardt at 7/22/2003 12:49:21 AM
Microsoft windows .Net 2003 I have a mayor problem! My property window won't open. I tried using the dynamic help to open the property window, but with out success. (The dynamic help window won't even display). Both windows display while debugging is process. Is there a patch to this ...more >>


DevelopmentNow Blog