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 > march 2008

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

ResetPassword Requiring passwordAnswer
Posted by Vernon Peppers at 3/31/2008 7:25:01 PM
I have a site that is using membership as provided with ASP.NET. I have a page to reset the password, that is only available to the site administrator. I have RequireQuestionandAnswer set to false. web.config entries <connectionStrings> <add name="UserInfoConnectionString" connectionStrin...more >>


ResetPassword Requiring passwordAnswer
Posted by Vernon Peppers at 3/31/2008 7:23:02 PM
I have a site that is using membership as provided with ASP.NET. I have a page to reset the password, that is only available to the site administrator. I have RequireQuestionandAnswer set to false. web.config entries <connectionStrings> <add name="UserInfoConnectionString" connectionStrin...more >>

web site config : ASP.NET version 3.5
Posted by John A Grandy at 3/31/2008 5:41:47 PM
I installed .NET Framework 3.5 In IIS, I expected the web site properties ASP.NET tab to include 3.5 as an option in the "ASP.NET version" dropdown, but it does not. ...more >>

Possible to add Web User Control to a Web Control Library?
Posted by Brian Cryer at 3/31/2008 5:07:05 PM
VB.NET, Visual Studio 2005, .NET Web Application. Having created a Web Control Library is it possible to add a Web User Control to it? I don't get the option to create a new web user control, and if I copy one from my web application it doesn't then compile. So is it possible? Is there a wo...more >>

Still getting prompt for password on jpg files
Posted by David C at 3/31/2008 4:24:58 PM
We have an asp.net web site (intranet) that has documents and photos on a separate server that is part of the same domain. We have added NETWORK SERVICE user account with rights to the security permissions of that folder on the other server but are still getting prompted for a password on cert...more >>

hide the exe from internent access in a asp.net 2.0 web application
Posted by red at 3/31/2008 4:20:53 PM
I have a asp.net2.0 web application which will run some executable (written in standard c++) to do some job. I do not want to make the executable downloadable. What should do ? Change web.config? I googled and could not find the answer. ...more >>

Moderation
Posted by Peter Morris at 3/31/2008 4:17:53 PM
There's a lot of spam in these newsgroups, doesn't anyone moderate them? ...more >>

What's the presumption for User.Identity.Name?
Posted by gnewsgroup at 3/31/2008 1:56:37 PM
We have a requirement from our client. Basically, they wanna do an online survey through a public-access web site (in other words, anonymous access allowed), but do not want any user to do the survey more than once. We told them that this is not possible. But they insist that it is possible...more >>



Hiding a field in a repeater
Posted by JJ297 at 3/31/2008 11:48:34 AM
I want to hide the Pin field below in my repeater. How do I do this? <asp:Repeater ID="Repeater1" runat="server" DataSourceID="SqlDataSource1"> <ItemTemplate> <tr> <td><font color="#330099">Claim SSN: </font><b><%# Eval("ClaimSSN") %></b></td> <td col...more >>

customErrors mode="Off" does not work
Posted by Andy Fish at 3/31/2008 11:08:59 AM
Hi, I cannot get <customErrors mode="Off"> to work at all in .Net 2.0 if I set it to 'Off' it behaves as if it was set to 'RemoteOnly' i.e. I can see the error detail when accessing it from the local PC but not from another machine, but if I access it from a remote machine I get the page ...more >>

how to refresh contents of UpdatePanel using call from outside of
Posted by Oleg at 3/31/2008 10:22:22 AM
(in .NET 2.0 with AJAX extensions) I have an UpdatePanel on the form. Now I want to use a link outside of my UpdatePanel to make it to update (asynchronously) and also send some(at least one ) parameters. I'm trying using ICallbackEventHandler, but it doesn't update the UpdatePanel. Any su...more >>

Web server's "local" time in auth ticket. Is it realy true?
Posted by bogdan at 3/31/2008 9:50:28 AM
Hi, According to the on-line docs, the expiry stored in the authentication ticket (form auth) is an absolute date and time value in server's LOCAL time instead of UTC. I could not believe what I was reading. It is really shocking to learn that someone would go for that kind of design whic...more >>

