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 friday june 23

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

newbie: field name in formview
Posted by Barbara Schmidt at 6/23/2006 11:22:56 PM
Hello everybody, I have in my Visual Web Developer 2005 Express Edition project formview-control bounded with SqlDataSource-control. Wenn I start the application I see in the formview-window the field name and afterwards the text: FieldName: "Now my text from the database" How can I see th...more >>

Bind datagrid to SQL query using a CURSOR
Posted by Niclas at 6/23/2006 10:10:08 PM
Hi, I am using a SQL query that uses a CURSOR to loop and executes a SELECT statement in each loop. When I bind a datagrid to this stored procedure through a datareader as data source, I only get the first SELECT statement in the grid. Is there a known workaround to this ? Niclas ...more >>

Update Dataset oleDB
Posted by Mark Sandfox at 6/23/2006 8:07:34 PM
Here is my code: Dim wwtID as integer Dim wwtEmailAddress as string Dim drEmailListWWT as System.Data.DataRowView Dim dvEmailListWWT as DataView Dim cnEmailListWWT as OleDbConnection Dim daEmailListWWT as OleDbDataAdapter = New OleDbDataAdapter Dim dsEmailListWWT as DataSet = New Dat...more >>

browsernames for HttpBrowserCapabilities IsBrowser
Posted by (kdfake NO[at]SPAM spam.com) at 6/23/2006 6:51:33 PM
Gday Im using the IsBrowser, however the only browsername that i am successful with is IE. What is the browsername for firefox and for other browsers? I cannot find a list anyway... thanks -- --------------------------------- --- -- - Posted with NewsLeecher v3.7 Final Web @ ...more >>

I need help with email and ASP.NET 1.1
Posted by enak at 6/23/2006 6:16:02 PM
I need help with a request that I have received. I have been asked to open up a new email message, populate all of the appropriate fields, add an attachment but I don't want to send the email. I need to just open the new email. The user wants to add recipients before it is sent. I have t...more >>

Automatic download start
Posted by Jan Paul van de Berg at 6/23/2006 5:28:01 PM
I have a piece of software that people can download and a third party promoting that software. In order for them to be able to count the number of downloads, I have to put a tracking code on my site. The tracking code must be sent to the client when the user clicks the download button. At the sa...more >>

Application Restart on folder creation
Posted by Ray Booysen at 6/23/2006 4:13:44 PM
In our application, we merge documents for our clients. The directory structure is as follows: webroot ->bin ->Documents ->Company -> Company X -> Company Y If I create a new folder under Company: webroot ->bin ->Documents ->Company -> Company X -> Company Y ...more >>

User Control definitions
Posted by tshad at 6/23/2006 3:55:36 PM
User VS 2003, I would like to use User Controls to control the page look with 3 User Controls (...PageTop.ascx, ...NavigateTop.ascx and PageBottom.ascx). I would put the Content User control between the NavigateTop and PageBottom User controls. These files be something like: sdhcPageTop.as...more >>



Insert record using Gridview Footer
Posted by Hennie at 6/23/2006 2:32:45 PM
I have a textbox in the Footer of a Gridview. When I run an insert command I get the following error: " Object reference not set to an instance of an object. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more inf...more >>

Capture actual fileupload
Posted by Edwin Knoppert at 6/23/2006 2:22:31 PM
I want to use an ordinary HREF situation to a fake filename on our server. To let IIS and client handle the filetype like zip by itself i don't need a generic handler. But to prevent unautorized access i would *still* like to stream the file from a *different* location. I'm aware of prote...more >>

Copying items from a Drop Down List to a List Box?
Posted by mc at 6/23/2006 1:53:54 PM
I've got three controls on a page a Drop Down List, a List Box and a Button I've added 3 items to the Drop Down List I have added some code in the Button onClick Event Handler, as below ListBox1.Items.Addd(DropDownList1.SelecteItem); ListBox1.ClearSelection(); If I select the 2nd ite...more >>

