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 > june 2005 > threads for friday june 24

Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30

asp.net errors in iis log
Posted by Aaron at 6/24/2005 11:55:40 PM
I would like to write a program that finds all asp.net errors in iis logs? what characteristics should i look for? (a line in the log that has the error?) what about sql errors? Thanks in advance, Aaron ...more >>


Office Web Componenets for Access?
Posted by deko at 6/24/2005 11:23:39 PM
Has anyone had success with Office Web Components with Access? What I have in mind is a site where Access users can log in and update their Access databases with new records that have been uploaded by other Access users. Or perhaps I could have a "shared records" page where anyone can update/add...more >>

VB Login Page Problem
Posted by Dam6 at 6/24/2005 7:36:18 PM
Okay... Using vb .net within DW MX2004, connecting to an access database: Background: I have created a simple login.aspx page that is supposed to re-direct to default.aspx using FormsAuthentication.RedirectFromLoginPage. The data is correct from testing the dataset etc and the page also info...more >>

How to play a flash in asp
Posted by MarSwe via DotNetMonster.com at 6/24/2005 5:45:33 PM
Hi, I am a newbie in ASP.Net and i want to show a flash macromedia within an ASP page. Can anybody help me to do that. Regards MarSwe -- Message posted via DotNetMonster.com http://www.dotnetmonster.com/Uwe/Forums.aspx/asp-net/200506/1...more >>

