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 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 31

assembly protection
Posted by Fabio R. at 3/24/2006 10:19:29 PM
Hi all, what can I do to avoid that someone replace a dll of my asp.net project with another one? Example: in check.dll there's the method VerifyUrl to check if the current domain name is www.site.com, otherwise it return false. I don't want that someone replaces check.dll with another one wi...more >>

Display time live on site - How?
Posted by VB Programmer at 3/24/2006 9:29:11 PM
I want to display the Live time in New York and Hong Kong on my website. Any suggestions on how to display these live clocks? I suppose some client side scripting is necessary because I don't want to keep having to refresh the page... Thanks! ...more >>

Atlas UpdatePanel in a user control
Posted by John at 3/24/2006 9:12:34 PM
I'm trying out the March 06 CTP of Atlas. My user controls containing updatepanel's won't render on the containing page at design time (they work fine at run time!!). Eg simple user control like: <%@ Control Language="C#" AutoEventWireup="true" CodeFile="TestUserControl.ascx.cs" Inherits="T...more >>

Error with asp.net validator controls
Posted by Infante - GIGA at 3/24/2006 7:20:33 PM
Hi, I have this problem: if I use the application (web application with html forms) on the development machine or locally on the production server everything works fine If I call the pages from a browser (e.g. IE6) from another pc, internal on the network or external from internet, I get t...more >>

HELP! How to pass a javascript value to asp.net?
Posted by Dav at 3/24/2006 5:40:26 PM
I am sure that I should be able to send a javascript value (client side) to a asp.net form via a hidden field. I have seen post where people say it can be donw but they never post there code. Please post a complete example (or a link to an example) on how to do this. I appreciate your help!...more >>

.NET 2.0: asp:Login
Posted by R.A.M. at 3/24/2006 5:20:51 PM
Hello Could you help a beginner with login implementation using asp:Login (.NET 2.0). I have in Web.config: <authentication mode="Forms"> <forms name="Demo.NET" loginUrl="Default.aspx" /> </authentication> <authorization> <allow users="demo"/> <deny users="*"/...more >>

Coming out of the closet - Object Reference - Knowing I most likely won't get an answer...
Posted by theintrepidfox NO[at]SPAM hotmail.com at 3/24/2006 3:45:28 PM
Hi Everyone Here's a really simple and fundamental question for you boys and girls. I'm quite embarrased asking it actually as I've ben programming for four years now, always working my way around the issue, but thought of finally coming out of the closet. Question: How do I manipulate (...more >>

Operations error
Posted by Tomas at 3/24/2006 3:17:46 PM
I'm trying in ASP.NET web page load user accounts from active directory. When I'm developing on local web server it works. I'm using authentication mode=windows and identity impersonate=true When I put page and DLL on server I get COMException. I try to run it on Win2000 server and Win2003 s...more >>



New window and new session?
Posted by Alex D. at 3/24/2006 3:06:25 PM
Is there any way to open a new window with a new session using the Page.RegisterClientScriptBlock to insert some javascript in a button's onclick event? ...more >>

Print Preview 'Headers'
Posted by Evan Camilleri at 3/24/2006 2:28:38 PM
I have a datagrid with headers. I managed to 'freeze' the headers OK and then one can scroll to see contents. I would like to be able to print this list by re-prinitng the headers on each page. Evan Camilleri ...more >>

Can Norton antivirus cause intermittent Viewstate errors?
Posted by Ray Stevens at 3/24/2006 1:58:23 PM
We are having a maddening problem with random "validation of viewstate MAC failed" errors, even if the web farm is shut down to a single server. It now susepect that Norton antivirus is causing application pool recylcing on IIS 6. Does this sound plausible... anyone else seeing this problem...more >>

web.config vs. application object
Posted by RedHair at 3/24/2006 12:55:07 PM
In ASP.NET web application, where is the best place to store a application scope variable?(read only) Web.Config file or application object? Which performance is better while reading the data? ...more >>

asp.net textox old value
Posted by Nalaka at 3/24/2006 11:55:21 AM
Hi, I need to get the old (original) value of a textbox control. I have put code in the textbox_textChanged .... I can get the new value ((texBoxControl) sender).text but I need to know the old value.... is there a way to access the old value? any help is appreciated. Nalaka ...more >>

