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 > september 2005 > threads for wednesday september 7

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

http://localhost
Posted by sameer.kulkarni NO[at]SPAM gmail.com at 9/7/2005 11:53:12 PM
Http://localhost giving page cannot be displayed.. I have tried the bypas proxy setting too.. still it giving same error. also when i try to browse any site it says server cannot access application directory.. ...more >>


Dynamically adding a control...I think! :)
Posted by Web Team NO[at]SPAM Borough of Poole at 9/7/2005 11:32:51 PM
Hi All, I'm in the process of writing a eich text editor web custom control. The actual text/HTML is displayed/editied in a DIV layer, which I have created like this: output.Write("<span class=" & EditDivCSSClass & " id=" & Me.ID & " " & strContentEditable & " wrap>" & _strText & "</span>...more >>

Secure Server - What Does It Take?
Posted by Jeremy S. at 9/7/2005 11:08:43 PM
What does it take to make a Web server a "secure server"? I need to serve some images from my IIS6 server and they must be accessible via https. I have never set up a server to work with https. How can I accomplish this? Where do I start? Thanks ...more >>

Resolve URL
Posted by RSS at 9/7/2005 10:34:32 PM
Hello everyone. I am looking for a solution to following problem. If any one is able to help I want to say thank you very much ahead of time. My client has a website. For each user they want to have "separate" url in following fashion --> www.site.com/username Now, having it in such fashi...more >>

using forms or windows authentication for Login in MSSql Server(integrated security)
Posted by sefe dery at 9/7/2005 10:00:05 PM
Hi ng, i have an Asp.net webapplication on a remote Windows Server 2003. I created on the remote server a windows account and i use the "only windows authentification" in sql server 2000. The name and passwort for the windows account are the same like the credentials in asp.net. The ...more >>

display Time
Posted by japin0 NO[at]SPAM yahoo.com at 9/7/2005 7:57:11 PM
This code below suppose to display time of my PC on the web but it doesnt ..it just echos "Hello W3Schools!" <html> <body bgcolor="yellow"> <center> <h2>Hello W3Schools!</h2> <p><%Response.Write(now())%></p> </center> </body> </html> what is wrong? rgds cha ...more >>

ASP.NET 2 GridView.
Posted by realgeek NO[at]SPAM gmail.com at 9/7/2005 7:01:29 PM
I got to playing with ASP.NET 2.0. So I have the following code: CODE <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="QuestionID" OnRowCancelingEdit="GridView1_RowCancelingEdit" OnRowEditing="GridView1_RowEditing" OnRowUpdating="GridView1_RowUpdating"> <C...more >>

Session ID's - Are these guaranteed unique
Posted by Ben Fidge at 9/7/2005 6:26:20 PM
Are IIS session ID's guaranteed to be unique forever, like GUID's. Ie, would it be safe to assume that a session ID is not ever going to be used again or recycled? I want to track user activity on a web-site by storing the session id and activity in a Sql Server database. Oviously if a session...more >>



Visual Web Developer uses Firefox instead of IE?
Posted by Mark at 9/7/2005 6:20:25 PM
Hi, I am using Visual Web Developer 2005, whenever I run the application, it launches Firefox, how do I change this to IE? -- Any help much appreciated Mark Baldwin ...more >>

ASP.NET Controls
Posted by John Smith at 9/7/2005 5:18:46 PM
hello group, I have to create a web page with some drag and drop and dynamic positining. Does anyone know any ASP.NET controls which we could use. Thanks in advance John ...more >>

Datalist help needed!
Posted by VB Programmer at 9/7/2005 4:53:19 PM
I am making a data driven shopping cart. I'm using a datalist for the list of products. The item template consists of: - Product Id - Product Picture - Product Description - Price - Qty - Add to Cart image button 1. When I double click on the image button (Item Template view) it does...more >>

Databinding if column exists or not
Posted by ree32 NO[at]SPAM hotmail.com at 9/7/2005 4:19:01 PM
I keep getting this error colName1 is neither a DataColumn nor a DataRelation for table tablename1 When I am trying to check for a value Sub databoundVersion(ByVal s As Object, ByVal e As RepeaterItemEventArgs) If e.Item.ItemType = ListItemType.AlternatingItem Or e.Item.ItemType = ListI...more >>

