Psst! Did you know DevelopmentNow is a mobile web site design agency?

Contact us for help mobilizing your site, or to sign up for our beta Mobile Web SDK!


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 > june 2006 > threads for wednesday june 14

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

ASP.NET 2.0: programming .aspx for many browsers?
Posted by R.A.M. at 6/14/2006 9:34:17 PM
Hello, (Sorry for my English...) I am learning ASP.NET 2.0: and I have a question: if I have .aspx page will it work without modifications in all popular browsers? Thank you very much for information. /RAM/...more >>

Layout basics
Posted by Samuel Shulman at 6/14/2006 9:33:24 PM
I am looking for good guidance for positioning controls on the form.document, it is absolute nightmare and I don't know where to begin Thank you, Samuel Shulman ...more >>

Validation of viewstate MAC failed - only on windows CE device
Posted by Jeremy Chapman at 6/14/2006 9:31:27 PM
This is odd behavior. In my aspnet 2.0 app (basic app, nothing out of the ordinary here), if I am using my iPAQ handheld device and I hit the refresh button on my page, I get an error "Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <...more >>

Newbie Question
Posted by Samuel Shulman at 6/14/2006 9:27:18 PM
I am looking for good guidance for positioning controls on the form.document, it is absolute nightmare and I don't know where to begin Thank you, Samuel Shulman ...more >>

Any page with a WebPartManager on it won't show up in IE
Posted by Jurjen de Groot at 6/14/2006 8:49:39 PM
Hi, I've been reading a book about webparts and am now trying some of the examples from the book, but I crash on the first, most simple (following) example : I create a new website in VS2005 I add a WebPartManager to the default.aspx by dragging it from the toolbox I then add a WebPartZo...more >>

IIS vs. ASP.NET development server
Posted by Urs at 6/14/2006 8:16:17 PM
Hi I would like to debug parts of my application in IIS rather than ASP.NET development server, in order to see external clients come in. Accessing the dvelopment server thru the indicated port fails (although all firewalls are disabled). With IIS, the pages start from remote browsers, but ...more >>

why does this tag always remain hidden?
Posted by Bob at 6/14/2006 7:27:01 PM
Hi, I'm not sure of the priority in execution between aspx and aspx.vb code. I define a tag which must be invisible as long as the user has not clicked in the dropdownlist. The problem is that it never becomes visible. When an user clicks in the dropdownlist, the page is postbacked, so it wou...more >>

why does this not work?
Posted by Bob at 6/14/2006 7:14:54 PM
Hi, In the aspx file, i create a table: <asp:Table ID="table1" runat="server"> </asp:Table></p> In the code-behind, i defined a lot of cells with each an unique ID and some of them a background color (red): Dim r As TableRow Dim c(x,y) As TableCell For i = 0 To x r = New TableRow() For...more >>



Move the focus away
Posted by Samuel Shulman at 6/14/2006 6:48:35 PM
I have a common problem that when the user changed the selection in the DropDownList control and the program responded appropriately the focus remains there and if the user will press on the Arrow Up or arrow down buttons the selection of the DropDown will change which is not normally requir...more >>

BLL and DAL.
Posted by Roy at 6/14/2006 6:36:20 PM
Recently I've been trying to convert over my sqldatasource's to objectdatasource's to take advantage of the custom paging functionality of objectdatasource's. These attempts have plunged me knee-deep into unfamiliar territory and I'm starting to feel like a rank newbie. What makes it worse is th...more >>

