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 > january 2008 > threads for wednesday january 2

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

access hidden object from java script
Posted by Jeff User at 1/2/2008 11:25:55 PM
hi all Using C#, .NET1.1. I need to pass a string of text to the final html output and then capture it with java script on the client side. I found that I can place my string in and then access a textbox or a label from the js, but only if the textbox or label is visible. If they are hidde...more >>


Problem accessing control from inside other control
Posted by Nathan Sokalski at 1/2/2008 11:19:36 PM
I have a validator that I wrote by inheriting from BaseValidator. At certain points in the code, I need to access other controls on the page containing the validator. I have the IDs of these controls, so I use the following statement to access them: Me.Page.FindControl(ControlID) However...more >>

Error about Request.Form when doing postback
Posted by Nathan Sokalski at 1/2/2008 10:33:04 PM
There is a TextBox on my Page that I add the text to in the Init event. When I do a PostBack, I recieve the following error: A potentially dangerous Request.Form value was detected from the client (ctl00$cphExampleContent$txtValidatorTags="<NJS:ConditionalRequ..."). I have tried disabling ...more >>

Placing control tag text in a multiline TextBox
Posted by Nathan Sokalski at 1/2/2008 9:02:21 PM
I have a multiline TextBox that I want to display the text used to create a control in an apsx file. I want each of these to be on a separate line in the TextBox. The only way I know of to place things on separate lines in a TextBox without doing it programmatically is the following: <asp:T...more >>

File paths
Posted by Roger at 1/2/2008 7:55:04 PM
Hi all I am writing an site were the user can create Pdfs of invoices orders etc. I want to save them in a location that is not in the web server directory, which i can do with no problem. But i also want the user to beable to download and open the Pdf , how can i do this ie string ...more >>

Remember me in Login control.
Posted by TJ at 1/2/2008 7:44:01 PM
Hi, Environment : Asp.net 2.0 / C# As you know, there is a "Remember me" check box in Login control is VS.NET 2005. It allows you to get in the page without logging it if user closes browser, instead of logging out. It works...however, in the authenticate event, what if session is used? ...more >>

Painting Image Section
Posted by Don at 1/2/2008 6:52:00 PM
Hello, I have a image of a building, I want to set the color of each room based on values that come back from a database. How would you do this. Is there a certain image control in asp.net? Or do people use some other technology like flash to handle image setting like this? Thanks...more >>

