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 > january 2008 > threads for thursday january 10

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

vs2008 new WebSite Release config missing
Posted by CMoya at 1/10/2008 7:23:29 PM
It seems whenever I create new Web Site projects in VS2008, there is only a Debug configuration available, not Release. Is this a bug or by design? Upgraded Web Sites (from 2005) show both. So do "Web Application" projects (I still don't really understand the pros and cons of using one over th...more >>


Shortcut for Converting Table to Class
Posted by Jonathan Wood at 1/10/2008 4:44:31 PM
Just out of curiosity, I don't suppose ASP.NET provides any tools to make it easier to read a table from a database and convert it to a class object, does it? As it is, I need to create a class for each table type, manually type in all the members, and then write code to read the database, ...more >>

Application_End event handler not getting called on development server
Posted by Tenacious at 1/10/2008 3:35:59 PM
I am trying to shutdown a database server in the Application_End event handler on the Global.asax page. So far I am trying this only on the development server that comes with Visual Studio 2005. When I close the browser, this does not cause the Application_End event to trigger. It also will not ...more >>

Firefox not firing button event programmatically from JavaScript but IE and Safari do
Posted by Braden.Bowers@gmail.com at 1/10/2008 3:23:48 PM
We have a page that contains an .ascx user control. That control has an image button that when clicked fires a JavaScript function on the container page. The JavaScript function finds an <asp: button > on the container page using. var btn = document.getElementById('<%= MyButton.ClientID %>')...more >>

best way to create applets usable on other sites
Posted by musosdev at 1/10/2008 3:06:01 PM
Hi I have some areas of my website I want to make available to other site owners to include in their website (for example, Top 10 list, etc) What's the best way to generate something that can be used by any site owner, no matter what language they use, but that I can control the way the ...more >>

urlencode cannot handle spaces in URL correctly?
Posted by gouqizi.lvcha@gmail.com at 1/10/2008 2:42:07 PM
For ASP.Net 2.0, if using HttpUtilities.Urlencode, it will encode spaces as '+' rather than %20, is this a known issue or something expected. ...more >>

DataList control column
Posted by David C at 1/10/2008 12:37:40 PM
I have a DataList control that displays file names from a directory. I would like to conditionally add a string to the DataNavigateUrlFormatString in a HyperlInk column before it is displayed. Where is the best place to do that? Currently the DataNavigateUrlFormatString="ShowDocs.aspx?doc={...more >>

C# or VB.NET?
Posted by M. Ali Qureshi at 1/10/2008 12:32:59 PM
Hi, I am a beginner in .NET. I have been coding in plain asp before, using VBScript, and now when i'm migrating to .NET, i obviously chosed VB.NET. But.... when i see code samples on net, they are mostly in C#, i also saw a post in this newsgroup where someone mentioned that it was a very ...more >>



Change language in Calendar control
Posted by Marin at 1/10/2008 12:26:37 PM
I have some Calendar controls on my asp.net page. My computer (localhost) and my server is in Croatia, Europe. So calendar control have day in week and month caption on Croatian language. I want to set up these controls on English language. How to do that? ...more >>

Browse Server Directory for Download File
Posted by randy.buchholz at 1/10/2008 12:21:29 PM
Hi Group I'm working on file upload and download. Right now I'm using the file system, next SQL Server. I have most everthing working except for providing a way to allow users to browse for a server directory to select the needed download document. Environment is C#/ASP.Net 2.0 and my files...more >>

Check environment in application_start
Posted by MattB at 1/10/2008 12:17:24 PM
I'm trying to put some code in my asp.net 1.1 application that checks some dependencies. I want to alert the user if something is missing or a component version is out of sync. I've been able to do the checking logic, but can't do what I want from the application_start event. What I fist inte...more >>

menu on Master a mess in IE !
Posted by Jeff User at 1/10/2008 11:46:52 AM
VS2005, Win XP, IE 6.0 Who ever would have thought. My menu looks better in firefox than IE6.0 !! If I create a site menu on a regular webForm it displays ok. Menu is only 2 levels deep (not counting hidden "home" level 0) But if I create it on a Master page (which I need to do), when I r...more >>

Change event sequence
Posted by Redhairs at 1/10/2008 11:30:53 AM
I created two base page class and a webform to inherit them as blow. Public Class BasePage:System.Web.UI.Page { protected override void OnPreInit(EventArgs e) { base.OnPreInit(e); } } Public Class ContentPage : BasePage { protected override void OnPreInit(EventArgs e) ...more >>

DataItem property of DataGridItem, RepeaterItem, DataListItem,GridViewRow
Posted by Jeremy at 1/10/2008 10:41:01 AM
In all of my cases, the DataItem property of DataGridItem, RepeaterItem, DataListItem,GridViewRow contain a DataRowView. When will they contain a different type, and what types can they be? ...more >>

VBC syntax used by VS2003
Posted by Andrei at 1/10/2008 10:22:48 AM
Hi Group, Is there any way to find out what is the exact syntax that VS2003 is using when compiling/starting a asp.net application ? I'm looking for all the parameters needed for issuing a vbc command at the command prompt. We have a quite large application, with lots of projects in the s...more >>

Will ASP.NET 1.1 application work perfectly on .Net Framework 2.0
Posted by DNB at 1/10/2008 9:19:13 AM
Will ASP.NET 1.1 application work perfectly on .Net Framework 2.0 without upgrading to 2.0. The reason I am asking is that we would like to use mirroring feature of SQL2005 but <Failover Partner> keyword is not supported by .NET Framework version 1.0 or 1.1 Thanks DNB ...more >>

Session Question
Posted by Paul at 1/10/2008 8:33:35 AM
Hi all, I've been given an old asp.net project to update. The project uses its own authentication system and small session object to maintain state - it's running off a mysql server. One issue with this is session timeout occuring for logged in users. Currently, session timeout is set at 20. ...more >>

site menu display is flat
Posted by Jeff User at 1/10/2008 8:07:15 AM
Hi all VS 2005 I added a menu with a siteMapDataSource control as its source. It appears to read the Web.sitemap file because all the items listed in the file are shown. Problem is that allthe items in the file are shown on one line. It is not distinguishing the sub levels. Here is the sitem...more >>

Autocreate Data Access Layer
Posted by Rbrt at 1/10/2008 6:44:02 AM
I have a class with properties that correspond to the columns in a database table. So for example the column BookTitle in table Books will have a corresponding property BookTitle in the class Books. I am writing a data access layer that creates a list of Book objects and so I have to read ...more >>

Get Parent Control
Posted by shapper at 1/10/2008 5:01:53 AM
Hello, I have the following control tree: Panel A > Panel B > Panel C > Literal How can I, in my literal DataBind event, get 3 controls "up" in the control tree, i.e. Panel A Thanks, Miguel...more >>

Run .NET-Control with Client
Posted by aaapaul at 1/10/2008 4:34:26 AM
Hallo! I know, that I can run an ActiveX Control in a Webpage. I have seen that its possible to run a .NET-"Control" in a webpage at the client too. (Client needs framwork) Any sample, how to do this? Thanks aaapaul...more >>

ASPNET richedit control
Posted by ckkwan@my-deja.com at 1/10/2008 3:40:43 AM
So far, I know that there are some example which uses javascript and iframe to do this. But may I know what is the best way to do this wiht ASPNET? I don't mind sacrify cross browser compatibility. TIA...more >>

How to increase page timeout
Posted by Mort Strom at 1/10/2008 2:49:23 AM
After logging into my web site, it seems that I time out at around 10~15 minutes. What setting should be changed in web.config to increase the timeout to say, 3 hours? Can this value be set programmatically? What is the maximum value allowed ? Thanks for any direction, Mort ...more >>


DevelopmentNow Blog