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 > may 2004 > threads for monday may 10

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

form name problem
Posted by Harry at 5/10/2004 11:39:30 PM
Dear All, i am using asp.net, i have assign a form name to a form, e.g. <form name='myForm' runat='server'> <input type='text' name='field' value=''> </form> i have a javascript function, i am going to <script> document.myForm.field.value = 0 </script> while i run i, the form name...more >>


getting modified text box values
Posted by Mark at 5/10/2004 11:37:30 PM
Hi, I have an aspx page, that in the PageLoad sub, gets values from a specific record in a database as where the record id is retrieved from the querystring. Thesee values are then used to populate a series of text boxes, radio button selections and drop down list selections. This all works. ...more >>

Access html control in Web form
Posted by Das at 5/10/2004 11:21:03 PM
Hi, I have defined some html elements like html password field in the html tag section. Now i want to access it into the Web form Code Thank in advanc Das...more >>

Replace Html Control with form control
Posted by Das at 5/10/2004 10:31:04 PM
HI I have copied the html code for the login form from a built menu. Now I want to replace that with the text box control It shows me the erro Control 'txtUID' of type 'TextBox' must be placed inside a form tag with runat=server Thanks in advance Das...more >>

.aspx page in VB.net project
Posted by anoop at 5/10/2004 10:31:02 PM
Hello How can I display a message box in ASPX page. I tried with MsgBox function but it says that your userinteractive mode is false. I also find out that exception/error is raised. please help...more >>

Loading ASP page programatically
Posted by markeboy at 5/10/2004 9:46:06 PM
I am wanting to control when a page is loaded using a separate class to manage when and how it should be loade My current implementation needs to set a property of the page programatically (through a defined interface on the page) I can create an instance of the code behind class (and interface)...more >>

<input id="iPhoto" type="file" size="20" runat="server">
Posted by Mark Sandfox at 5/10/2004 9:38:32 PM
Is there a way to restrict the user to only selecting and sending either a ..gif or .jpg. Everything I have read says this option can not be done by design (security reasons). I find that irronic as this is the reason (security) that I want to restrict their selection. Any help on this one w...more >>

web form inherits from item that no longer exists?
Posted by Googler at 5/10/2004 9:21:59 PM
How can this inherit from a webform that is no longer in the project? There USED to be a form called "default2", but it exists no longer. Why is my current page "default.aspx" still inheriting from "default2" (which should be "default")? If I change it to "default" I get an error "Could not lo...more >>



Persist a stack across PostBacks?
Posted by Warren J. Hairston at 5/10/2004 8:58:56 PM
Can anyone point me toward a solution for persisting non-controls (i.e.: a stack) across PostBacks? TIA! - Warren ...more >>

Using datagrid
Posted by Paul at 5/10/2004 7:12:05 PM
I have a datagrid that bounds by dataview with edit button on each row. When an edit button is clicked, it goes to another page for editing purpose only. When save or cancel button is clicked, it needs to come back to same record or same page that it was in. How can I go back to same page I was ...more >>

Exception from HRESULT: 0x800AC352
Posted by Stan Sainte-Rose at 5/10/2004 6:45:19 PM
Hi, I have a problem with an asp.net application. It worked fine when I used Windows2000 and since I move to windows 2003, I get this error Exception From Hresult : 0x800ac352 I use a specific dll ActiveX Any idea ? Stan ...more >>

Need help with displaying dynamic images in browser using ASP.NET.
Posted by Ken Varn at 5/10/2004 5:25:28 PM
I have a control that I developed that uses a custom HTTPModule to dynamically render images to a web page using ASP.NET. It works most of the time with one exception. For some reason, Internet Explorer does not always display the images even though the image has been sent successfully. I som...more >>

Cross- Side Scripting and SQL data reader
Posted by vineetbatta at 5/10/2004 5:16:05 PM
I am using sqlDataReader for Showing data from the Data base But if the Data from sql is having tags like <script>alert()</script> then it shows an alert box while binding Is there any way of suppressing it this ..... ??? regard Vineet Batt ...more >>

Model Forms in ASP?
Posted by digJazz at 5/10/2004 4:36:02 PM
I need to create a pop-up form in ASP that works like the Windows modal forms where the parent form is locked until action is taken on the child form. How do I create a pop-up form and control the size (smaller than the parent)? Then, how do call it and keep the parent form in the background? I k...more >>

