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 > may 2005 > threads for saturday may 7

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

Data grid paging Error
Posted by asad at 5/7/2005 11:48:03 PM
Hello i'm using ASP.NET Datagrid paging but i found and error if i forward to next page following errror occur pls tell me to get rid of this error,Thanks. " Invalid CurrentPageIndex value. It must be >= 0 and < the PageCount below is my query to fetch data from database Dim sqlq as strin...more >>


Update Not Working for asp:DataGrid (VB2003 Standard)
Posted by Schultz at 5/7/2005 10:17:03 PM
Hi, i am trying to make a fully editable dataGrid and was using the "Top Ten Questions about the DataGrid Control" article in the MSDN Library as a guide. The following is my current vb code. I ran the page, and only the first row updates. Can anyone help with this problem? Thanks, TS Publi...more >>

Q from a novice: how do you implement windows menus in ASP.NET?
Posted by Nad at 5/7/2005 8:28:02 PM
Hello, I'm new to web development. How do you create a main menu in a Web Application? Is there such a concept like main menu as there is in windows forms? If not what do you replace it with? Thanks. ...more >>

Can I raise a postback ? Session variable only visible after postback. Please help
Posted by gce at 5/7/2005 7:16:04 PM
Hi, My project uses some aspx that jump to eachother. Session variables are used to exchange data. But my session variables are not there until a postback. So when I put a button on the second aspx and put there a show session("aaa") it works. But not in the page_load, session("aaa") is em...more >>

newbie: How can I retrieve the params placed in URL
Posted by Jeff at 5/7/2005 6:58:23 PM
OS: XPpro sp2 IDE: vs .NET 2003 I have URL like this one: http://localhost/index.aspx?carId=volvo . And in the Page_Load event I want to extract the carId=volvo parameter, so I can do further processing based on it... As far as I know this parameter can be found in the Request object, but ...more >>

Special character to &abc equivalents
Posted by Colin Peters at 5/7/2005 5:49:10 PM
Hi, I'm reading a file and writing it to the html output for a page. I've come across two difficulties which I would like to solve. The files contain special characters from European alphabets, namely those which have the two little dots above the vowels called umlauts. Normally, these...more >>

Posted Unicode Characters Displaying as "???"
Posted by Christian Nunciato at 5/7/2005 5:46:01 PM
Hi all: I've read through the various related posts in this forum, but without any success as yet. I've got an ASP.NET application built in VS.NET 2003, and I'm trying to get the Armenian Unicode characters I type into the textboxes of my ASPX Web pages (via IE6) to post back to the serv...more >>

The ConnectionString property has not been initialized.
Posted by Laura K at 5/7/2005 5:06:15 PM
Tried all kinds of things. I get the error. The ConnectionString property has not been initialized. Any help appreciated. ----------------------------------------------------------------------------------------------------- This is the web.config info <configuration> <appSetting...more >>



client event
Posted by ad at 5/7/2005 4:58:55 PM
We can use onfocus or onclick to assign the client event of a TextBox to a javascript function like : <asp:TextBox ID="TextBox1" runat="server" onfocus="a_Javascruipt_function"></asp:TextBox> What are the other attributes besides onfocus and oclick? Where can we find the document a...more >>

Form Authentication Doubt
Posted by SMG at 5/7/2005 4:48:26 PM
Hi All, It might be a silly doubt, but it is a doubt.... I am using form authentication for my website, now my web application is gonna be deployed on two web servers with Load Balancing software in place. Now if I login at one place, can I be treated as logged in at other place also or...more >>

Special Characters in Query String
Posted by SMG at 5/7/2005 4:44:24 PM
Hi All, I have created an application which is working fine and is in about to launch, now suddenly my mgmt says there are chances that Scrip ID( a particular id and not prim key) may have special characters like '&,*,),( or /' This data(field/key) I am passing this value as a querystrin...more >>

How do I retrieve the "Week" of a date?
Posted by Kenneth P at 5/7/2005 4:16:01 PM
Hi, I'm trying to find out how I can retrieve the week value of a date. Today we have 2005-05-08 and week 18. Let's say I had a dropdownlist with values 1 to 53 and wanted to programmatically decide what week we have today and accordingly set the dropdownlist with the correct week value...more >>

Easy question
Posted by Sandy at 5/7/2005 3:55:01 PM
I have my project coded for an 8pt font on textboxes, buttons, labels and datagrids. I read that it isn't a good idea to use "points" and that "em" or eg. "x-small" should be used instead, due to the way different browsers display text. Is this true? -- Sandy...more >>

Need to allow user to browse and select a file on my server...suggestions?
Posted by jef at 5/7/2005 2:31:51 PM
I need the allow the user to browse a folder to select a file... was wondering what might be the best way to do this. I only need to present the list of files to the user.. nothing more than that.... ...more >>

