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 > february 2006 > threads for friday february 24

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

How to exclude folders from project in VS 2005?
Posted by nospam NO[at]SPAM nospam.sss at 2/24/2006 10:15:52 PM
In VS 2003, I was able to exclude full folders from a project but I can't do the same in VS 2005. I can exclude files but not folders. I prefer to exclude at the folder level because the folder icon has visual indicator. John Dalberg...more >>

Change in MapPath in ASPNET2?
Posted by Mark Olbert at 2/24/2006 9:16:39 PM
I'm running into a repeatable oddity in porting a bunch of ASPNET1.1 websites to ASPNET2. Calls like this: MapPath("/path/fromroot") result in exceptions under ASPNET2, but worked fine under ASPNET1.1. Changing the calls to: MapPath("~/path/fromroot") makes them work again under ASPNE...more >>

Animated buttons control?
Posted by Ben Fidge at 2/24/2006 7:39:06 PM
Can anyone recommend any good controls to implement animated buttons. I want something that can perform the following: - Must initially display a static image - When clicked the button must seamlessly display an animated GIF while waiting for the postback to return The idea is to provide ...more >>

Web Deployment Project Installation
Posted by Brian Patrick at 2/24/2006 5:32:48 PM
I downloaded the Web Deployment Project at: http://msdn.microsoft.com/asp.net/reference/infrastructure/wdp/default.aspx This is supposed to integrate with VS.net, adding some new configuration options for web apps assuming you have .net framework 2.0 installed. I have the .net framework 2....more >>

Copy Web Site FTP Problem
Posted by Mark Olbert at 2/24/2006 5:28:05 PM
Sigh. Every other ftp client I've used lets me enter the path to the site, the user id and password, and connects.. but not the one in VS2005. Why does MS have to do everything differently? Here's the problem: when I try to connect (through Copy Web Site) via FTP, I get the error message "The ~/...more >>

Gridview default cell value???
Posted by Jon S via DotNetMonster.com at 2/24/2006 5:23:32 PM
HI all, I'm returning a dataset to a gridview control. When the gridview asp.net control is populated from the returning dataset some of the cells remain empty. This is expected as some data in the dataset is empty. The cells that are empty, in the gridview control, I would like to have the...more >>

ASP.NET 2.0 Web Site: Where is the "release" Configuration?
Posted by va at 2/24/2006 5:13:26 PM
When I create a web site (or personal web site starter kit) I don't see a "release" version in the configuation manager like a default Winforms application has. Does it not apply for Asp.net? ...more >>

Application_Error event only fires on development server
Posted by David Herbst at 2/24/2006 5:01:21 PM
VS 2005 / .NET 2.0 Windows 2000 Server sp4 (on development as well as testing server) Using Web Deployment Project to build assemblies for testing and production servers. I added a Global.asax file to my web site so I could implement a Application_Error() handler. The handler works fine on m...more >>



