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 > february 2008 > threads for friday february 29

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

MasterPages and applying CSS to content pages
Posted by Mort Strom at 2/29/2008 10:19:32 PM
Right now the header of my master page contains all of the CSS styles for all of the pages that might be loaded in my ContentPlaceHolder. The problem is that my <style> tag is getting too large to manage. I have 300 lines of styles in my masterpage and I don't need all of this for every page...more >>


How To Question
Posted by Steven at 2/29/2008 9:54:13 PM
Greetings, This project, among other things, requires: 1. the ability to capture a screen size image from a directory every x seconds (x= 1-5) and display this image to a publicly addressable web form without any screen flicker. Basically, we have a device that captures frames from one PC...more >>

single sign on - why not trust AD?
Posted by jc at 2/29/2008 8:44:19 PM
For intranet development.. is there anything terribly wrong with authenticating users against AD groups to determine what pages, menus, features they should be allowed to see and use? Would there be any valid reason for asking users to re-enter there AD user and PW for every intranet Applicati...more >>

Asp.net, GridView and Linq on Array of objects
Posted by James at 2/29/2008 8:14:31 PM
I've got a GridView control on a simple web page in ASP.net 3.5. I've an Array of Employees. An Employee has First Name, Last Name, = IsActiveEmployee etc My GridView control is Bounded to the Array: DataSource =3D myarray, = gridview1.DataBind() I have template column with holds a link b...more >>

Question on DropDownList
Posted by rote at 2/29/2008 5:37:21 PM
I have a DropDownList in a DetailView like so <asp:TemplateField HeaderText="PCode"> <ItemTemplate> </ItemTemplate> <EditItemTemplate> <asp:DropDownList ID="ddlCode" runat="server" BackColor="Pink" DataSourceID="SqlDataSource2" DataTextField="PCode" DataValueField="PCode" SelectedV...more >>

localiztion app_localresources ie6 vs ie7
Posted by Cindy Lee at 2/29/2008 5:20:19 PM
When I'm running my 2.0 .net web app, the French translations work fine with my aspx.fr-FR.resx file under ie7. But in ie6 it doesn't work when I set the language to French. I think it's because the setting for langue in ie6 is just FR compared to fr-FR in ie7. So I just guessed and changed ...more >>

Hide GridView Columns
Posted by David C at 2/29/2008 1:53:28 PM
I have a GridView that I am exporting to Excel and it works fine. However, the 1st and last columns have Edit and Delete command links and I do not want to export them. Is there a way to do this before I render it? Thanks. David ...more >>

Check property
Posted by shapper at 2/29/2008 1:50:09 PM
Hello, Before I add a control I need to check if its CssClass is defined. Should I use: If String.IsNullOrEmpty(MyControl.CssClass) Then .... I am not sure if this is the correct way because the user can set my mistake MyControl.CssClass = "" How should I do it? Thanks, Miguel...more >>



Microsoft Visual Web Developer 2008 Express
Posted by brockuswade@yahoo.com at 2/29/2008 1:30:19 PM
I'm using Microsoft Visual Web Developer 2008 Express Edition to create a form for registering new users with the "CreateUserWizard". It looks and works great except when I try to type in a password in the textbox I get the error "Password length minimum: 7. Non- alphanumeric characters required...more >>

what's the best way to give our customers full control of the L&F for their web application
Posted by None at 2/29/2008 12:58:49 PM
We are creating a web application to be deployed to 150 of our customers to use as an interface to our software system. The web app needs to be completely customizable for our customers while maintaining functionality with the system. We want customers to be able to modify text, add headers an...more >>

Include page ASP VB.net can't access function
Posted by Jonathan at 2/29/2008 12:32:03 PM
Hi I have a small top navigation bar that is an 'include page' on my other aspx pages. The nav bar is navbar.aspx and has a little bit of asp.net code embedded in it that displays 'Logged in as: name'. The function in it, GetLoginName, works fine when I preview the page in IE by itself. How...more >>

XMLSerializer--how to debug?
Posted by Larry Bud at 2/29/2008 11:42:36 AM
I've got 2 XSD files which I've converted to classes with the xsd.exe tool. I've created the first XMLSerializer object just fine, but the 2nd throws an exception when creating from the root class: deserializer = New XmlSerializer(GetType(myrootclass)) Unable to generate a temporary class (...more >>

Integrated Security Issue
Posted by Ross Culver at 2/29/2008 11:01:11 AM
I have an ASP page with several textboxes that are populated using an ADO objects and statement in the code behind. The page also has two datagridviews each populated with datasources using the same connection string as the ADO statement, all three of which utilize Integrated Security. My ...more >>

Querying multiple words
Posted by Cubicle Intern at 2/29/2008 10:59:53 AM
Hi, My website's search function looks up entire phrases instead of individual words. For example, if I query "Google Groups," I would like my search to come up with everything in my database that has the words "Google" and "Groups," not just the phrase "Google Groups." I would want my sea...more >>

export to excel
Posted by Mike at 2/29/2008 10:17:15 AM
I have a web page that allows the user to select either HTML or Excel format. I'm able to open the output in Excel but it puts the entire web page in excel, how can I get only the GridView to go to excel and not the entire page? I have this and its exporting the entire HTML page to excel: ...more >>

