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 > november 2007 > threads for tuesday november 20

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

Confusion when opening VS 2005 project in VS 2008
Posted by Cirene at 11/20/2007 10:29:14 PM
I installed the RTM version of Visual Studio 2008 today. Initially when I would open any of my 2005 projects (.NET 2.0) it would simply open them. Now the Visual Studio Conversion Wizard is showing up everytime. Why is this and how can I bypass this? Thanks! ...more >>

writing to config file
Posted by Vinki at 11/20/2007 8:29:03 PM
Below is the code that i using to change the config file settings. When I do the changes to the config file through this code, It seems that it updated the config file with the changes, but when I got the file, the changes are there. I am having hard time finding out why this is happening. ...more >>

Problem modifying GridView cells at OnDataBound
Posted by gnewsgroup at 11/20/2007 7:47:58 PM
I have a GridView which is bound to my database. The leftmost column of the GridView has a value of either 0 or 1, and I need to highlight the cell of column 3 if the leftmost column has a value of 0. After highlighting, I want the leftmost column to disappear. So, in the OnDataBound even...more >>

SqlMembershipProvider database reusage
Posted by glebovech@gmail.com at 11/20/2007 7:02:04 PM
Is it possible to reuse existing SQLSERVER database containing membership information for different application? Basically this is a situation. 1. Created application App1 where with a help of standard Login control membership user has been created. 2. Created application App2 which pointed t...more >>

Classic ASP vs .Net - validation
Posted by Yitzak at 11/20/2007 5:38:03 PM
Hi I did my first web site/app recently using asp. Although I found the language easy, the end result compared to a typical client/server app v.messy. My inexperience probably contributed to messy code. I found the client side scripting for validation etc very tricky and time consuming. I ...more >>

Traditional ASP
Posted by Michael Rempel at 11/20/2007 5:13:14 PM
I have a site developed in traditional ASP that need significant work. I got a copy of VS2005 because I was told it supported traditional ASP, but I am having a good deal of trouble setting it up to debug .asp files Any suggestions? (other than moving it to dot net) Thanks, Michael ...more >>

Setting DropDownList SelectedValue
Posted by David C at 11/20/2007 4:49:23 PM
I have an ASP.Net page that has a FormView with multiple controls. One of those controls is a DropDownList that is bound to a SQL table which is the DataSource. I added an option to the DropDownList to choose <<Add>> with a value of -1. I have a VB class function that inserts a new record an...more >>

Sample Apps?
Posted by Mervin Williams at 11/20/2007 3:58:05 PM
Where can I find sample ASP.NET applications for Visual Studio 2005? Thanks in advance, Mervin Williams ...more >>



Attributes.Add Onclick (javascript) trapping CANCEL
Posted by jobs at 11/20/2007 2:13:57 PM
re: Attributes.Add Onclick (javascript) trapping CANCEL Hello. The following asp.net/vb.net code produces a confirmation Submitbutton.Attributes.Add("onClick", "return confirm('Is this okay?')") My question is, when the confirmation comes up, I want cancel to do a back. Currently it just ...more >>

Looking for a rapid development tool
Posted by Robin9876 at 11/20/2007 12:51:05 PM
Does anybody have any tools that they would recommend for rapidly building ASP.Net (VB) applications from a entity relationship diagram?...more >>

batch publishing web applications
Posted by Andy B at 11/20/2007 12:33:55 PM
Is there any way to make a project or something like that in vs2005 that will compile all the projects in a solution and then publish them in a certain order to a certain place? Kind of like a batch publish... ...more >>

UpdatePanel and Dropdown List
Posted by Stormbringer at 11/20/2007 12:24:03 PM
I have an UpdatePanel with a dropdown list that I can't seem to get to update. It has a hidden button which I click from javascript added to the page when another update panel is updated. Triggers didn't work for this that is why I'm using the script. The script is registered with... Scrip...more >>

Dropdown List help
Posted by Me LK at 11/20/2007 11:34:45 AM
I have a drop down list nested in a datagrid. It works fine. When there is no data in he DDL I change the list to visible = false and show a label with the word "none". That works fine. What I need to do now is list the word "none" in the database if there is no value in the DDL. This I can not...more >>

localization and prefixname page
Posted by Steph at 11/20/2007 11:11:40 AM
hello, i ve two aspx page, and i want use just one resx (App_LocalResources). I use the implecit method (meta:resourcekey) and i don't find the c# command to define the localresource file name. it s possible ? thanks steph...more >>

