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 > january 2005 > threads for monday january 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

Paging with datagrid
Posted by Alagu at 1/10/2005 11:57:59 PM
Hi all, I am looking for some pointers as to how to do paging with datagrid.. Well, there are so many samples out there.. What I am looking for is to be able to have a dynamic query where the user can enter something in a text box and search for that and we show the results using a paged data...more >>


ASP.NET slow now and then
Posted by Tom at 1/10/2005 11:52:33 PM
Any ideas what can cause ASP.NET pages to be slow now and then? It can take more than 5 seconds to get the page, which is way to much. One of the pages (not sure how many there are, i have just noticed it on the "home" page) are very simple (only HTML, no database or anything involved). ...more >>

highlight row in datagrid
Posted by Grey at 1/10/2005 11:33:31 PM
i know how to highlight row in the datagrid, but how to deselect the row when user click another one. ...more >>

asp.net application hangs
Posted by Loane Sharp at 1/10/2005 11:17:18 PM
Hi there I've got a hang of a problem ... I'm running the .NET framework (2.0.40903), SQL Server 2000 and SQL Express 2005 on Windows XP Pro on a pretty good and new IBM Thinkpad X41. Some time ago, following the advice in http://msdn.microsoft.com/library/default.asp?url=/library/en-us...more >>

ASP.NET WP memory consumption problem & debugging on AppDomain bas
Posted by Teemu Keiski at 1/10/2005 11:15:01 PM
Hi, I have following type of scenario (also explained here http://blogs.aspadvice.com/joteke/archive/2005/01/10/2196.aspx ) We have problematic web server (wink2 Standard, 1.5GB of physical memory, SQL 2000 in same box, framework 1.0 and 1.1 installed, apps use mainly 1.0) whose aspnet_w...more >>

temp directory for asp.net?
Posted by Lars Netzel at 1/10/2005 9:29:30 PM
I'm trying to write a PDF to disk on the server (crystal reports export) I'm getting aproblem that Access is denied to save the file to disk and reading here (you don't need to read): http://support.businessobjects.com/library/kbase/articles/c2010773.asp It says I should set the proper righ...more >>

FuseBox in ASP.NET
Posted by Michael C# at 1/10/2005 8:50:52 PM
Hi all, I'm new to ASP.NET and would like to implement a simple app using something similar to the ColdFusion Fusebox methodology. Can anyone point out some articles or websites that explain how to do this? Thanks, Michael C# ...more >>

Secure - NonSecure??
Posted by Charles A. Lackman at 1/10/2005 7:57:38 PM
Hello, I have a web site that has a single page secured using SSL. This page also has Flash Macromedia header on it, Does this cause a conflict? When you visit the site it says, "This page contains both secure and nonsecure items. Do you wnat to display the nonsecure items?" If you click ...more >>



asp.net 1.0 and 2.0
Posted by Lars Netzel at 1/10/2005 7:54:58 PM
Hi! Is it okay to install both onto one system? Will the old solutions, made in 1.1 Framework still work fine with 2.0 installed? /Lars ...more >>

Using JavaScripts in ASP.NET, please help...
Posted by Tigger at 1/10/2005 6:19:04 PM
Dear Experts, I am working on ASP.NET. I have got a problem related to the usage of Javascript in ASP.NET. Please help. The story is the following: 1) I am developing an ASP.NET application. I need to prompt the users with a modal box (with "Yes" and "Cancel" button on it); 2) When the user...more >>

Home page on localhost shows script instead of webpage
Posted by Hemil at 1/10/2005 5:53:03 PM
Hello friends, I had my laptop reformatted and rebuilt recently. After this, when I try to open my asp.net web application by using http://localhost, it shows the script code in the browser instead of the web page. I have enabled the default document as .aspx under the IIS settings. An...more >>

iterate thru controls on page
Posted by Tina at 1/10/2005 5:37:04 PM
I need to find all of the datagrids on a page. How can I iterate through all of the controls on a page to get their name and grab them as an object? thanks, T ...more >>