Listbox containing duplicate items - correct selection not maintained on postback?
Posted by Adam Clauss at 9/7/2005 3:50:34 PM
I have a page containing a list box. This list may contain duplicate items - in which the ORDER is important. ex: a b b a is significant as compared to: b a a b even though the list contains the same elements. The user has buttons on the page to reorder the list. The problem ...more >>

how to add a whildcard appliation mapping in IIS programmatically?
Posted by BentleyInc at 9/7/2005 3:48:47 PM
I'm trying to find a way to add a whildcard application mapping to aspnet_isapi.dll in IIS programmatically.... been looking into IIS administrator reference but didn't find the right function to use. The equivalent GUI steps would be, open IIS, select my application->properties, app configura...more >>

How to hide the url of an image control
Posted by J-T at 9/7/2005 3:28:04 PM
Hi all, I have an image control on my page for which I set its URL in code-behind ..I'd like the end user not to be able to see this url by right clicking on th picture and getting its property or digging into the source of he rendered html. How should I do that? I appreciate your help i...more >>

about colors and numbers
Posted by Alex D. at 9/7/2005 3:17:19 PM
can anybody tell me how to assign a color as a number? I couldnt find anything for that in System.Drawing. Example of what I need to do: TextBox1.BackColor = "#A8D3FF"; Thanks, Alex. ...more >>

ASP.NET Membership Services Question?
Posted by artificer at 9/7/2005 3:13:44 PM
I want to create an Internet application that will be accessed by several pre-registered companies. All of those companies will be accessing the same database and the same application but each one of them will only access the records that belong to their company. Another complication is that n...more >>

