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 > march 2006 > threads for friday march 17

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

Cool book
Posted by Fabri at 3/17/2006 11:42:26 PM
I am a dba/developer from about 5 years. I'm trying to migrate from classic asp to asp.net for my webapps and I would like to start the right way. I'm looking for a good book to learn ms way to develop large webapps. http://www.amazon.com/gp/product/0321127420/102-7369629-5745768?n=283155...more >>


Web application setup problem on Win 2003
Posted by Rabbit at 3/17/2006 10:43:38 PM
Dear all, Does anyone know how to resolve following setup problem, I developed my application(using .net 2.0) which will connect Access database on my Win XP, everything works fine, but when I place the web folder onto my Win 2003 server, set up a virtual directory as web application, the f...more >>

HTTP/1.1 403 Access Forbidden - Error opening ASP.NET web project
Posted by PK9 at 3/17/2006 10:41:26 PM
I am receiving the following error in Visual Studio 2003: "the web server reported the following error when attempting to create or open the web project HTTP/1.1 403 Access Forbidden" I am receiving this error when opening a web project that I created on another machine. I have a developmen...more >>

Submit Button event for EnterKey in Asp.Net
Posted by conckrish NO[at]SPAM gmail.com at 3/17/2006 10:19:27 PM
Hi All, I have two textboxes(Emailid,passwd) and a Button Submit in my Webform.I have set focus to Email textbox by using JavaScript.Now how to call the Submit button_click event when we hit Enter key from the Key board?Can any one give me the Code samples for this problem? Thanx, ...more >>

Why WebService Access Denied
Posted by ad at 3/17/2006 9:46:44 PM
I have a virtual which is a web service. When I use the IP to get the web service, it return a access denied message: http://xxx.xxx.xxx.xxx/HealthService/Service.asmx but if I use local host, it is ok http://localhost/HealthService/Service.asmx I have set the virtual directory to allow ano...more >>

accessing a value of a user control from the calling page
Posted by evandelagrammaticas NO[at]SPAM hotmail.com at 3/17/2006 9:42:02 PM
Hi all. I have spent the better part of a day scouring the newsgroups and I am sure that I must have come across the solution a number of times - but I am still a real newbie at asp.net so please forgive me beforehand if I ask anything really simple or ridiculous. I am going to simplify my query...more >>

How properly return XML from an ASPX page?
Posted by Ronald S. Cook at 3/17/2006 9:33:23 PM
I have an ASPX page that returns XML to the calling client. While the code below works, I don't think it's proper because it's not encoded as XML. I.e. special characters might screw things up. Can anyone please tell me the more proper way to do this? <%@ Page Language="C#" %> ...more >>

.NET 2.0 beginner: asp:Image click - at server
Posted by R.A.M. at 3/17/2006 9:15:38 PM
Hello, Could you help me please with a problem concerning handling at server asp:Images? I have <asp:Image ID="DotNETImage" ImageUrl="Images/DotNET_360x280.jpeg" AlternateText="Microsoft .NET version 2.0" Width="360" Height="280" runat="server" /> which I want to have handled at s...more >>



Session Variables
Posted by Robert E. Flaherty at 3/17/2006 9:05:18 PM
Working with ASP.NET 1.1 - C# I have been attempting to locate all of reading and writing of session variables into a class in its own file. The file contains: using System; using System.Collections; using System.Web; using System.Web.SessionState; using System.Xml; using System.Text; u...more >>

Any way to disable a column in a DataGrid?
Posted by Rico at 3/17/2006 8:35:30 PM
Hello, I have a Datagrid with two rows, "Product Description" and "Serial Number". I want the user to be able to add / edit the serial number, but not the Product Description. In fact, I don't even want the description to be able to get the focus (i.e. disabling the column). Is there anyw...more >>

Oracle membership ?
Posted by Jarod at 3/17/2006 7:21:21 PM
hey I need to implement membership on oracle please tell me where I can download any implementation of it ? I hope it exist ;) Jarod ...more >>

VS 2005 web dev on localhost
Posted by Howard at 3/17/2006 7:13:10 PM
I develop my website locally with VS 2005. the problem is all the links are broken because the directories don't match. on my production server it's www.myname.com/ but on my local server it's localhost/myname/ it's there a way around this without having to manually change all the links? t...more >>

