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 > march 2008 > threads for monday march 3

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

Problem moving a website to another machine
Posted by cashdeskmac at 3/3/2008 11:43:10 PM
Hi, I have built a website using .NET 2.0 and all is well until I try and move it to another machine. I built it on Windows XP Pro 32 bit and moved it to Windows Server 2003 64 bit. Does that make any difference? The error I get when I try to run it is: Server Application Unavailabl...more >>


Stop AutoPostBack
Posted by Peter at 3/3/2008 11:10:54 PM
ASP.NET 2.0 Visual Studio 2008 I have the following code and when the textbox displays and I press Enter while in the text box I get AutoPostBack, how do I stop AutoPostBack? TextBox txt = new TextBox(); txt.MaxLength = parm.MaxLength; txt.ID = parm.ParameterNameID; txt.Text = "12345"; ...more >>

AJAX using UpdatePanel and without it in the same code
Posted by Oleg at 3/3/2008 9:48:00 PM
Hi, I'm wondering if anybody using ajax extensions where UpdatePanel tag is used in addition to existing ajax implementation where UpdatePanel wasn't used yet. So, there is already a web project where ajax is used, but not with UpdatePanel. (without extensions) Would I be able to use UpdateP...more >>

Inserting a command into a database
Posted by Lars at 3/3/2008 8:15:24 PM
Hi I have the following method. HOw do I performe the task to the table in the database? protected void FormView1_PageIndexChanging(object sender, FormViewPageEventArgs e) { Button S = sender as Button; if (S != null) { TextBox Name = ...more >>

javascript changes not taking effect.
Posted by tshad at 3/3/2008 7:18:40 PM
Using asp.net 2.0, I am finding that at times, the old javascript will still be there. I was working with it for a couple of hours and the changes seem to happen. But at the end of the day, I found that my last changes weren't taking affect. I was trying to delete my "alerts" before doi...more >>

file upload without using FileUpload control
Posted by Keith G Hicks at 3/3/2008 6:03:35 PM
I need a way to let my users browse for a file but I do not want to use the asp.net 2.0 FileUpload control. I want to put a button and a textbox on a page, and then click the button to open the file browse window. I'd like to set it up like I can in VBA to allow only certain file types. I'm guess...more >>

Javascript not firing on a link button - even though it is there.
Posted by tshad at 3/3/2008 5:30:01 PM
Using VS 2005, I have the following linkbutton: <asp:LinkButton ID="lnkSendEmail" runat="server" Text="Send Email" CssClass="cssbutton" Width="165px" OnClick="lnkSendEmail_Click" CausesValidation="False" /> I want to add a Javascript to it so I do the following in my Page...more >>

problem with web.config when using roles
Posted by Vincent at 3/3/2008 4:43:39 PM
Hi, When the application doesn't use Roles, this configuration (web.config) works: <configuration> <connectionStrings> <clear/> <add name="myconn" connectionString="Data Source=.\sqlexpress;Initial Catalog=mydb;Integrated Security=True" providerName="System.Data.SqlClient"/> </connec...more >>



Adding Javascript to control in c# 2.0
Posted by tshad at 3/3/2008 4:26:36 PM
I used to do all my coding in single page DreamWeaver and am now using VS 2005. I used to add onclick events to linkbuttons like so: lnkFullName.Attributes.Add("onclick", "findit"); <asp:LinkButton ID="lnkFullName" runat="server" Text='<%# Bind("DisplayedName") %>' Command...more >>

Load Page aspx at runtime
Posted by Giorgio at 3/3/2008 4:24:08 PM
Hi, I use successfully the Page.LoadControl(string virtualPath) method (with *.ascx files) and Control.Render(writer) to create template and then serialize them into a stringWriter to store the result into a file. I would like to do the same with some pages (file *.aspx), but i cannot find...more >>

I have dain bramage...
Posted by Dave T at 3/3/2008 3:00:00 PM
On a button click, I want to get some data and bind it to a grid view using an object data source: <code> Dim _DataSource As New ObjectDataSource _DataSource.TypeName = GetType(BusinessFacade).ToString _DataSource.SelectMethod = "GetAddresses" </code> the only thing is, the BusinessFacade ob...more >>

Multiple Buttons on one page
Posted by vcuankitdotnet at 3/3/2008 1:53:59 PM
I have two user controls on the same .aspx page, each with a form and a button to submit the form. The user has the option to submit either form. Once the user hits the ENTER button on their keyboard, the button on the first user control rendered is the one that gets clicked, thus submitting a b...more >>

Referencing external js scripts with Ajax
Posted by msch.prv@gmail.com at 3/3/2008 1:50:46 PM
Hi, I have a series of external js files (tiny mce, ..) and plan on adding some Ajax (Ajax tool kit) to parts of the site. Question: Must these js files be embedded in the script manager or can still they be referenced in a page via the RegisterClientScriptInclude() method? At present, some fi...more >>

Data List Insert new problem
Posted by Ed Dror at 3/3/2008 1:00:35 PM
Hi there, I'm using Wisual Studio 2005 Pro with SQL server 2005 Dev on XP SP2 I have two tables Generic Item table (GN_ID) PK Color Table (Color_ID) PK and GN_ID FK very simple one to many relationship (one Generic Item can have many colors) I created a Dropdown list that select items fr...more >>

HTTP/1.1 500 Internal Server Error / Unable to start debugging
Posted by Gary L at 3/3/2008 12:21:00 PM
I'm receiving the error: Error while trying to run project: Unable to start debugging on the web server. This started when I installed VS 2008. I've been running 2003 and 2005 side by side with no troubles. Once I installed 2008 I couldn't copy my 2003 project to the server. I'd get a...more >>

Regex help
Posted by Leon Mayne at 3/3/2008 11:36:15 AM
I'm trying to add a regex validator to a webform textbox to validate time format. The field is optional, so I'm trying to get a regex which will validate empty, or the format [00-23]:[00-59] Is anyone here good with regular expressions and can point me to a pattern that will do the above? ...more >>

Enable a button via javascript with PostBackUrl set -> the postbackurl doesn't work
Posted by Fabio Mastria at 3/3/2008 10:21:31 AM
Why a button enabled via javascript don't post to a page to the url set in PostBackUrl property? thank you all Fabio ...more >>

Prerender and Gridview - Object reference not set to an instance of an object.
Posted by wildman@noclient.net at 3/3/2008 10:18:33 AM
In the Page_load my code check to see if session variable is set, if it is, it calls some subroutines that loads some grids and binds them. In my prerender, when the grids row is in update mode, and the key = 0 (meaning I'm inserting) I'd like to set a date field to current date. the above l...more >>

date format
Posted by Mike at 3/3/2008 9:42:22 AM
I'm getting a date returned to me as 200701, is there a way to show this as Jan 2007? ...more >>

ASP.NET Integrated Windows Authentication
Posted by ABHIJIT B at 3/3/2008 9:29:51 AM
Hi, We have developed Web Application using ASP.nET 2.0 with C#.The web site will be accessed by Intranet users(Within Domain).Currently we are using Integrated Windows Authentication. I have done following in Web.Config. <authentication mode="Windows"/> <identity impersonate="true"/> ...more >>

Visual Studio 2008 Professional
Posted by Microsoft Newsserver at 3/3/2008 9:25:16 AM
1. ) Is this released now. 2.) Does anyone know, I have visual studio 2005 professional, does anyone know if I buy an upgrade wether I can run it side by side with my exisiting 2005 and could it be installed independently without the need for 2005 to be there at all ? thanks. ...more >>

Global Formating of Text Fields
Posted by randy.buchholz at 3/3/2008 8:32:34 AM
I am looking for a way to apply a format by data type. For example, I would like to format all dates as {0:d} without having to do each by hand. I am using themes and looked around there but couldn't find anything. Thanks. ...more >>

drop-down menus and asp
Posted by vindictive27 at 3/3/2008 8:23:19 AM
Is there a way to create a drop-down menu, that will import its items from a text file? The idea being, that rather than going into the code and manually updating the drop-down menu properties each time, the text file can just be replaced and the next time the page is loaded, the new items will...more >>

Confounded by error.
Posted by Frank Rizzo at 3/3/2008 7:43:37 AM
I deploy a pretty big Web Application app built using VS2005 SP1 to the production server (Win2003 and IIS6) and get the following error: /***********************************************************************/ Description: An error occurred during the processing of a configuration file req...more >>

Ajax DropDown control
Posted by Peter at 3/3/2008 6:43:03 AM
Does anyone know of OpenSource .NET 2.0 ajax dropdown box with typeahead feature and ability to load only X amount of items? I have over 20,000 names in a database table which I would like to allow user to select from a dropdown box, but I don't want to load all of them at one time. Thank ...more >>

Mailbox Not Found System.net.mail
Posted by pedro@code4cerveja.com at 3/3/2008 6:19:11 AM
i cannot send messages from my email using asp.net to other emails outside my domain i have this error Mailbox not Found :no such user anyone ? Pedro thanks ----> Code public static void SendTeste(out string email,out string recip,out string xi) { SiteSettings s =3D SiteSetting...more >>

Roles usernames
Posted by Benn H.J. Molund at 3/3/2008 4:37:00 AM
Benn H.J. Molund wrote: Hi, I want to use our DB for providing Roles and User's in our ASP.NET app. Any good tutorials? And is there any tutorial on aspnet-regsql tool? I have trouble with register our DB as a role provider. aspnet.regsql can't find the DB hosted localy in my Vista mac...more >>

Retaining dynamic controls on postback
Posted by mirin at 3/3/2008 3:29:16 AM
Respected Gurus, In my aspx page, I have a treeview control to which nodes and branches are dynamically added based on user action. Each time the page is submitted, the treeview remembers what node was added last and renders it correctly. All of which is fine. Now I have an asp table to whi...more >>

Sending Mails to external domains in .net 1.1
Posted by rose at 3/3/2008 1:17:45 AM
Hi everyone, I have been searching the net but couldnt find a solution to my problem of sending emails to external domains in Asp.net 1.1. I am not getting any error and the Mail Send message returns 1 or success but the mail doesnt go. I am using the Mail Server as the Companies Exchange S...more >>


DevelopmentNow Blog