HtmlEncode and apostrophes
Posted by musosdev at 3/31/2008 9:47:02 AM
Hi I'm trying to code up an admin system for my website. A couple of the welcome text paragraphs are stored in an SQL database, so that we can update them should we need to. However, even though I'm using the HTMLEncode method (I've also tried the URLEncode method), the apostrophe always re...more >>

Delete record
Posted by CreativeMind at 3/31/2008 9:45:44 AM
hi all, private void dgMygrid_ItemCreated(object sender, System.Web.UI.WebControls.DataGridItemEventArgs e) { Button bDelete=(Button)e.Item.FindControl("btnDelete"); if(bDelete!=null) { bDelete.Attributes.Add("OnClick","javascript:return confirm('Are you sure you want to del...more >>

Title equals tooltip
Posted by rodchar at 3/31/2008 9:28:01 AM
hey all, so tooltip property in .net renders as title attribute in html? thanks, rodchar...more >>

Client-side application and impersonation
Posted by Martin at 3/31/2008 7:56:04 AM
Can a browser-based cient-side application impersonate a domain user? I am trying to host a client-side assembly in a browser. I need to then impersonate a domain user account in the assembly to give me access to network resources, and I'm not sure if I'm able to impersonate a domain account o...more >>

Image path problem in user control
Posted by gnewsgroup at 3/31/2008 7:47:51 AM
I have a user control called Footer.ascx, in which a background image is inserted like so: <div id="footerdiv" style="background-image:url('Images/ mybackground.jpg'); background-position:center; background-repeat:no- repeat;"> <!-- My footer content goes here. --> </div> This Footer.ascx...more >>

cssClass and ID same name
Posted by rodchar at 3/31/2008 7:26:17 AM
hey all, would there be a problem if i made the CssClass and ID the same name for any and all elements? thanks, rodchar...more >>

what is the most secure way to pass querystring parameters
Posted by psycho at 3/31/2008 6:13:26 AM
What is the most secure way to pass information using querystring? and what are other secure ways by which a client and browser can interact...more >>

updateable, precompiled web and changes to source files
Posted by pdm at 3/31/2008 5:03:22 AM
Hello I have a couple of apps that were deployed using the precompiled, updateable option. There have now been changes to the .ascx and .aspx files on the live server and I am wondering how to best merge these back with the dev system (which is in source control). Will the "inherits" and "cod...more >>

grouping controls together
Posted by Robert Smith at 3/31/2008 5:02:00 AM
Hi, I have several dropdownList controls on my form and I wish to loop through them all and find the selected value and then concatenate them together into a string. The problem is I can't find a way to group the controls together so that I can loop through them, If I put them in a panel ...more >>

Login with email not UserName
Posted by andytidy@gmail.com at 3/31/2008 3:36:14 AM
When using the membership, user and roles providers, what is a straight forward way to get users to login using an email address and not a username?...more >>

What kind of data access you will use for the project with very large database [such as myspace]
Posted by laziers@gmail.com at 3/31/2008 3:20:23 AM
Hi, What kind of data access you will use for the project with very large database [such as myspace]: 1. NHibernate [this will be the slower?] 2. Linq 3. Sql queries + stored procedures [In my opinion this will be the fastest] 4. DataSets...more >>

MembershipProvider is not marked as serializable?
Posted by Nemisis at 3/31/2008 2:14:48 AM
Hi everyone, I have created a custom membership provider and set the serializable declaration on it, but for some reason i am still getting an error message saying "Type 'System.Web.Security.MembershipProvider' in Assembly 'System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5...more >>

How to have .NET framework 3.5 on web server?
Posted by Rishi Boparai at 3/31/2008 2:13:32 AM
My company web server is still run with .net framework 3.5. Recently, we convert our web projects to .NET 3.5 (VS 2008). I'd like to know how to get .net frame work 3.5 for the web server. Re-install framework for the server or something to do with IIS? I do not know. Thank you in advance for h...more >>

build fails with asp button on page with click event
Posted by Keith G Hicks at 3/30/2008 6:04:05 PM
asp.net 2.0 I have a lot of pages in my current app with server buttons that run just fine. But I added an asp button to the page I'm currently working on, double clicked it to set up the code for the click event. That's it. No code in the handler yet, just set it up. Build fails. No error mes...more >>

Modifying Data in a GridView Web Server Control
Posted by GaryDean at 3/30/2008 5:52:31 PM
The title of this post is the subject of an MSDN article at: http://msdn2.microsoft.com/en-us/library/c4245bb4(VS.80).aspx The article describes generating a sqldatasource that has select, update, delete, and insert statments and basically accomplishing maintenance through a datagrid with no...more >>

Session State Loss in mismatched web site Instance ID
Posted by Martin Kulov [MVP] at 3/30/2008 4:32:30 PM
Hi, I am wondering if this problem is still valid for ASP.NET 2.0. "To maintain session state across different Web servers in the Web farm, the application path of the Web site (for example, \LM\W3SVC\2) in the Microsoft Internet Information Services (IIS) metabase must be the same for all...more >>

how do I call a code-behind procedure from javascript?
Posted by Keith G Hicks at 3/30/2008 2:39:27 PM
I'm working on an asp.net 2 app. I had a page with an input button on it as shown here: <input id="btnPost" type="button" value="Post" style="width: 66px" /> I need that button to run some code behind code that will update some data in the associated sql 2005 dababase. I know how to write ...more >>

Working with controls inside a repeater
Posted by Øyvind Isaksen at 3/30/2008 10:53:14 AM
I need to know how to handle controls inside a repeater, how to send and recieve data from another page to one spesific control inside a repeater. Clue: I have a repeater that dynamicly lists out different kind of webcontrols (based on some criterias). Each textboxes inside the repeater need...more >>

Hi
Posted by Ahmd at 3/30/2008 1:44:03 AM
Dear All Pls help me, I am basically a windows devloper, planning to do my first web application. for the Login page== other than checking user name and password from the database, what else i have to do for security or something? Thanking you in advance. ...more >>

totally confiused.. i need help
Posted by Rob Eventine at 3/29/2008 10:47:10 PM
hello, i am trying to access the following dbase table through a web page.. i have tried gridview, datalist, details view, formview... really stuck and i can not find any info anywhere (that is actually written in english) that helps me... i need to edit, update, delete the aspnetdb.m...more >>

ImageUrl property for jpg pictures within an outside virtual directory
Posted by OK at 3/29/2008 10:08:53 PM
I am using an image control to display some images within a virtual map (ImagesRoot in IIS) outside of the web root in my vb asp.net application. How should I code the imageurl property to have this working? Image1.imageurl = ? ...more >>

ASP.NET Substring
Posted by Tahir at 3/29/2008 3:18:06 PM
hi, i am programming a website using ASP.NET 2.0 and SQL 2005 and serving the last five members via DataList containing a HyperLink like this code: <asp:HyperLink ID="firmaHyperLink" runat="server" NavigateUrl='<%# Eval("firmId", "~/Firma.aspx?firmId={0}") %>' Text='<%# Eval("name", "{0}") %...more >>

Compiler errors in commented JavaScript code
Posted by Richard at 3/29/2008 10:07:02 AM
Hi, I removed some functionality from an ASP.NET 2 webpage by deleting the input ior textbox control from the page's code. Then I commented out the JavaScript function on the same page that referenced the deleted control, so the commented function looks like this: /* function MyFunction...more >>

dot net frame work
Posted by davi at 3/29/2008 9:49:05 AM
http://programming-languages-tutorials.blogspot.com/2008/01/net-framework.html...more >>

Forcing browser to reload the "same page" with "mapped URL"
Posted by Willy at 3/28/2008 10:34:58 PM
I have a website that uses querystrings on a certain page to show multiple contents. I have created mapped pages to hide the gory details of these querystrings. So instead of details.aspx?ID=kldjlkdjldsjlkds&cat=jjfjfj the client sees products.aspx I also use these "mapped" pages in my sit...more >>

How do I increase the java memory for JBOSS
Posted by Priyanka at 3/28/2008 10:33:51 PM
How do I increase the java memory for JBOSS...more >>

Ajax for Credit Card Processing
Posted by milop at 3/28/2008 10:17:53 PM
Hello. I have a web app that accepts credit card payments. I want to use AJAX to do an asynchronous post to the server and process the payment. I am using the UpdateProgress control to show a progress indicator. Two questions: 1) If the user clicks the button more twice will the paymen...more >>

DataFormatString is ignored on on some servers
Posted by jonefer at 3/28/2008 10:11:00 PM
Is their any particular reason (server or design?) why the following line won't work on some servers? This is code within a Gridview control <asp:BoundField DataField="Regional Target" DataFormatString="{0:#%}" HeaderText="Regional Target" This code works on my development machine VS Stu...more >>

IE6 Bug Workaround ?????
Posted by Just Me at 3/28/2008 8:46:07 PM
Hi, I know this is not an IE newsgroup. But im going to ask your opinion on this. I have a customer who cannot change at this time from IE6. The following form is a simple example of a problem which exists where Combo Boxes do not appear to obey the z-index laws. In my example, the top d...more >>

IE 6.0 hangs when click on submit button of ASP.NET page
Posted by Nam at 3/28/2008 4:52:00 PM
ASP.NET 1.1.4322 Server1: Windows Server Enterprise Ed 2003 – SP2 Server2: Same as Server 1. IE 6.0 –SP2 After we migrated our website from server1 to server2 everything works fine accept for the following on one page: When you click on Save button, this page is supposed to copy a fil...more >>

Control inteference problem with AJAX
Posted by Paul at 3/28/2008 3:48:00 PM
Hi I am using a calendar extender with a masked edit validator and masked editextender that provides a dropdown calendar and a text box for date entry. On the same page I am using a sliderExtender control. Both controls work but the problem is that the slider is placed below the calendar ext...more >>

Storing Copy of Email into Sent folder
Posted by ns at 3/28/2008 3:13:00 PM
Ho can i store copy into sent folder using .NET. using Exchnage server. This has to run on the IIS server, user will provide the authentication details if that is needed. Also there will be attachements as well. any idea appreicated -- n...more >>

Best way to update SQL Server db that is in production?
Posted by Cirene at 3/28/2008 2:31:20 PM
First, sorry if this is a stupid/open ended question... This is a theorhetical question... I am a single freelance developer (not part of a team.) If I create an ASP.NET website that accesses a SQL Server db, when I later want to add a field, edit a table, add a table, etc... what is the ...more >>

ObjectDataSource Binding Before I Need it
Posted by Jason Wilson at 3/28/2008 2:17:15 PM
I have a gridview that is using an objectdatasource that is calling a BLL class that wraps a Typed dataset. The objectdatasource has parameters that tied to page controls (textboxes, dropdowns ect) I had always thought that the Objectdatasource wouldn't bind while the gridview's visible proper...more >>

Problem publishing an asp.net website
Posted by Jeff at 3/28/2008 2:15:58 PM
hey ..net 3.5 I've published my website to another machine I have here, win2k3 machine. When I try to navigate to the website in IE I get an error saying "Unrecognized attribute 'type'" and shows part of the website's web.config file. With the settings below in red color... The settin...more >>

FormView DropdownList - On Selection Change populate Text Box
Posted by Satish at 3/28/2008 1:44:01 PM
C#, ASP.NET Q: Have a formview, with a dropdownlist which is bound to a column. This dropdownlist has a datasource of DataSet type. Now my objective is, on Selection Changed of this DropdownList, I need to populate a couple of TextBox's. How can I do this? What event does the code go into? Th...more >>

page load after postback - how does it know?
Posted by oaksong at 3/28/2008 12:41:49 PM
Looking at the locals I have "ME" and "sender". I've just clicked on a dropdownlist and it's fired a post back. I'm in the page_load. I know that after the page_load is complete it will fire the click event handler for my dropdownlist, which indicates, since I've got several of these, that it kn...more >>

anyone good with java script-toggle text on input button
Posted by Paul at 3/28/2008 12:29:03 PM
Hi I need to toggle the text on an html input button in a .net web application. the name of the button is btn_hide and I do have an onclick function for it. <script language="javascript" type="text/javascript"> // <!CDATA[ function btn_hide_onclick() { } // ]]> </script> -- thank...more >>


DevelopmentNow Blog