GridView not updating
Posted by David C at 2/29/2008 9:08:35 AM
I have a new GridView that has an SQL table as a datasource. The primary key is included but not visible. When I click the Edit link button, change a column's data and click Update, nothing changes and I do not get any error. The UPDATE has a WHERE clause of "WHERE ID = @ID" and the ID field...more >>

Uploading/Downloading Encrypted Files to a Database
Posted by annemarie at 2/29/2008 8:54:33 AM
Hello all - I'm having a problem with trying to load some encrypted binary files into a SQLServer 2000 database. The files are going into the database, but when I pull them out, they are 1 byte larger (328 -> 329) and when verified our tool says that the file is invlaid cause it's been modified...more >>

Problem instaling asp.net app in server 2003
Posted by Camacho at 2/29/2008 8:53:23 AM
Hi Everyone, I'm trying to install one new app in server 2003, It was made in C# ASP.NET, and it Uploads files to um subfolder of my webapp. But it doesn't execute in Server 2003 only in my development machine XP. It's doesn't send any message to Event Log, and any other error message, j...more >>

WCF FileStreams
Posted by CsaaGuy at 2/29/2008 8:21:01 AM
Sorry for the cross post but his group is far more active. I have a need to pass mutiple file streams in WCF Is this possible? I can do this as a regular web service. Simply pass a FileStream[] filled with file streams. But don't how to do this with WCF thanks...more >>

Error converting data type nvarchar to numeric
Posted by Adam_Cogswell at 2/29/2008 8:06:41 AM
Hello everyone, I've been beating my head on this for two days and it's driving me crazy. First things first, I'm learning ASP.NET and SQL integration as I go here so please be kind. :D I've done other web projects, but this is the most complicated one I've attempted so far. This forum has...more >>

Stop ObjectDataSource from refreshing when CustomValidator is false
Posted by Don at 2/29/2008 7:57:46 AM
I have a page with a GridView that uses an ObjectDataSource. The user can change some parameters on the page and refresh the GridView with a button click. One of the parameters has a CustomValidator that uses server side logic to determine if the value is valid. When the value is invalid my va...more >>

using AD security for authentication. The trust relationship between the primary domain and the trusted domain failed.
Posted by wildman@noclient.net at 2/29/2008 7:19:29 AM
Hello. Simple security design, where all intranet users can get to most pages, but a few ADMIN pages need to be secured to select users. We've added those users to an AD group. Whle testing I noticed this returns YES If (Page.User.IsInRole("USERS")) Then Response.Write("YES")...more >>

HTTP 404.
Posted by iHavAQuestion at 2/29/2008 6:45:02 AM
When i am tring to open the .NET application the following error is raised HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled co...more >>

Configuring web site to ASP.NET 2.0 failed
Posted by Tom Nowak at 2/29/2008 5:51:00 AM
When trying to create a web project using Visual Studio 2005 and Windows Vista Home Premium, I receive: Configuring web site http://localhost/WebSite to ASP.NET 2.0 failed. You may need to manually configure this site for ASP.NET 2.0 in order for your site to run correctly. How di I fix...more >>

migarting my appliacation from VS 2003 to VS 2005
Posted by koolquery@gmail.com at 2/29/2008 5:36:08 AM
Hi i;m migarting my appliacation from VS 2003 to VS 2005 I've coverted it but now i'm getting the error "Error 1 The type or namespace name 'EncriptDecript' could not be found (are you missing a using directive or an assembly reference?) C: \Inetpub\wwwroot\ \Login.aspx.cs ...more >>

File system websites
Posted by bhuvanabh@gmail.com at 2/29/2008 4:50:45 AM
Hi, In http project, I can able to view the webpage link by providing m/c name instead of localhost(http://mymachinename/sample.aspx), but in filesystem project why I couldn't browse the page with the machine name? Can anyone suggest me how to browse it using m/c name instead of the localhost...more >>

Control Event
Posted by shapper at 2/29/2008 4:17:20 AM
Hello, I am working on a Custom control which inherits from Composite Control. I perform a few actions on Init, Load and PreRender events of this control. How can I access this events inside my custom control code? Thanks, Miguel...more >>

Inheritance from MembershipUser class
Posted by Ned White at 2/29/2008 3:28:38 AM
Hi All, i can create new instance of MembershipUser class like that; MembershipUser userA = Membership.GetUser("someusername"); But how can i build a class which is inherited from System.Web.Security.MembershipUser class. as follows ; public class B2B_User : MembershipUser { publi...more >>

aspx httphandler messing up my gridview paging postback target
Posted by Matt Winward at 2/29/2008 1:33:26 AM
Hi all. I've got a little problem with my gridview paging and I'm not sure how to resolve it. Basically, I'm handling all aspx requests with my own httphandler. This does a url rewrite, so the url you see is not the page that is actually returned. To add to the complexity, I have a module w...more >>

how do I navigate UP the directory tree from a subfolder?
Posted by Keith G Hicks at 2/29/2008 12:55:14 AM
asp.net 2.0 I have a master page in my root. I have some other pages in subfolders. All my navigation buttons are on the master page. When I click one of the buttons that takes me to a page in a subfolder, that works fine. But then when I click one of the buttons that's supposed to take me bac...more >>


DevelopmentNow Blog