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 2006 > threads for wednesday january 4

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

Mix version of .NET Framework Configuration in IIS
Posted by Brian Ho at 1/4/2006 11:28:03 PM
Our IIS is still running .NET 1.1 as its main .NET Framework. We have new Web applications developed under .NET 2.0. How can we set up this new web application to use .NET 2.0 framework without impacting the other older applications on the same IIS? I understand we can changed the IIS t...more >>


XML question
Posted by Aaron at 1/4/2006 11:24:47 PM
Hello, I am using VB/ASP.net 2005. When I click submit it refreshes the page without entering the data from all the text boxes and not entering in the Game1.xml. here is the asp.vb code Imports System.Xml Partial Class _game1 Inherits Web.UI.Page ............... Protected Sub bt...more >>

conceptual problem
Posted by Lloyd Dupont at 1/4/2006 11:22:25 PM
I'm trying to play with ASP.NET and I have some problem understanding how to solve some problem, I wonder if I get it all wrong... As an exercise for my firsts ASP.NET work I decided to write a Blog control (in a WebControl library/DLL) and a website displaying it. my page is like that (pseu...more >>

control refresh
Posted by AVL at 1/4/2006 9:55:02 PM
Hi, I have a requirement in which I need to refresh a single control instead of teh whole web page. How can I do this asp.net 1.0? ...more >>

prevent caching of previoulsy submitted data
Posted by Niclas at 1/4/2006 9:51:07 PM
Hi, Is there a way to disable the functionality where the browser caches the submitted data in textboxes, (think this is called 'Auto complete'), or is this only possible to control through the clients browser settings ? Niclas ...more >>

How to force a page refresh?
Posted by Paul Drummond at 1/4/2006 5:48:02 PM
Is there a way to force a page refresh, so users will not receive a cached version of a page, even if they have their browser set to never check for a newer version of page? Thank you! ...more >>

I really need to get this working......
Posted by Pipo at 1/4/2006 5:26:59 PM
The problem: I create a very simple custom control: public class cLabel : System.Web.UI.WebControls.Label { } I place the cLabel in a user control. When I place the user control on a page I get this exception: Error Rendering Control - cLabel An unhandled exception has occur...more >>

change file extention
Posted by Howard at 1/4/2006 5:26:25 PM
how do i change the file extention of asp.net file? ie. from .aspx to .mspx ...more >>



Master Page Title
Posted by Albert Pascual at 1/4/2006 5:01:03 PM
How can I make the Master Page title to override any other page title? Cheers Al...more >>

Can I find out when the user is navigating to another page?
Posted by ABC at 1/4/2006 4:47:24 PM
Can I find out when the user is navigating to another page? or What events will be call if the page is change to another page? I want to call clear session variables when user is navigating to another page. ...more >>

AJAX and ASP.Net 2.0 Problem for EnableEventValidation
Posted by Mihir at 1/4/2006 3:39:36 PM
Hi There, I've problem while I submit a button where I used AJAX, I created simple page which will search the customer name from database using AJAX. Once I search customer ID i need to search order related to that customers. So on my page I've Search Button(Image Button).. Now if I click on ...more >>

Visual Web Developer 2005, Express Edition
Posted by George at 1/4/2006 3:35:41 PM
I have installed it to play with .NET 2.0 and so far i like it. Questions. 1. Can i somehow get a project to work from the root not from my project = folder. Because eventually all my projects are moved to work from root. 2. What are the limitations comparing to VS 2005? So far i have not ...more >>

Frames vs. Master Pages
Posted by M.Siler at 1/4/2006 3:25:30 PM
Let me first by saying I am NOT a .net programmer, but am very skilled with ASP, JavaScript, HTML, DHTML, Flash development. I've been reading through posts here about Frames vs. Master Pages and there seems to be the thought of why use Frames when you can use a Master Page? How does a Mast...more >>

Configuring IIS to run ASP.NET 2.0 and 1.x apps
Posted by Jay at 1/4/2006 3:17:35 PM
How do I configure IIS to indicate that a website, virtual directory, or folder is for a particular version of ASP.NET (2.0 or 1.x). Thanks. Jay ...more >>

