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 2005 > threads for friday may 13

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

Connecting to SQL Server installed on Windows 2003
Posted by Ansari at 5/13/2005 11:48:30 PM
hi gurus; I m building an asp.net 1.1 application on Windows XP Machine. I m getting error message "SQL Server does not exists or Access Deined" when I want to establish connection to a sql server 2000 installed on windows 2003 server. Note that there is no domain controller on the netw...more >>


Enable controls dynamically
Posted by Ed Chiu at 5/13/2005 8:12:02 PM
Hi, Is there a way to set webform controls to visible/invisible dynamically. Say I have a textbox cann txtFirstName, I know the following statement can set it visible: txtFirstName.visible = true Here is difficult part, I am tring to set the controls visible based on the content of D...more >>

Uploading graphics.
Posted by Scott M. at 5/13/2005 7:55:41 PM
How can I give a client the ability to upload a graphic to a server and then have the server store it on its hard drive? Thanks. ...more >>

Using javascript client from ASPX page
Posted by John M at 5/13/2005 6:53:45 PM
Hello, In Visual Studio .NET 2003, How can I use javascript/vbscript (client code & server code) from ASPX page, javascript is an external file, (MyJavascriptCode.js). Need sample code, please. Thanks :) ...more >>

How to change all the website's file to *.htm ?
Posted by Kylin at 5/13/2005 5:25:31 PM
I use the *.Aspx files to show the News ? But In big website , the news are often showed by htm ? how to change it ? -- FireCrow Studio Kylin Garden EMail:gaotianpu@gmail.com ICQ:156134382 ...more >>

Redirecting to a page with a querystring and an anchor reference
Posted by DonnyW at 5/13/2005 5:17:01 PM
I am working on an application that displays a list of items (biglist.aspx). With each item, there is a link that takes the user to another aspx page for updating the specific details of that item (updatedetails.aspx). That page has a button event that saves changes and then redirects back to ...more >>

postback twice
Posted by abcd at 5/13/2005 5:03:31 PM
I have a web page and have some web controls , all controls are set for AutoPostBack = true. When the page is initially loaded why its loaded twice... I am checking if (!IsPostBack) I am wondering why it goes twice in this .... ...more >>

Reading IP....
Posted by John Smith at 5/13/2005 4:55:08 PM
Which is the efficient statement in .Net Framework 1.1 to read the IP address of the browser? Thanks, Smith ...more >>



border of a listbox
Posted by helpful sql at 5/13/2005 4:32:14 PM
Hi all, How can I hide the borders of ASP.Net ListBox control? Thanks in advance. ...more >>

Why does my asp.net application now get "Server Application Unavailable"
Posted by Robert Halford at 5/13/2005 4:24:48 PM
On 4th May at 7.45 in the evening my asp.net web sites stopped working on my development server. The page that appears says: Server Application Unavailable The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in you...more >>

Session and Requests
Posted by Andreas Zita at 5/13/2005 4:15:23 PM
Hi! I'm trying to make an xml-log of application, session and requests of my asp ..net app. I was trying this layout: <Application start="..." end="..."> <Session start="" end=""> <Request> <UserDomain /> <... /> </Request> <Reques...more >>

User information in the web request
Posted by Vadym Stetsyak at 5/13/2005 3:44:51 PM
Hi there! Is it possible to retieve user nt name from the web request? This question arose while thinking about authentication system implementation in the asp.net. I want to make authentication process transparent for the user. E.g. if the user is logged on the domain or is a member of the d...more >>

preview uploaded file
Posted by Tarren at 5/13/2005 3:32:09 PM
Hi there: I have figured out how to take the uploaded file from the form input and save it into the database, but I am wondering (and looking for examples) how can I stream the image back to the browser directly from the form element (not saving to the db and pulling it back out) as the Ima...more >>

Session not available in Visual Studio IDE
Posted by Axel Dahmen at 5/13/2005 3:31:35 PM
Hi, after I've added a property to my web page I can't open it in Visual Studio Designer anymore. I get the error message "File couldn't be opened in Web Forms Designer. [...] enablesessionstate page directive required to use Session object." I see that Visual Studio Web Forms Designer seem...more >>

ASP.NET account trying to access SQLServer
Posted by Andreas Schubert at 5/13/2005 3:29:46 PM
Hello newsgroup, I've got an issue here, which I cannot resolve. Please help. I created a small ASP.Net application with a crystal report. When I try to view the report, I get the CrystalDecisions.CrystalReports.Engine.LogOnException -error. I first thought that it is a problem like in htt...more >>