Master Pages for .NET 1.1 Question
Posted by Warren J. Hairston at 5/10/2004 4:34:57 PM
Hi all, I've written a simple test program using both the ASP.NET team's Master Pages implementation for .NET 1.1 as well as Andy Smith's improved version at the MetaBuilders web site. Each of my pages stores the information entered on the web form into a SQL Server database. Worked fine befor...more >>

httpHandler is called twice?
Posted by Dominik Amon at 5/10/2004 4:28:20 PM
Hi there! I have a problem: I'm using a HttpHandler which is called twice, and i don't know why? I'm not double-clicking any thing or something like that. I have no idea what might happen (the request is the exactly same) thanks for help, dominik ...more >>

Managing files in bin folder
Posted by Pavils Jurjans at 5/10/2004 4:13:00 PM
Hello, My ASP.NET project is growing bigger and more complex, and the application bin folder starts getting pretty crowded. I want to postpone any DLL registration to GAC until I will be very sure that the core API is not going to change considerably for some time, so all the application code ...more >>

MapPath Strange behavior locally
Posted by Ahmed El Lakani at 5/10/2004 4:03:07 PM
hi all, i've a legacy ASP.NTT code that works fine, but now i'm trying to add new feature so i get the files from our source safe and put them in "d:\Projects\mySite" and created a new virtual directory for it and make it point to the project Directory , till now every thing is ok, ...more >>

validation question
Posted by Ely at 5/10/2004 3:42:13 PM
When validating a control client side, is there a way to get the error message to display in the validation summary as soon as the control losses focus? Right now it only displays when the user clicks on the submit button. Thanks, Ely ...more >>

dyanmaically name column in datagrid
Posted by MattB at 5/10/2004 3:42:00 PM
I'm trying to set a column name when my datagrid is being rendered. I've used the OnItemDataBound event before, so I decided to try and use it again here. The problem I'm having is I'm trying to test for a DataColumn from the bound source with a name of "Info" and I'm not sure how to do that. He...more >>

Image Map to Post back form
Posted by Sandeep at 5/10/2004 3:25:20 PM
Hi I have peculiar prob ,i have one image control in form ,now on that i have few image maps I want that i can postback the form on clicking these maps,how i can do that Please help me out Regards Sandeep ...more >>

Web Service tutorial
Posted by Grey at 5/10/2004 3:22:03 PM
I gonna to learn web service with ASP.NET and C#. Please suggest any web = site for implementing the web service for me... Million Thanks.....more >>

Use of Tilde (~) and <LINK>
Posted by Alex Maghen at 5/10/2004 3:06:05 PM
I just learned about the wonderful ~ in paths in ASP.NET which allows me to reference the APPLICATION root instead of the IIS docroot. Love it! I'm finding that I can use ~ in many places as long as the control in which it's used is set to runat="server". It's very handy. Here's the problem. I hav...more >>

Array Size
Posted by Jim Heavey at 5/10/2004 2:46:34 PM
Do I have to know the exact number of occurences of an array object when I declared it, or can I add just declare the object and do not have to declare the length? For instance... TableRow[] myTableRows; Table row1 = new TableRow(); myTableRows[0] = row1; Table row2 = new TableRow();...more >>

how to access a dynamic-created html checkbox in code?
Posted by trank at 5/10/2004 1:05:50 PM
I created some checkboxes(<input type=checkbox>) dynamically,and then I'd like to access these checkboxes in code behind using C#. For they are not standard controls like Windows Checkbox, I can't catch it by FindControl().....how can i do this? Many thanks a lot! By trank trank@dynamic-x.ne...more >>

userName=System & aspnet_wp.exe could not be launched
Posted by John Dalberg at 5/10/2004 12:46:19 PM
I am getting the message below in the event log. This is a development machine running Windows 2000 Pro. I have changed userName from machine to SYSTEM in machine.config. I gave EVERYONE group full control to Microsoft.Net folder and wwwroot which contains my app. I used filemon from sysintern...more >>

Geting class attributes types
Posted by harry at 5/10/2004 12:31:03 PM
Hi I would like to have a function that will run through a class to determine the attribute types. How would I do this? For example, public class ABC private m_first as string private m_second as integer private m_third a string someMethod() end class private ...more >>