Cookieless Session ID in Query String
Posted by Tom Cole at 3/24/2006 11:48:12 AM
Howdy, When a client has cookies turn off, our application uses the ASP.NET 2.0 cookieless session which puts the session id into the URI. Is there anyway to make it use a query string instead? Here's an example of what we have: http://localhost/(S(xpkuhvn3tvuiwsjnyox5t0qd))/default.as...more >>

Localization
Posted by Bruno Alexandre at 3/24/2006 11:47:38 AM
Hi Guys, I'm driving crazy here with Localization issue, this is what I have now= : masterpage.master - with some asp:linkbutton like this: <asp:LinkButton PostBackUrl=3D"~/login/Default.aspx" ID=3D"lnkLogout"=20 runat=3D"server" Text=3D"<%$ Resources:language, menu_logout %>" /> D...more >>

ADO.Net and ASP.Net
Posted by Steve B. at 3/24/2006 11:09:02 AM
I know nothing about about web based programming. However, I think it's time to inquire about making my local share drive ADO.Net application a web ASP.Net application. Generally, how do I that? Thanks...more >>

Using BinaryWrite to output PDF to IE
Posted by Alec MacLean at 3/24/2006 11:08:21 AM
Hi, I've created a small application for our company extranet (staff bulletins) that outputs a list of links to PDF's that are stored in a SQL table. The user clicks a link and the PDF is loaded into a new browser window. This works as expected on the test PC (using forms authentication, bu...more >>

Asp.NET Javascript string, want to pass '(single quotes' within '(single quotes)
Posted by Chris at 3/24/2006 10:58:12 AM
Hi, This is a very basic problem, but i am not able to solve it. msgStr = "<script language =javascript>alert('An exception abc occured')</script>" Page.RegisterStartupScript("exception", msgStr) But if I have want a string like the one shown below, how can I achieve this ? (Note the singl...more >>

.NET Debugging Issue
Posted by Barbara Alderton at 3/24/2006 10:39:41 AM
VS2003 vb.net 1.1. I'm working on a fairly substantial web app. When going into the debugger, I get "Run-time exception thrown : System.ArgumentException - Cannot find the method on the object instance" on properties that I should be able to see. If I make a property (that's a string) equal t...more >>

Have function return SqlDatReader and then read results. How?
Posted by D. Shane Fowlkes at 3/24/2006 10:32:01 AM
Up until now, I've always had my functions return integers, strings, or booleans. Now, I've (hopefully) written a function to return a 2 column, single row datareader. Assuming I did this correctly (the function), how could I look at the results of the function in page_load and get the value...more >>

XPath help needed
Posted by Joe at 3/24/2006 9:37:01 AM
Hello All: I have an xml document with the following structure, where Form is the document element: <Form> <Content> <Line>blah blah blah</Line> <Line> <PresentationGroup> miscellaneous tags </PresentationGroup> </Line> <Line>blah blah blah 2...more >>

Login control images
Posted by Michael E Baltic at 3/24/2006 8:12:02 AM
Do the login controls not accept background images at all? No matter what I do to the css, nothing seems to add my image. Is there a way to do this? Without code.... just css or skins. -- Senior .NET Consultant Enterprise Web Services Cardinal Solutions Group www.cardinalsolutions.co...more >>

Error referencing Datagrid table cell
Posted by tjonsek NO[at]SPAM phenom-biz.com at 3/24/2006 7:54:58 AM
am working on code that will allow users to update data within the datagrid. I have come across a few problems, some of them I have been able to work out, but this last one is giving me trouble. When a user clicks the edit button, I get an error 'Specified Cast Not Valid'. The code that gene...more >>

Crystal Reports Alternatives
Posted by John at 3/24/2006 7:31:02 AM
Does anyone have any suggestions on alternative reporting programs besides Crystal Reports. Which ones are the best? Thanks, John...more >>

System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
Posted by kuladeep.mohan NO[at]SPAM gmail.com at 3/24/2006 7:09:19 AM
Hi I am trying to consume a web service from asp.net web page through HTTP POST method and I am getting the following error message "System.Net.WebException: The remote server returned an error: (500) Internal Server Error." I have been searchign the web and followed all the options whic...more >>

Once logon, the web application returs to login page again
Posted by Maurizio Poletto at 3/24/2006 6:52:02 AM
Hi, In my Web Application I have windows authenthication logon. Once I logon, the Web Application works fine beucase it redirects to the invoked web page. But just I click on this page everywhere, the Web app returns to login page again! Can anyone give me some help on this? Best rega...more >>

Static Functions and Thread Safety. How does it work?
Posted by WebMatrix at 3/24/2006 6:51:03 AM
Hello, It might seem like a stupid question to some. But I need to put this issue to rest once and for all, since it keeps coming up in code reviews every now and then. There’s a static function in business logic class invoked by a Web multi-user application. Each request calls this static...more >>

ERROR [HY000] [Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0x8fc Threa
Posted by bazzer at 3/24/2006 6:23:20 AM
hey, i am using visual basic.net 2003 and have an ASP.NET webform application thats accessing a microsoft access 2003 database. i kept getting the following error when i tried to run it: ERROR [HY000] [Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key 'Temporar...more >>

save send email as file
Posted by Marc Hoeijmans at 3/24/2006 5:55:02 AM
Hi, We like to save the emails we send as textfile on a file server. I want to use the System. Web.Mail class for sending the email. The question is how can i save the message as file. I have tried to use the msgMail.ToString() method but this won't help, or i have to type cast te MailMessage...more >>

ReportViewer Authenication
Posted by Terry at 3/24/2006 5:07:02 AM
When REPORT.ASPX is called from DEFAULT.ASPX, we are unable to obtain the user userid 'IPC\JOHNDOE' information so that the ReportViewer may display only information pretaining to that user. When we launch DEFAULT.ASPX, we are able to see the user id. For REPORT.ASPX, we are getting user ...more >>

dymanic <asp:button> shenanigans
Posted by CharlesA at 3/24/2006 4:17:02 AM
Hi folks, first off, I'm using Framwork 1.1 with ASP.net and C# I'm trying to do something quite basic and can't figure out why it won't behave without going into massive details I want a button on an .aspx page have either a 'save' caption and 'save' commandname or a 'close' caption and a ...more >>

Rights to load data into Crystal Report...
Posted by den 2005 at 3/24/2006 1:59:01 AM
Hi everybody, When I place data field into crystal report and then run the web application, it causes error with a message: Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error ...more >>

.Net framework 2.0 and IIS
Posted by Good at 3/24/2006 1:38:32 AM
Will the normal ASP program which doesn't use .NET framework after we install .NET framework 2.0? Thanks. ...more >>

Help on error : Invalid path for child request ???
Posted by serge calderara at 3/24/2006 12:51:02 AM
Dear all, I have an ASP 1.1 application wchich need to extract data of a particular selected day by users. When day has been selected from a calendar control the following code is run : Server.Transfer("ReelDay.aspx?day=" & m_day.ToString) After this the following erro occurs : I...more >>

Migrate ASP 3.0 applications to ASP.NET
Posted by VS at 3/24/2006 12:38:02 AM
I would like to know that is there any need to Migrate ASP 3.0 applications to ASP.NET Is there any Cease or end of lifecycle of products on ASP 3.0 and associated web based products announced by Microsoft, I have tried across all Microsoft sites for this information but not able to find any ...more >>

Adding multiple controls to Item Template column of Grid at Runtim
Posted by Abhishek at 3/24/2006 12:37:02 AM
I am creating a Datagrid at runtime and I have to create all the columns of grid at runtime... I am facing problem in the item template column. Here I want to place more than one control... For example Suppose there is a template column tc and i want to place two drop downlist in this tc say ...more >>

asp.net 2 web templates
Posted by steve at 3/24/2006 12:00:00 AM
Hi All I need to know the best place to buy or get asp.net 2 web templates The ones from microsoft on aspnet are OK but I would like to see a bigger choice I am no good at the graphical side of web design so it would be good to get a template I like with master page themes etc then I wi...more >>

Master Details Data on web forms
Posted by SwatSoftwareDev at 3/24/2006 12:00:00 AM
Hi all, I have Master-Details-Details type of data i. e. every row of details table is attached with multiple rows of third table. What is the best approach (performance wise) to show this kind of Master Details Data on web forms ? Thanks in advance. Regards, Swat ...more >>


DevelopmentNow Blog