DropDownList Control
Posted by I am Sam at 5/13/2005 3:16:02 PM
I have two DropDownList controls in a web form and I need to test which control has changed without wrapping it in a SelectedIndexChange Event. How do I go about this issue? I have tried the following which works sort of but the first time I change the selection in one of the DropDownList co...more >>

Good book on beginning with ASP.NET 1.1
Posted by dw at 5/13/2005 3:15:43 PM
Hi, all. I know you've had this question only a million times before, but here it goes: I have access to Books 24X7, the online computer book resource. Do you recommend any books for beginners with strong ASP experience? In other words, someone who already knows Web development, just not in ...more >>

new windows popup blocker
Posted by Jachu at 5/13/2005 3:07:05 PM
Hi, when i want to open in a new windows a url, use this code. Private Sub btnF_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnF.Click Response.Write("<script>") Response.Write("window.open('http://www.hotmail.com','_blank')") Response.W...more >>

td tag generating faulty code
Posted by Naveen K Kohli at 5/13/2005 2:35:31 PM
I have created a user control using asp:table control. The control generates a single column menu controls with 5 rows. each row is supposed to have a image in link tag. The problem is that ASP.Net framework generates closing "td" tags on new line. This causes to show extra white pixels at the...more >>

RequiredFieldValidator and UserControl
Posted by DougS at 5/13/2005 2:24:18 PM
I'm attempting to put a RequiredFieldValidator next to a text box on a user control. There will be a dozen of these controls added dynamically. At runtime I get this error: Unable to find control id 'txtValue' referenced by the 'ControlToValidate' property of 'RequiredFieldValidator1' Do...more >>

HttpException (0x80070005): Access denied to 'c:\inetpub'
Posted by Dave F. at 5/13/2005 2:14:10 PM
I just installed my ASP.NET app on a Win 2k server. I installed the files in a folder on D: and setup a virtual directory in IIS Default web. We had to install the Framework 1.1 and SP on this computer.When I attempt to run this app I get the error mentioned above. I granted ASPNET access to ...more >>

Replace characters in a Dataset?
Posted by Dave at 5/13/2005 2:12:03 PM
I get XML data from a data that sometimes has html tags embedded around text content (<P>, <PRE>, <B> etc.). I want to strip out all of their HTML formatting such as the <PRE> tags. How can I do this on the dataset before the binding? Thanks....more >>

Multiple buttons validate different controls????
Posted by msnews.microsoft.com at 5/13/2005 2:09:56 PM
I have 2 datagrids. Each with an add record in the footer. How can I just validate the fields in that datagrid without validating the fields in the 2nd datagrid. Any examples??? -- David ...more >>

Emailing from app - Help!
Posted by Sandy at 5/13/2005 1:43:42 PM
Hello - I am attempting to email error messages to myself in the event of an error. I am using the following code: Dim mail as New MailMessage() Dim ErrorMessage = "The error description is as follows: " & Server.GetLastError.ToString mail.To = "myname@earthlink.net" mail.From...more >>

viewstate error
Posted by Hillary Hill at 5/13/2005 1:35:14 PM
I am getting the following error. Ths steps are 1. A Page with Datagrid and literal control. 2. View state is the default one for all the controls. (Not changed). 3. When user clicks the HTML button, I am redirecting the user to myNext.aspx page from the client side code as shown. do...more >>

asp:button in C# class
Posted by Lam at 5/13/2005 1:32:27 PM
I want to dynamic generate a asp:button in C# class, not in the HTML code so that it can call the methods in the c# class, I try to use "Response.Write("<asp:button...>") it didn't show the button Can anyone help? Thanks a lot ...more >>

ASP.NET User control browser unable to gain focus
Posted by ASP.Net programmer at 5/13/2005 1:07:44 PM
I have a very weird problem with an ASP.NET page I developed in Visual Studio .Net 2003: The page has an asp panel which contains a user control (to keep it in a certain place). The User control contains a HTML grid layout panel to keep the layout of the textboxes as I want it. When I run...more >>

Calling an APPLET from an ASPX Webform
Posted by Henrique Fleury at 5/13/2005 12:58:03 PM
I need to call an APPLET from my webform. Does anyone know if it works, if I´ll have any problem. Please, i appreciate if anybody help me....more >>

ASP.NET 2.0 Beta 2 Membership. Help!
Posted by lanem at 5/13/2005 12:51:04 PM
Has anyone gotten the membership stuff to work in Beta 2. I am going through examples/walkthroughts on this stuff, and it just doesn't work. All the examples are using beta 1, so I was wondering if something has changed, or if I'm just an idiot....more >>