File Upload Progress Indicator ?
Posted by Marko Vuksanovic at 6/23/2006 1:40:03 PM
I am trying to implement a file upload progress indicator (doesn't have = to be a progress bar) using atlas... I do realize that the indicator = cannot be implemented using Update panel control, but is it possible to = implement it using some other control, for example a floating window?=20...more >>

Precompile problem...
Posted by Jay at 6/23/2006 1:32:26 PM
2.0 asp.net app (precomiled in 2005, not updateable, dll's in bin and then merged to one dll)... web app calls a 1.1 (compiled in 2003) webservice initialization webmethod (works). Second call to a different webmethod (does NOT work. The second webmethod uses session state (to re-connect indi...more >>

PDF Libraries
Posted by Ray Booysen at 6/23/2006 1:29:50 PM
Hi all After finding out that my pdf library (ABCPdf) doesn't support HTML being imported as an input (Well it does but doesn't support the <table> element), I'm looking for a good quality component (can be commercial) that takes in HTML (and a stylesheet) and can create a PDF based on that...more >>

PostBackURL problem
Posted by Sean at 6/23/2006 1:04:01 PM
The only problem I am having in my case is that I need to programmically fire the button that has the PostBackURL property on it becuase in some cases I want to user to be "redirected" to another page and not have to interact with the page at all. THANKS!...more >>

Forms Authentication Access Rules
Posted by Brandon Stalte at 6/23/2006 12:30:02 PM
I've implemented forms authentication for my application. I would like to use access rules by creating individual web.config files in folders to allow/disallow access to directories. My problem is when I create an access rule for a directory to disallow a role or user, when that user in the ro...more >>

Create PDF from rendered HTML
Posted by Ray Booysen at 6/23/2006 12:18:51 PM
Hi all I have a report that opens as an ASP.net webform. I need to take this output and create a PDF from it. Has anyone attempted this? I originally planned to override the Render method of the page and get the HTML that way. But I'm not sure on how to proceed. ;) Kind Regards Ray...more >>

DataGridItemEventArgs dataitem decimal value rounding
Posted by Sue at 6/23/2006 12:12:01 PM
In a datagrid's itemdatabound sub, I've got a dataitem for a SQL Server field of type decimal (3,2) with a value of 0.99. Query is straightforward: Select * from tablename. When I use a watch to check the dataitem value, it shows as 1D. If I use a watch to look at the cell text (e.item(i).text...more >>

Can browser affect the session?
Posted by HLady at 6/23/2006 12:02:49 PM
I posted earlier about this, I have an application and a sequence of activities will cause the session to restart. My code will go to session_start right after I execute a Response.Redirect(mypage) in order to reload the page. I use this statement in other parts of the code and it doesnt cause t...more >>

HTMLInputFile Issue
Posted by renor321 NO[at]SPAM yahoo.com at 6/23/2006 11:59:36 AM
Hi, I'm trying to use an HTMLInputFile control to upload files to a web server. When I run this on my local computer (Windows XP, .Net 1.1), it works just fine. When I deploy the app to my dev server (Windows 2003, .Net 1.1), however, I'm unable to get the control to work properly. It seem...more >>

working with date types in a gridview
Posted by Adam Sandler at 6/23/2006 11:41:30 AM
Hello, In VWD 2005 here. Working with a gridview that has the edit button enabled. One of the columns in the grid is of date type in the database. When then user edits the date, clicks the update button, and the gridview is databound again, "12:00:00 AM" appears next to the recently edited...more >>

keeping MsgBoxes on top
Posted by Adam Sandler at 6/23/2006 11:37:51 AM
Hello, In VWD 2005, I have some code which send out confirmations before transactions are executed. The code for such confirmations sometimes involves MsgBox(). Sometimes, when the MsgBox code is called, the resulting message box appears beneath the webpage. The only clue the user has in s...more >>

Set a bgcolor in a repeater based on databse value asp newbie
Posted by Jim Florence at 6/23/2006 11:11:23 AM
Hi, I'm just starting to write in asp and have been trying to create a repeater to display some data in a simple form. The basics worked ok and then I tried to set a bgcolor on a cell based on it's value, I have read and re-read a good few things but nothing seems to point to this scen...more >>

Strange caching behaviour with ASP.net 2.0
Posted by Darren Newton at 6/23/2006 10:42:02 AM
Last month we upgraded our production server from .net 1.1 to 2.0. We have seen some odd behaviour that we do not know how to fix. It seems that Cache is reset or cleared. We have 2 or 3 global entries in the the cache with the NotRemovable flag set. I have set up a callback that writes an ...more >>

Page with multiple web user controls
Posted by weboweb NO[at]SPAM hotmail.com at 6/23/2006 10:37:00 AM
Hello aspnet experts! I have a design question for the more experienced developers (more than me at least :-)). 1) I have a page in the application I'm building that displays a web user control with a list of folders (let's call it the TREE) 2) There is another control called document lis...more >>

Changing font on Pushbutton control
Posted by Blasting Cap at 6/23/2006 9:41:18 AM
I am having trouble changing the font for a PushButton control in a datagrid button column. I have seen several posts refer to styles and simple changes to the HTML for font changes but most of those referred to a LinkButton type of control. But in cases where someone is using the PushButton...more >>

How to set the ContentEncoding of the HTTPWebRequest object
Posted by Paul Phillips at 6/23/2006 9:36:02 AM
Has anyone been able or is having trouble with setting the Content-Encoding to a value in the headers collection of an HTTPWebRequest object. I am trying to post a RosettaNet message to a trading partner that is using webMethods server. The message gets to their server just fine but it is no...more >>

FTP from one website to another?
Posted by clintonG at 6/23/2006 9:20:38 AM
I'm puzzled and don't think this is possible but if an application that is running on websiteA generates a file can FTP be used from websiteA to transfer that file to websiteB which would be located on another server? -- <%= Clinton Gallagher NET csgallagher AT metromilwaukee.com ...more >>