How to check Response.BinaryWrite success
Posted by jhansl NO[at]SPAM hotmail.com at 1/4/2006 3:06:10 PM
Hello, I am trying desperately how to find out if the bytes sent in a Response.BinaryWrite (or bytes written to Response.OutputStream) are ACTUALLY sent to the client. My problem is that I have files I would like to send to client only one time, so I need to check to see that all the bytes we...more >>

getting access to classes in separate vb files
Posted by Humberto Alvarez at 1/4/2006 2:33:08 PM
Hi As you might know, some asp.net host companies don't like dll in their servers, so one has to upload the source files, right? Well, the problem is that I have class libraries (.vb files) and I want to access methods in those classes from the webform source code (webform.aspx.vb). I up...more >>

Anyone know why a page setup in IE that is the same on 2 comps would look different??
Posted by Dan at 1/4/2006 2:25:27 PM
Hi I have two identical machines with the same page setup margin settings on IE. However when i print preview a page the images are different on each machine, surely they should have the same margins?? Anyone know why this mystery occurs? ...more >>

How to include char & in a string in VB.NET?
Posted by david at 1/4/2006 2:10:02 PM
I do not how to include char & in a string. In C, use \&. But I do not know how in VB.NET? any one give me hand? I have the following error message. David ...... Syntax error: Missing operand after ''&''prot='' operator. Description: An unhandled exception occurred during the executio...more >>

debugging in asp.net and asp - urgent
Posted by P K at 1/4/2006 1:59:03 PM
Hi, I am calling a .net class function from an asp page. I want to step through that function. Looks like though I can debug asp code I cannot debug the .net dlls referred in the asp code. How can it be done??? Thanks P K ...more >>

can a client be forced to shutdown or restart from browser?
Posted by RZavulunov at 1/4/2006 1:34:29 PM
My organization is trying to encourage users to reboot their PCs after leaving the company's intranet site. Can this be done in ASP.NET? Any ideas even if not ASP.net related would be appreciated. Thank you. Regards, Rafi Z. ...more >>

Thread aborted when doing HttpContext.Current.Response.End
Posted by Sridhar at 1/4/2006 1:23:02 PM
Hi, I have written a function to export the datagrid data to excel. In that function I was calling HttpContext.Current.Response.End() at the end. If I am doing this, I am getting an exception message "Thread was being aborted". If I don't do this then it is exporting the whole data instea...more >>

Simple issue tracker? Wiki?
Posted by darrel at 1/4/2006 12:52:25 PM
We're a two person dev team with a handful of 'testers' that help us out. I'm looking for a simple issue tracker. I don't really want a full blown help desk/bug tracking system, but rather a simple one. I'm thinking a wiki might be a good tool for this. Really, it's just a place for a few ...more >>

Get reference to Master Page type
Posted by PJ at 1/4/2006 12:13:35 PM
How can I get a reference to the master page class? It is defined as a partial class, but I cannot seem to type a variable to the name of the partial class? The compiler continually shows "The type 'MyMaster' is not defined." I would like to reference the master page from a control, by casti...more >>

Website Deployment Question. Please Help!
Posted by David Hearn at 1/4/2006 11:31:19 AM
I am using VS2005 now and have been used to the XCopy deployment way of doing things with VS2003. When I made a change to a page, I simply copied the new ASPX page up. If I made a change to the code behind, I would copy the new DLL to the BIN directory and obviously, if I made a change to both...more >>

Controls failing when using LoadControl
Posted by David R at 1/4/2006 11:30:55 AM
'lo I've been investigating cases where my server controls (in ASP.NET1.1) are populated with valid values, but return empty strings when their .Value property is getted and their associated validators also fail. So I devised a test case and ran through the circumstances surrounding this....more >>

ASP Page not opening a new Excel Spreadsheet each time.
Posted by lds at 1/4/2006 11:08:55 AM
I have inhertited and old asp application that I have to make a few changes to and I am having difficulties with a page that retrives data from the database, and places it into an Excel spreadsheet. It seemed to be working fine in the beginning, but not anymore. The only thing that I know of ...more >>

HTML Text in a textarea tag
Posted by Ed Anady at 1/4/2006 11:06:58 AM
Shouldn't a textarea render HTML formatted code? I'm placing a literal control in a table cell by doing the following... LiteralControl lc = new LiteralControl( ); lc.Text = String.Format("<textarea rows=\"10\" cols=\"80\" readonly>{0}</textarea>", Server.HtmlEncode(sr.ReadToEnd())); The f...more >>