Q: SQLDataAdapter fails
Posted by JIM.H. at 5/13/2005 12:44:03 PM
Hello, While creating SQLDataAdapter, when I select all the fields in the table, wizard gives me error by saying generate SELECT statement failed, when I select only e few fields it works fine. What is problem? Thanks, Jim. ...more >>

Best practice
Posted by Diffident at 5/13/2005 12:41:11 PM
Hello All, Best coding strategies for calling stored procedures from ASP.NET. As you are all aware that accessing a property is expensive than calling a method. For example in order to call a stored procedure which accepts 2 input parameters, we are currently following the below standard t...more >>

Search with drop down list
Posted by Rudy at 5/13/2005 12:31:08 PM
Hello! I have 4 diffrent drop downlist. I want a user to select a value from a drop down list, and place it in a SELECT statement. How would I put that value in the select statement. And if the user selects two items, one item from two diffrent drop down list, how would I do that? Any sug...more >>

Excel Workbook in IE
Posted by Jerry J at 5/13/2005 12:16:07 PM
I am sending Excel reports to web clients. Excel opens in internet explorer displaying multiple sheets. It is pretty simple to do and works well. To do it, a client clicks a link to an ASPX page that first generates Excel.htm files (query string contains parameters for the specific reports) t...more >>

Returning the index number of listbox
Posted by Maziar Aflatoun at 5/13/2005 12:09:35 PM
Hi, Does anyone know how I can return the index number of a ListBox? Ex. How do I use lbxMyListBox.Items.IndexOf to search for the item that has a Text="Name" Thanks Maz. ...more >>

How to display crystal report via webform..
Posted by Mustufa Baig at 5/13/2005 11:49:06 AM
I would to be able to display crystal report via ASP.NET by using CrystalViewer Web Component and by exporting as well. Thanks. ...more >>

parameters in search
Posted by Eirik Eldorsen at 5/13/2005 11:20:15 AM
I'm trying to use parameters in a search, but I can't get it right. Before I add parameters this works: string cmd = "SELECT * " + "FROM MyTable" + "WHERE Title LIKE '%" + keyword + "%' Here my code with parameters that don't work: string cmd = "SELECT * " + "FROM MyTable " + "WHERE Ti...more >>

I don't want to postback
Posted by Jaime at 5/13/2005 10:47:40 AM
Hi all, I'm not sure if this is the correct forum, but here goes. Is there a way to not post back after a button (actually imagebutton) is clicked? I have something like: <asp:ImageButton ID="something" ImageUrl="pic.gfx" Runat="Server" OnClick="ViewDetails('"+id+"')" /> now, this w...more >>

uploading and retrieving data into an Sql Image field
Posted by Arlyn at 5/13/2005 10:35:17 AM
I am using an sql Image field to store bother binary and text data. It works for all types I tested except PDFs. Anyone have experience storing pdfs in image fields. ...more >>

Obtaining what Web Server is running the WebSite
Posted by Wayne Gibson at 5/13/2005 10:34:01 AM
Hi, Is it possible to determine what web server is running a website, if so how? Also is it possible to determine if the web site is running locally or remotely. Thanks Wayne ...more >>

Sharing a web-project
Posted by Mantorok at 5/13/2005 10:24:23 AM
Hi all We have an ASP.Net project (and the Solution) under source-control. Here is the example - I create the Solution, I create an ASP.Net project and then check it all in to source control, now, when another user pulls down the solution/project from source and then tries to open it the S...more >>

Tough Problem: Anonymous Posting Enabled Forum
Posted by W. Jordan at 5/13/2005 10:13:55 AM
Hello Gurus, I am developing an ASP.net forum in our intranet. The design specification requires that the forum provides a way for the users to post anonymously. Here's the structure of the database table which stores the threads in a forum: CREATE TABLE Module_ForumThreads ( ThreadID...more >>

ASP.net PropertyGrid
Posted by Jon at 5/13/2005 9:52:04 AM
Hello all, Does anyone know of a good PropertyGrid control for ASP.net? There's one available for Windows but I can't see to find one for web. Thanks, Jon...more >>

Error passing values from one pahge to another
Posted by Chris at 5/13/2005 9:51:05 AM
Hi, I have two froms (form1 and form2). I want to be able to pass values from form 1 to form2 and be able to use those values leter in form2. This is my code for form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Serv...more >>

Error msg says "Web server not using ASP.Net ver 1.1" - Problem
Posted by Rich at 5/13/2005 9:51:03 AM
I loaded visual studio.Net 2003 on a windows XP workstation, and I was able to run aspx applications. Later I loaded JBuilder 2005 (Enterprise Java builder 2005) which runs the Tomcat 5.0 web server (and some other servers - for RMI, application servers). I was still able to run vb.net and C...more >>

