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 9

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

Trouble deploying an ASP.NET project that uses a SERVICE
Posted by Afshar at 6/9/2006 11:51:36 PM
Hi Group, Please help ending my Nightmare! There's a Windows Service written in VC++ and I have an ASP.NET project that uses this sevice as a COM library. It just works fine in VS Internal Web Server and also in my IIS. I can publish it on my computer easily, But CAN'T publish or deploy it on...more >>

ASP.Net [2.0] Build Number?
Posted by Rob Meade at 6/9/2006 8:57:48 PM
Hi all, In VS2003 I was able to, in the assembly.info file specify a build number. I have been unable to locate this in VS2005 - I can only assume VS is doing this all for me...is there a way to still control it myself? I've probably just missed something obvious, but none of my projects c...more >>

DataSets in ASP.NET 2.0
Posted by Jorge Bustos at 6/9/2006 5:51:36 PM
Is there any way to drag & drop a DataSet or DataTable in a Web Form to link it visually to a gridview, as it was done in ASP.NET 1.1? I can't fnd those components in the toolbox, and I have tried to add them to it without success. I've been able to add a DataTable object as a member of the We...more >>

clicking on a hyperlink to a PDF file, launch acrobat without toolbar
Posted by mrmagoo at 6/9/2006 4:27:12 PM
Is that possible? I want to click on a hyperlink, but if it's to a PDF file, I want to disable the toolbar. The goal is to avoid the file being forwarded to emailed. I have a procedure that loops through files and adds hyperlinks to a webform. For PDF files, I want that extra functionality. ...more >>

Response.Redirect to new page?
Posted by Joris De Groote at 6/9/2006 3:41:54 PM
Hi I have a response.redirect("") but I want to get this page to open in a new window ("_blank") . How can I do this? Thanks ...more >>

Caching web pages.
Posted by UJ at 6/9/2006 3:25:01 PM
We are about to move our web site to be more dynamic - people will be editing things like text strings on a page. This stuff won't change very often. I was wondering if Output Caching would be reasonable so that the pages don't get regenerated every time somebody goes to a page. Would Outpu...more >>

Help with atlas
Posted by Chris at 6/9/2006 3:16:02 PM
Hi, I can't seem to find any info on calling a webservice with atlas and populating a gridview with the results. All the doc shows on the atlas website is alert. Who would want to alert? Please assist? Thanks...more >>

Programmatically retrieving AssemblyVersion
Posted by MattB at 6/9/2006 1:31:13 PM
I searched around a little and I don;t see how I can get the AssemblyVersion of the main assembly of my asp.net 1.1 application. Can anyone point me to an example? I want to be able to display this in the application. Thanks! Matt...more >>



DataBinding string[]
Posted by Peter Morris [Droopy eyes software] at 6/9/2006 1:24:11 PM
If I set the datasource of a repeater to a string[], how do I show the value of the string within the ItemTemplate? Thanks Pete ...more >>

how to loop through a directory and hyperlink to all files
Posted by mrmagoo at 6/9/2006 1:03:56 PM
I want to loop through a directory and list all files in hyperlinks. Then when you click on a hyperlink, it opens the file in whatever application it needs. For now I need to do this with Adobe Acrobat, but I'd like to know how to do this for Excel, etc. Can anyone show me some code? I've look...more >>

how get the selections from dynamically created radiobuttonlists in asp.net 2.0?
Posted by loga123 at 6/9/2006 12:38:58 PM
I have an aspx page where I am creating "radiobuttonlists" dynamically based on the result from a SQL query. "ID" property of these controls is set dynamically. Then...i have a "submit" button on my page which when clicked takes me to another page. I want to capture the user selections on the ...more >>

Help: GridView RowCommand Event intercepts RowDeleting Event
Posted by keithb at 6/9/2006 12:11:56 PM
What causes a GridView RowCommand Event to intercept a RowDeleting Event? How to cure it? Thanks, Keith ...more >>

Cannot access http://server/iisstart.htm anonymously ?
Posted by scott at 6/9/2006 12:11:26 PM
Cannot access http://server/iisstart.htm anonymously ? 1. IIS manager websites properties Directory Security tab Anonymous access and authentication edit Anonymous access checkbox is checked set up IUSR_[machine_name] with blank pass 2. IUSR_[machine_name] has the READ permission on w...more >>

zoom image
Posted by Keith G Hicks at 6/9/2006 11:32:05 AM
In MS Access image controls there's a property setting for "Size Mode" --> Clip, Zoom or Stretch. I don't see any similar property in an asp image control. When I have an image on a page, it seems to Stretch no matter what. If an image is displayed that has different proportions than the image c...more >>

Change DataGrid Headings color
Posted by tshad at 6/9/2006 11:00:07 AM
How do I change the color of a particular columns' text (forecolor)? I normally do this in my PreRender function for the rows as: for each oItem as DataGridItem in DataGrid1.Items oLabel = CType(oItem.FindControl("SessionID"),Label) oLabel.ForeColor = System.Drawing.Color.Orange ...more >>