Navigating datarelations
Posted by Lerp at 5/10/2004 12:28:51 PM
Hi all, I have a dataset made up of 3 tables that is bound to a datalist. On the itemdataBound event I call a sub that grabs a value (an id value) from the current row being outputted, queries the database using this id value to return a string value that I replace the id with in the datalis...more >>

Finding Actual Directory WebClient is loading page from?
Posted by Earl Teigrob at 5/10/2004 12:25:19 PM
I am loading a page using WebClient using the code below. The thing is that on a redirect, I do not end up knowing where the page was loaded from. I need this information because I am parsing the downloaded HTML page and replacing Relative references with Absolute references. I have read that th...more >>

Preferred IDE
Posted by rusty_owens NO[at]SPAM hotmail.com at 5/10/2004 12:03:45 PM
I am new to .NET. I have been doing web development using ColdFusion for 5 years. I am trying to determine if there is a standard IDE for asp.net. I have downloaded Webmatrix from Microsoft but I am wondering if it is more of a project than an accepted standard since they also have Visual Stu...more >>

cache di explorer
Posted by BorSi at 5/10/2004 11:32:59 AM
Ho un problema riguardo la cache di explorer e dei browser in generale. io ho una pagina aspx dove faccio l'upload di un'immagine e ne visualizzo l'anteprima. il file sul server viene salvato sempre con lo stesso nome. Il problema sta nel fatto che dopo aver cambiato l'immagine se nn aggiorno ...more >>

Connecting to an existing web
Posted by Jerry Higgins at 5/10/2004 11:11:29 AM
In Interdev 6.0 you can connect to an existing web. I've looked through the help and I haven't found a way to do it. Any ideas? Thanks, Jerry...more >>

Anybody know how ASP.Net handles incoming requests from the ISAPI Extension?
Posted by Rick Strahl [MVP] at 5/10/2004 11:10:28 AM
Hi all, I'm trying to put together some notes on how ASP.Net works for myself and a presentation I'm doing. One thing I can't seem to figure out is what happens at the entry point of an ASP.Net request. What is the transition from the unmanaged ISAPI code (in IIS 6) that runs in the default Ap...more >>

sending form variables to a different frame
Posted by martinthrelly NO[at]SPAM yahoo-dot-com.no-spam.invalid at 5/10/2004 11:10:15 AM
my page is split into 2 frames. my upper frame contains a data entry form consisting of asp.net textbox server controls. my lower frame displays rows of data. when a user clicks the submit button in the upper frame I want the textfield contents to be validated then I want to send the form va...more >>

ASP.NET process eats all CPU time
Posted by Casper Hornstrup at 5/10/2004 11:07:16 AM
On a Windows 2000 Server/IIS 5.0 with ASP.NET 1.1 in a production environment, I'm experiencing that the ASP.NET process is eating all CPU time, making the websites very slow. How can I debug this? It is probably just one of the websites that causes a problem. How can I find out which? Thanks,...more >>

Validators render &nbsp; when not displayed -- is ther some way to turn this off?
Posted by mortb at 5/10/2004 10:53:31 AM
A validator that is not displayed will render a &nbsp; tag in the output page. This cuases me problems as I don't wnat anything to show in this case. Is there any way to get rid of the &nbsp; ? cheers, mortb ...more >>

Set-Cookie header broken in WebHeaderCollection
Posted by Jason Collins at 5/10/2004 10:39:04 AM
There seems to be an inconsistency (bug?) in the way the Set-Cookie header is handled by the WebHeaderCollection. That is, the values of Set-Cookie, when an Expires is specified, contain the "," character. This seems to be incorrectly parsed during GetValues(). A simple example shows it best...more >>

itemtemplate visibility
Posted by Lerp at 5/10/2004 10:20:03 AM
Hi all, Is it possible to hide the itemtemplate when going into the edittemplate mode of a datalist? Cheers, Lerp ...more >>

How can I find when an ASP.NET session has expired?
Posted by David Popeck at 5/10/2004 10:01:08 AM
I have an ASP.NET application that is using forms authentication and I want to know when a session has timed out I have read quite a lot of posts here about this but no-one seems to have to same issue Rather than telling the user that a timeout has occured I want to know on the server so I can ca...more >>

Generating aspx programatically
Posted by Guinther Pauli at 5/10/2004 9:39:29 AM
Hi all I need to generate .aspx files programitically. Instead to use basic routines of string manipulation, I am using XmlTextWriter class of .NET Framework to generate tags, elements etc. Exists a best way to do this? Have .NET Framework a class especialized to generate an manipule aspx fil...more >>