Listbox Problems
Posted by Sparky Arbuckle at 9/7/2005 3:10:51 PM
The code below works to an extent. The problem with it is that no matter which item is selected, the first one in the list is always the item that gets added/removed. How can I alleviate this problem? I have tried If Not Page.IsPostBack and still nothing. Private Sub btnCol1ToCol2_Click(ByVal ...more >>

email from ASP.NET
Posted by George at 9/7/2005 2:40:28 PM
Hi,=20 I saw somewhere an article (or KB ) on how to send out email (with = System.Web.Mail.MailMessage) using drop folder of SMTP service as = opposed to using .SmtpServer property? Can someone point me to that article? Thanks George....more >>

Query Against XML File (not just XML data)
Posted by Jeremy S. at 9/7/2005 2:34:14 PM
In BOL I've been reading up on OpenXML, sp_xml_PrepareDocument, OpenRowSource, OpenDataSource, etc, but have not yet found a way to link to and query an XML file. What I'm looking for is something like sp_xml_PrepareDocument that will let me read an XML file from disk. Suggestions? Thank...more >>

ASPNET & .NET framework defined
Posted by Bill at 9/7/2005 2:20:34 PM
Hiho- Sorry to ask something this basic. New to windows server. Setting up a 2003 Server box with software that requires ASP.NET & .NET framework but haven't found a great place to read what these things do and/or how/where to get them. A pointer in the right direction would be much appre...more >>

Controls inside EditTemplate cause editing to end
Posted by Nathan Sokalski at 9/7/2005 2:05:48 PM
I have a DataList control with an EditTemplate. Three of the controls in this template include a Calendar, a Button with CommandName="update", and a Button with CommandName="cancel". Whenever I click one of these controls, the DataList replaces the EditTemplate with the ItemTemplate. I think t...more >>

is this possible in .NET?
Posted by natzol at 9/7/2005 1:51:03 PM
Just a question to verify - I am a beginner in .Net Our business needs require that we have to modify db tables on regular basis (add column, remove column, add/drop table etc). Therefore it is a pain to modify business logic layer+business data layer after you for example added a column ...more >>

method post problem
Posted by Britney at 9/7/2005 1:46:58 PM
Hi guys, in my default.aspx file, I have following code. when I go to browser, I enter values in both textboxs, then I hit submit Button, however, it didn't go to page2.aspx. instead, it was still in default page. I thought Action will direct page to page2.aspx, no??? <form id="Form...more >>

Weird WebClient UploadData Problem
Posted by bss2004 at 9/7/2005 1:17:01 PM
Help! I'm posting a PDF Doc to a remote server using WebClient UploadData and the following code. The DOC posts fine and the server returns a positive response. If I access the remote file in Firefox the Adobe PDF Reader in Firefox kicks off and I can view the file just fine. HOWEVER, if...more >>

Loading site through outlook
Posted by Ryan Ternier at 9/7/2005 11:04:16 AM
We're having some weird errors with customers loading our web applications through Outlook (from a Notification email we send out). When a user from this organization uses our sites by double clicking IE and then browsing to it, everything works fine. however, when they click on the link f...more >>

onsubmit question - can't figure out
Posted by Craig at 9/7/2005 10:59:03 AM
This has got to be easy, but I can't figure it out. I have a login control with a login button to process the username,password, etc. I have the login control within a login page, and this page has the form tags in it....... //this doesn't work for the onsubmit <form id="Form1" method="pos...more >>

How to pass some kind of data to a given Web User Control?
Posted by mehdi_mousavi at 9/7/2005 10:54:54 AM
Hi, I need to pass some variables to a given web user ctrl, say, myctrl.ascx. e.g., I need to include the user control within a web form as follows: myctrl.ascx?myparam=myvalue&whatever=another_value whilst somewhere else I would call the mentioned ctrl as myctrl.ascx?myparam2=myvalue&wh...more >>

Copy File from Desktop to Server
Posted by Bahman at 9/7/2005 10:45:01 AM
Hello! Sending email attachments works only if the file is on the server file system. So, I need to copy the local file to the server. Is there an easy way of doing this? Thank you! -Bahman...more >>

improved ImageButton does it exist?
Posted by Franck at 9/7/2005 10:11:12 AM
Heelo, I'm looking for a component that allow creating a ImageButton slighlty imporved as I wish It could change backggrtound image with the following event; onMouseOut onMouseOver onClick I've done it done it that way using javascirpt in the html code: -------------------------------------...more >>

asp.net and ldap
Posted by Bryan at 9/7/2005 9:40:42 AM
Hello, I have a asp.net app working with directory services on my Windows XP development machine. However when I moved the application over to our production server (Win 2000 Server) it no longer works. I use this code to try to connect to ldap: System.DirectoryServices.DirectoryEntry entry...more >>

How to XSL-transform documents into a place-holder on the form?
Posted by vitaly.tomilov NO[at]SPAM gmail.com at 9/7/2005 9:39:12 AM
I'm using an ASP.NET form to display data from my database table, and I'm doing it in the following way: XmlDataDocument doc = new XmlDataDocument(mydataSet); XPathNavigator nav = doc.CreateNavigator(); XslTransform xslTran = new XslTransform(); xslTran.Load("Transform.XSL"); xslTran.Transfo...more >>

CS0016: Could not write to output file --- Access is denied
Posted by michelevirgilio NO[at]SPAM gmail.com at 9/7/2005 9:19:10 AM
Hi, some hours ago my .net framework has stopped working, WITHOUT ANY REASON: no new installations, etc. Now every aspx page give me the error: Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error deta...more >>

How to pass additional parameter to error page
Posted by pawel.pabich NO[at]SPAM gmail.com at 9/7/2005 9:11:12 AM
Hajo, I use <customeErrors> and I set the defaultRedirect attribute to my error page. Now I want to pass to this page additional number and I want to do this using query string but I do not know how to add additional paramter to automatically generated by asp.net url. error.aspx?aspxerrorp...more >>

Class Design Question for 3-tier web app
Posted by Chumma Dede at 9/7/2005 8:44:37 AM
Hi, We are building a 3-tier web-app and are currently in planning phase. At the business layer, I have a class which has a 2-d array which can potentially hold thousands of rows. The thing is on the UI, I would like to implement some kind of paging to display only N rows at a time from this ...more >>

inline code not executing?
Posted by jason at 9/7/2005 8:31:32 AM
Hello everyone, Just curious what would cause an .aspx page to not execute its inline code. <%# DataBinder.Eval... %> stuff is working just fine, but anything else contained by the <% %> tags in the .aspx page just gets sent literally to the client, including the <% %> tags themselves. I re...more >>

Intermittent MissingFieldException
Posted by Lee Chapman at 9/7/2005 8:24:02 AM
Hi, I have a problem where my ASP.NET application occasionally generates a MissingFieldException exception. This unexpectedly happened on my development box, and so I was able to extract some information from the debugger: The field that is "missing" is called 'logger'. Here's it's descr...more >>

build sql query
Posted by Howard at 9/7/2005 8:06:42 AM
How do I do this with parameterized query? without parameterized query: string search = "hello world search"; search = search.Replace(" ", " AND "); SELECT * FROM TABLE1 WHERE TEXT LIKE '%' + @search + '%' parameterized query: SELECT * FROM TABLE1 WHERE TEXT LIKE '%' + @search + '%' ...more >>

Calling an asp page from html
Posted by aps at 9/7/2005 7:26:07 AM
Can anyone tell me why I get a file download window every time I call an ASP page from an HTML window. I have tried; <frame src="Main Menu.asp" name="MainMenu"> and <a href="Main Menu.asp" target="RHS"> and even function LoadASP() { var sURL; sURL = "Main Menu.asp"; location.h...more >>

screen resolution
Posted by DavidS at 9/7/2005 7:22:03 AM
Have resW=screen.width; resH=screen.height in javascript. How can I read these values in ASP.NET source code - Page_Load function of code behind? Any suggestions?...more >>

Lost Cookie during Authentication
Posted by yofnik NO[at]SPAM comcast.net at 9/7/2005 6:21:30 AM
Hello All, I am going crazy trying to figure out why my ASP.NET web application cannot get beyond the login screen. It is using very simple Forms based authentication: if(!FormsAuthentication.Authenticate(tbUserName.Value, tbPassword.Value)) { pageInfo.Text = "Invalid user name or passw...more >>

Q: call a class in default page
Posted by JIM.H. at 9/7/2005 6:21:02 AM
Hello, Once I add a web form it creates a class that inherits from System.Web.UI.Page, I have many pages and I want to create a class in my default page which has a method that display a message for example and I want to call this method in all pages. I am new in this concept, how should I do...more >>

Repeater and Page Breaks
Posted by tomh at 9/7/2005 6:07:37 AM
I have a repeater which displays records from a database in table form. Each record is placed in its own table of about 3 columns and ten rows. This website is intended to be printed and prints out to about 10 pages, although there are page breaks in the middle of some of the tables, causes the ...more >>

PDF files launch in notepade???
Posted by Tim::.. at 9/7/2005 4:51:01 AM
Can someone please tell me why when ever I view a PDF file through my web application the file opens in notepad... I have checked my file association and the client machine is set to launch PDF's in Acrobat Reader 7 so that isn't the problem... Here is the part of the code for my view.aspx...more >>

How to refresh an iframe content
Posted by J-T at 9/7/2005 2:35:02 AM
Hello, I have an iframe which its scr is set to show a url (am image) .I am put this iframe on a user control and I am loading that user control dynamically to my Default.aspx.Now I need to refresh the content of the iframe every 2 minutes .I used a java script code in user conrol ,the refe...more >>

Server Application Unavailable
Posted by wASP at 9/7/2005 1:15:58 AM
Hi, I was trying to test a webpage with IE6, and I got hit with the following display: -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Server Application Unavailable The web application you are attempting to access on this web server is currently unavailable. P...more >>

CACHE, BUFFER, system bug or what?
Posted by Just D. at 9/7/2005 1:14:06 AM
All, Did anybody see this strange effect? The web application is written in C#, ASP.NET, SQL, T-SQL, etc. A pretty usual stuff, complicated enough, but works fine until... Here is a question. I don't see any problem if I start this app on my local computer against my local IE both in deb...more >>

C# newbie
Posted by newbie at 9/7/2005 12:31:04 AM
Hi, if a funcion/defines is defines as follows new private void Page_Load(object sender, System.EventArgs e) { } is it C++ operator new? thxs newbie ...more >>

AJAX XML feeds via Web Service
Posted by shadow.demon NO[at]SPAM gmail.com at 9/7/2005 12:03:47 AM
So ajax is the new black, i've had a couple ideas about how to implement it. I've alook at ajax.net and few other implementations but to me they're a bit complex. Maybe it's the way to go to have better coding. In the standard case of a dropdownlist, or listbox, that needs to be filled as the...more >>

Server Application Unavailable
Posted by wASP at 9/7/2005 12:02:28 AM
Hi, I was trying to test a webpage with IE6, and I got hit with the following display: -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Server Application Unavailable The web application you are attempting to access on this web server is currently unavailable. P...more >>

DropDownList problem with SelectedIndex
Posted by Pat at 9/7/2005 12:00:00 AM
When selecting a DropDownlList to display some Data based on the ddl.SelectedItem.Value since a dropdownlist index starts from 0.. After selecting for example value1 and 2 which its ok but when you get back to select 0 it gives an error "Object reference not set to an instance of an object." S...more >>

simple authentication
Posted by Coldman at 9/7/2005 12:00:00 AM
hi, IIS 5 and 6, IE 5 and 6, simple authentication does the browser send the username and password in clear text on every request after been authenticated? ...more >>

transmitting eventHandler pb
Posted by Franck at 9/7/2005 12:00:00 AM
Hello, I wrote my proper web control using a button and a few other components in order to allow the page iclunding the control to capture the click event from the button i did that //class declaration public class ButtonDreamWeaver : Control, INamingContainer public event EventHandler...more >>

Asp.net Header file scenario please ... (compilation err)
Posted by Annie at 9/7/2005 12:00:00 AM
hello guys, I have a header file in the form of user control (.ascx) that all my pages inherit from it. I have a textbox that i need to access it from all the pages actually i show there user details there and needs to update it. So i set this textbox as Public and Static. The code compiles...more >>

Viewstate!
Posted by Adam Knight at 9/7/2005 12:00:00 AM
Hi all, I am databind a checkbox in a datagrid to a db value. My issue is, when i change the data being displayed via a dropdownlist, any previously checkbox selections are maintained in the grid though the data has changed (i would image a viewstate issue). Instead i am after an ...more >>

virtual web site
Posted by Mike at 9/7/2005 12:00:00 AM
I have a web site that is configured as a virtual under IIS, in the folders i also have sub folders that I need to search in from my web page. How can i search the folders under the virtural web site directory without fully defining the path? its setup such as this; c:\autoFinder under ...more >>

Asp.Net 2.0. Need Advice.
Posted by Shapper at 9/7/2005 12:00:00 AM
Hello, I am starting a new web site project which I will launch in January of 2006. I didn't decided yet if I will create it in Asp.Net 2.0 using MS Visual Studio 2005 and MS SQL 2005 or in Asp.Net 1.1 using Visual Studio 2003 with SQL 2000. My main problems are: 1. Is Visual Studio ...more >>

Urgent , please help-How to get child repeater checkbox status
Posted by Ceema M via DotNetMonster.com at 9/7/2005 12:00:00 AM
Hello all, I have a nested repeater, which displays categories(parent repeater) and corresponding subcategories(child repeater). Both repeaters have checkboxes. When I check category checkbox and subcategory check boxes and click on submit button , I have to retrieve the corresponding categ...more >>

Datagrid - CheckBox!
Posted by Adam Knight at 9/7/2005 12:00:00 AM
Hi all, I have a datagrid with a checkbox in one column. The checkbox is set to autopostback and calls a method named UpdateMailSubscribers. The first click on the checkbox cause the page to post but doesn't seem to haven't any affect. It doesn't appear to call the UpdateMailSubscribers ...more >>

the best way to have some information accessable to all pages?
Posted by Annie at 9/7/2005 12:00:00 AM
hello all, I need to have access to some details in all my pages eg a Person object. what is the best way to do it? store in session object? or pass them through the QueryString or Application variables etc? what is the best and efficient way? ...more >>

Server Side Debugging error in Hello World Application
Posted by Bikram Suri at 9/7/2005 12:00:00 AM
Hi, I'm new to the ASP.NET /.NET programming so excuse my very basic question. I was trying to write the Hello World Application using ASP.Net using C# in Visual Studio.Net When I debug the application I get the error..... "Error while trying to run project. Unable to start debugging on the...more >>


DevelopmentNow Blog