Report Positioning Problem
Posted by Ren at 2/24/2006 4:40:14 PM
Hi All, I've created a Crystal Report using Visual Studio.NET 2003 that I'm trying to display in an HTML table in a webpage (i.e. I've placed the report viewer control within a table cell). The report itself displays fine, however, the problem is that first, the report is too large for the t...more >>

what's the status with atlas?
Posted by Dica at 2/24/2006 4:02:19 PM
i wrote an app using ajax.net and i'm told that the hosting outfit wants $10 to set up the dll PLUS $10 every month to 'maintain it because it's a custom dll'. i've stated to look at atlas, but it looks like it's still in beta. can anybody confirm this? ...more >>

NEWBIE - Learning how to pull SQL not in Grid or Details view
Posted by Phillip Vong at 2/24/2006 3:20:23 PM
Sorry if this is a stupid question. I'm learning with Visual Web Developer 2005. I've read and watched many videos on how to connect to SQL and getting the information in details view and grid view. Can someone point me in the right directions on where I might be able to learn how to pul...more >>

Multi-Developer ASP.net Project - Only 1 Project DLL?
Posted by Brian Patrick at 2/24/2006 3:06:43 PM
Our company is making the switch from ASP to ASP.net, but we've noticed a significant problem. With ASP, developers could check out individual pages, make changes and check those pages back in without affecting other developers. With ASP.net, developers can check out individual pages, but ...more >>

asp.net 2.0 repeater own class
Posted by Alexander Widera at 2/24/2006 2:38:48 PM
hi, i get a list of IDs from a sqlcommand. With each of this IDs i create an object of a class "XY". Each object and its properties should now be displayed in an asp:repeater. How can I make this? Alex ...more >>

How to put Expand all and Collapse all button for a asp.net TreeView Control ?
Posted by vivek at 2/24/2006 2:23:35 PM
Well I have been using the new Microsoft asp.net 2.0 TreeView Control in my application. I need to provide some kind of "Expand All" and "Collapse All" button. This button should not post the form back to the server but should work by Javascript only. Any suggestion is welcome. Thanks Vive...more >>

Need help with CDONTS or other object to receive mail in a specific way
Posted by Vanessa Lee at 2/24/2006 2:20:52 PM
Hello, Is it possible to write a script using CONDTS object to read all emails from the SMTP IIS "Drop" folder without changing the username and email address in LogonSMTP? or is there completely another way to do it. Here is what I want exactly the program to do: I just want to have one sc...more >>

MasterType conflicts with Theme
Posted by andrea at 2/24/2006 1:53:30 PM
Is there a reason for which using the MasterType directive to use the typed struct of a master page conflict with the @Page Theme directive? Thanks Andrea ...more >>

Displaying an Excel spreadsheet
Posted by Brooke at 2/24/2006 1:47:10 PM
I am new to ASP.NET, but have been programming for about 14 years (C# about 2 years). My manager asked me to develop a web application that would allow employees to view a spreadsheet that is used to manage resources (projects, employees, hours, dates, etc). The employee should only be a...more >>

Multiple Web.config Files
Posted by Robert at 2/24/2006 1:45:27 PM
I am trying to run ASP.Net 2.0 pages within a ASP.Net 1.1 application. The 2.0 pages are located in a sub-directory of the 1.1 application. Once I create a new web.config file in the 2.0 folder the 1.1 applcation fails. I cannot set up a second application for the 2.0 pages due to sharing ap...more >>

AutoPostback
Posted by Bob Peek at 2/24/2006 1:19:28 PM
I have created a master page with a single asp:button that posts the page without page validation. On the content page, I have a variety of asp controls including text box, drop down list controls and user controls. I also have a single button that posts the page with page validation. D...more >>

vBulletin forum - similar.
Posted by Paul Aspinall at 2/24/2006 1:07:56 PM
Hi Does anyone know of an 'out of the box' forum software, similar to that of vBulletin which is unedr PHP? Thanks ...more >>

HTML Encoding in ASP .NET 2.0 Best Practices
Posted by Untitled at 2/24/2006 12:53:26 PM
I currently have a web application with hundreds of pages and controls. There currently is no HTML Encoding done anywhere. Data to the application come from all different places such as UI, WebServices, Remoting and listeners that log data. All this data needs to be shown to the user at some poi...more >>

Avoid asp.net restart when change files .dat
Posted by MumHa at 2/24/2006 12:43:57 PM
My application has a subfolder where I put and change many files at runtime. On asp.net 1.1 it works very well, but on 2.0 the application is restarted when I change many files. How can I configure the asp.net to avoid monitor my subfolder? I cannot believe that there's not a way to make th...more >>

Trying to stream PDF to IE!
Posted by Brent at 2/24/2006 12:29:47 PM
Problems streaming PDF back to Internet Explorer are well-described here: http://support.microsoft.com/default.aspx?scid=kb;en-us;Q305153 The solution, however, is elusive. I thought I was supplying all the required info with my code*, but it still doesn't work. Any help would be much app...more >>

Add a WebUserControl Control At Runtime
Posted by Fao, Sean at 2/24/2006 12:25:19 PM
I would like to add a WebUserControl control at runtime in the CreateChildControls() method, but it's not working like I had hoped. This technique works fine for WebControls: protected override void CreateChildControls() { Header hdr = new Header(); Footer ftr = new Footer(); ...more >>

Datatable default values
Posted by Vik at 2/24/2006 12:14:01 PM
I use a dataadapter to create a datatable and retrieve/update data in SQL Server database. But the datatable does not receive the default values from a server table and the new records don't receive the defaults values. What may be wrong here? Thanks. ...more >>

Ideally, someone with lots of .NET - Omaha, Nebrsaka-Full Time Salary/ Compensation Range: $70 to 75K plus benefits
Posted by Balu at 2/24/2006 12:13:08 PM
Ideally, someone with lots of .NET - Omaha, Nebrsaka-Full Time Salary/ Compensation Range: $70 to 75K plus benefits Hi Hope this mail finds you in the best of Health and Cheer. Please allow me to introduce myself. My name is Balu, working as Lead-Recruiter with a Woodbridge, New Jersey Head ...more >>

Form authentication security question!
Posted by jens Jensen at 2/24/2006 12:13:08 PM
Hello, When my users logs in to my site, an MD5 hashed value of the password is sent to the server, and there the value is validated against a database. What if someone catchs my hash value and also send it to my server. Will that form manipulation succeed? Many thansk in advance ...more >>

call exe from asp.net
Posted by CsharpGuy at 2/24/2006 12:09:07 PM
I need to call an exe that resides on a server on the network from a ASP.NET page. first, is this possible, and if so who would I go about doing it? What is need to do this and have the exe run when its called?...more >>

Memory Leak only when compiled in Release mode.
Posted by BruceDM at 2/24/2006 11:49:27 AM
We have an webservice application that has a memory leak when the application is compiled release mode. However, when the application is compiled in debug mode it does not exhibit a memory leak. We are running .net 1.1 compiled with VS 2003. The application does reference an unmanaged dll...more >>

StackOverflowexception
Posted by c676228 at 2/24/2006 11:41:02 AM
Hi all, I don't know what the exact meaning in my case for this exception to be thrown. When my program execute the following statement: item.NumPersonsOnTrxn = GetNumofPeoplePerTrxn(orderID, sProduct) The system.stackoverflowexception was thrown. The getNumberofPeoperPerTrxn is just a fu...more >>

Catch Error
Posted by Matías at 2/24/2006 11:32:49 AM
When I have an exception I use try { } catch(Exception e) { print e.Message (for example) } Now, I want to catch the error message and the line number of the error. How can I do that, I have to put numbers to lines???. Thanks for Your help. ...more >>

Ideally, someone with lots of .NET - Omaha, Nebrsaka-Full Time Salary/ Compensation Range: $70 to 75K plus benefits
Posted by Balu at 2/24/2006 11:23:07 AM
Ideally, someone with lots of .NET - Omaha, Nebrsaka-Full Time Salary/ Compensation Range: $70 to 75K plus benefits Hi Hope this mail finds you in the best of Health and Cheer. Please allow me to introduce myself. My name is Balu, working as Lead-Recruiter with a Woodbridge, New Jersey Head ...more >>

How tro use FindControl (C# or VB)
Posted by Paul at 2/24/2006 11:02:51 AM
I have an item in the aspx part of my page: <a id="PreviousPageNav" runat="server" > <asp:Image runat=server ID="PreviousImage" ImageUrl="~/Images/Nav/previous.gif" /> </a> that I put in the header of a DataList. When it was outside of the Datalist, on the Code Behind, I accessed i...more >>

Server Side code withoout page refresh
Posted by seanmle NO[at]SPAM gmail.com at 2/24/2006 10:59:25 AM
Is it possible if I can call server side code without the page refreshing? Thanks, Sean ...more >>

set report parameters for ReportViewer control in 2005
Posted by tfsmag at 2/24/2006 10:51:13 AM
So I used the code directly from the msdn site at http://msdn2.microsoft.com/en-us/library/microsoft.reporting.webforms.serverreport.setparameters.aspx here is my exact code --code-- Private Sub SetReportParameters() Dim p As New ReportParameter("userid", Security.GetUserID().T...more >>

More of a CSS query
Posted by Mantorok at 2/24/2006 10:39:17 AM
Hi all I have a table with 1 row and 2 cells - in each cell is a hyperlink, what I want is when the user hovers over the hyperlink the current cell's background colour will change. Thanks Kev ...more >>

LoadingData\DataGrid
Posted by gh at 2/24/2006 10:09:09 AM
I have a datagrid with four columns defined. First Name Last Name Phone Select(This is a template column) At runtime I create a datatable and populate it. aTbl.Columns.Add("First Name", TypeOf(String)); .... Then I add the table to a DataView, which is used for the DataGrids da...more >>

sqlreader.GetValue(sqlreader.GetOrdinal(columnname) problem
Posted by c676228 at 2/24/2006 9:48:29 AM
Hi all, I am stuck with this problem. the code is like this: Dim sqlreader As SqlDataReader = myCommand.ExecuteReader(CommandBehavior.CloseConnection) sqlreader.GetValue(sqlreader.GetOrdinal(columnname) give me the following in the watch window: sqlreader.GetValue(sqlreader.GetOrdinal(...more >>

Workaround for row size limit on SQL server
Posted by akki at 2/24/2006 9:44:32 AM
Hi all, i am creating an ASP.net web appln which was working fine till now but suddenly I developed a new problem. when i am trying to insert data in a new row in one of my tables,it gave an error. the table has 1 column called question description which stores the questions.When i reduced the ...more >>

free asp.net 2.0 menu
Posted by G. Whiz at 2/24/2006 9:20:23 AM
What's a good one? thanks ...more >>

Attributes.Add("onclick", ... & window.Focus()
Posted by GD at 2/24/2006 9:19:45 AM
I have an ImageButton in a Repeater, and in the Repeater's OnItemDataBound event, I'd like to add some code that will let the ImageButton open a URL in a new window. This is what I have in my Repeater's OnItemDataBound event: ImageButton oImageButton = ((ImageButton)e.Item.FindControl("ibtn...more >>

How to protect downloadable files?
Posted by Hongbo at 2/24/2006 9:19:41 AM
Hi, We have a web site which needs user to login. After login, there are = some files available for download on some pages. A typical link of such = file is like this one: https://www.ourdomain.com/docs/contracts/c_02102006.pdf I noticed that any one could get this file if the person knows ...more >>

multipart message from WebRequest (asynchronous)
Posted by KReichert at 2/24/2006 8:59:28 AM
How do you retrieve the streaming 'parts' of a multipart message from a WebRequest? Here is the situation. A WebRequest is submitted to a server (http://TheServer:80/GetMedia?ID=1). This causes the server to push/stream a multipart message back to the client in the following format: ...more >>

ASP.NET 2.0 Website -- Now What?
Posted by dm1608 at 2/24/2006 8:41:26 AM
OK -- I've basically completed my development of my ASP.NET 2.0 website. Unfortunately, it looks like crap. What is the best way for me to add some professionalism to my page? Just having a form and some buttons and a hyperlink looks too much like a rookie. I need graphics and a nice la...more >>

GridView: Row background color= red if row ID = 3
Posted by G. Whiz at 2/24/2006 8:15:54 AM
How would I do that? Thanks ...more >>

SqlCacheDependency and Strongly Typed Datasets
Posted by chris at 2/24/2006 8:02:37 AM
Hello all, Background: Using .NET 2.0, Sql Server 2005, SqlCacheDependency is utilized successfully against SqlCommand objects elsewhere in the code (in other words I have successful instances of using SqlCacheDependency). ASP.NET website built in 3 separate tiers: Presentation, Business Log...more >>

Accessing Login Control's Button from Code-Behind
Posted by Jeff Lynch at 2/24/2006 7:53:04 AM
I'd like to add the following attributes to the Login control's Login Button to create a CSS rollover effect. How can I access the control's login button from the page's code-behind? LoginButton.Attributes.Add("onmouseover", "this.className = 'buttonsmallover'"); LoginButton.Attributes.Add...more >>

class - save from page to page
Posted by G. Whiz at 2/24/2006 7:49:31 AM
How do I get a class to persist from page to page? ...more >>

ASP.Net 1.1 Client Script
Posted by gn at 2/24/2006 7:41:29 AM
I have an asp.net page with client side javascript. In the script I can get a control and read its properties by using document.getElementById('txtDBName'). But if I try to set any of the properties of this control it doesn't work; for example the code line document.getElementById('txtDBNa...more >>

Database Connection Module
Posted by NH at 2/24/2006 7:41:28 AM
I have a module that handles creating a sql connection object as per below code. What do you think, is there a better way to do this? Imports System.Data Imports System.Data.SqlClient Imports System.Configuration.ConfigurationManager Public Module DBConnections 'Handles Opening and Cl...more >>

XSL Exception in C#
Posted by Tom Clancy at 2/24/2006 6:44:00 AM
I'm trying to transform an XML document via XSL and getting the following exception (which Google has never heard of): "Extension function parameters or return values which have Clr type 'ConcatString' are not supported." It's entirely possible I have a dumb typo in there, but both the XML ...more >>

Bulk data in grid view [ASP.Net]
Posted by Sudha Pune at 2/24/2006 6:07:43 AM
I need to show 1 lakh record in my gridview.... If i use data adapter it will take more time to fill the dataset itself.... What will be the best way... I dont think so only with paging we can solve this performance issue... Tell me the best way of doing this.... Thanks ...more >>

Error: The process cannot access the file it si being used by anot
Posted by Adrian Turner at 2/24/2006 5:25:16 AM
I am just starting developing with .Net(Have used asp for years). I have created a very simple upload page which once uploaded opens the file(excel) and displays the data. If I Attempt to re-run using the same file I get the message 'Error: The process cannot access the file because it is bein...more >>

System.UnauthorizedAccessException: Access to the path ...Temporary ASP.NET Files.. is denied.
Posted by Anbu at 2/24/2006 4:33:47 AM
Hi all, I have developed an application in VS .NET 2003 (framework 1.1) on a XP platform. It is working fine in that PC. Now, I setup new PC with same configuration for another develper. Whenever I execute the application it gives, Unauthorize Exception error and it's not execting the appli...more >>

One Report viewer and multiple reports
Posted by monskie at 2/24/2006 1:10:45 AM
Hello to all, I have a problem which could be trivial to you guys. This concerns opening several crystal reports on the a crystal viewer on an ASPX page by calling window.open. My application. 1.) 2 webforms - 1 main web form that filters that dataset - 1 reportviewer web form ...more >>

32 bit ASP.Net 2 on Win2k3 64 bit - Please help
Posted by Adrian Inman at 2/24/2006 12:08:52 AM
According to some old MSDN article is *should* be possible to install ASP.Net 1.1 (32bit only), ASP.Net 2 (32bit) and ASP.Net 2 (64bit) on a 64bit Win2k3 box and run either both 32bit frameworks on the server, or just the 64 bit one. I want to run the 2x 32bit frameworks on various websites...more >>

.NET 2: assemblies not loading pb
Posted by WT at 2/24/2006 12:00:00 AM
Hello, I have copied my web site to a test server(W2K3), this web site is using a reference to an assembly that wraps all the calls to 2 web services (MS CRM 3.0). This runs perfectly on my dev environement, but when I copy the web site using VS2005, I get the following error when trying t...more >>

how to write sear engine pages in asp.net
Posted by jaffar at 2/24/2006 12:00:00 AM
hai, i am developing search engine in asp.net , so how can i start the search engine and how can write code for search engine, it is like goole search engine, it is very urgent, warm regards jaffar s/w engineer ...more >>

Sequence Order between Page Init and User Control Init
Posted by Tony Cheng at 2/24/2006 12:00:00 AM
Hello everybody, I got a aspx which have several user controls on it. My question is that what is the order of ASP.NET execute the page and user control ? does it like this : Page Init -> User Control Init -> Page Load -> User Control Load ? Thx Tony ...more >>

Two forms ?
Posted by Arsalan at 2/24/2006 12:00:00 AM
I have 4 textbox which in turn has 4 required validator associated with them. I want to make two separate login section in one page, how do I do that ? Problem is that the validator control fires the event when i press the submit button, so.......how do I group 2 textbox in diff <form> ta...more >>


DevelopmentNow Blog