AppDomain randomly reloads
Posted by SevDer at 1/4/2006 10:34:08 AM
Hi We have a case that our AppDomain (workerprocess) reloads randomly. We simply have a public static hashtable that keeps an object inside which is determined by the key sessionID, and although we have the same SessionID, all of a sudden, static hashtable looses its values. This happens both ...more >>

ReportViewer control - Remote processing mode
Posted by Raghu at 1/4/2006 9:38:49 AM
I have developed a web portal that uses ReportViewer web control to connect to a remote SQL 2005 Report server and displays the reports on the client side. The asp.net page has been coded to automatically impersonate a specific user who has access to the report server so that the customer don't ...more >>

Uploading file via Web Services
Posted by Shimon Sim at 1/4/2006 9:36:40 AM
Hi Where can I see an example of creating web services that would allow uploading a file from client (with some additional information attached) Thank you, Shimon. ...more >>

when is server recompilation done?
Posted by VB Programmer at 1/4/2006 8:37:19 AM
For a 2003 ASP.NET site, when is recompilation of the site on the server done? Only after the site is updated, or every time there has been a lull in visits and someone visits it for the first time? Thanks. ...more >>

no borders on empty <td>'s (2.0)
Posted by prefersgolfing at 1/4/2006 8:20:15 AM
Though others may deride my style, I'm using style="... to set the borders in a table I've created. I've noticed when the <td> is empty, nothing in style="... seems to affect the borders. This is in debug mode. I have not rolled out yet. Is there a solution to this? Thanks. ...more >>

ASP.NET 2.0, TreeView Control and Styles
Posted by bors at 1/4/2006 7:25:54 AM
Hi everybody! I have TreeView and I want to mark parent node where his child is beeing selected. Other words - I'm klicking on some child node and I want to show that this node AND his parent ist selected. Is it possible? How can I change the style of parent node programmatically? Thanks a lo...more >>

Client Side Script Problem
Posted by comzy at 1/4/2006 4:54:53 AM
Hi all, I have a peculiar problem. After migrating my existing asp.net 2003 project to 2005 my project works fine without any problem. The moment i thought of debugging it i came to face this peculiar problem which is as follows. when i run the project by typing the URL dirctly in the...more >>

Webform issue with ASP.NET 2.0.
Posted by ffhansix NO[at]SPAM hotmail.com at 1/4/2006 4:32:54 AM
Hi, I have migrated a web site from .NET 1.1.4322 to .NET 2.0. After the migration my Modal webform does not work as it did in 1.1. The webform pops up from a page when a user clicks a button: The following line is run in the codebehind file: Page.ClientScript.RegisterClientScriptBlock(th...more >>

Enable client - side debugging
Posted by ramendra at 1/4/2006 4:21:02 AM
I am using javascript as the client scripting language. And, was able to successfully debug the client-side code a while ago, but recently something has changed and i am no more able to debug the client side code. I have also unchecked the "Disable client - side code" in the internet options d...more >>

DetailsView: InsertMethod not function [ObjectDataSource]
Posted by CWWong at 1/4/2006 3:58:02 AM
I am using DetailsView using ObjectDataSource with DataSourceTypeName assigned to the specific class. SelectMethod, UpdateMethod and DeleteMethod is working successfully, except InsertMethod. The error msg returned is: Cannot insert the employee. With tracing trigger on, I had discovered tha...more >>

How does PagedDataSource work?
Posted by Franz at 1/4/2006 2:57:46 AM
Hi, If my ProjectTable contains a lot of rows, each time I call the following code, will all the rows be fetched? Or only those 5 records for that page are fetched only? /* -- code start -- */ OdbcConnection connection = new OdbcConnection("DSN=Whatever"); connection.Open(); string quer...more >>

Printing WebForm - server-side system
Posted by Franck at 1/4/2006 1:46:49 AM
Hi, Is it possible to extract all controls from a webform and print them ? I'm currently trying to use a viewstate system but can't figure out how to retrieve control position. Thks for help. ...more >>


DevelopmentNow Blog