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 > april 2004 > threads for tuesday april 20

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

multiple dropdown lists = multiple data readers???
Posted by Andrew Kidd at 4/20/2004 11:29:34 PM
Hi, I've have a form for the user to fill in which comprises of 5 date ranges, each made up of a "FROM" & "TO" date, which is built from a "[Month]" dropdownlist & a "[Day]" dropdownlist, as follows: Period 1 = FROM [Month][day] TO [Month][Day] Period 2 = FROM [Month][day] TO [Month][Day]...more >>


server controls nested in DataList
Posted by V. Jenks at 4/20/2004 11:22:11 PM
What seems like a simple thing is apparently not so straightforward? I have a datalist. Inside of that datalist is an <itemtemplate> secion which contains other server controls such as a label, a radiobuttonlist, etc. I'm driving myself insane trying to figure out how to get data in...more >>

I'm finished, now what???
Posted by EMW at 4/20/2004 9:36:15 PM
I have finished my web application in ASPX, but HOW do I put WHAT on the server to be able to run the site? I upload the files to a remote server, so I can't do it with a setup file. rg. Eric ...more >>

Smart Navigation Alternative
Posted by Devin at 4/20/2004 9:31:03 PM
I am having a problem of SmartNavigation, wher eit works fine on the test server, but not on the server that I load it up to. I tried placing "page.smartnavigation=false" right before I redirect, but now smart navigation doesn't even "turn on". So I was wondering if there were any examples of other ...more >>

drawing image without saving to file
Posted by Marc Pelletier at 4/20/2004 9:01:25 PM
Hello all, I have a class which includes a method to create a chart. I want to be able to call this method from asp.net code as well as windows application code, so I have sketched it out as returning a bitmap instance. In my asp.net code I think I should call this method to return a bitm...more >>

printing to file
Posted by Luke at 4/20/2004 7:19:36 PM
Hello Is there any way to print something to file, I mean on the machine where application is running ? There is property PrintToFile but I dont know where can I set path and filename. thanks for any advices Lu ...more >>

Unable to create ASP.NET web application in VS Studio .NET 2003
Posted by weftweb NO[at]SPAM hotmail.com at 4/20/2004 6:59:58 PM
When I try to create a new web application in VS Studio .NET 2003 at a simple default location eg: http://localhost/WebApplication1 I get the following error: Visual Studio .NET cannot create or open the application. The likeliest problem is that required components are not installed on the l...more >>