Server.Transfer - very bizarre
Posted by Stan at 6/24/2005 4:27:38 PM
This code has been working for a long time: try { Server.Transfer ("Order.aspx"); } catch (Exception ex) { /// } Now, all of the sudden, the page started generating "Thread aborted" error message. Here is what I found - 1) the exception occurs on the main page after S...more >>

custom error page problem
Posted by dee at 6/24/2005 2:25:41 PM
Hi In web.config I have to the following: <configuration> <system.web> <customErrors defaultRedirect="error.htm" mode="On" /> </system.web> </configuration> I do a divide by zero to generate an error in my page. Instead of being redirected to error.htm i get the f...more >>

Is there Web. class that defines XHTML element references i.e. <br />
Posted by Rob R. Ainscough at 6/24/2005 2:06:23 PM
Just wonder if VS 2003 has such a class defined so I don't have to define my own constants? ...more >>

Replacing the specific pattern of text in a huge text string..
Posted by Brown Smith at 6/24/2005 1:38:29 PM
At run time I am building the HTML table as follows for literal control. HTML Table related data ... <span style='background-color: #FFDD00'>could be any data here LIKE DATA 1 </span> HTML Table related data ... <span style='background-color: #FFDD00'>could be any data here NNNN</s...more >>



Parsing date from sql string in asp.net, then comparing it with present date
Posted by .Net Sports at 6/24/2005 1:28:09 PM
I need to parse the date I'm getting from this sqlstring to compare it with today's date. If it's before today's date, i need to show the viewers one page. If it is after today's date, then I need to show viewers another page. '''''''' Dim strConn2 as string ="SERVER=xxx.xx.xx.x;UID=xxxx;P...more >>

Upload error - Access to the path xxx is denied
Posted by Randy at 6/24/2005 12:49:53 PM
Hello All, I'm getting a strange error when trying to perform a file upload. Here's the lines that uploads the file... sSaveLocation = Server.MapPath("PFPDocs") + "\\" + fileName; fileInput.PostedFile.SaveAs(sSaveLocation); When it runs, I'm getting a "Access to the path xxx is denied" err...more >>

How best to extend browser UI?
Posted by Paul W at 6/24/2005 12:48:01 PM
Hi - I have an intranet app that shows a complex 'time-sheet' to the user. It works ok, but is constrained by the limits of the browser interface. If I wanted to get 'fancy' and allow the user to do things like click-and-drag, right-click for options, etc., etc. what are my options for providi...more >>

PostBack
Posted by Tanya at 6/24/2005 12:38:02 PM
I have an edit button and the ascx that has a datagrid on the page. When I originally load the page the datagrid is view only. When I click on the edit button I want to set the property on the ascx and reload the ascx datagrid in the edit mode. How do I set the property on the ascx and fire ...more >>

How can I stop repeat clicks
Posted by tsiGeorge at 6/24/2005 12:22:02 PM
When the web page takes a while to process users get impatient and click the button again. I need to throw these extra clicks away or disable the button after the first click. -- tsiGeorge...more >>

ASP.NET 2.0 / VS.NET 2005 - best practices for populating object properties from DB?
Posted by Ken Fine at 6/24/2005 12:00:39 PM
I want to know the most efficient approaches to fill an object's properties from a database using the tools in VS.NET and/or any magic that's a part of ASP.NET, ADO.NET, and related tech. I suspect there are tools or wizards or abstractions to make this process easier, and I'm hoping some of...more >>

Span vs Label
Posted by tshad at 6/24/2005 11:18:56 AM
I am trying to find out why it would be better to use an asp:label vs a span ( <Span ID="FileName" RunAt="Server"/>). I know that labels get sent as spans, so why not just use the span object? Just curious. Thanks, Tom ...more >>

Re: ASP.NET 2.0 beta2 => Cause Hang in accessing Internet.
Posted by Rosny at 6/24/2005 10:45:46 AM
Also, ASP.NET Beta2 installed on the same machine with ASP.NET 1.0 Thanks, "Rosny" <sehatrosny@hotmail.com> wrote in message news:... > Hi, > > Is any body experiencing the same problem as below scenario? > > Environment : > Windows 20003 Server > ASP.NET Beta 2 > > STEP to reproduce:...more >>

Datagrid vanishing and taking all my nested controls with it.
Posted by nulldevice at 6/24/2005 10:43:12 AM
I've got a datagrid with some nested controls, created at design-time. The controls themselves have no databound values. After a few other operations on the page (selecting a few parameters, etc), a button is clicked and the databind occurs. This part works fine. It retreives the 4-10 ro...more >>

Visual Studio 2005 Beta 2 project cannot work in IIS virtual direc
Posted by Charts at 6/24/2005 10:43:08 AM
6/23/05 ..NET Development\Framework\dotnet.framework.aspnet Visual Studio 2005 Beta 2 project cannot work in IIS virtual directory I used Visual Studio 2005 Beta 2 to build a simple new web site. Default.aspx file is like following. <%@ Page Language="VB" AutoEventWireup="false" C...more >>

How to discover what various Browsers (and versions support)?
Posted by Rob R. Ainscough at 6/24/2005 10:42:10 AM
Is there a book or reference material that will show me what each Browser supports by default (and what options need to be selected by user if support is available just not enabled)? columns -- Browser(s), default, setting, download For example: GIF animation MacroMedia Flash JavaScri...more >>

Redirecting from a class
Posted by Ryan Ternier at 6/24/2005 10:18:58 AM
The software project I'm running uses a lot of helper classes. I have the habbit of catching errors in any place they occur, but I'm having troubles with one particular spot. I didn't code this project to automatically regenerate Sessions when the website updates. So when the website updat...more >>

Code behind file in separate folder
Posted by Pavan Apuroop at 6/24/2005 10:15:25 AM
Hi All, I am creating a web application using ASP .Net 2.0 Beta 2. I want to place all my code behind files in a special folder (App_Code) and access them in my web application. I have done the same in ASP .Net 2.0 Beta 1. But now Beta 2 is not allowing me to do so. It is saying Code...more >>

Upload file question
Posted by tshad at 6/24/2005 10:08:38 AM
I am using the upload file object : <input id="MyFile" style="width:300px" type="File" runat="Server">. When I upload a file, I am saving the name of the upload file and want to be able put the name into the field directly when I select the record with the file name on it. I tried: ...more >>

Webmail
Posted by Fernando Chilvarguer at 6/24/2005 10:05:47 AM
Hi, I have a client that wants me to develop a webmail interface for a POP3/SMTP server. I've seen many open source projects and commercial packages out there but none of them have the one feature that will make all the difference: - The ability to insert advertizing into the sent and recei...more >>

Viewstate Error for only one client
Posted by caroh NO[at]SPAM orange.net at 6/24/2005 9:25:50 AM
Hi, I was wondering if any one can shed some light on this. One user of my site gets the following error: "The viewstate is invalid for this page and might be corrupted." I have read pretty much every article on this and have tried every solution! I am wondering if it is something to d...more >>

Server losing session variables
Posted by Wim Geukens at 6/24/2005 9:02:16 AM
All, We're experiencing a very strange session variable problem. We've got a running version of our site at www.mysite.com, which points to c:\mysite in IIS 5 This same site is also reachable via test.mysite.com, because we specified it in the "Advanced multiple Web Site configuration" dialog...more >>

How to underline a label in a template column?
Posted by basulasz at 6/24/2005 8:11:04 AM
I want to add a mouseover attribute on a label which is in a template column. For example the label will be underlined on mouseover event. How can i do that? Thanks... -- basulasz...more >>

Exiting an ASP.net application
Posted by bbdobuddy at 6/24/2005 7:31:09 AM
>I have a link button that I want to have the program closed when I click >it. > The quesition is what is the syntax that makes this possible. <linkdefhere onclick="javascript:window.close();"> I can't figure out where to put this line of code in my Asp.net program...more >>

Code problem
Posted by JackO at 6/24/2005 7:23:02 AM
I am having a problem with my subroutine "doBinding". I have set the default sortBy to the "PatientID" field from my datasource. However, I am getting build errors on the "PatientID" field. Why is this invalid? Sub doBinding( optional sortBy As String "PatientID") Dim pat As New P...more >>

Q: form authentication complete?
Posted by JIM.H. at 6/24/2005 7:12:02 AM
Hello, I used this site to do form authentication http://msdn.microsoft.com/library/default.asp?url=/library/en-us/secmod/html/secmod17.asp My code successfully comes to the point: if (passwordVerified == true ) { // The user is authenticated // At this point, an authentication ticket ...more >>

Debug ASP.Net app on another server
Posted by JJ at 6/24/2005 6:34:03 AM
Hi, What is the best way to debug an asp.net app on a server? What is the best way to check for performance issues on a certain webform? How about checking response times for webform. Also questions on Caching? Is there Caching on the client side for asp.net? I know there is caching on th...more >>

Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON
Posted by Buggyman at 6/24/2005 6:28:01 AM
Hi, I'm having problems with good old error... Login failed for user 'NT Authority\Anonymous logon'. The default web page comes up fine, but when the user attempts to log in (which checks stored usernames in the database etc) then the error occurs. a) The Web server is on a seperate box t...more >>

persist values from one postback to another
Posted by JJ at 6/24/2005 6:22:01 AM
Hi, Not sure if the title makes sense but heres my dilemma. I have two dropdownlist controls on a webform. I want to make sure that the first dropdownlist control was clicked on and a value was selected. I want to check in the second dropdownlist control that this has happened before pro...more >>

Problem with forms authentication when using redirection
Posted by david.moran NO[at]SPAM dnv.com at 6/24/2005 2:06:54 AM
Hi Our site is hosted at www.data-visualzation-software=AD.com and forms authentication works fine. We have just set up a redirect from www.apricot-software.com to this site and when this way is used to access the site, the logon just seems to circle round - you enter your details, press the...more >>

Theming custom created WebParts in ASP.NET 2.0
Posted by Christopher Kimbell at 6/24/2005 1:50:02 AM
I have created my own WebPart using code, it is not derived from a UserControl. Inside this WebPart I create a Calendar Control and add it to the WebParts Control collection. Now I want to apply a theme to this Calendar that is inside my WebPart. How do I do that? I have created a theme and ...more >>

How to write in TextBox in a datagrid?
Posted by basulasz at 6/24/2005 1:35:01 AM
I have a datagrid whose colums are created dynamically. For example; Product name; Quantity ; Price. I want "quantity column" to be written in a textbox which is edittable. For example a customer can change their idea about quantity. www.toshibadirect.com is a good example for this kind of s...more >>

NO Code behind with user control - PLEASE!
Posted by margelos NO[at]SPAM gmail.com at 6/24/2005 12:43:02 AM
Hi, I have a user Control "Login_Test" which inherits from UserControl. Within a page i am using it, i locate it with the following code Recalculate(this); private void Recalculate(Control Ctrl){ foreach (Control ct in Ctrl.Controls){ if (ct.GetType().ToString() == "ASP.Login_Test_asc...more >>

How to end a session
Posted by Steffen Loringer at 6/24/2005 12:00:00 AM
Hi I'm using Session.Abandon() to end a user session when clicking the Logout button of the application. But if the user request the page directly via URL in IE the server starts processing the page again. The sessionIDs are the same in both cases. I expected the sessionID not to be valid...more >>

DataList Fromatting Cell
Posted by Paul Say at 6/24/2005 12:00:00 AM
Here is the problem, I have a datalist that builds a list of links horizontally across the screen for a menu bar. i.e <asp:datalist id="menuTabs" runat="server> <ItemTemplate> <asp:Hyperlink id="myLink" runat="server"> </ItemTemplate> </asp:datalist> At runtime h...more >>

exporting image to excel
Posted by Volkan Öner at 6/24/2005 12:00:00 AM
hi, i want to export my image control from webform to MS excel. But i can' t. I think it requires the image local path. How can i do. Thanks a lot. ...more >>

globalization
Posted by gh0st54 at 6/24/2005 12:00:00 AM
hi i can't seem to get my globalization to work here goes I use vs 2003 I have a main asp.net application let's call it MainApp I have created folder 'Resources' for my resx files: strings.resx, strings.fr-CA.resx, strings.en-CA.resx the 3 resx files use build action : embedded ...more >>

How can I keep a session alive while...
Posted by twscott at 6/24/2005 12:00:00 AM
I will be posting information to another application from my applicatio and redirecting to that application which will load into anothe iteration of IE. The user may spend a significant amount of tim working in that application. I need to keep my session alive whil there is activity in the othe...more >>

BC30560: 'default_aspx' is ambiguous in the namespace 'ASP'.
Posted by John at 6/24/2005 12:00:00 AM
Hi, We're in the process of migrating our website from ASP.Net 1.1 to ASP.Net 2 and are getting the following error: BC30560: 'default_aspx' is ambiguous in the namespace 'ASP'. I know that if I rename the file it will solve the issue but all of our directory root files are called defau...more >>


DevelopmentNow Blog