Code for ASP.NET 1.0 App
Posted by Anthony Bollinger at 6/23/2006 9:12:41 AM
I am learning ASP.NET 2.0 while working to modify an ASP.NET 1.0 application. Here is the first line of one of the files (default.aspx): <%@ Page Language="vb" AutoEventWireup="false" Codebehind="default.aspx.vb" Inherits="vwma._default"%> All I have are the files on the server. There is...more >>

IIS Authentication vs SiteMinder
Posted by sck10 at 6/23/2006 9:04:11 AM
Hello, In our company, everyone logs in using NT Authentication. I have Integrated Windows Authentication turned on for a section of my website, the only problem is that I have to maintain the list of users allowed to view the website. We also have SiteMinder which forces the person to en...more >>

Is Gridview good with clientside?
Posted by H at 6/23/2006 7:57:56 AM
Infragistics WebGrid is very client-side friendly, but what about Gridview? thanks ...more >>

changing the "../" reference PATH in Visual Studio
Posted by mosscliffe at 6/23/2006 4:32:25 AM
I need to reference a file on my published server as "../mydir/myfile.txt", which is fine and it works. On my local develop computer the "../mydir" refers to C:\Program Files\Microsoft Visual Studio 8\Common7 Is there any way I can get the "../" to refer to somewhere more convenient, ideall...more >>

Batch Update in GridView control, is it possible?
Posted by LearnMore.John NO[at]SPAM gmail.com at 6/23/2006 4:31:49 AM
Is it possible to update all the rows in a single postback using Gridview Control, regards John ...more >>

MySQL Concat with dataset
Posted by ^MisterJingo^ at 6/23/2006 4:14:33 AM
Hi all, Usually when pulling a dataset from a DB I get the headers too, so i can databind DataValueField and DataTextField etc. But I am trying the below query: SELECT CONCAT(firstname,' ',lastname) as name FROM authentication.users WHERE users.idusers IN (SELECT idcollaborator FROM cpd.c...more >>

does 'Finally' always run in a try catch statement?
Posted by Stimp at 6/23/2006 4:13:45 AM
I have the following Try, Catch, Finally block... Dim objConn As SqlConnection = New SqlConnection(ConfigurationSettings. AppSettings("conn")) objConn.Open() Try Dim strSQL As String = "SELECT COUNT(id) FROM Table1 " & _ "WHERE idCreatedBy = @idCreatedBy" ...more >>

How can i start mobile programming >
Posted by Pulkit at 6/23/2006 3:24:04 AM
Hi, I am new to mobile programming and i want to know what are the steps i have to follow to start mobile programming. I have got ..Net SDK , IIS 5.0 and Nokia 6600 what else do i need ? Thanks in advance ...more >>

need help
Posted by Dilip at 6/23/2006 2:43:33 AM
hi to all . i am fresher in ASP.NET and i had done almost about my project. but now i am unable to deal with admin login . i am having a table named "login" and 3 fields "username","password and type of user". now on the login form what i need to require is that fetch the ...more >>

hi
Posted by Sunil at 6/23/2006 2:05:14 AM
Hi , I would like to make a label work like a progress bar. I.e I want to change its color bit by bit . Is it possible. If so how. Regards, Sunil ...more >>

PageFlakes flakes
Posted by Alixx Skevington at 6/23/2006 12:00:00 AM
Hi, I am trying to get atlas and asp.net to allow me to do a similar thing to the www.pageflakes.com flake. In as much as I want to to bale to have a wrapper for any control that displays that it is loading. Does anyone have an samples or pointers in how to achive this. Alixx ...more >>

remove header in detailsview
Posted by Mario Krsnic at 6/23/2006 12:00:00 AM
Hello everybody, I have in a VWD-Project several sqldatasource- controls and I bind them during runtime with DetailsView: SqlDataSource2.SelectCommand = "select field1 from Tab1 where id= " & 4 DetailsView1.DataSourceID = SqlDataSource2.ID This works. Now I would like to remove the header of ...more >>

"_pendingCallbacks[...].async is ,ull or not an object
Posted by André at 6/23/2006 12:00:00 AM
Hi, I'm using client callback. Everything seems to work exept that i get this error line 164: "_pendingCallbacks[...].async is ,ull or not an object". I use VWD and it's not easy to find an errorline in javascript. But even then, what's the solution? Thanks André ...more >>

More on Safari and asp:Menu
Posted by Mark Rae at 6/23/2006 12:00:00 AM
Hi, Sorry for the repost - my ISP is having huge usenet problems at the moment... Following on with the problems of asp:Menu controls and Safari, I found the following article: http://weblogs.asp.net/dannychen/archive/2005/11/21/431121.aspx Very interesting - I'll be examining some of ...more >>


DevelopmentNow Blog