My button_click function doesn't get current value
Posted by Cindy Lee at 11/20/2007 10:59:00 AM
I have an image button that I do an button_click with protected void ImageButton1_Click(object sender, ImageClickEventArgs e) { stringt value1=TextBox1.Text; I get the value here ok, but only if I don't set it in the pageload part. TextBox7.Text="a"; // if this is in the ...more >>

Role Based Connections Using SSPI / Impersonating Original Caller
Posted by VC at 11/20/2007 10:53:02 AM
Hello, Background: I have created some extensive logic in my databases which take the credentials of the logged on user and grant appropriate data through a combination of views and AD group membership. This works great by using the original caller's identity however, my boss wants me to b...more >>

SQL Membership Provider: email as username?
Posted by hfdev at 11/20/2007 10:42:01 AM
Hello, Is there a way to configure the ASP.NET SQL Membership provider to force/allow the username to be the email address? Thanks, Josh Blair HydraForce, Inc....more >>

how to keep debug info out of release builds
Posted by Andy B at 11/20/2007 10:38:21 AM
How do you tell vs2005 to keep debug info out of your release builds? When I build a release and a debug version, there seems to be no difference in them at all...The release builds still have the debug databases with them... ...more >>

MultiView stays at Initial View
Posted by pbd22 at 11/20/2007 9:13:36 AM
Hi. Has anybody seen this? I have three views in a multivew: <asp:MultiView runat="server" ID="multiView" ActiveViewIndex="0"> <asp:View runat="server" ID="loginView"> and so on. The problem is that, when the page loads, the HTML from the INITIAL view, th...more >>

Membership Provider: how to create initial user acct. after deploy
Posted by hfdev at 11/20/2007 8:11:03 AM
Hello, I have a web application that makes use of the SQL Membership and Role providers. My app has admin screens to manage users (membership), roles, and supplementary user data. I have just deployed the application to a production server. My Question: How do I create the initial Admi...more >>

sample code gone bad
Posted by rodchar at 11/20/2007 8:04:00 AM
hey all, the following syntax is a method declaration i found in an article: protected override void PerformDataBinding(IEnumerable data) well, i'm getting an error message saying the following: Using the generic type 'System.Collections.Generic.IEnumerable<T>' requires '1' type argument...more >>

Css Friendly Adapter, Disable for IE6
Posted by Nitin at 11/20/2007 7:41:29 AM
Is there any way I can disble css friendly adapters for IE6 but keep them enabled for IE7? i edited the ".browser" file and set <browser refID="IE6to9">, this is for both IE6 and IE7, i want an option for only IE6. Regards, ...more >>

Gridview HyperlinkField question
Posted by Peter at 11/20/2007 7:36:02 AM
Hello: I have a hyperlink field in my gridview that redirects to a new page. I would like to set a session variable to a value from the grid row where the hyperlink was clicked before the redirection occurs. Is this possible? Can anyone offer any suggestions? Peter <asp:Gr...more >>

asp.net 2. 0 security
Posted by ireallyneedtoknow2007@yahoo.com at 11/20/2007 7:28:02 AM
hi all I have to secure an internet application to only allow certain users and have come up with the following page load and web.config code. basically I allow all users access then catch their user name in the page load and allow/deny access based on <add key="allowed" value="user1"/> in web ...more >>

Permissions to call LogonUser
Posted by kellygreer1 at 11/20/2007 7:27:23 AM
I have been troubleshooting writing a log file to a fileshare on another machine.... and I can't seem to find my way past the "Double Hop" issue. I seem have narrowed it down to a failure of the LogonUser call. On Windows 2000 with IIS 5 and ASP.NET 2.0 the LogonUser call returns 0. From a Win...more >>

How to delete IIS metabase?
Posted by Rbrt at 11/20/2007 4:04:00 AM
I am having bizarre problems with IIS 6.0 an ASP.NET 2.0 on the Win 2003 Server in our (closed internal) development network. Following some of the suggestions I have seen here, I have removed IIS 6.0 from the server as well as all versions of ASP.NET. I would also like to remove the IIS metab...more >>

webdav exchange query failing if first attempt fails
Posted by bart at 11/20/2007 2:54:45 AM
Hi all, I'm trying to read the exchange calendar of people via webdav. This works fine for the most part, but some users have been migrated from other departments, and have a different default language, and therefore a different webdav URL. What I'm trying to do is the following: 1. try to r...more >>

ASP > ASP.NET Migration (DISP_E_MEMBERNOTFOUND Error)
Posted by NvrBst at 11/20/2007 12:15:58 AM
I'm having a problem with a "Member not found. (Exception from HRESULT: 0x80020003 DISP_E_MEMBERNOTFOUND))" error. The origional ASP is JScript, and the ASP.NET is JScript.NET. I'm creating an object with the line 'var oMyO = Server.CreateObject("Type.Class")'. I can successfuly call methods...more >>


DevelopmentNow Blog