Security!!!
Posted by Vai2000 at 6/9/2006 10:40:38 AM
Is there a way I can set access on page level? Like I have a web application (ASP.NET 2.0) in which I have 10 pages. Out of this 10 pages 3 pages are for admin use and I need a user to login before allowing him to see this page. How can I accomplish it? I am not writing any C#/VB.NET Code I am ...more >>

Wait for an external process to connect...
Posted by Roy at 6/9/2006 10:15:01 AM
Hi all, This is the setting of my asp.net app in the debugging portion of configruation properties. When I try F5 or debug | Start, I get this message: "Running the project requires setting an initial Web page as start page" I don't know how to by pass this so be able to debug my app. Thanks...more >>

PP: AJAX Control Consumption
Posted by prabhupr NO[at]SPAM hotmail.com at 6/9/2006 9:48:09 AM
Hi Folks For me to use Ajax (Ajax Control) do I need to download something in particular, any framework and speicial assembly.... Can somebody please point me to some basics on AJAX, on how to use it (may be sample code) ...more >>

Session State Problem (ASP.NET 2.0)
Posted by jeff_m at 6/9/2006 9:47:33 AM
Hello, I'm having some trouble with a combination of these elements: the Session state, a Repeater control, a TreeView control, and a button. Here's the process: - User logs in (loginid stored in session state) - User presses a button (to delete a node from the TreeView) - I re-bin...more >>

Custom web controls
Posted by Smokey Grindle at 6/9/2006 9:41:20 AM
What is the best way to write dynamic controls in ASP.NET 2.0? ...more >>

Troubles reference this pointer in external class file
Posted by PeterKellner at 6/9/2006 9:39:37 AM
I'm wanting to reference page controls from a cs file in the app_code directory. I'm getting a _Defaullt could not be found, missing directive or assembly reference error. Very simple example below. Default.aspx.cs: using System; using System.Web.UI; public partial class _Default : Pa...more >>

JavaScript messes up aspx page (2.0) CSS formatting
Posted by sck10 at 6/9/2006 9:38:47 AM
Hello, I have a page with an ImageButton that is used to redirect to another page. When the page first opens, everything looks as expected. However, when I click on the image, the new page opens as expected. However, when I go back to the original page, all the font sizes are larger. Its...more >>

Relative Addressing and VS2003 Problem
Posted by JebBushell at 6/9/2006 9:30:01 AM
I am unable to configure the addressing for images so that I can see them in a) the VS 2003 IDE, b) the site as hosted on my local machine, and c) the site as hosted in production. As an example, I have an <asp:image...> on the same page as an <IMG...>. Both controls are specified to displ...more >>

Basic N-Tiered structure in VB
Posted by Paul at 6/9/2006 9:03:43 AM
I have an xsd file called zTest.xsd. In it, I have a DataTable called CategoryCountByStore, a TableAdapter that is generated automatically called CategoryCountByStoreTableAdapter, and a GetMethod name etCategoryCount )which gets the value from a Stored Procedure). Using Visual Studio 2005...more >>

Ended debugging, program still ran
Posted by MikeL at 6/9/2006 8:05:42 AM
Hello, This has happened a few time to me. I set a breakpoint in my ASP.Net app and, when it is hit, I end the app by clicking the "Stop Debugging" button, but the code that would have run after the breakpoint runs anyway. What am I missing? Thanks in advance, Mike ...more >>

Screen Design
Posted by coursemat NO[at]SPAM rediffmail.com at 6/9/2006 8:05:26 AM
Hi, I need some help...Plz be patient and read it --i guess one cant get more confusing than this 1 I have a set of screens .... Screen1. A search screen - to search for a list of customers Screen2. A view/modify screen - to view/modify the customer details Screen3. A view/modify screen...more >>

Help: Web form based authentication configuration
Posted by david at 6/9/2006 7:56:02 AM
I have developed login.aspx for Web form based authentication, and configured IIS and Web.config. It has been working until two days ago. I believe that some other people changed the IIS configuration so Login.aspx can sends userid/password, but can not get response from server. I have forg...more >>

Question on Displaying data in Datagrid
Posted by stephen at 6/9/2006 7:53:43 AM
Hi, I have a result set and it has following information aID aLname aFname isEnabled 1 Smith Jack 1 2 Jackson Peter 0 3 Johnson Avery 1 4 Maverick Dallas 1 5 Heat Miami ...more >>

Pass recordset from code-behind to aspx file
Posted by slowmotiongenius NO[at]SPAM gmail.com at 6/9/2006 7:07:32 AM
All- I have established an adodb recordset in my code-behind, and I need to pass it to the aspx file. I can't seem to figure out if there is a way to do this. I see you can pass a string over using the GetCallbackResult, but a recordset won't pass this way. Any ideas??? Thanks ...more >>

Wrapping Gridview Columns
Posted by james.parish NO[at]SPAM email.com at 6/9/2006 7:05:54 AM
I have a gridview (GV) that I want for every 4th column to wrap to the next line... Maybe I'm using the wrong control...but It will always be one row returnings from dataset. Example: Contract........Year.........Part...........Iso Cd 1233 2004 5124 AB3 P...more >>