need help with javascript
Posted by Chris at 6/14/2006 6:26:02 PM
Hi, I have been trying for an hour now with this. I need to pass the value from one textbox1 to textbox2, when a button is clicked, using javascript. textbox2 is within a panel. This is the script <script type="text/javascript"> function onOk() { var x = document...more >>

Requests from IE shortcut handled sequentially
Posted by Alex at 6/14/2006 6:16:51 PM
Hello, All. I encouraged some strange behaviour of either IIS, ASP.NET, IE or donn't know what... I have a simple wait.aspx page private void Page_Load(object sender, System.EventArgs e) { object o = new object(); lock(o) { Response.Write("<BR>" + DateTime.Now); ...more >>

VS.NET 2005 Express and Professional
Posted by Sara T. at 6/14/2006 6:11:21 PM
Can vs.net 2005 open project files written from vs.net express 2005? I decided to migrate to full 2005. ...more >>

Simple xml please.
Posted by Edwin Knoppert at 6/14/2006 6:00:20 PM
I'm really trying to get this: <xml version......?> <hello> <param1>111111</param1> <param2>222222</param2> <doelse> <value>burp</value> </doelse> </hello> it SEEMS very hard to NOT get an additional element around <hello> I tried DataTable "hello" and save tha...more >>

Adding popup to Checkbox
Posted by tshad at 6/14/2006 5:11:12 PM
I use popups periodically to my buttons to prevent actions in my pages. When I tried this with a checkbox: DeclineSSN.Attributes.Add("onClick", "if(!confirm('Declining to enter SSN will prevent the hiring process to continue.\n\n Are you sure you want Decline?'))return;") i...more >>

uploading project
Posted by Vikas Kumar at 6/14/2006 4:46:00 PM
when i upload a project which all files i need to upload like we remove .cs file and what about .resx files? ...more >>

Any *simple* free blog software out there?
Posted by Alan Silver at 6/14/2006 3:55:47 PM
Hello, I have been looking around for some free ASP.NET 2.0 blog software, but so far haven't found anything that just implements a basic blog. Most of the ones I've seen have been fully blown community projects that includes loads of stuff I don't want. I just want a simple blog to add t...more >>

SQl Server Permission prob in asp.net ap
Posted by Tina at 6/14/2006 3:49:58 PM
I'm using SS2005 Developer edition with an ASP.Net 2.0 application, testing in VS 2005..... I have created two TableAdapters that reside in my App_Code directory that were created with the new Data Set Designer. They both access that same database but one uses a stored procedure and the ot...more >>

Two merged columns in GridView
Posted by craigkenisston NO[at]SPAM hotmail.com at 6/14/2006 3:49:57 PM
I'm not sure if I'm asking something irreverent, so I'm sorry in advance. But I have a report that should look like : Col1 Col2 Col3 Col4 1 XYZ YUI FIRST_DATA_ASDFASDF SECOND_DATA_ASDFASDF 2 UYI JLU FIRST_DATA_ASDFASDF SECOND_DATA_...more >>

Showing some sections of a page while others are still downloading
Posted by Andy at 6/14/2006 3:00:02 PM
Hi, We have a few rather heavy pages and would like to speed up the 'perceived' download time by rendering some sections of the page which are ready to be shown while sill awaiting other parts of the page (e.g. which rely on longer retrieval from a database). How would I go about doing thi...more >>

using asp.net membership for application
Posted by neilmcguigan NO[at]SPAM gmail.com at 6/14/2006 2:39:20 PM
Hello 1. I'm starting a new application, and was thinking of using the asp.net membership stuff for the application itself. For example the table "saved_searches" would link the "userid" to the userid of the asp_net users table. Is this a good or bad idea? 2. if it's a good idea, what if i ...more >>

DAL, BLL, does it make sense in a reporting only scenario ?
Posted by craigkenisston NO[at]SPAM hotmail.com at 6/14/2006 2:13:35 PM
I have to create an asp.net application that will take an already filled database and create about 30-40 different reports from it. I'm new to asp.net and I started following the examples and created BLL classes and a DAL bases on strong type datasets. Now, that I understand a bit what is it and...more >>

ICallbackEventHandler and "Invalid postback or callback argument" error
Posted by Martin at 6/14/2006 2:05:32 PM
Hi, I have an aspx page with two dropdownlist controls. I update the options in the second ddl based on selection made in the first. I do this with the ICallbackEventHandler interface, as per "Implementing Client Callbacks Without Postbacks in ASP.NET Web Pages" (http://msdn2.microsoft.co...more >>

IIS 5.1 and ASP.NET on XP Pro
Posted by cdbiggs at 6/14/2006 1:21:02 PM
I've recently purchased a new computer, that came pre-loaded with XP Home Edition, which I upgraded to XP Pro. Then, I installed IIS 5.1, VS.Net 2003, and VB.Net 2003. After numerous attempts to get IIS to accept ASP.Net pages, it still won't let me publish them, and VS.Net won't recognize m...more >>

Event handlers disappear
Posted by Vik at 6/14/2006 12:54:51 PM
Often during development, some event handlers disappear from the code after making changes to the controls in design view. Why does this happen? Thanks. ...more >>

GridView /// Hiding a BoundField value
Posted by sloan at 6/14/2006 12:29:10 PM
<asp:BoundField DataField="MyDate" DataFormatString="{0:d}" HeaderText="My Date" /> I have a BoundField being populuated with the "MyDate" column. The MyDate is in a strongly typed DataSet. The values of course come from the DataBase. I have a few values in the Database that have NULL as t...more >>

References in Markup
Posted by Tina at 6/14/2006 12:18:40 PM
I'm adding a new content page to a 2.0 asp.net project that uses a master page. I drop a label onto my content page and then name it _myLabel. I get a dialog box that says "If you have a reference in Markup, they will not be renamed". What does this mean? What is a reference in Markup? ...more >>

Links to https fails 404 with preceding forward slash
Posted by Greg Collins [Microsoft MVP] at 6/14/2006 11:49:19 AM
In reviewing my web site statistics, I see that I get 404 errors (often = enough to make me ask about it) when users try to click on a link to a = secure external site (i.e. an https:// link). I've tested these links multiple times, and they always work fine for = me. Other links do not seem t...more >>

Make sure that the class defined in this code file matches the 'inherits' attribute
Posted by christian.Blackburn NO[at]SPAM Yahoo.com at 6/14/2006 10:56:08 AM
Hi Gang, On my development system I am not getting this error, but it does happen when I upload it to my ISP. Can someone tell me why this is happening? I don't have any user-defined controls which seems to be the primary cause. My code is ASP 2.0/VB. Thanks a bunch, Christian Blackburn ...more >>

Web Control Libaries
Posted by Mantorok at 6/14/2006 10:52:49 AM
Any articles around on creating Web Control Libraries in VS.Net 2005? Thanks ...more >>

VS Web Express vs Professional
Posted by JJ at 6/14/2006 10:52:19 AM
In terms of developing an asp.net (vb.net) 2.0 web site with a database backend (using my own mySQL not sql server), What the benefits of buying Visual Studio Professional over the free web express edition? JJ ...more >>

discover javascript capabilities from server side
Posted by Jeremy Chapman at 6/14/2006 10:42:25 AM
Is there any way via server side code to determine if the browser supports javascript? ...more >>

Passing values across webforms that use Master pages
Posted by Chad at 6/14/2006 10:03:06 AM
Sorry to create a new thread on an old post but I didn't get a viable answer and thought that the odds were against me getting one unless I started a new thread. My question was this: I want to pass a string variable from default3.aspx to default2.aspx. I create a property in default2.asp...more >>

Login Control!!!
Posted by Vai2000 at 6/14/2006 9:37:36 AM
I am using the Login Control in my ASP.NET 2.0 App I want just 3 users who can login to the system to perform some tasks... Questions: 1 .Can an ASP Application have individual page level access? if my app has 10 pages I want 7 pages to be public and 3 pages to have security access? If so how...more >>

SQL Server session not working...
Posted by NAT at 6/14/2006 8:47:02 AM
I was using session mode as "InProc"(entered in web.config). I have deployed my ASP.NET appln. on a server which uses Load Balancer. i.e I have two servers. I am using session across pages.The problem I was facing is that sometimes I find the session and sometimes not. I beleive this is happ...more >>

asp.net help
Posted by amjad at 6/14/2006 8:21:02 AM
Hi i have two question 1)can i do some java script on web control like if i enter a number to a text box and when i press enter key instead of going to server , do this action on client side mean using java script . if then how. 2) i simulated tab control using panel ... i have four panel wh...more >>

traping curly apostrophes
Posted by Ryan at 6/14/2006 8:20:01 AM
Sometimes I have a user who will copy and paste something from Word and it includes a curly variation of an apostrophe. When this text is displayed back to the user at a later date (after pulling from the SQL Server DBMS) it is interpreted as "?" instead. I would like to replace the curl...more >>

How do I redirect using POST
Posted by davidfahy NO[at]SPAM gmail.com at 6/14/2006 7:47:22 AM
Hi all How can I transfer user to another server using POST. The problem is that Server.Transfer (preserves form data) works just in current server. Response.Redirect - uses GET method. However I have to open a remote server page using POST method. Using HttpWebRequest class is not good sol...more >>

Finding styles that are not used/missing in a CSS
Posted by UJ at 6/14/2006 7:42:05 AM
Is there any way to find styles that are either not defined or not used? I guess I could do a search on the word style but I was wondering if there is a tool that would do this for me. TIA - Jeff. ...more >>

PP: Testing Localization + Globalization
Posted by prabhupr NO[at]SPAM hotmail.com at 6/14/2006 7:08:40 AM
Hi All Is there any easy way to validate if my current code base fully support Localization + Globalization? 1. Any tool to scan all my code base files (aspx. cs,...) and identify if there are any hard-coded messages, which needs to be localized 2. The Text/Value property for ASP UI Contr...more >>

display a value twice on one page
Posted by aad at 6/14/2006 7:04:56 AM
Hi, I would like to display a label twice on one page. Duplicate the label result in the error "The ID 'xxxxx' is already used by another control" Ok I understand that it can bind to only one control. However I not able to fix this at the code behind since it is in a dll. What options d...more >>

PP: Making Web-Page RSS Enabled
Posted by prabhupr NO[at]SPAM hotmail.com at 6/14/2006 7:02:24 AM
Hi All Can somebody please point me to some information on "How to make site RSS Enabled", I mean what all things I need to do to make it happen Thanks PP ...more >>

W3C Validator error: Tag Name not present
Posted by Bob at 6/14/2006 6:56:02 AM
Hi all, I'm trying to validate my web site developed with ASP.NET using http://validator.w3c.org but I received this error message: .....there is no attribute "name". If I view the source code of my web page from IE browser, there is no TAG Name in the web form page..... I set in the...more >>

Invalid postback or callback argument
Posted by Wizzard at 6/14/2006 6:49:01 AM
I have a repeater with and imagebutton on a page useing VS2005 ASP.Net 2.0 <asp:Repeater ID="Repeater1" runat="server" > <ItemTemplate> <div> <asp:ImageButton ImageUrl="button.gif" ID="ImageButton1" runat="server" /> <p><%# Eval("Name") %></p> <...more >>

Framework-generated ID woes
Posted by mark.norgate NO[at]SPAM gmail.com at 6/14/2006 6:48:42 AM
Hi I have lots of controls on my ASP.NET 2.0 page, some implementing INamingContainer, others just <asp:button>s and so on. The eternal lament: I need to interact with these controls on the client-side, but of course I can't guarantee that the IDs generated by the Framework will be consiste...more >>

Textbox with OnTextChanged Event
Posted by Paul at 6/14/2006 5:39:02 AM
Hello: I create a textbox control programatically something like this: Dim td As New TableCell() Dim txtbox As New TextBox() txtbox.ID = "my_textbox" td.Controls.Add(txtbox) Now I want to programatically associate a "OnTextChanged" event to this textbox. How can I do this? When I...more >>

Must be the .NET Framework to be Install on Client Machine When us
Posted by JaiPrakash Sharma at 6/14/2006 3:44:02 AM
Hi All, I have a question regarding Using a Windows based UserControl or Applications on the Web. My question is Must be the .NET Framework to be Installed on Client Machine, When any ASP.NET application using Windows based UserControl ? Please describe me in detail. I followed this...more >>

Checkboxlist - Aligning to the top of the table
Posted by jpmcginty NO[at]SPAM gmail.com at 6/14/2006 2:44:55 AM
Hello folks. Take a horizontal checkboxlist of 2 columns. The first one has lots of text and the second very little. On display the second box is positioned in the middle of the first in the same way a table would display it if set to valign=middle. Doesn't anyone know how to get both boxes...more >>

Can't find Partial Code file
Posted by Lucky at 6/14/2006 2:42:24 AM
Hi guys! it's me againe! this time i'm facing some problem with the .NET 2005 IDE. i've created one "website" and i've added one webform. now i can see 2 files default.aspx and default.aspx.cs but i can see the "Windows Generated Code" in CS file. i searched for it and found that that code ...more >>

WebClient
Posted by Rippo at 6/14/2006 1:16:14 AM
Hi I need to post a form to an external URL, get a repsonse, then repost to an external URL and redirect at the same time. I can figure out step 1 and step 2 fine but I cant seem to figure out how to send a form and send the client to the external url at the same time. Can anyone help? 'Ste...more >>

server.transfer
Posted by Amit Bansal (MCT, MCSD.NET) at 6/14/2006 12:46:24 AM
if we want to access the vaules of one page into another, following are the 3 options 1. query strings 2. session objects 3. server.transfer (this done using properties (if i am not wrong)) is there any other mechanism? ...more >>

format number #,### doesn't work right
Posted by D. Patrick at 6/14/2006 12:00:00 AM
When I use String.Format("{0:#,###}", intNumber) it works fine until intNumber = 0, and then it returns an empty string! I just want to show all numbers with commas in thousands place. Is there a better way? I tried "0,0", but that returns "00" when the integer is 0. ...more >>

Referencing controls
Posted by Mantorok at 6/14/2006 12:00:00 AM
Hi Is it possible to reference controls or pages in a seperate ASP.Net website project? Thanks ...more >>

Textarea, form submit on return key
Posted by Sjaakie at 6/14/2006 12:00:00 AM
Hi, Something is causing the form to be submitted whenever I hit the return-key. Normally I wouldn't bother, but it also happens when I'm typing in a textarea-control, which makes it impossible to fill in multiple lines... Where to look? Thanks!...more >>

(2.0) Multiple horizontal menu levels
Posted by Jeppe Jespersen at 6/14/2006 12:00:00 AM
Hi folks, I need to create a menu for a new website. Using a sitemapdatasource, i want to have two levels in my menu structure. Setting the orientation is simple enough for the top level, but I want both the top- and sublevel to be horizontal in orientation. Kind of like the menu structu...more >>

chatting application with asp.net
Posted by Reny at 6/14/2006 12:00:00 AM
Can any one guide me on creating a chatting app with asp.net /vb.net ...more >>

Can't open web site in vs2005
Posted by ad at 6/14/2006 12:00:00 AM
I open open a asp.net project in vs2005 by open web site. But I find I can't find Open web site in the open menu of vs2005. What's happen? where to find the open web site menu? ...more >>

2.0: implementing users' counting with global.asax
Posted by R.A.M. at 6/14/2006 12:00:00 AM
Please help. I try to implement counting of apllication users using global.asax this way: <script runat="server"> void Application_OnStart(object sender, EventArgs e) { Application.Add("U¿ytkownicy", 0); } void Application_OnEnd(object sender, EventArgs e) { ...more >>


DevelopmentNow Blog