Watermark/label custom http handler
Posted by Tem at 1/2/2008 6:24:50 PM
I need to write a custom handler when the handler is accessed, it returns the photo in jpg with 2 lines on the bottom of the image. lower left "Taken by" lower right "January 2 2008" This is what I have so far... public class certificate : IHttpHandler { public void ProcessRequest (...more >>



asp.net unit testing - how to handle redirects
Posted by Wiktor Zychla [C# MVP] at 1/2/2008 5:51:15 PM
I try to figure out how to write unit tests for asp.net. I am using the Microsoft.VisualStudio.TestTools.UnitTesting.Web namespace with Visual Studio 2008. The simple case work as expected, for example: Page page = TestContext.RequestPage; Assert.IsTrue( page.Request.Url.ToString().EndsWi...more >>

history.go('url') not working in IE7
Posted by John Kotuby at 1/2/2008 5:49:59 PM
Hi all, Just a little javascript problem here. All the documentation I have seen, besides showing numerics in the example, such as in history.go(-1), also mention that if a part of the URL is used then the browser will go to the nearest history entry with that string in the name of the URL....more >>

adv: Design reports in Word or Excel
Posted by David Thielen at 1/2/2008 4:53:00 PM
If you are looking for a reporting solution where you can design the reports in MS Office (which is a lot faster) - please take a look at Windward. We have numerous customers using this for the reporting component of their ASP.NET app. Windward Reports, the leader in enterprise report gener...more >>

Get the full URL for a page
Posted by Waldy at 1/2/2008 4:31:23 PM
Hi there, how do I get the full path for an .ASPX page? I thought the ResolveURL would do it, but it only seems to return the page name with a forward slash at the start. I need to send the full external path to remote users so that they can run the page. ...more >>

Hosting Control Panel
Posted by David Lozzi at 1/2/2008 4:05:11 PM
Hello All, I apologize for this "SPAM" but can anyone recommend a hosting control panel system for Windows? I'm in the market for a new system. I've been using Helm and am not too impressed. What do you use? Thanks, -- David Lozzi Product Development Manager Delphi Technology Soluti...more >>

can't use xsd
Posted by Matthew Wells at 1/2/2008 3:48:03 PM
Hello, I'm trying to do something I learned in an asp.net class. I added a dataset in the project, added a dataadapter that uses an existing stored procedure. Then I added a class to interace with the dataset. When I do a build, I keep getting an error that the namespace MyProjectN...more >>

DocType and IE and FireFox and Silverlight
Posted by coconet at 1/2/2008 2:42:08 PM
I am having a hard time reconciling rendering Silverlight 1.0 with cross-compatible CSS to make the page look the same on FireFox and IE on Windows. Is there a rule set for making things work correctly? I have reviewed the DOCTYPE choices at http://htmlhelp.com/tools/validator/doctype.htm...more >>

Installing web application and TARGETDIR
Posted by Jacek at 1/2/2008 2:23:02 PM
Hello, Could anybody advise me how I can install web application from MS install package into other folder than c:\inetpub\wwwroot. Anything I found on the web about TARGETDIR does not work - niether from custom installer nor from command line. Maybe I do not understand how it exactly works...more >>

Ajax and the back button.
Posted by Mufasa at 1/2/2008 2:13:31 PM
When using Ajax, the back button doesn't work correctly anymore. It moves back to the previous page - not the previous state before the Ajax was done. Any solutions for this? TIA - J. ...more >>

How to map IDictionary to repeater?
Posted by SushiSean at 1/2/2008 1:31:01 PM
I have repeater and IDictionary. In dictionary I add values like name and age. IDictionary TestDictionary = new Hashtable(); SiteImages.Add(23, "John Smith"); SiteImages.Add(14, "Some Some1"); And when I map this to repeater it works, but how to get those values? <asp:Repeater runat=server ...more >>

Clear History
Posted by Kuldeep at 1/2/2008 1:11:46 PM
Framework: Visual Studio 2005 Technology: ASP.NET 2.0 Language: C#.NET 2.0 Hi All, Is there a way to programmaticlly clear a selected few URL's from the "History" section of our Internet Explorer settings Thanks, Kuldeep ...more >>

How can I add a client-side event to an asp:CheckBox ?
Posted by mark4asp at 1/2/2008 12:04:58 PM
Here is the control: <asp:CheckBox ID="chkLite" runat="server" Checked="False" AutoPostBack="True" OnCheckedChanged="chkLite_CheckedChanged" /> Here is the code-behind: chkLite.Attributes.Add("onblur", "LiteChange(this);"); Here is the control as asp.net renders it in the html: <sp...more >>

Request.Segments crashes on server
Posted by SandpointGuy at 1/2/2008 11:16:03 AM
While on my dev machine, using local iis, I use Request.Seqments[2] in my masterpage to determine the calling aspx. Works great. But when I push it onto a server this crashes with an "Index Out Of Range"-type error; I placed it in a try..catch block to validate this was causing the problem....more >>

Question about detail forms.
Posted by BillG at 1/2/2008 10:09:55 AM
I am developing a business app using asp.net that will have 2 different types of forms, a list view of data and then a detail view. The list views are placed on a content panel in a master page. The user can then click an Add button or edit button to add or modify an item in the list. My qu...more >>

vs.net not showing intellisense on a .aspx page that uses masterpages.
Posted by DotNetNewbie at 1/2/2008 8:40:05 AM
Hi, VS.NET is not showing me any intellisense on a page that references a master page in the codebehind. (the codebehind references a custom class that inherits from web.ui.page, and that page sets the master page) How can I fix this?...more >>

File or assembly name or one of its dependencies, was not found...
Posted by Rudolf Dvoracek at 1/2/2008 4:04:01 AM
Hi, we have some web solutions still running on old ASP 3.0 Platform. So I created .NET component in c# with COM interoperability and registered it on server. But when i try to create a new instance in asp page, server show following message: File or assembly name HPTronic.Advertise, or o...more >>

Callilng WorkFlows
Posted by insreeraj@gmail.com at 1/2/2008 1:21:25 AM
Hi All, i have console application which will be running , Here i will be adding 3 services for 3 workflows, now my asp application will be calling 1 work flow, in particular event i have to call the 2nd work flow., i have the code in the event as below, Invoice aInvoice = (Invoice)xpcInv[0...more >>

Bypass Pop-up Blocker
Posted by usamaalam at 1/2/2008 12:08:04 AM
Hello Everybody, On the click of my server side button control, I am performing some server side processing and then open a new browser window. [Code] // Server Side Code, Database calls etc. string js = ""; js += "<script>"; js += " window.open('" + url + "');"; js += " window.close(...more >>


DevelopmentNow Blog