Can I retrive a session object by a session ID?
Posted by Toto at 6/9/2006 6:36:01 AM
Can I retrive a session object by a session ID which is stored in a cookie in my server side code?...more >>

Error when importing DLL
Posted by vermin at 6/9/2006 6:26:02 AM
Good morning. I have received a dll with an encrypting function I have to use in a asp.net page. I can't import it correctly. In classic asp I use the method I want in this way: <% Set x = Server.CreateObject("BitamEncrypt.clsEncrypt") If Not x Is Nothing Then Respons...more >>

Migrating ASPNETDB from SQL 2005 Express edition to SQL 2000
Posted by Derek at 6/9/2006 6:06:02 AM
I am trying to deploy a web site on a server but I am having problems with the ASPNETDB database. It works fine in development on my PC but as SQL Server 2005 Express Edition only supports local databases I need to migrate ASPNETDB to one of our SQL Servers running SQL Server 2000. I hav...more >>

validateRequest doesn't work
Posted by seigo at 6/9/2006 5:49:00 AM
Hi, I faced with a problem. After I deploy .net 2 web-application to the server where Windows Server 2003 is installed and validateRequest="false" in web.conf is set but dangerous request is still present. Any ideas why? ...more >>

Outlook web service fails!
Posted by isurug NO[at]SPAM gmail.com at 6/9/2006 5:09:59 AM
Hello All! I've been trying to come up with a web service which enables me to use outlook remotly with a machine which only has a web browser. I've tried this with windows forms and it worked without any problem, but the same thing fails miserably when used as a web service and gives the exce...more >>

LDAP Connection
Posted by Baren at 6/9/2006 3:51:02 AM
Hi! How to connect to LDAP Server using ASP.NET and VB.NET Thanks, Baren...more >>

Page / UserControl OnInit Problem
Posted by gregor.cieslak NO[at]SPAM gmail.com at 6/9/2006 3:24:57 AM
Hi, how you people handle that issue: you have one page and one control. in your page, you load some kind of object based on the given parameter: Page: protected override void OnInit(EventArgs e) { InitializeComponent(); // Get Profile this.profile = (UserProfile)EntityCac...more >>

Default runtime error page regardless of customerrors setting
Posted by kristan.mcdonald NO[at]SPAM googlemail.com at 6/9/2006 3:05:36 AM
Probably a simple one, but I've found nothing in groups or google so here goes; trying to deploy a simple .net asp app to our web server, which has been hardended as it's public facing. It's only ever run classic asp apps before. I've tried to upload a basic app with nothing but an empty web fo...more >>

Login failed for user 'NT AUTHORITY\LOCAL SERVICE'.
Posted by musosdev at 6/9/2006 2:48:01 AM
Wonder if someone can help! We're getting the following error on our Intranet system as soon as we login.. ------------------ Exception Details: System.Data.SqlClient.SqlException: Login failed for user 'NT AUTHORITY\LOCAL SERVICE'. Source Error: sql = "SELECT Projects.ProjectID,...more >>

Server side HTML printing
Posted by sprash25 NO[at]SPAM gmail.com at 6/9/2006 12:20:37 AM
Hi, I am using a rich text editor (FCKEdit) on a webpage in which user can enter formatted text. The output of this control is HTML. Now on the code behind side, I need to change some of this HTML and then print the HTML (the pretty document - not the code) on the server printer. Any ideas...more >>

Cannot use system.data.oracleclient
Posted by chris at 6/9/2006 12:00:12 AM
When I tried to import system.data.oracleclient, it was not available. Do I need to install anything for being able to use it ? ...more >>

How to pass value of one page to another page
Posted by Rabbit at 6/9/2006 12:00:00 AM
Hi, On my 1st page, i have a function which gets a new ID value and need to transfer to another immediately. which I want to get in 2nd page using Request.form("txtID"), but doesn't work, the returned value is "" Anybody know how to set this value on 1st page properly, in order to let 2...more >>

Is this a javascript or asp.net problem?
Posted by phil at 6/9/2006 12:00:00 AM
Hi, Is this a javascript or asp.net problem? When the button is clicked, the server event in the code-behind must be executed if the user clicked on "OK" of the Confirm and not executed if clicked on "Cancel". I tried two ways: the first here below works perfect but the second way ALWAYS exec...more >>

Have the size limitation about FileUpload
Posted by ad at 6/9/2006 12:00:00 AM
Have there any limitation about the size of the file uploaded by FileUpload control? ...more >>

my own ASPstate db?
Posted by kurt sune at 6/9/2006 12:00:00 AM
Hi i have read somewhere that it is possible to have the asp state in my own sql server database, not called ASPstate. For example: MyStateDB. Unfortunately i have forgotten where. Does anyone have a tip of how to achieve this? Read the article i have forgot? /k ...more >>

regarding viewstate
Posted by Irshad Ahmad at 6/9/2006 12:00:00 AM
Hi, I am developing an Web application in ASP.NET with C# .when i run the project on local machine i.e localhost the default page get loaded. when i view its source code i get : <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" > <HTML> <HEAD> <title>Digicertify.com-Login</tit...more >>


DevelopmentNow Blog