web forms and html tags
Posted by hoz at 1/10/2005 5:32:06 PM
Hi , i have a web from contains textbox and insert to db button .When i write html tags inside text , the code is blocked , how can i enter information like ? <p> Hi </p> thanks ...more >>

How to get the web server full DNS name?
Posted by Henri at 1/10/2005 5:06:59 PM
As my app can bet hosted on different web servers, I need it to retrieve the web server's name dynamically. I've tried Dns.HostName with no success. I want to get the full name (e.g. www.mydomain123.com) and not only the computer's name. Maybe there's something to change in IIS, I don't know. ...more >>

datagrid passing parameters problem
Posted by Laura K at 1/10/2005 4:47:58 PM
I have a datagrid with a hyperlink field. It passes a parameter but I need it to pass three. I need two of the parameters to be querystrings that have already been passed to the page but I have no idea how to add them the the hyperlink column. Here is the code to the hyperlink column ...more >>

DESPERATE: FormsAuthentication Problem
Posted by Jeff B at 1/10/2005 4:05:56 PM
I am having a very perplexing problem with setting the user's roles. I have tried to figure this out for 2 days now. When the user logs in to the site, I retrieve the roles from the database and create a semicolon delimited string listing the roles returned and store them in the forms authe...more >>

Total Field Problem
Posted by JJ at 1/10/2005 3:33:02 PM
Hi, I have a textbox setup on a web form and it suppose to keep a running total of some other textboxs on page. In code behind I have a global double var that is suppose to collect the total but doesn't work. Here's what it looks like: In global area I have: protected double RegTot =...more >>

Response.write
Posted by oz at 1/10/2005 3:23:03 PM
Hi, just wondering about the following. if you put this statement in the page load event of the code behind file. Response.Write("Hello Asp.net"); Then run the page, then use the view source in the browser. the "Hello Asp.net" is printed before the HTML and Body of the page. Please let me...more >>

WebRequest : how to submit name-value pairs?
Posted by TR at 1/10/2005 2:20:59 PM
A company that lets affiliates search its database assumes that affiliates will paste code, which looks something like this, into their web pages: <form method="GET" name="search_5" action="http://www.somedomain.com/articles/results.xml" target="_blank"> <!-- Hidden values to be passed to the ...more >>

Help with crystal reports in ASP.net
Posted by Deasun at 1/10/2005 1:45:11 PM
I need some help please! Crystal is driving me nuts. Heres my code so far, see below. Problem: On the .export() line it comes back with error #5 Login failed! I know the login info is good so why is the bloody thing doing this. The paths have been checked and are correct. The crystal Repor...more >>

DataGrid onClick
Posted by Neven Klofutar at 1/10/2005 1:23:23 PM
Hi, I need to create the following ... I have DataGrid filled with information (ID, name, price ...). I need to call a function when I click on the item in the DataGrid (and pass ID as an argument to that function). I tried to add DataGrid_ItemDataBound function, but I can't add Command and...more >>