mixing vbscript and ASP.NET
Posted by Mario Rodriguez at 4/20/2004 6:30:18 PM
HI People, I need to mix ASP.NET (using C#) and vbscript (to handle capicom resources) but I'm getting a lot of javascript errors. There is a safe way to mix vbscript and ASP.NET thanks ...more >>



How to manage solutions that don't fit within the ASP.NET page lifecycle
Posted by google NO[at]SPAM grider.org at 4/20/2004 5:56:40 PM
I'm new to ASP.NET and have run across a problem several times while working on web apps. I often need to create content dynamically (based on an event) which contains dynamically created linkbuttons (or other webcontrols). These linkbuttons have to be created after events are processed, and so ...more >>

Problem with datagrid and page indexing
Posted by Lauchlan M at 4/20/2004 4:56:24 PM
Hi I have a grid that displays ok. I have activated page indexing, the code to implement it is: private void dGridSessionData_PageIndexChanged(object source, System.Web.UI.WebControls.DataGridPageChangedEventArgs e) { dGridSessionData.CurrentPageIndex = e.NewPageIndex; nxDataAdapt...more >>

access to page from user control
Posted by Alex Wagner at 4/20/2004 4:43:40 PM
I've been trying to gain access to the container page from within a user control. Case in point: From within the user control I need to call a method in the business layer that needs a reference to the aspx page. The method signature looks like: public static void MyMethod(System.Web.UI.WebC...more >>

ASP.Net hanging
Posted by Marty McDonald at 4/20/2004 4:41:42 PM
For some reason, I can't run any ASP.Net apps on my machine. I can't open them in VS.Net either, it hangs while trying to open a web project. Non-asp.Net apps work, so I don't think the problem is IIS. I've restarted my machine, still the problem persists. Everything was fine for several month...more >>

Currency Settings
Posted by Jon Spivey at 4/20/2004 4:27:31 PM
Hi, simple question I'm sure - just moved a site from a UK based host to a US based one. All my currency amounts are now showing as $123.45 instead of £123.45. How do I get them back to UK (£) formatting - all the currency amounts are coming from sql server and formatted like this DataFormatSt...more >>

Need help on template columns in datagrid
Posted by CW at 4/20/2004 4:24:09 PM
In an earlier thread, I was asking for help on "Invalid attempt to FieldCount when reader is closed" error when I was using a dataset rather than a datareader to bind to a datagrid. After playing around with it, I found out that the error was caused by template columns. Once I remove template ...more >>

Process.Run and App.Config
Posted by PMac at 4/20/2004 4:15:57 PM
I'm trying to execute a stand-alone console application from an aspx page when a use clicks a button on that page. On the aspx page is the following lines of pertinent code: private void btnStartApp(object sender, System.EventArgs e) { Process procID; string procName; ProcessSt...more >>

Send Mail on local machine
Posted by Steven K at 4/20/2004 3:54:55 PM
Hello, I am using the following to send mail. It works on my web server, but not on my personal machine (which is running ASP.Net). I tried setting SmtpMail.SmtpServer to "", but get the following error: System.Runtime.InteropServices.COMException: The "SendUsing" configuration value is inv...more >>

Advice: datagrid for news module
Posted by Arjen at 4/20/2004 3:44:55 PM
Hello, I'm using a datagrid for a news module. The datagrid only displays the news title, date and header. (this is allready working) Now I want to make the title clickable... if you click on it you will see the complete news message. When you see the complete news message you don't see th...more >>

Popup window loading before itemcommand event firing
Posted by cbrannon NO[at]SPAM ramquest.com at 4/20/2004 3:38:55 PM
I'm attempting to open a new window from a LinkButton in a DataGrid. I can set a session variable in the ItemCommand event for the LinkButton like so: // this is used to handle the ItemCommand event private void itmCmd(object source, System.Web.UI.WebControls.DataGridCommandEventArgs e) { ...more >>

Mouseover Effects
Posted by grunior NO[at]SPAM aol.com at 4/20/2004 3:37:52 PM
Greetings, I have an ASP .NET page that contains three images which give the appearance of a tabbed folder. The images contain the words Product Search, Cart, and Summary respectively. The idea is that when the user is on the Product Search page, an image is displayed to give the appearanc...more >>

Stack overflow exception
Posted by jbix NO[at]SPAM newsgroups.nospam at 4/20/2004 3:31:03 PM
We have a stack overflow happening. We are NOT doing any recusion. We do have an object being created in Global that is being handed the Context (which I assume is specific to the request thread). This object does in turn does create several other objects, but therer is no memberwise cloning or d...more >>

Object tag going into design mode screws up params
Posted by John Holmes at 4/20/2004 3:19:01 PM
This, I fear, is related to the fact that Visual Studio.NET reformats the HTML when going into design mode and then back out. I have an object tag that is using an object provided by a 3rd party vendor to use their signature pad. I set the <PARAM .. > tags and if I need to go into design mode it...more >>

"if" problem. Still. Value is ok.
Posted by Miguel Dias Moura at 4/20/2004 3:17:18 PM
Hi, i have this code line in a script in my ASP.net / VB web site: dim msgNewsletterAction msgNewsletterAction = Request.Form("newsletterAction") if msgNewsletterAction = "go" Then Code1 Else Code2 End If Code2 runs everytime even when msgNewsletterAction = "go". Code1 never r...more >>

Printing out a datagrid
Posted by NoSf3RaTu at 4/20/2004 3:17:01 PM
Is there a way to only print out the datagrid in a given web page? That is I have a datagrid on my web page but I would like to add a button that will only give me a page with the datagrid to print but nothing else. Thanks, ...more >>

Dynamically add link button
Posted by simon at 4/20/2004 3:11:43 PM
On code behind file: Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load If Not Page.IsPostBack Then Dim ctrl As New LinkButton ctrl.ID = "link1" ctrl.Text = "link create" ctrl.Command...more >>

How do you change the TARGETDIR property in a Web App setup project?
Posted by Robert Barron at 4/20/2004 2:54:57 PM
The web app setup project is great except for one limitiation. You can't specify the target directory for the virtual folder. What is up with that? I've been reading posts and documentation that it works that way by design, and I'm having a hard time believing there isn't a workaround for thi...more >>

Request.QueryString Limitations?
Posted by Picho at 4/20/2004 2:41:53 PM
Hi everyone. I have a webForm that gets input using the querystring , builds an image according to the input and therefor renders an image as a contentType/GIF in the output stream. I use this webForm as the imageUrl of an image control on another page. the problem is that some of the bit...more >>

Speed of Development
Posted by Simon Harvey at 4/20/2004 2:02:18 PM
Hi All, I have a colleague that I wprk with that develops using ASP. I develop using ASP.net. He seems to make sites much faster than me and I am wondering if its because of the two different technologies. I use codebehinds as standard Does anyone else find that developing with ASP.net ta...more >>

Export to Excel: Page cannot be displayed
Posted by jeremy at 4/20/2004 1:51:05 PM
I've created an asp.net page that renders an html table. Using ContentType="application/vnd.ms-excel" it will open in the browser as an excel file on 4 out of the test machines I have available to me. On one machine it consistently comes back with a standard "Page cannot be displayed" error. Whe...more >>

"Login failed for user 'sa'" datagrid control - SqlDataAdapter
Posted by Jerry Higgins at 4/20/2004 1:30:22 PM
I added a SqlDataAdapter to a web form, created a data connection, and generated a dataset. I then connected it to a DataGrid control. When I do this using the SqlServer database on my machine everything works fine. When I do it using a SqlServer database on another machine I get the "L...more >>

DOTNET-WEB@DISCUSS.DEVELOP.COM
Posted by Siegfried Heintze at 4/20/2004 1:09:32 PM
I used to be able to just hit F5 to debug my ASP.NET applications on my notebook. But since I installed MSOffice 2003, I get that silly error message about a catastrophic failure when starting the debugger. I discovered I could start the project without the debugger and connect to it later...more >>

Calculate Running sum of 4 text boxes on client side script?
Posted by Davisro at 4/20/2004 12:55:40 PM
I am wondering if it is possible to have a running total of four textboxes so that when any text box is changed I could then calcuate the total of the four boxes and show this on the webform. Currenty I hvae four webform textboxes. I collect dollar abounts and want to show the total as they c...more >>

Paging information
Posted by Ian Oldbury at 4/20/2004 12:55:23 PM
Hi all, I'm trying to use paging and also have the following placed within the footer of the grid following on from the NumericPages information. Page x of y and have the "x" as a text box where the user can enter the page that they wish to move to. how do i create the page x of y conc...more >>

Does browser cache images?
Posted by Charlie NO[at]SPAM CBFC at 4/20/2004 12:43:53 PM
Hi: When I change an image, but keep same title, then upload image to hosting server, my browser will display old image until I refresh. If I close browser, then open same page again, I have to refresh again to view new image. It's not until I have done this a few times will get new image w...more >>

Go to bookmark using ImageButton and still retain previous content on PostBack
Posted by msbajan NO[at]SPAM hotmail.com at 4/20/2004 12:40:51 PM
I am creating a profile page which on load only has the images of each person (as an ImageButton). When the user clicks on a picture, the text of a hidden label is displayed with the text of that person's profile. I'm trying to get it so that when a picture is clicked, the page jumps to a bo...more >>

connection pool in ADO.NET
Posted by Grey at 4/20/2004 12:37:53 PM
is the connection pooling mechanism set default in the normal connection = string, i.e. "Provider=3DSQLOLEDB;Server=3DSERVER_NAME;User = ID=3Dsa;Password=3D;Database=3DDB_NAME" If not, what is the difference if I use connection pool and not in user = and programmer point of views?? Mil...more >>

Updating dll asp.net application
Posted by Goncalo at 4/20/2004 11:31:10 AM
Hi On the bin directory of a web application builded using asp.net can I update only one dll without updating the others Will be any version problems? Or Other kind of problems beetween dll's Thank's in advance...more >>

Exporting to Excel in ASP.Net
Posted by cmptrnerd9 NO[at]SPAM yahoo.com at 4/20/2004 11:28:14 AM
I need to be able to export data from a web form into MS Excel. I know you can do it with a VB.net windows application, but how can you do it with an asp.net application using vb.net? Any help would be appreciated! Michael...more >>

Nested Controls & DataGrid - Shopping Cart
Posted by sales NO[at]SPAM trevoroakley.com at 4/20/2004 11:26:33 AM
I have been learning ASPNET from ASP.NET Kick Start (Stephen Walther), and I have hit a problem with adding a DropDownList onto a DataGrid. I have added some first results for searches at redburg.co.uk/search.aspx. Problem - Shopping Cart ======= The compiler fails to bind correctly the da...more >>

accessing datalist child controls
Posted by MattB at 4/20/2004 11:19:16 AM
I think I'm close to making this work, but so far it does not. I have a datalist (id = "dlVFields") on a web form that has an item template with a textbox in it. The textbox id = "txtVerify". When the form is submitted via a button click (button is outside datalist) I loop through the data...more >>

SmartNavigation and Redirect Problems
Posted by Dagong Wang at 4/20/2004 10:53:43 AM
Hi, I have an ASP.NET application that works fine in my testing server. However, when I uploaded it into a hosting server, page SmartNavigation option and server side redirection, such as FormsAuthentication.RedirectFromLoginPage, quit working. They told me to recompile the code there, and it ...more >>

uploading huge files
Posted by Mario Rodriguez at 4/20/2004 10:47:23 AM
HI people, there is an alternative way to upload files than the ASP.NET native way? Is OK for small files but It doesn't seems to be convenient for an application where there is a lot of paralell uploadings of huge files (50MB-100MB) Any idea? open source components ? thanks ...more >>

Trace.axd - when is it cleared?
Posted by Brett Robichaud at 4/20/2004 10:30:43 AM
I'm using trace.axd to monitor usage of a web app during the qa process. I have found that the log is cleared periodically and am curious if there is any way to control it, and if anyone know when it gets cleared? Mind you I am not clearing it manually using the link on the trace.axd page. -...more >>

Old project - new error
Posted by Mark at 4/20/2004 10:21:02 AM
My old project is giving me that error Server Error in '/processtree' Application ------------------------------------------------------------------------------- Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. P...more >>

Unable to start debuging on the web server
Posted by FOX User Group at 4/20/2004 10:01:57 AM
Hi, Migh be this is the stupid question, does anyone know the root cause of the following problem: 1. I create project Web Application, say just put label 'Testing" on the page 2. I run the web page by pressing F5 key after that appear error message: "Unable to start debuging on the w...more >>

Viewstate?
Posted by Jason at 4/20/2004 10:00:51 AM
My page has a few listbox controls and a datalist. After making selections from the listboxes, you hit submit and have the datalist populated. I also created custom paging for the datalist as well. The problem is that the selections aren't being saved when I click the hyperlinks when ...more >>

User Control to Know Page Hosting It?
Posted by Merkisson Jourhanssen at 4/20/2004 9:41:44 AM
How can user control know, in it code behind, the file name of the aspx page that is hosting the user control? Thank you. ...more >>

InProc Session - How much can it hold?
Posted by ciaran at 4/20/2004 9:41:05 AM
I have a web app. running on a dual processor with 1GB RAM and SQL 200 Database At any one time there can be around 20/30 users accessing it through the web interfac performing tasks such as searching through DataSets, and a further 20/30 users performin Replication using HandHeld Devices with SQ...more >>

sending greek from a textbox
Posted by interuser NO[at]SPAM hotmail.com at 4/20/2004 9:37:30 AM
Hi I have a web app that has a webpage on which there is a textbox and a submit button. if I type greek and press submit, the greek does not go through to the webserver. If I type greek and english, only the english go through. How can I make the greek go through? for example if i type "here ...more >>

SystemColor 'Control' to 'buttonface'
Posted by Ade at 4/20/2004 9:37:05 AM
Hello, i've noticed that some old system colors have been left out of the current version of the .net framework, including ButtonFace, ButtonHighlight & ButtonShadow. It seems these have been replaced by Control, ControlLight & ControlDark. The one i'm particularly interested in is Control wh...more >>

Problem finding child control within nested DataList!
Posted by googleposter2003 NO[at]SPAM hotmail.com at 4/20/2004 9:18:19 AM
The html below shows DataList "DiscountList" nested within DataList "EventItemList". DiscountList contains a Label control. I'm trying to find the label, using FindControl, during EventList_ItemCreated (below the html), but it's always <undefined value> (null). Everything else works fine. Even...more >>

cannot disable viewstate on a datagrid
Posted by rhodrigriffiths NO[at]SPAM hotmail.com at 4/20/2004 8:45:29 AM
Hi all I have a datagrid which can display upto 20,000 records and the viewstate gets very big. I have tried turning of viewtate using EnableViewState = false both on the parent page and on the DataGrid itself, however when i view the generated html source there is still an enourmous viewstat...more >>

is not accessible in this context because it is 'Protected'
Posted by Murphy at 4/20/2004 8:26:29 AM
I've read through the google posts on this topic and am still unclear of the solution. Simply I have a user control that contains form controls and I would like to reference the values in the form from the aspx page that contains the user control. The error message received is: Compiler Error...more >>

Integrating Flash actionscript into ASP .Net apps ???
Posted by Nexus at 4/20/2004 8:11:02 AM
I've heard people saying that it can be done (Integrating Flash actionscript into ASP .Net apps ???) - does anyone have a lead on where I might find a coding sample or additional info ...more >>

smtpmail.smtpserver question
Posted by Bob Cummings at 4/20/2004 7:51:09 AM
Greetings I hope this is the correct newsgroup. I am working on a senior project for school. One of the requirement is to have the functionality of send email reminders from our web application. No problem we thought. We set the value of smtpserver in the web.config file. That way we co...more >>

how to trap an event on a html button created with <input....>
Posted by rocio.katsanis NO[at]SPAM softwareservices.net at 4/20/2004 7:21:22 AM
I have a html button created with <input type="submit" id="btnPayNotices" value="Pay Notices" /> now I need to trap the click event at the server side. Yes, this button had to be created with plain html, not with asp.net how can i do this ?...more >>

Remove Querystring FroM URL
Posted by Amy Snyder at 4/20/2004 6:58:40 AM
I think I have my brain still stuck in the classic ASP model and can't seem to solve this easy problem. I have a datalist with paging. I have my page numbers appended with the page (i.e. ?page=2). The paging works as designed but when I click the submit button to view/refresh the list, the q...more >>

Controls in HeaderTemplate
Posted by Yan Wang at 4/20/2004 6:51:29 AM
Hi! Does anyone know how to get the text in textbox field which is in HeaderTemplate of a DataGrid? In the following code, I can not get text of "tbName". I typed something in that box. I can get tbName control but the text is empty. Thanks a lot! Yan ==================== asp =======...more >>

Problems with disabling ASP.NET controls using javascript
Posted by johngilmer NO[at]SPAM yahoo.com at 4/20/2004 6:41:04 AM
I have two different problems: 1. When the user has clicked on a button that is causing the browser to post back to the server, it could take a little while for the new page to show up. So in the mean time, I want to change the cursor to an hourglass and disable all of the controls on the form...more >>

Postbacks confusing to the user - any suggestions???
Posted by Glenn at 4/20/2004 6:34:34 AM
Hi! I've developed an app that displays multiple textbox and combobox fields (most of which are autopostback) on a form along with a submit button. My users find it confusing when they change data in one of the autopostback textboxes then click on the 'submit' button and, instead of seei...more >>

Postback with the Calendar Control
Posted by C. Stadther at 4/20/2004 6:11:04 AM
Why is it all controls with an Autopostback feature report their values in the Page Load, but the calendar control's selecteddate value doesn't change till it hits the Selection_Changed Event. Is there anyway around this? My issue stems from a page that contains a user custom webcontrol that accep...more >>

Connecting ASP.NET to SQLServer,Somebody,Please!!
Posted by Mohammad-Reza at 4/20/2004 5:31:03 AM
It is now 3 months that we are trying to connect ASP.NET to a SQLServer located on another system However we act,we get a fatal error We need someone to explain the way of connecting to SQLServer step by step from either VisualStudio.NET or FrontPage 2003 Our goal is to retrieve records from SQLS...more >>

Session variables and frames
Posted by Bonj at 4/20/2004 4:41:04 AM
H I've got the following problem - I need to have an aspx page with two frames, although the question isn't necessarily about the workings of the frames, more session variables... the frames consist of one header (not resizable) and one main (resizable). The source for the "main" page needs to be o...more >>

ASP.NET crystal report file access
Posted by mike parr at 4/20/2004 3:47:41 AM
I am just starting using Crystal Reports.NET with VS.NET 2003 and I can create a report and open it up in my webpage fine. However, I am now trying to export the report, and I keep getting the error 'Access to report file denied. Another program may be using it'. But, when I use the same code ...more >>

Running a Process with <impersonate="true">
Posted by joeted at 4/20/2004 1:47:22 AM
Hello, I am trying to run a batch file on a (remote) .NET server (i'm not the admin) using system.diagnostics.process I find that the batch file is successfully executed. However, when i put <identity impersonate="true"/> in my web.config i get an "access denied" exception. This line ...more >>

"if" question
Posted by Miguel Dias Moura at 4/20/2004 12:40:04 AM
Hello, i have this code line in a script in my ASP.net / VB web site: if msgNewsletterAction = "Go" Then code1 Else code2 End If code2 runs everytime even when msgNewsletterAction = "Go". code1 never runs. What is wrong in my sintax? Thank You, Miguel ...more >>


DevelopmentNow Blog