expand <td> to height of its iframe contents
Posted by Steve Richter at 5/7/2005 2:15:47 PM
I have a simple table with two columns. The first column contains 5 lines of text. The second column contains an iFrame. The iFrame in turn contains a web page. The problem is it does not display at all like I would like it to. I want the column height to expand to the contents of either col...more >>

Required attribute 'key' not found
Posted by Laura K at 5/7/2005 2:15:01 PM
Getting the following Error. Required attribute 'key' not found Line four is the offending code. It is probably something simple. Can anyone help? Thanks Laura K <configuration> Line 3: <appSettings> Line 4: <add Key="ConnectionString" Value="Data Source=location-of-ser...more >>

IIS SMTP server not sending
Posted by dee at 5/7/2005 11:11:32 AM
Hi, One of my pc's is not sending mail and is keeping the mails in Queue Folder. Anyone knows why? I'm using the delfault settings. Another pc puts some of the mails origianting from .biz senders in Badail Folder, but only sometimes. I use the SmtpMail.Send(...) call. Thanks for any insite. ...more >>

How to find the Textbox text length. . . .
Posted by Raghuram at 5/7/2005 11:04:26 AM
i have a textbox with the max 5000 char and if the user reaches to the max he should be alerted with an msg displaying "reaced to max". i tried to do this by TextBox1_TextChanged but i was failed. please can any one help me Raghuram ...more >>

How to activate session_end in asp.net on closing the browser
Posted by sundar_s1210 at 5/7/2005 9:43:04 AM
I am doing a Shop Cart application In my asp.net application, i want to delete some records from database when user closes the browser without purchasing the product which is added to shop cart. I have written this logic in session_end,but it is not activated when user closes the browser ...more >>

Image quality on generated images
Posted by Kim Bach Petersen at 5/7/2005 9:06:19 AM
Using asp.net, I'm generating bitmaps, that I stream either as gif- og jpg-images (se code below). In both cases, the image-quality is rather poor: http://dotnet.kensho.dk/scr_diagram.aspx?tal=12&jeg=3&fan=9&san=3&soc=7&kon=2&int=12&fol=5&img=gif http://dotnet.kensho.dk/scr_diagram.aspx?tal=12...more >>

Send email To: as alias
Posted by VB Programmer at 5/7/2005 8:15:06 AM
How do you fill in the "To" portion of a new mailmessage in ASP.NET so that it appears like "Joe Smith - ACME", versus joe@acme.com? Thanks! ...more >>

Session Variable update problem
Posted by gce at 5/7/2005 6:56:58 AM
I have two ASPX in my testproject : 1: In the Page_load there is : If Not Me.IsPostBack Then Dim tfm tfm = 30 Session("tfm") = tfm Dim popupScript As String = "<script language='javascript'>alert('Yes');</script>" Pa...more >>

variable problem
Posted by kishanhathiwala NO[at]SPAM gmail.com at 5/7/2005 6:55:01 AM
i want to use one variable, say var1, declared in some page, say page1.aspx, in another page, say page2.aspx? can anybody guide me? kishan ...more >>

Upload Website
Posted by csgraham74 at 5/7/2005 5:23:11 AM
Hi Guys, i have just built a website and have it working on my home pc. I have never uploaded an asp.net website and i was wondering what is the best way to upload the site to my web server. Can i just select the project and upload that or are there any pitfalls ??? what about bin direct...more >>

asp.net textbox text not updating
Posted by sekisho NO[at]SPAM gmail.com at 5/7/2005 4:12:22 AM
I'm dynamically adding a column of labels and a column of text boxes to a panel on a webform, based on data returned from an SQL query, which the user builds by selecting options from a few dropdowns and hitting the 'Search' button. The first column returned is a user name and is added to the ...more >>

Calendar Control and Loops
Posted by Greg Ellis at 5/7/2005 1:46:54 AM
I'm trying to find a way to loop through the Calendar Control and add business days next to each day in the calendar after the SelectedDate. Example: if a user selects May 2nd 2005, I want the calendar to display |3-1|, |4-2|, |5-3|...etc. I created a loop to display this. However, the loop ...more >>

Convert WebMatrix Pages Into VSNET Project
Posted by Wayne Wengert at 5/7/2005 1:29:57 AM
I have about 25 aspx pages that were created using WebMatrix. I now want to collect all of them into a single VSNET project. I thought I could just open then via VSNET but that does not seem to let me run them nor create a project from them. What is the best way to accomplish this? Wayne ...more >>

label versus asp:label Question. Thanks.
Posted by Shapper at 5/7/2005 1:19:17 AM
Hello, I am creating a contact form in ASP.NET and I need to access the labels on Page_Load on my aspx.vb file. The other elements such as input box and text box don't need to be accessible. What are the advantages of using HTML tags such as <label> over the ASP.NET tags such as <asp:...more >>


DevelopmentNow Blog