Users Counter
Posted by Kenny M. at 1/10/2005 1:07:05 PM
I want to control how many users there are login in my app I have the following code on Session_Start Application.Lock(); Application["NumVisitors"] = int.Parse(Application["NumVisitors"].ToString()) + 1; Application.UnLock(); and Session_End Application.Lock(); Application["NumVis...more >>

JS
Posted by vinay at 1/10/2005 12:51:04 PM
Is there a way to fire server side Code behind Function from client side javascript ?? -- http://pathidotnet.blogspot.com ===== vInAypAtHi o__ ---_,>/'_------ (_) \(_) ---------------...more >>

Making ONLY 2 columns editable in a datagrid
Posted by pmud at 1/10/2005 12:11:08 PM
Hi, I have 2 questions: 1. I have an editable data grid with 21 columns. I need to edit only 2 cloumns in this data grid. But when the grid is displayed in Edit mode, all the columns show long text boxes whichmakes the user to SCROLL a lot. I need only these 2 cloumns to be displayed in ...more >>

Map capabilities
Posted by VB Programmer at 1/10/2005 11:46:31 AM
I am developing a website which requires map interfacing, for plotting exact lat/long points, etc... (kind of like an online hurricane tracking website.) Any 3rd party controls that can assist me? I need there to be several level of zoom details and allow me to provide GPS or lat/long points...more >>

eval function in vb.net?
Posted by Tony at 1/10/2005 11:29:25 AM
Does anyone know how I can do an "eval" on a string? I have a string back from a database equivalent to "5*6" how can I eval this to an int type of value 30? Taking this further, to evaluate custom vb functions ie eval("5 * AvgPrice('partnum')") I know about the databind eval function but...more >>

Path Problems
Posted by Jordan S at 1/10/2005 11:29:04 AM
I'm kind of new to all of this Web app development and have developed an ASP.NET Web application under the default c:\inetpub\wwwroot\myApp. I just went to move it to a hosted site and I'm having all sorts of trouble following from the fact that the root in my development is actually *under* ...more >>

Using Session in a class
Posted by Rock at 1/10/2005 11:27:43 AM
I have created several forms with procedures that I want to move to a class so it can be used by other forms, but get an error when I move the Session commands; e.g., Session("Mode")="Add" How can I use Session in a class procedure. ...more >>

ViewState
Posted by Jim Heavey at 1/10/2005 11:13:05 AM
I am trying to figure how the appropriate technique to use to move values from one ASP.ListBox to another ASP.ListBox. I used some javascript to move values from the one ASP.Listbox to the other ASP.ListBox, when when I get back on the server, my changes are not there. So should I create s...more >>

question - 2 parter
Posted by Mike at 1/10/2005 11:07:08 AM
I have a 2 part question that deals with asp.net and vb.net 1. will a vb.net application run on a Mac? 2. Does a specail web browser need to be installed on a Mac to view a asp.net web application? I have to create a .NET winform and asp.net application that will be used and viewed fr...more >>

Conditional html blocks
Posted by Richard Frenkel at 1/10/2005 11:04:33 AM
In scripting languages such as PHP and ColdFusion, it is easy to conditionally include a block of html using something like (pseudocode): <if x=true> This is some <b>random html<b> that gets displayed if x is true and not otherwise </if> I've been coding using c# and asp.net and find it i...more >>

CrystalReports Response Time
Posted by ObjectiFly at 1/10/2005 11:03:03 AM
Using CrystalReports in a Windows Form - I use the PrintDialog to get the printer name - then set the PrintOptions.PrinterName to the PrinterName returned. I'm using a DataSet that's returned from a server that I hit via ..Net Remoting. When I do this in my office - the response time i...more >>

ListBox Problem
Posted by CCORDON at 1/10/2005 10:51:39 AM
I have a problem with a listbox. I shows a number of records from a DB. = ItemData =3D ProductId, ItemText =3D ProductName. It loads great. But = when the user clicks on one of the items, this code: Dim MyItem As New ListItem MyItem =3D lstItems.SelectedItem If Not (MyItem Is Nothing) The...more >>

JavaScript Question
Posted by Greg Smith at 1/10/2005 10:41:24 AM
I would like to call a JavaScript function to execute an alert() in my C# program. I know you can add a call to an object event, but can you just call it form code in your C# program? Any help is greatly appreciated. ...more >>

download writes html code to file
Posted by ACaunter at 1/10/2005 10:37:09 AM
Hi all, I was wondering why when i create a text file and download it through my website, the download will include all the html code for the given page at the bottom of the text file. i'm using asp.net -- AdamPC@hotmail.com...more >>

Datagrid, redirect and Form
Posted by Lionel at 1/10/2005 10:31:46 AM
Hi, I have a datagrid in page1.aspx I would like, when the user clicks on the Edit button (<asp:EditCommandColumn for ex.), to redirect him to the page2.aspx with the value of the first column passed as a parameter (equivalent of POST method in ASP, Request.Form in page2.aspx...). I know the...more >>

repeater OnItemCommand event
Posted by Mukund Patel at 1/10/2005 10:27:51 AM
Hi friends, My repeater's OnItemCommand event executed if I used Link button. But it cannt call by button (<asp:button ... />)> How to execute OnItemCommand event by button in repeater? Thanks -Mukund ...more >>

Can I read code-behind info outside of asp.net?
Posted by Jim Bancroft at 1/10/2005 10:11:28 AM
Hi everyone, I have an ASP.Net page that uses various DataGrids and other ASP controls. Right now I'm manipulating them in my code-behind file, but I'd like to use my business-logic dlls for that stuff instead. Is there a way (a context wrapper of some sort, maybe?) to gain access to these ...more >>

Application_End is not fired when app unloaded. Why?
Posted by Vlad Hrybok at 1/10/2005 10:07:04 AM
I am using Application_End to send out a notification about application being unloaded. I found that those notifications are not being sent because the app seems to get unloaded without Application_End ever being called. We started logging Application_Start and Application_End events and found...more >>

does system.web.mail use CDO to send mails?
Posted by SenthilVel at 1/10/2005 9:52:35 AM
Hi all Does the namespace Sysytem.Web.mail use CDO's to send mails? ,,, Senthil ...more >>

web.config
Posted by Robert Pfeffer at 1/10/2005 9:51:02 AM
Hi, I have a rather unusual problem. I have a very simple ASP.NET application, basically hello world type. I created it with Visual Studio 2003 and am running it in debug mode. It runs fine until I put the <appSettings> section in its web.config file. After that the application star...more >>

Submitting the form correctly using the enter key
Posted by thechaosengine at 1/10/2005 9:49:37 AM
Hi all, Simple problem: I have a simple form and a submit and cancel image button underneath. I also have a logout image button at the top of the page. This button is rendered from a user control that is seperate from the form page itself. At the moment if I press enter when inside a t...more >>

Exporting data from (All columns in data grid EXCEPT THE 1st) to E
Posted by pmud at 1/10/2005 9:39:02 AM
Hi, I am exporting data from an EDITABLE DATA GRID EXCEL. But the 1st column in data grid is Edit Column. I want to display all columns in Excel except for the Edit column. The following code which I am using allows exporting only from text data from data grid & not from Edit colum...more >>

Is ASP.NET really as good as they claim? (No, this isn't a troll, please read)
Posted by google NO[at]SPAM alansilver.co.uk at 1/10/2005 9:37:36 AM
Hello, This is NOT a troll, it's a genuine question. Please read right through to see why. I have been using Vusual Basic and Classic ASP for some years, and have now started looking at ASP.NET. At first glance, it looks excellent, albeit nothing that couldn't have been done to Classic ASP....more >>

Please recommend a good book for me
Posted by google NO[at]SPAM alansilver.co.uk at 1/10/2005 9:26:26 AM
Hello, I am a seasoned Classic ASP programmer who is interested in learning ASP.NET. I bought a book (Que's Special Edition Using ASP.NET) which is complete rubbish, and would like a recommendation of something better. I have a very basic idea of how ASP.NET works having spent a couple of ...more >>

Close browser window
Posted by Vishal at 1/10/2005 8:13:33 AM
Hello, is it possible to execute something when the browser window is closed in asp.net? Thanks...more >>

ASP.NET logout button
Posted by Melinda Mienie via DotNetMonster.com at 1/10/2005 8:05:47 AM
Hi I am quite new to .NET and ran into this problem (or which I think is a problem). I have a logout button. As soon as a person clicks on this logout button and the page contains forms, it does validation on the form's fields instead of logging the person out. Can someone please tell me what ...more >>

trying to modify my dataset
Posted by Henry at 1/10/2005 7:43:15 AM
Hi. I've been trying to modify my dataset and have been unsucessful. Any help would be great. What I have is a dataset in a session variable. Here is what I have done to stored into the dataset via store procedure. Sample Stored Procedure: CREATE PROCEDURE prcGetData AS SELECT i...more >>

Download file
Posted by Vishal at 1/10/2005 7:38:22 AM
Hello, I am creating an html file in my web form. After the file has been created I want the user to show the messagebox to download this file. Once he has downloaded or canceled the file, then I will delete it. Now my problem is how do I show the messagebox, you know when you downl...more >>

can't add existing project in visual studio
Posted by ed d at 1/10/2005 7:20:28 AM
Hi, When I try to create a new web project, or "add existing project from web" or "open from source control" i'm prompted for a URL and type in a virtual directory. -- with "add project from web" i just get a file dialog box in "my documents" and browsing to the right project folder...more >>

Disable file download dialog
Posted by Peter at 1/10/2005 6:45:01 AM
Hi! Please, could anybody advice me, is it possible to disable file download dialog in ASP.NET page or just save button in the file download dialog so that user should only open for example word document? Thanks Peter...more >>

connection string
Posted by Chris at 1/10/2005 6:05:02 AM
where is the best place to put the connection string for use through-out my app? right now I use, in every page/sub/etc: SqlConnect = New SqlConnection("Server=xxxx;uid=xxx;pwd=xxxx;database=xxx") for sql server 2k connection This connection is for all users,and is the only connection for th...more >>

Events Not Firing On Hosted Site
Posted by Don Christine at 1/10/2005 5:43:13 AM
Hello, I'm just now learning how to deploy a simple, working ASP.NET application developed in VS.NET 2002 that runs fine on my workstation running IIS. When I copy the project files over to the host site, the page appears okay in the web browser, but none of the events seem to fire. I ha...more >>

Thread was being aborted errors
Posted by Keith F. at 1/10/2005 4:55:04 AM
Hi, I have an asp.net web app that is intermittently throwing "Thread was being aborted." errors in my data access component. This seems to occur when the app is under a heavier than normal load. I don't get any of these errors for days, then I get a bunch all at once. I would have thought i...more >>

Thread was being aborted. Errors
Posted by Keith F. at 1/10/2005 4:55:03 AM
Hi, I have an asp.net web app that is intermittently throwing "Thread was being aborted." errors in my data access component. This seems to occur when the app is under a heavier than normal load. I don't get any of these errors for days, then I get a bunch all at once. I would have thought i...more >>

Transfer User ID between web apps
Posted by Craig HB at 1/10/2005 3:47:04 AM
I have 2 asp.net applications : a Stock Control application and a Reporting application. They are separate applications in IIS 6 and developed as separate projects in visual studio.net. When the user first goes into the Stock Control app, he needs to log in. When he goes from the Stock Con...more >>

Images in ASPX
Posted by trinitypete at 1/10/2005 3:15:03 AM
Hi, I have a picture gallery type application that loads up several photographs, due to the file sizes of the images the page load is slow - Yes I know I need to thumbnail and reduce image for display just havent got round to it. Each photo has been displayed using HTML <IMG> Tag within a ...more >>

insert in datagrid
Posted by Tom at 1/10/2005 1:28:54 AM
Hi I would like to know how to insert a row into a datagrid with c#? i allready know how to edit, delete and update a row (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html /vbwlkWalkthroughUsingDataGridWebControlToReadWriteData.asp) ch Tom ...more >>

DataGrid: iTunes-like incremental search
Posted by Luis Ferrao at 1/10/2005 1:18:26 AM
Comming from Windows Forms development, I never had problems with this issue before. What i'm trying to achieve is an iTunes like incremental search. For those who never used iTunes, it's basically a text field with a key stroke event that filters the data grid as the users types in a string. ...more >>

DropDownList.FindByValue.Selected not working... help!
Posted by dhnriverside at 1/10/2005 1:01:16 AM
Hi guys Still having a problem with this dropdownlist. Basically, I've got 4. The first 2 work fine, then my code crashes on the 3rd. ddlEndTimeHour.Items.FindByValue(endTime[0]).Selected = true; Where endTime[0] is a string containing "15". I get the error "A DropDownList cannot ...more >>

Upload
Posted by sara at 1/10/2005 12:38:05 AM
Hi to all i want to see a sample in how to uploading file without using <input type="file" thanks...more >>

how to send emails via aspx
Posted by farhan wajahat at 1/10/2005 12:25:04 AM
i have made a command button and on the click event of the button following code is mentioned: im mailnew As New MailMessage() mailnew.From = "financialadjustment@mobilink.net" mailnew.To = "farhan.w@mobilink.net" mailnew.Cc = "financialadjustment@mobilink.net" ...more >>


DevelopmentNow Blog