copy datarow to string array
Posted by Imran Aziz at 3/17/2006 6:17:23 PM
Hello All, Is there a builtin method with Dataset that can convert a datarow to a string array, or will I have to loop over the data rows to populate the string array ? Imran. ...more >>

Track the users on line?
Posted by andrea at 3/17/2006 5:57:26 PM
Which is the best way to track the number of the user currently logged into a web site? I've some idea on mind, but I want to compare with you. One could be to increment a session variable on the session_start in the global.asa. But what for decrement the value? This is a black ole, that ...more >>

searching multi - Item arraylist
Posted by Jon Paal at 3/17/2006 5:30:04 PM
how can I search for a value in a multi - item arraylist to prevent adding duplicates ? ...more >>

CSS Styles in MasterPage
Posted by Mirek Endys at 3/17/2006 4:27:20 PM
HEEELP!!!! I have a big problem :))))) How to use url in CSS stylesheet file that is linked into MasterPage. The tilda '~' (as shortcut to the root of the webserver) is not working, and my MasterPage is used by pages not only in root but in other subfolders. I have this in My MasterPage ...more >>

"Failed to access IIS metabase" on XP
Posted by David Veeneman at 3/17/2006 2:58:10 PM
I had to reformat my Windows XP Professional development machine yesterday and reinstall everything, including IIS and VS 2005. I thought I had worked out the procedure to get ASP.NET up and running on a local machine, but I am getting this error when I try to open a web app on the local IIS ...more >>

Scalable Application Design
Posted by Terry Holland at 3/17/2006 2:43:07 PM
Ive read that to build scalable web apps it is not recommended that state be stored in session variables. My understanding of this is that, with many users using the application concurrently, the amount of memory required to store all their session variables would very quickly exhaust the...more >>

how to present a grid report on web page?
Posted by Terry Olsen at 3/17/2006 2:07:06 PM
I need to generate a report like this that is presented on a web page. The report would be generated daily and would go 30 days back (the 31st day being dropped off). ----------------------------------------- | | 1/1 | 1/2 | 1/3 | 1/4 | 1/5 | | Server1 |Pass |Fail |Fail |Pass |Pass | ...more >>

users and roles
Posted by Francis Reed at 3/17/2006 2:06:25 PM
Hi I haven a question concerning roles and membership in asp.net 2.0. I work for an online university, and we would like to implement role based security for our portal. Currently our university has 11 courses, which fall in 5 semesters, and each course is then subdivived into approx 5 or more...more >>

Dynamic controls and viewstate
Posted by Diffident at 3/17/2006 1:10:27 PM
Hello All, I am trying to add dynamic controls onto my page and here is how I am doing that. I have a page which has a button called as "AddMoreControls" and in this button's event handler I am creating controls dynamically and adding them to a panel on the page. For example, if the butt...more >>

Programmatically Modify Site-Map Nodes in Memory
Posted by bburkhart at 3/17/2006 12:42:27 PM
First look at: http://msdn2.microsoft.com/en-us/library/ms178425(VS.80).aspx I've tried this, and while the code sort of works, the modified SiteMapNodes get stuck in memory and can't be modified on other requests without having to kill the aspnet_wp manually. ISSUE: I need to modify the ...more >>

CSSClass in MasterPage at DesignTime
Posted by Mirek Endys at 3/17/2006 12:26:56 PM
Hello, my todays problem is: Im using CssClass for server controls as <asp:panel> is. Im using MasterPage with these panels to define base layout of the page. I cannot see layout of the page in design time. The panels are positioned by a default properties, not by defined CssClasses. In ...more >>

Implementing ICallbackEventHandler
Posted by Harvey Triana at 3/17/2006 12:25:54 PM
Hello I try to implement ICallbackEventHandler follow sample in http://msdn2.microsoft.com/en-us/library/ms178208.aspx I add code line: Implements System.Web.UI.ICallbackEventHandler The IDE write this signatures: Public Function GetCallbackResult() As String Implements System.Web.U...more >>

Can we find out IP address?
Posted by Andrew at 3/17/2006 12:25:29 PM
Hi, guys, Do we have a .net function to find out what is the IP address of IIS server? Thanks....more >>

Dirty word filter function has a problem
Posted by bay_dar NO[at]SPAM yahoo.com at 3/17/2006 12:08:32 PM
Hi my dirty word filter function has a problem, it is over restrictive. For instance the word "analysis" is ok, but the word "anal" is not. Any advice? code below: Public Function IsHaveDirtyWord(ByVal a_str_Text As String) As String Dim badWordFound As String badWordFou...more >>