Closing the session between asp and asp.net application.
Posted by Hillary Hill at 5/13/2005 9:40:05 AM
I have a login page written in ASP. Once the user logs in to the system, by clicking the certain link they can navigate to the purchase module written in ASP.Net. In the purchase module the user can logout. Once the user logs out I am calling the Session.Abandon() and redirecting the user t...more >>

Response.Redirect Error in Custom Class
Posted by Joe Rigley at 5/13/2005 9:26:28 AM
Hi, I have a custom class with a public method. I want to perform a repose.redirect if an error occurs in the public method GetUserRoles. Unfortunately, Visual Studio 2003 is throwing an error when I try to do this. I have imported the System.Web namespace and the same code works fine o...more >>

How to bind data from database access to drop down list control?
Posted by Joey Liang via DotNetMonster.com at 5/13/2005 8:47:21 AM
Hi all, I am new to ASP.NET, i have met some problems in binding data from a table of database to a dropdown list control. Anyone knows how to do it?if possible can rougly write the codes or any tutorials regarding this...Thanx in advance... From, Joey -- Message posted via http:...more >>

datagrid selected item
Posted by rodchar at 5/13/2005 8:26:10 AM
hey all, when you first load a page with a datagrid item on it, is the first record always selected by default? if so, is there a way to have it where nothing is selected by default? thanks, rodchar...more >>

BC31019: Unable to write to output file error after installing .net framework
Posted by ewoiruweo NO[at]SPAM wpeirwpe.com at 5/13/2005 8:22:33 AM
After installing .net framework on a 2000 server for the first time this message appears when trying to open a basic default.aspx page: BC31019: Unable to write to output file 'C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\root\0eba2c7d\6b9c3e33\xoa7-gmz.dll': System Error...more >>

how do you do this?
Posted by rodchar at 5/13/2005 8:10:13 AM
hey all, i have a datagrid and i want to have it where if you click on an item an expanded row of information is inserted between the selected record and the following record? how would i do that? thanks, rodchar...more >>

Asp.net wont validate form
Posted by Adrian at 5/13/2005 6:29:13 AM
Hi everyone I have a web form where the validation works pefectly I copied the file, renamed it, and all of a sudden the validation stopped working(on the copied form). I have two panels on them. Both have validation controls in them and only one panel is visible at a time. The first panel...more >>

RequiredFieldValidator
Posted by Jim Reynolds at 5/13/2005 6:00:05 AM
Hi, Is it possible to use a RequiredFieldValidator at runtime. I have tried and it apears to ignore the field to valdate propertie Jim...more >>

Issue with Multiple Submit Buttons
Posted by Matt at 5/13/2005 5:56:05 AM
Hi, I have a web form where a user can enter child parts for a given parent part. On the top of the page is a text box and a sumbit button labeled "Retrieve Child Parts". When type some part number and press enter all child parts for the given parts are retrived from a db table and bound t...more >>

SessionID Changes in production machine....help
Posted by Reza Solouki at 5/13/2005 5:30:03 AM
Help, I posted another thread here asking help because I was losing my session information(got no response). After a lot of searching on different sites I discovered that my sessionID changes everytime I submit. It doesn't happend with running it inside the visual studio, just when runnin...more >>

Programatically set the Page Title and/or Hidden Form Field?
Posted by Paul at 5/13/2005 5:15:22 AM
I want to set the page title and/or a form hidden field programatically through ASP.Net. I do not want to use something like... <% sTitle ="My Title" %> <html><title><%=sTitle%></title>..... I want to completely seperate the code from presentation. I would like to do the same thing for ...more >>

Marker in ASP.Net
Posted by Wannabe_Geek at 5/13/2005 1:35:16 AM
Do we have something in ASP.net like freemarker for java.(freemarker.sourceforge.net) The idea is to use simple HTML file as template for the site and replace the Marker tags with appropriate content. Iam able to do it up to a certain extent. But I would like to replace these marker wi...more >>

Need Advice
Posted by Shapper at 5/13/2005 12:40:52 AM
Hello, I created a Content Management System for my clients. In its homepage I want to display some news. I need to have the news in my web site's database or maybe in an XML file. What is the best way to access it from multiple web sites? This seems much like a RSS where multiple web...more >>

Scrollable grid with locked header/left columns?
Posted by Cristof Falk at 5/13/2005 12:24:18 AM
Is there an easy way to have a scrollable grid where you can lcok top lines or left columns for headings? It seems like you have to purchase this, which we'd rather not do. We're most interested in VS2005, but have some apps in VS.NET 2003. If we need to purchase, any recommendations of con...more >>


DevelopmentNow Blog