Query ISBN
Posted by Jonas Nilsson at 5/10/2004 8:59:04 AM
Hi! Is there a webservice or simular on the net that i can use for recieving information about a book by it's ISBN number? /Jonas ...more >>

HttpWebRequest
Posted by vinita_chandru NO[at]SPAM hotmail.com at 5/10/2004 8:21:29 AM
Hi I am trying to access a web application from another program using HttpWebRequest class. This web application is nothing but a web site consisting of a login page and few other pages. I'm trying to access the login page and simulate a login action programatically. I am running the web appl...more >>

PhysicalApplicationPath in <script> tag
Posted by cousto D at 5/10/2004 6:35:27 AM
<link href="<%Response.Write(Request.PhysicalApplicationPath)%>/css/toolbar.cs s" type="text/css" rel="stylesheet" > This work fine but the same trix doesn't work into <script> tag like this: <script language="JavaScript" src="../js/javascript.js"></script> i tryed replacing src attribut b...more >>

Exporting data to Microsoft Excel from a Web Form (using OWC) problem
Posted by sarah5e NO[at]SPAM yahoo.com at 5/10/2004 5:45:45 AM
While trying to export data to Microsoft Excel from a Web Form (using OWC) I recieve the following error message: COM object with CLSID {0002E510-0000-0000-C000-000000000046} is either not valid or not registered. Does anybody know how to solve the problem ?...more >>

ViewState
Posted by Jim Heavey at 5/10/2004 4:17:05 AM
If I want to save a class into a viewstate variable,what do I have to implement in order to do this? Thanks in advance for your assistance!!!!!!!!...more >>

effective ways to speed up ASP.NET apps?
Posted by Dave at 5/10/2004 3:26:29 AM
Hi all, I was wondering if anyone could point me in the right direction of speeding up an ASP.Net application. We converted an old app that ran lightning fast in classic ASP, but now, (after touting how .Net was going to make things run faster) we have an application that is unbearably slow (...more >>

Session timeout
Posted by Jennifer at 5/10/2004 2:11:03 AM
Hello everybody my ASP.NET app is running fine on my development system. But some errors occured after installation on another server. I believe the reason is a session timeout My question is therefore: Which settings influence the session timeout except my timout settings in web.config? Is ther...more >>

Connection with SQL DB on internet Web hosting using ASP.NET
Posted by Mazyad at 5/10/2004 2:06:05 AM
Dear Microsoft Developers Support ASP.NET Tea I have SQL DB has been created in web hosting support SQL server & ASP.NET and I develop on localhost web Application using ASP.NET After created SQL DB on web hosting I get this information * IP Address for the Server for example: 66.102.135.15...more >>

Internal connection fatal error
Posted by m.Ward at 5/10/2004 2:01:05 AM
We are running a asp.net site, we are using a tiered architecture with the data class looking like Function MyDataReader(ByVal stylemainid As Int32, ByVal letter As String) As SqlDataReade Dim myConnection As SqlConnection = New SqlConnection(ConfigurationSettings.AppSettings("connecti...more >>

Some questions about eCommerce and ASP.net.
Posted by Miguel Dias Moura at 5/10/2004 12:55:39 AM
Hello, in 2 months i will create an eCommerce web site in ASP.net. I have been creating web sites in Flash, ASP, ASP.net and PHP for quite sometime. However i never created an eCommerce web site. So i have a few questions: 1. How an eCommerce web site works? Where can i find some informat...more >>

Javascript Confirm problem
Posted by abdullah_fastics NO[at]SPAM yahoo.com at 5/10/2004 12:38:16 AM
Hi am having some problems with the javascript confirm. i have it working fine on one page and it doesnt even pop up at the other. The code on the working page is, private void Page_Load(object sender, System.EventArgs e) { if(! Page.IsPostBack) { DataSet _DSSections = Varia...more >>

How to get the selected items from a user control in a web form
Posted by celine_rimeur NO[at]SPAM yahoo.fr at 5/10/2004 12:30:22 AM
Hi, I am just starting developping in ASP.Net and I have some trouble using a user control in a web form. In my user control I have a datagrid with hyperlink and in my web page I want to display the hyperlink that the user click in my user control. Does anyone know how to do this? Tha...more >>


DevelopmentNow Blog