Isolated Development on IIS 5.1 & 6.0
Posted by Wm. Scott Miller at 3/17/2006 11:31:46 AM
We have been looking at how to develop in a team environment where our servers are all Windows Server 2003 (IIS 6.0) and all our development machines are Windows XP (IIS 5.1). We are doing all ASP.NET applications. We have been using a non-isolated development model (all development happens dir...more >>

Database Location in a Multitier Soulution
Posted by Martyn Fewtrell at 3/17/2006 11:31:23 AM
Hi there I am just canvassing some opinions so feel free to add yours. I mainly work with VB.Net on dynamic websites driven by Access and have more recently been trying to introduce Business and Data layers. Most of my projects are fairly small so the justification for the extra work is ...more >>

How to update datagrid after update
Posted by Michael at 3/17/2006 10:25:27 AM
Hi, I've got a simple web(asp.net) form that adds a record to the database. That works fine, but I also would like to have the datagrid refreshed with the new record. What is the best way to handle this. I have a sqlDatasource as the datasource for the grid. Thanks for any info. Michael ...more >>

aspnet_wp.exe + serialization = --resources
Posted by Alex D. at 3/17/2006 10:13:39 AM
hi guys. I need to clone multiple times an object and I am succesfully cloning using the regular serialization process, using a MemoryStream. My problem is that after cloning the object more that 7 or 10 times then my computer's memory gets flooded by the aspnet working process, and every time I...more >>

DAAB FxCop
Posted by Kenny M. at 3/17/2006 9:48:26 AM
Should we fix the bug that FxCop shows about the Data Application Block and others? ...more >>

Populating a DropDownList
Posted by p.mc at 3/17/2006 9:24:58 AM
Hi all, I have a MS SQLServer database which has two tables, 'images' and 'photographers'. The photographer table contains a field for PhotographerID and a one for PhotographerName. The image table also contains a field for photographerID which is used to join the two tables. I'm having ...more >>

UPLOAD HELP
Posted by Window_Frog at 3/17/2006 9:14:28 AM
Hello all. I may or may not be in the right place, but I definetely need help. I have built several sites using vbscript to access a simple MySQL database. My users are able to enter simple information (names, address, types, etc.), but I desperately need them to be able to upload pictures also....more >>

Adding asp.net page to existing project
Posted by Michael at 3/17/2006 8:57:16 AM
Hi I'm new to asp.net so I'm sorry for such easy questions. I was asked to create a simple Purchase order form and have pretty much completed to asp.net page, but now the manager want to place it in an existing site. He was planning on using Macromedia for the site. Is there anything I need t...more >>

reading in an excel file->.net web application
Posted by Paul at 3/17/2006 8:38:38 AM
Hi just wondering if anyone has tried to read in an excel file into a web application? I have a web app that I want to be able to update records in an mssql database and use an excel file for data input. Thanks. -- Paul G Software engineer....more >>

Redirects
Posted by Stan Canepa at 3/17/2006 8:23:33 AM
I have a web app that works fine on the development machine and on several servers running Win2k IIS 5 and Windows2003 IIS 6. But I am having an issue on one particular erver running Win2k IIS 5, but has an Apache server sending redirects to this server. My problem is when I try to do a Res...more >>

Accessing a Label control programmatically in codebehind for asp.net 2
Posted by Paul at 3/17/2006 8:22:00 AM
I am using Visual Studio.net 2005 (and asp.net 2.0) Let's say that in a Web Project, I have created a (Dataset?) called SomeDataset.xsd. On it I have a TableAdapter called SomeTableTableAdapter and a query called GetSomeInfoQuery. In an aspx page I used an ObjectDataSource, and chose as the b...more >>

SSL won't work - please help!
Posted by Damon at 3/17/2006 8:14:57 AM
I've been beating my head against the wall on this one for hours. Here's what I tried first: * Import self-registered certificate into IIS 5.1 (WinXP Pro) * Set SSL to be required, with 128-bit encryption, for the subdirectory EmpDB off the root of the server. * In web.config (which sits i...more >>

Can you identify the cell clicked in an ASP.NET datagrid?
Posted by johnnyG at 3/17/2006 8:05:27 AM
I've tried this approach but it's not quite what I want: Private Sub DataGrid1_ItemDataBound(ByVal sender As Object, _ ByVal e As System.Web.UI.WebControls.DataGridItemEventArgs) _ Handles dg.ItemDataBound Dim itemType As ListItemType = e.Item.ItemType If ((itemTyp...more >>

Asp.Net 2.0 Profiles Question...
Posted by Mark Rochotte at 3/17/2006 7:53:12 AM
Hi All! I have authenticated profiles setup that have First Name and Last Name values. During the course of page building, I need to retrieve those values for all users who are members of a particular role to populate a drop-down list with people's names instead of usernames. Is there...more >>

Can't save data to SQL Server
Posted by Michael at 3/17/2006 7:30:27 AM
Hi Everyone, I have a simple page right now to save an PO info to the server. I get the following error: "ExecuteNonQuery requires the command to have a transaction when the connection assigned to the command is in a pending local transaction. The Transaction property of the command has not...more >>

Subcategory row
Posted by ivan.svaljek NO[at]SPAM gmail.com at 3/17/2006 6:15:51 AM
Is it possible to add a custom subcategory row to datagrid's output, like this: -----header--------- --subcategory1-- data,data,data data,data,data --subcategory2-- data,data,data data,data,data data,data,data --subcategory3-- data.. ...more >>

ASPX compilation and loading question
Posted by KN at 3/17/2006 5:40:26 AM
Hello, Is it possible to provide the .aspx mark up to the buildmanager from a resource for compilation and load it whithout having the .aspx file in the virtual folder? Since, the registered HTTP module is being executed before the .aspx page is compiled I was thinking it should be possi...more >>

onclick button event throws compiler error
Posted by wardy1975 NO[at]SPAM gmail.com at 3/17/2006 5:36:04 AM
Hi all....looking for a bit of help here....I'm using an asp.net server side button, and trying to add an onclick event on the button to call a javascript function. However, I am trying to enter the onclick syntax directly in the html instead of via the attributes.add functionality (this is req...more >>

Calling COM from asp.net application...
Posted by Wallace at 3/17/2006 5:11:53 AM
Hai all, Can anyone tell me how to call a COM from as asp.net application? Please help... Urgent... Looking forward for the response? Thanx in advance... ...more >>

Cache problem...
Posted by Saad at 3/17/2006 4:25:26 AM
Hi all, I am running a code on the local machine and its working fine.. but when i put it on the production server it gives the most weird problem.. After loggin the user i move up the hiearchy by clicking the links retrieve from the database.. but when i click back and try to come back t...more >>

which version installed?
Posted by kourosh at 3/17/2006 3:18:27 AM
how can I check that which version of dotnet installed on the web server?...more >>

File Upload Validator
Posted by Cristian at 3/17/2006 3:13:27 AM
Hi. I've developer on my web page a uploader files sytem, but I can't find a solution for looking the file size before the upload. Please some help!! Bye Franc...more >>

AutoCompleteStringCollection problem
Posted by jack at 3/17/2006 2:17:45 AM
This code dosent display data.Add("Csharp"); data.Add("C sharp"); couldnt find the reason why .. AutoCompleteStringCollection data = new AutoCompleteStringCollection(); data.Add("Csharp"); data.Add("CSharp"); data.Add("C#")...more >>

no spaces
Posted by Howard at 3/17/2006 1:30:32 AM
is there a quick option in asp.net or visual studio 2005 to strip out all unessesary spaces in the html output? and html comments? I want to save bandwidth, readability is not an issue ...more >>

SmartNavigation and ASP.NET 2.0
Posted by Mogens Nielsen - Elbek & Vejrup A/S at 3/17/2006 12:24:26 AM
Hi, I can see from the msdn-docs that SmartNavigation is now obsolete. Why is that? The SmartNavigation feature has been replaced by MaintainScrollPosition, but the scoll position is not why we're using the feature. It is mainly to avoid the flickering when posting back. However we've got an...more >>

Menu - Pass Value
Posted by Joao Batista at 3/17/2006 12:00:00 AM
Hi all, I have a MasterPage with a menu, populated from a database, my problem now is when i chose an option , how can i pass (catch) the value to my products page??? Thanks Joao Batista ...more >>

URL rewriting problem
Posted by KMA at 3/17/2006 12:00:00 AM
My site has dynamicaly generated pages. Most of the URLs are false, and I used to trap them in a generic 404 page, which stripped off a unique part of the URL, built the page then sent that back to the client. But then the address bar always showed the 404 plus the query string which contains ...more >>


DevelopmentNow Blog