Home All Groups Group Topic Archive Search About

ASP.NET Development

microsoft.public.dotnet.framework.aspnet
Score Repeater : AlternateItems when no AlternateItems are defined.
craigkenisston - 17 Jun 2006 11:44 PM - 2 messages
I discovered by accident, that ItemCreated sees ListItemType.AlternatingItems even when no alternate items are defined. I thought, that this method would just receive all the EventArgs as as normal ListItemType.Item,since I did not defined AlternateItemTemplates in my repeater. ...
Score How widely deployed is version 2.0 at this time?
Carl Tribble - 17 Jun 2006 11:43 PM - 3 messages
Hi, My web hosting provider (IX WebHosting) does not have version 2.0 of ASP.NET yet.  Is this common or do most providers now have version 2.0? Thanks, -Carl ...
Score How to dynamically change master page?
ad - 17 Jun 2006 10:44 PM - 10 messages
Hi, How can I dynamically change the MasterPager of a web page? ...
Score How to get the page name of itself
ad - 17 Jun 2006 10:22 PM - 4 messages
I am use VS2005 to develop a web application. How can I get the page name(the name of .aspx file) of it self in the page class? ...
Score Looking for Multiple Domain hosting with Plesk / Asp.Net 2.0 / SQL 2005
Miguel Dias Moura - 17 Jun 2006 10:15 PM - 1 message
Hello, I am hosting various web sites on DiscountAsp.Net. I am now looking for an Asp.Net 2.0 / SQL 2005 hosting service with where I can host multiples using Plesk control panel. Could someone provide me some help and links? ...
Score No value given for one or more required parameters
André - 17 Jun 2006 8:24 PM - 4 messages
Hi, I created a button in order to delete all the records at once in a gridview. But i get the error: No value given for one or more required parameters Thanks André The aspx file contains: <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="..." ...
Score GridViewUpdateEventArgs.Keys miss after sort
ad - 17 Jun 2006 8:10 PM - 1 message
I have set "Years,GradeID" as DataKeyNames of a GridView.I use the codes below to get the Keys value of a GridView, it is ok. But if I sort this GridView on Pageload like:   gv.Sort("Years", SortDirection.Descending); ...
Score forcing code to run - httpmodule etc.
cisco - 17 Jun 2006 7:34 PM - 4 messages
Let's say i have something, that will eat up a lot of cpu cycles, that i want to run for the whole webpage( asp.net application and all subfolders underneath). What's the best way to accomplish this? I can't have anyone ...
Score Atlas ASP.NET Profile Service Not Working
msnews.microsoft.com - 17 Jun 2006 7:10 PM - 2 messages
Hello, I was wondering if anyone has gotton profile Service for Atlas to work.  I followed the instructions on setting up Membership login, and programmed a simple page with a drag panel.  But the information is not saved when I closed out and go back to the website.  Thanks. ...
Score Not Buid errors when build, yes build erros when deploy, why?
Pedro Mir - 17 Jun 2006 6:53 PM - 3 messages
Hello, I get no build errors when I select build option. However, I get errors when try to deploy the website, Why this occurs? Thanks, Pedro ...
Score Help with web.config.(authentication mode form
parez - 17 Jun 2006 5:03 PM - 2 messages
Hi, I want to use form authenitcation for all files under one directory.and none for the parent. How would it web.config look like. Thanks.. ...
Score is the value passed via HiddenField to client-side always string?
André - 17 Jun 2006 3:20 PM - 3 messages
Hi, I want to pass a integer value to client-side via a hiddenfield created in the aspx (HiddenField1) dim myvalue as integer myvalue=5 HiddenField1=myvalue When fetching in Javascript, the value is of type string. var myvalue=document.getElementById("HiddenField5").value ...
Score How to insert at first
ad - 17 Jun 2006 1:18 PM - 3 messages
I have a dropdownlist, and it's Items is bound to a TableAdapter. After the Dropdownlist bound, I want to add a items to the DropDownList's Items, but it always at bottom. How can I add the new items at the top? ...
Score User control in web part properties not initialized when added via catalogpart
PhilC - 17 Jun 2006 12:57 PM - 1 message
I'm not sure what I'm doing wrong here... I've created a web parts zone, and a catalog zone. Now if I create a very simple user control called "Tester": public partial class Tester : System.Web.UI.UserControl ...
Score Disadvantages of using windows-1252 codepage?
DC - 17 Jun 2006 12:14 PM - 13 messages
We are about to go online with an ASP.Net site. We have found that it is easiest for us to use windows-1252 content encoding, since that solves our problems with some special characters. Are there some general disadvantages about using this codepage (most sites I know use ...
Score can get forecolor but not background color in Javascript
Bob - 17 Jun 2006 8:59 AM - 5 messages
Hi, When clicked into any cell of the table, i want to get the background color of it. I can get the forecolor but not the bakground color (gives an empty Alert, no error). I think i can't change anything in the code-behind, so the error will be in ...
Score ***Difficult*** asp.net meteorological controls
Helpneeded - 17 Jun 2006 5:17 AM - 2 messages
Hello group I am looking for asp.net controls to display meteorological data, like wind speed, wind direction, air temperature, etc. I looked at many places but I could not find any. Please help. Thanx ...
Score Password protected html files
nick - 17 Jun 2006 4:54 AM - 6 messages
I need to create a simple asp.net application that use password protect some html pages. The html page provider doesn't know asp.net. And the host doesn't allow me to create user accounts. What's the best way to store users/password except database tables? and to ...
Score Help with Formatting GridView
msnews.microsoft.com - 17 Jun 2006 4:35 AM - 1 message
Hello everyone., please help.  I took the CSS from a DataGrid and applied it to the GridView.  It does not take the CSS settings.  Simple settings like; border: solid 1px black fails to apply to all the rows and borders of the GridView.  I know it works ...
Score ASP.NET 2.0 Login Control and Page_Load()
msnews.microsoft.com - 17 Jun 2006 3:04 AM - 4 messages
Hello I was wondering if someone could help.  I have setup Membership login with a ASP.NET 2.0 login control.  All works, but I want to do some extra formatting before showing the page.  I inserted a code behind with a ...
Score Managed Code / Shell
Will Asrari - 17 Jun 2006 2:54 AM - 3 messages
am working on a project now for a client that requires all managed code. I have rewritten about 60% of the code and functionality in C# and have now come to the complicated part of picking apart the existing stored ...
Score user control problem
Rotsey - 17 Jun 2006 2:36 AM - 2 messages
Hi I have a ASP.NET 2.0 problem I hope you could help me with, I have had problems trying to find an answer to this I will be brief. I have a user control that has only a <asp:table> tag on it. ...
Score Gridview: Process notification on select
vbMark - 17 Jun 2006 1:44 AM - 1 message
Hello, Is there a way to add a notification that the record is loading when it is selected in the GridView? I've tried using the OnClientClick command.  It runs my Javascript but will not run open the record. ...
Score how do you get current full aspx page name with querystring?
VB Programmer - 17 Jun 2006 12:23 AM - 11 messages
If I have a url like this:  [link], in VB.NET, how do I get the "mypage.aspx?myvalue1=hello&myvalue2=goodbye" portion? Thanks! ...
Score response.contenttype
Mike Kansky - 16 Jun 2006 11:59 PM - 5 messages
I have an image.aspx that does the following: if request("s")=1 then     response.redirect([link]) else     response.redirect([link]) ...
Score Formview (EditView) Money Data Type Binding problem. Help....
Sam - 16 Jun 2006 11:32 PM - 1 message
Folks.. I am trying to use a Simple form with 3 fields from SQL NorthWind Database (Order Details Table with 3 Fields. - OrderId, ProductId and Unit Price). The Field Unit Price has a data type of 'Money Type'. All I want is to able to edit/view/insert 'UnitPrice' field with 2 ...
Score Application Stopped working....after upgrade
stephen - 16 Jun 2006 11:02 PM - 3 messages
Hi, I had created a FileSystemwatcher app (using W2k) to monitor a Directory and write to a log file. My company upgraded my box to Wxp Pro and it stopped writing to the log file. I tried to debug it manually and when I drop a file into the directory the ...
Score Atlas Problems with Multiple ControlEventTrigger's
msnews.microsoft.com - 16 Jun 2006 10:44 PM - 1 message
Hello everyone, quick question here.  I have a DragOverlayExtender and a Timer tick for a simple label that shows the time that refreshes every 2 seconds.  When you run the page, the tick will fire and and work, but if the ...
Score XML Help!!!
Karthik Natarajan - 16 Jun 2006 10:38 PM - 2 messages
Hello, How do I  create an XML file in asp.net.... Thanks, ...
Score Dynamic LinkButton, ViewState
Andrew Robinson - 16 Jun 2006 10:34 PM - 2 messages
I have a <asp:table> control with a large number of dynamically created LinkButtons. I am using the command event, command name and command argument values in my LinkButtons to trigger actions after the post back. The table ...
Score newbie problem: updating an access db
Ned Balzer - 16 Jun 2006 10:03 PM - 2 messages
Hi all, I have encountered a really weird problem -- probably it is obvious to someone but not to me. I hoep someone can give me a clue. I am implementing some code straight out of the book "ASP.NET 2.0 for ...
Score Fontsize difference
tshad - 16 Jun 2006 9:42 PM - 1 message
I am running a program to put a captcha image on my string and am trying to make sure all the characters fit. The problem is the size seems to be wrong. What I am doing is starting from the rectangles' height + 1 (not sure why I ...
Score XmlDataSource and embeded HTML within your XML data
Sleazy - 16 Jun 2006 9:42 PM - 3 messages
Hi, I am attempting to right a news scroller control that is driven by and XML file. The way I have it set up is: <News> <Item Title="sometitle">     html content goes here ...
Score News content to XML file
Karthik Natarajan - 16 Jun 2006 9:20 PM - 2 messages
Hello, I have been given a task for creating a utility (asp.net/vb.net) exe which transaltes the news content into an XML file. Can some one give me any directions to how we need to do this? Thanks ...
Score Access denied error
tshad - 16 Jun 2006 9:20 PM - 5 messages
I get this error periodically while testing my site and changing dlls. ********************************************************************** Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. ...
Score any good ASP.NET Wiki Software?
D. Patrick - 16 Jun 2006 9:18 PM - 4 messages
Anyone know of anything, preferably with source code? ...
Score ASP.NET FormView Money Data Type Binding Problem with 2 Decimal Points..
Sam - 16 Jun 2006 8:06 PM - 1 message
I am trying to use a Simple form with 3 fields from SQL NorthWind Database (Order Details Table with 3 Fields. - OrderId, ProductId and Unit Price). The Field Unit Price has a data type of 'Money Type'. All I want is to able to edit/view/insert 'UnitPrice' field with 2 ...
Score Capture Handle using authentication
sck10 - 16 Jun 2006 7:52 PM - 5 messages
Hello, I want to allow all users on our company intranet (domain\handle) to enter our website.  However, I would like to capture the handle of the person entering my website.  I was told that if I turn on Enable Anonymous Access ...
Score ASP.Net 2.0 App_LocalResources subfolders
Frustrated User - 16 Jun 2006 7:36 PM - 1 message
Hello, Here is the scenario I need wome help with. An ASP.Net 2.0 web application with the following structure and content: Root Root/App_LocalResources Root/App_LocalResources/MyControl.ascx.resx Root/Controls/MyControl.ascx Root/Controls/MyControl.ascx.cs ...
Score ASP.NET V1.1 Headers and footers help
Dessip - 16 Jun 2006 7:35 PM - 4 messages
Hey, this is probbly a really simple answer, but im useing ASP.NET V1.1 and im trying to create a dynamic header, but a static footer. But i dont want to use place holders. thou its probbly the best way. ...
Score Page Reload Scrolling Issues
Brenden Bixler - 16 Jun 2006 7:19 PM - 3 messages
Hello. I've got a long web form that has to reload 6-7 times to validate data (sigh, I know) making for a rocky-enough experience for users. To add insult to injury, each time the page reloads, it loads and scrolls back to the top ...
Score ASP.NET Webparts application + Publish site = loose page content
ryan.mclean - 16 Jun 2006 7:08 PM - 2 messages
Hi all, I have a strange problem and I think it may be something in my web.config . . . but I'm not sure. I have an application that uses webpart (not sharepoint), but the nifty new .net webparts . . . and it works great, we are using sql server for ...
Score HttpCookie.Domain property
ulabala - 16 Jun 2006 6:51 PM - 4 messages
I was trying to retrieve the cookie collection and display the domain to which those cookies were written to, but I always see a NULL value for the domain property. Can anyone shed some light? This is in Framework 2.0. ...
Score Unable to update in gridview
Terence - 16 Jun 2006 6:39 PM - 1 message
Hi, I have a web user control which includes a gridview and a sqldatasource. It also has a property called TableName which is used to populate the gridview. However, i'm running into a problem where i can select and delete row but i ...
Score Event & Delegate Question
Demetri - 16 Jun 2006 6:36 PM - 2 messages
I have written a control in ASP.Net that needs to react if a specified method gets fired. In other words, I want the control to do some work if a method that acts as the event handler for a button is executed via the button click event. ...
Score Task list
MasterChief - 16 Jun 2006 6:23 PM - 2 messages
Does anybody know of a good free .NET component that is a Task List like what is in Windows XP on the side of a window? ...
Score adding items to a listbox using clientside javascript
bill - 16 Jun 2006 5:54 PM - 2 messages
I need to be able to dynamically add items to a <asp:listbox> (or HTML <select runat=server>) using clientside javascript, and retrieve the items when the page is posted back. I use this code to add the option to the listbox.  It works for <select> or ...
Score "codeless" nested gridviews...there has to be a better way
Roy - 16 Jun 2006 5:12 PM - 2 messages
Hey all. Below is the nested syntax on how to make a "codeless" nested gridview embedded within another gridviews templatefield column. Only problem is that it loads slow. REAL SLOW. There has to be a better way. Suggestions anyone? By the way, I'm not opposed to coding, it just ...
Score Error When Dragging Control From Tool Box to Web Form - Memory Err
MisterEdTX - 16 Jun 2006 5:00 PM - 1 message
Error Message:  "Attempted to read or write protected memory.  This is often an indication that other memory is corrupt." I receive this error when I attempt to drag a control from the Visual Studio tool box to the web form designer of a page.  I am using Visual Studio 2005.  ...
Score ASP.Net Connection To MYSQL
Frank - 16 Jun 2006 4:07 PM - 4 messages
Hello, I am writing an ASP.Net (Visual Basic) application with a MYSQL backend. I connect fine with the DataProvider and also ODBC. I Retrieve records with no problem. I INSERT Records with no problem. The problem is that is is SLOW. ...
Score content rotator (AdRotator)
Scott - 16 Jun 2006 4:06 PM - 1 message
Hi Everyone, I would like to rotate a series of images based on a time interval, not when the pages is refreshed. Can the AdRotator control be configured to change images every x seconds? I found this control does most of what I need, the ...
Score DataBinder.Eval and Eval.
craigkenisston - 16 Jun 2006 3:51 PM - 2 messages
In asp.net 1.x we used something like DataBinder.Eval(Container.DataItem, "FieldName") for binding data. Now, in asp.net 2.0 I see a lot of "Eval( fieldname )" and not the older format. I guess they are equivalent, but I can't find information about the ...
Score how to get the text in JS of a cell created on server?
Bob - 16 Jun 2006 3:36 PM - 6 messages
Hi, I have already posted a similar problem but it 's still a problem for me, so ... I define a table in aspx file and Javascript code. Purpose: when the user clicks on any cell of the table, the text of it must ...
Score The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>)
Zimmergren - 16 Jun 2006 3:29 PM - 1 message
I know this has been up on googlegroups before, on several places. However, I havn't found a solution to this specific problem. I get this errormessage: "The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>)." ...
Score Using the HTML constrol to upload a file - progress bar?
UJ - 16 Jun 2006 3:25 PM - 7 messages
I have a spot where I allow a user to upload a file to the server. The files are media files so they can be large (25MB). Problem is that while it's uploading, the screen just sits there (yes there's a progress bar at the ...
Score problem when using Confirmation box in ASP.NET program
bienwell - 16 Jun 2006 3:00 PM - 3 messages
Hi all, I still have a problem when using Confirmation box in ASP.NET program.  I need to get the value return of YES or NO from confirmation box in Sub function of VB program to do some tasks. For example, I have 2 text boxes ...
Score questions about Controls.add
Bob - 16 Jun 2006 2:48 PM - 3 messages
Hi, In aspx file, i have a table: <asp:Table ID="table1" runat="server"> </asp:Table> In the code-behind, i create rows and cells: For i = 0 To 50 r = New TableRow() for j = 0 To 20 ...
Score Import data from Excel file or text file into database in ASP.NET program
bienwell - 16 Jun 2006 2:38 PM - 3 messages
Hi all, Do you have any source code to import data from Excel file or text file into database in ASP.NET program ?  Please give me your reference if you have. Thanks in advance ...
Score Forced Column Widths in a DataGrid?
Alex Maghen - 16 Jun 2006 2:32 PM - 4 messages
Hi. Is there any way to lock down the width of columns in a DataGrid so that even if the text in one of the rows of that column is very wide, it just gets cut off or something rather than causing the column to get wider? ...
Score Is this so wrong?
Ethan V - 16 Jun 2006 2:23 PM - 11 messages
To optimize performance, I plan on putting any useful information for a user in a session cache/variable. Our web server will have 2GB of memory to start out with. Since I will be very liberal in the amount of data I'll put in the session, ...
Score IEWC TABSTRIP don't' work when no applicationpath present
iltrex - 16 Jun 2006 2:21 PM - 2 messages
I have one asp.net application that uses TABSTRIP. It worked fine on all customers when published on urls like http://server/application/default.asp Now, one customer had published it, for its own reasons, on an url like [link] ...
Score HyperLink control vs. Firefox
Arthur Dent - 16 Jun 2006 2:20 PM - 2 messages
Hello all.... i am REally confused by something... I have a hyperlink control on my page, and for the NavigateUrl property, i have it set to "~/" in the property window (without the quotes). Now, in IE this works beautifully, and the hyperlink redirects you to the ...
Score How can I refeer to controls placed in TemplateField
odd.morten.sveas - 16 Jun 2006 1:55 PM - 2 messages
Hi I'm building a web site where some users can create receivables (invoices). This website will support several organisations and different users migth have responibility for more that one organisation. My problem is when I'm buliding this receivables page. The receivable ...
Score DELETE MORE THAN ONE ROW OF DATAGRID
Charleees - 16 Jun 2006 1:41 PM - 4 messages
Hi all, I have a DataGrid With Template Columns.. In the First Column i have a Check Box... Also i have a Button Outside the DataGrid..Just Above it.. What i want to do is .... I have to remove the Rows(Records) that are Checked in the Grid... ...
Score Foreign Languages?
UJ - 16 Jun 2006 1:41 PM - 4 messages
How do folks handle foreign languages? For instance - we would like to be able to have a screen at the front of our app that will allow somebody to choose French and then the entire site is in French. What's the easiest way to do this? Have lookups for each text string on the ...
Score Editing the behavior of the ValidationSummary (asp.net 2.0)
absolute0 - 16 Jun 2006 1:26 PM - 1 message
OK. Spent hours finding out how I can change the behavior of the ValidationSummary control, so that it is better styled (e.g. padding) between the HeaderText and the list of errors returned. I also found out that I needed to edit the WebUIValidation.js file and reference ...
Score How can I prevent Sessions from ending just because the browser window is closed
Christian Blackburn - 16 Jun 2006 1:18 PM - 9 messages
Hi Gang, I would like to have my application retain sessions even after the user closes their browser window, up unil the time the session is supposed to time out.  Right now if the user closes IE their session is ...
Score Could not load type
Thom Little - 16 Jun 2006 12:26 PM - 2 messages
I create ASP.NET 1.1 websites on localhost and check them out. After compiling, I FTP the .aspx files to a directory on a remote host and the .dll to the /bin directory on that same remote host. For a very trivial application I have (a single label) this works correctly ...
Score Data fields not rendering in Visual Web Developer
ASMJ - 16 Jun 2006 12:14 PM - 1 message
Hi, I have a web page with some data fields contained in the panel and a grid view below it. The data fields are not placed in the position in which they are designed when I run the appln. After a particular width, ...
Score Drawing a simple line
Samuel Shulman - 16 Jun 2006 12:11 PM - 4 messages
in a web form (using either VB or generic HTML) How do I do That? Thank you, Samuel ...
Score Small business starterkit issues
Damian - 16 Jun 2006 11:29 AM - 4 messages
Has anyone on the team responsible for the smallbusiness starter kit every ran this thing on anything other than the Visual Studio Development Server. After spending time getting used to this kit and adding my pages to it (only pages no custom code), I tryed deploying it to my hosting provider. After ...
Score File Upload on PDA using Master Pages asp.net 2.0
Nemisis - 16 Jun 2006 11:16 AM - 1 message
I am creating a asp.net 2.0 website that can be accessed via a PDA.  On the page i have a file upload .net control, which works fine on its own.  I can check the HasFile property and upload the file to the ...
Score TreeView Menu
3Dfelix - 16 Jun 2006 10:48 AM - 1 message
Hello, I have a TreeView Menú  fullfilling form a web.sitemap file. When Click on a node its open the node and when I click in a secundary node calling another page, in this page the Treeview menu appear close, I would ...
Score Web App Active Sessions
Atul - 16 Jun 2006 10:35 AM - 1 message
Hi, Is there any way to find out active sessions of a .NET 1.1 web application? Any help would be highly appreciated. Thanks Atul ...
Score Reading Webservice XMLNode to Dataset.
asgars - 16 Jun 2006 10:30 AM - 1 message
hi friends, i have a little problem while accessing the attributes returned through xml webservice. i am getting an XMLNode which i need to get into a dataset. Currently i am using this method: 1) Creating a Dataset ds and XMLNode node. ...
Score IsCrossPostBack always return false
Lore - 16 Jun 2006 10:10 AM - 4 messages
I've been trying for a while, but unfortunately I can't get a solutions, neighter I was able to find it in google. In the CrossPostBack referred page the property IsCrossPostBack is always set to false, while it should be set to true if the ...
Score .net framework
sangitaraj - 16 Jun 2006 8:57 AM - 3 messages
hello, can a site developed in VS2005 run on .net framework 1.x.? Please let me know. thankyou, sangitaraj ...
Score Database interactions don't fire from Application_Start in Global.asax?
Christian Blackburn - 16 Jun 2006 7:26 AM - 8 messages
Hi Gang, Let me start by saying I'm using Visual Web Developer 2005 and ASP.net 2.0.  Is there something I have to do to get my Global.asax fire when my application loads.  If I set a breakpoint nothing happens also I can ...
Score Please help : WebParts won't show up in IE
Jurjen de Groot - 16 Jun 2006 7:14 AM - 2 messages
Hi, I've been reading a book about webparts and am now trying some of the examples from the book, but I crash on the first, most simple (following) example : I create a new website in VS2005 I add a WebPartManager to the default.aspx by dragging it from the toolbox ...
Score published website showing error
sangitaraj - 16 Jun 2006 7:12 AM - 2 messages
Hello, I have created a website in ASP.net 2.0 and published it on the webserver. The following error message is displayed. Compiler Error Message: CS0246: The type or namespace name 'Utilities' could not be found (are you missing a using directive or an assembly ...
Score Dropdown list
Vikas Kumar - 16 Jun 2006 7:09 AM - 5 messages
[link] in the above site in Select Property dropdownlist we have headings like Residential or Commercial which we are not able to select but can select their sub categories only like all things under Residential but not able to select Residential ...
Score DataList Alternate Item, alternating only color.
craigkenisston - 16 Jun 2006 5:59 AM - 3 messages
Is that possible ? Choose alternate item, just to change color, I mean, not having to totally copy all the item content in both the Item and the AlternateItem. I tried to do this by adding a div with different background color, but ...
Score Image Refresh Problem
RajeevSekar - 16 Jun 2006 4:47 AM - 1 message
Hai Experts, I used bitmap and canvas to manipulate some jpeg image and then load that image to the image control, but if i use two or more images then i need to refresh the page to show the needed image. can u please give some solution ...
Score Suppress self closing tags for html 4.01 strict compliance
Nik Coughlin - 16 Jun 2006 2:27 AM - 1 message
Hi, How would I go about suppressing self closing tags in form fields etc. so that my HTML 4.01 Strict pages validate?  Is there an option I can set in Web.Config?  Do I need to parse the page myself before sending it to the ...
Score System.Net.Mail vs System.Web.Mail
Alex Maghen - 16 Jun 2006 2:05 AM - 3 messages
I want to use the new System.Net.Mail instead of the old System.Web.Mail. I'm getting an error "Hot not specified" when I try to do my last two lines:         System.Net.Mail.SmtpClient SMTP = new SmtpClient(); ...
Score WebControls' text properties are all over the place
TH - 16 Jun 2006 1:48 AM - 2 messages
Could anyone please explain the bizarre and utterly infuriating effect I am observing while adding controls programmatically? I've reduced the problem to the following code: <form id=Form1 method=post runat="server"> <asp:label id=Label1 runat="server"/><BR> ...
Score NT AUTHORITY\NETWORK SERVICE error
sck10 - 16 Jun 2006 12:35 AM - 4 messages
Hello, I have a ASP.NET 2.0 website that is working on one virtual server (windows 2003 SP1) that connects to a SQL Server 2000 database on a different machine.  I transferred the files to another virtual server (windows 2003 ...
Score Forcing Download of File Appends HTML from Download Page to Downloaded File?
Brett Kelly - 16 Jun 2006 12:17 AM - 2 messages
Ok, I know this sounds odd.  Let me explain further. I have an ASP.net page (w/ C# code behind) that, when given a session variable containing the path to a local file, will attempt to start the download of that file for the user. ...
Score ASP.Net 2.0 FormView - Set Focus To Control On EditItemTemplate
Dan Sikorsky - 15 Jun 2006 11:54 PM - 2 messages
My ASP.Net 2.0 FormView has an EditItemTemplate, an InsertItemTemplate and an ItemTemple. When the page first loads, the ItemTemplate shows with an Edit button. If the user clicks the Edit button, the postback loads the EditItemTemplate, but with NO focus on any control on the EditItemTemplate. ...
Score Trying to understand System.Web.UI.SessionPageStatePersister
Jeremy Chapman - 15 Jun 2006 10:07 PM - 1 message
I am thinking of implementing System.Web.UI.SessionPageStatePersister as a method of storing viewstate in the session.  Before I do, I am browsing threw the class's code using reflector just to get an understanding of performance/memory hits on the server.  I've attached the code below,  and ...
Score ajax projects is now Wiki!!!!!
pla - 15 Jun 2006 9:58 PM - 3 messages
[link] is now based on a wiki system so anyone can edit its contents to add valuable contents to any project. ...
Score ajax projects is now Wiki!!!!!
pla - 15 Jun 2006 9:57 PM - 1 message
[link] is now based on a wiki system so anyone can edit its contents to add valuable contents to any project. ...
Score WebResource.axd Errors
Graham - 15 Jun 2006 9:44 PM - 5 messages
I have a newly released web site that is throwing a few errors regarding the WebResource.asxd handler. I am not using this in any way for my own purposes, it is just getting included int eh page via ASP.NET form validation scripts. ...
Score Sessions Information
Coder - 15 Jun 2006 9:44 PM - 3 messages
Hello, I am developing a dating site, What I am trying to do is; When one of my members logins, should see how many users online, and should see which users online when searching and listing other users.. I think I should work on "Session" and I must reach all the sessions ...
Score WebDev Express, Windows Authenticaiton and SQL Server
Mantvydas - 15 Jun 2006 8:56 PM - 2 messages
Hello, there, I'm trying to deploy a web app onto a web server inside my organization, but I fail. My application runs successfully on the internal webserver of visual web developer express, though. I want to publish on the Windows Server 2003 ...
Score HTML data from a WinHTTP call to an ASPX page
Gaetan - 15 Jun 2006 8:56 PM - 2 messages
I'm doing a prrof of concept to develop an application to run under WinPE. The application will use WinHTTP to send requests to an ASPX file running IIS 6.0 My problem is that I do not know how to prevent IIS from returning the HTTP code of the ASPX page. ...
Score ASP.NET Service Unavailable.
Derek Smith - 15 Jun 2006 8:55 PM - 4 messages
I have tried installing an ASP.NET 2.0 application and when I try to browse the site I get a Service Unavailable error.  These two messages are logged in the event log. ASP.NET is running on a Windows Server 2003 AD Domain Controller.  Do I need ...
Score NewPageIndex Doesn't Get Updated in PageIndexChanging Event
Kevin - 15 Jun 2006 8:54 PM - 4 messages
We have a base class that is responsible for creating the navigation and look and feel of our applications.  So all our web pages inherit from this base page so they don't have to worry about the look and feel and navigation, only ...
Score Serializable Flag on a Class
MrFile - 15 Jun 2006 8:49 PM - 2 messages
My company has developed a backend component which needs to be carried around in session state, therefore it must be marked [Serializable] at the class level. The problem I have with this is that now any class that this class uses ...
Score How to use the credentials of the logged in user?
Dumb Luck - 15 Jun 2006 7:49 PM - 2 messages
I have a web page that is published on the internal IIS server.  This web page is for common administrator actions like reset a user's password.  The problem is I don't know how to tell IIS or Visual Basic ...