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 > december 2005 > threads for thursday december 1

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

How to remotely debug an asp.net application
Posted by J-T at 12/1/2005 11:14:06 PM
Hello, We have an ASP.NET application which talks to a third party webservices to verify a credit card.This application is in another DMZ and completely outside of our developement zone (where all out developers develope stuff).I'd like to trace what message app is sending to webserivce and...more >>


Question about "Configuration Error" Message
Posted by Rider at 12/1/2005 10:40:02 PM
Hi, simple(?) question about asp.net configuration.. I've installed ASP.NET 2.0 QuickStart Sample successfully. But, When I'm first start application the follow message shown. ========= Server Error in '/QuickStartv20' Application. ------------------------------------------------------------...more >>

How to get CommandText on ItemCommand event of the DataGrid?
Posted by Shell at 12/1/2005 10:36:02 PM
Hi All, I have the following scenario: (1) I have one datagrid with 15 columns, out of which the Name column is made the "Edit" button column. (2) Names are loaded from Database through a Stored Procedure. (3) Now when I click on any of the listed name the event is fired, but I could not g...more >>

How can I do something like Google adverts?
Posted by Alan Silver at 12/1/2005 9:11:51 PM
Hello, Seems everyone's site nowadays has those "Ads by Goooooogle" boxes on them. I would like to do something similar, so I can provide an affiliate scheme. I don't want to supply HTML for other site owners to include in their pages as it's certain they'll either get it wrong, or change...more >>

Drop down list in ASPX, how do I keep all my spaces
Posted by Ryan at 12/1/2005 7:21:59 PM
I am databinding the dropdown list of a textbox in ASP.net. I am trying to get three columns to display to the user. Since I can't do that normally, I made my query display the three columns like so: COLUMN1 + padding spaces to = 12 total characters | + ' ' COLUMN1 + enough padding spaces to...more >>

Replacing HTML text before rendering
Posted by OB at 12/1/2005 7:01:58 PM
I need an example of how to modify HTML text before it is rendered by any control. My objective is to modify certain properties of a control like it's top position when this property is not publicly exposed. Thanks ...more >>

Downloading file from Web Server to Client
Posted by cbanks NO[at]SPAM bjtsupport.com at 12/1/2005 6:21:44 PM
I have an application that creates an RTF file through a xslt template. I thought that the WebClient Class was used for this purpose, so I have the following code: Dim myWebClient As New WebClient Dim gblDefaultDirectory as String = "C:\mydocs" Dim myWebResource = remoteUri + fileName ...more >>

Update - Datagrid
Posted by Mr Newbie at 12/1/2005 6:13:41 PM
How comes the Upade link does not fire the Page_laod event ? -- Best Regards The Inimitable Mr Newbie º¿º ...more >>



How do I cope with client-side Javascript functions with master pages?
Posted by Alan Silver at 12/1/2005 6:03:52 PM
Hello, I am just converting some pages to use master pages, and I have come across a bit of a problem. One of the pages uses some custom Javascript functions for client-side validation. Now, the <head> tag is entirely contained in the master. This means that I could put the JS functions ...more >>

Datagrid Position of New Line
Posted by Richard at 12/1/2005 5:12:02 PM
In ASP.NET 1.1, I have SmartNavigation turned on so that the user's focus will remain on the line in the datagrid they choose to edit. When the user chooses to add a new line in the datagrid, rather than only show that line, I'm displaying all items in the datagrid, with the new line at the...more >>

IsPostBack and usercontrols
Posted by David Lozzi at 12/1/2005 4:47:21 PM
Hello, I have an interesting issue, so bear with me as I try to explain. I have a datalist posing as tabs for my application. And as each tab is clicked, a placeholder is then populated with the associated control. For Example: Details | Advanced | Configuration | Policies <placeholder> ...more >>

Datagrid 1.1 Speed
Posted by Jon at 12/1/2005 4:40:14 PM
I have a paged datagrid that does not autogenerate its columns. The resultset coming back from the server is about 600 rows (12 columns per row), 15 rows are displayed per page. I return the data as a dataset to the grid's datasource and then call the databind method. It takes about 8 sec...more >>

gridView data formatting
Posted by Nalaka at 12/1/2005 4:35:05 PM
Hi, I have two questions about gridViews. 1. How can I intercept the row/column values at loading to change values? 2. After I update a row (using default update functionality), how can I re-format the updated row fields. I have looked at gridView.rowUpdated method, but cannot figure o...more >>

Control of Web Assembly Generation
Posted by john NO[at]SPAM johnwpowell.com at 12/1/2005 4:19:31 PM
Maybe I haven't had that "a-ha" moment yet, but I think the new approach to web projects is a step in the wrong direction. My main beef is that control over the assembly generation process has been taken away from us! I also don't agree with the logic behind a web site not having a project fil...more >>

WebPage to Excel Conversion Error
Posted by Stephen at 12/1/2005 4:09:54 PM
Hi, I am converting webpage to Excel and its within a try catch block it creates an Excel Spreadsheet but at the sametime it gives this error ExceptionMessage:Thread was being aborted. Please advice, Stephen ...more >>

Rich Text Editor Control for Desktop application
Posted by Pankaj Jain at 12/1/2005 4:02:03 PM
Hi I need a free Rich Text Editor Control for my Desktop application.If source code is also provided then its cool Thanks Pankaj Jain -- _________________________________________ Nagarro Software Pvt. Ltd. Plot No 36, Electronics City, Sector 18, Gurgaon, India - 122015 htt...more >>

to read Web.Config Section
Posted by fabrice at 12/1/2005 3:59:53 PM
Hello, Is that a way for reading section of the web.config by code ? I m able to read the section <appSettings> like this : <appSettings> <add key="AppVer" value="Version 0.8 beta"/> </appSettings> Dim test As System.Collections.Specialized.NameValueCollection test = CType ...more >>

Weird ViewState issue in a Custom Control
Posted by Tracker1 - Michael J. Ryan at 12/1/2005 3:26:18 PM
I have a custom WebControl that I am working on, it's weird... I have two Properties, that I save to ViewState. I know they save, and have verified this with the ViewState viewer... When a postback happens, one of the properties is there, the other is null... not sure WTF the issue is... ...more >>

WYSIWYG editor returning &gt; instead <
Posted by David Lozzi at 12/1/2005 3:13:22 PM
Howdy, I'm using a WYSIWYG editor called TinyMCE. When I edit some text and then save it back to my SQL server using a SQLCommand, all HTML characters are changed to HTML code, i.e. &gt;strong&lt; instead of <strong> and so on. Is this a problem with the editor or something else? Does .Net ...more >>

Asp.Net 2.0 development Server root site
Posted by John Lau at 12/1/2005 2:23:32 PM
Hello, When I create WebSite1 in Asp.Net 2.0, it uses the URL: http://localhost:1199/WebSite1/. What I really want is to use the root website: http://localhost:1199/. How do I change the configuration to do this? Thanks, John ...more >>

Consuming Web Service
Posted by unwantedspam at 12/1/2005 2:09:33 PM
We have a webservice on a central webserver. I can go to my browser and look at the service, see the methods... I need to create several seperate asp.net applications in notepad. How do I go about consuming the web service? Do I have to create a dll and put it in each of these applications bin d...more >>

how do use a class from another project?
Posted by Flip at 12/1/2005 1:35:53 PM
I am developing a thick client and a web client for a piece of functionality for my website. The main class lives in a thick client app and has ongoing development done to it. I would like to use that class in my web app. How can I do it? I would like to be able to reference the project in...more >>

Web Farms and session handling
Posted by John Allberg at 12/1/2005 1:34:29 PM
Hi! We have a problem which is correlated to web farms and session handling and are thinking of what solution to choose. Our setup is with a web farm, one ldap server and a database cluster. The web farm is doing searches which are quite performance expensive against the ldap server, ta...more >>

How much difference between VS.NET 1.0 and 1.1regarding ASP.NET?
Posted by Jon S via DotNetMonster.com at 12/1/2005 12:56:35 PM
Hi all, I learnt C# 1.0 using VS.NET 1.0. I have brought myself two ASP.NET 1.1 books but I will be using my VS.NET 1.0 IDE when learning ASP.NET 1.1. Am I in any way going to have problems working through my ASP.NET 1.1 books with using only VS.NET 1.0 (ie does ASP.NET 1.1 do things a certa...more >>

Saving a date
Posted by Brad at 12/1/2005 12:17:04 PM
get the following error when I try to save a date: When converting a string to DateTime, parse the string to take the date before putting each variable in the DateTime object. I was using a calendar control thinking that might have been the problem so I am using just a text box for entry....more >>

Publishing ASP.NET 2 with VS 2005 Express Edition - Where are the DLLs?
Posted by werdna.sivad NO[at]SPAM gmail.com at 12/1/2005 12:14:19 PM
I just uninstalled VS 2005 Professional Beta 2 and replaced it with VS Web Developer 2005 Express Edition and VS C++ 2005 Express Edition. I am having problems publishing my ASP sites now. Namely, how do I do it? According to this article on MSDN, http://msdn2.microsoft.com/library/377y0s6...more >>

ActiveX control
Posted by fniles at 12/1/2005 12:10:52 PM
Our application which was written in classic ASP uses some ActiveX controls (with IObjectSafety Implementation and we created CAB files and sign them). In ASP.NET, can we use ActiveX controls also, or do you suggest to do it differently ? Thanks. ...more >>

Conversion Problem ... Register TagPrefix
Posted by Michael Tissington at 12/1/2005 11:52:54 AM
I'm trying to convert a project from VS2003 to VS2005 After conversion all of my TagPrefix are not recognized in the body. <%@ Register TagPrefix="Oaklodge" TagName="Curve" Src="ctrls/Curve.ascx" %> This does not report any errors, but when I try to use it like <Oaklodge:Curve runat="serve...more >>

CheckBoxList Question
Posted by Stephen at 12/1/2005 11:43:36 AM
Hi, I have a question on checkboxlist, suppose I have a checkboxlist and has listitems like USA Canada UK Germany Australia Suppose I have a resultset that has values (USA, UK and Australia) How can set the values in the checkboxlist to selected/enabled? Thanks, Stephen ...more >>

File or assembly name myDll or one of its dependencies, was not found.
Posted by Andrew Jocelyn at 12/1/2005 11:28:59 AM
Hi I get this error when I change something in the web.config file. When I build the VS projects and load the first web page the application runs fine. If I then make a save the web.config file I then get this error when I refresh the browser. I have to restart IIS to fix the problem. I'...more >>

Datalist DataSource Error
Posted by Will Chamberlain at 12/1/2005 11:04:27 AM
I am currently converting some VB.NET web apps to C#. It has been pretty seamless so far but have currently run into some problems that I can't resolve. The line that generates the error is: The specific error is: CS1502: The best overloaded method match for '_Default.PopulateDrawingList(st...more >>

Removing strings
Posted by Patrick.O.Ige at 12/1/2005 11:00:01 AM
I have a file below 16_vir24CE.log How can i remove 16_ or 123_ I want to have "vir24CE.log" as my output file ...more >>

Set focus on the field (Form validation in ASP.NET)
Posted by bienwell at 12/1/2005 10:18:19 AM
Hi, I have a problem and really need your help. In my web page ASPX, I have some text fields to accept data from users. I did form validation like this : <td class="dataTD" style="HEIGHT: 30px" width="100"> <asp:TextBox id="txtFUEL_ISSUED1" style="Z-INDEX: 100; POSITION: absolute" ...more >>

Difficulty uploading information to database
Posted by martinharvey via DotNetMonster.com at 12/1/2005 9:46:24 AM
This is probably a very simple question but i am having problems with inserting information into database The function takes the values "FirstName" And "LastName" from a table Called "Customer" and the value "ProductID" from a table called "Products" and inserts them into a table called " ...more >>

Databinding a checkbox in an EditItemTemplate.
Posted by Eric at 12/1/2005 9:45:11 AM
I have the both of the following lines that do not appear to work. It calls the binding function but the control when rendered does not carry the correct checked value: NOTE: this is within the EditItemTemplate <asp:CheckBox Text='Active' ID="chkReportActive" Runat=server Checked='<%#GetChe...more >>

requiredfieldvalidator in firefox
Posted by Maziar Aflatoun at 12/1/2005 9:43:14 AM
Hi, requiredfieldvalidator doesn't work in none-IE browsers. Is there way to change it to check on the server-side instead of the client side? Thanks Maz. ...more >>

ASP.NET 2.0 Themes, CSS and Master Pages Questison
Posted by Ryan Ternier at 12/1/2005 9:05:11 AM
I have just started playing around with ASP.NET 2.0 and have a few questions I couldn't get answers to on the net. If anyone could help me with these it'd be awesome. --- Themes - THey seem to lack full functionality with CSS files. I have a theme set up. Inside that theme I can have 32 CS...more >>

Datagrid with Yes/No Dropdownlist
Posted by Jeff at 12/1/2005 8:36:07 AM
I have added a dropdownlist to an editable datagrid to allow a user to select Yes or No: <ItemTemplate> <asp:Label runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "reports") %>' ID="lblReports"/> </ItemTemplate> <EditItemTemplate> <asp:DropDownList runat="server" i...more >>

Suddenly can't load assembly
Posted by jhcorey NO[at]SPAM yahoo.com at 12/1/2005 8:14:34 AM
I am using VS2005, and yesterday I copied a web site from my development machine to a Windows 2003 server, and the web site worked fine. Today I made a few changes on my machine, and tried to repeat the process, but I get an error message: Could not load file or assembly 'BaseRS' or one of its...more >>

Script callback returning ViewState?
Posted by Flinky Wisty Pomm at 12/1/2005 8:08:34 AM
Okay, I'm pretty baffled by this one. I've got a page in a popup which takes a postcode; looks up a list of addresses for that postcode; then uses a callback to get the details for a specific address, build a JS object and pass it back to the window.opener. This used to work, but without an...more >>

Error while running a project. ASP.NET
Posted by Patter at 12/1/2005 7:14:01 AM
Hi I installed VS.NET Version 1.0 on a machine with IIS. When I create a ASP.NET project and run it, t gives me the following error Error while trying to run project: Unable to start debugging on the web server. The server does not support debugging of ASP.NET or ATL Server applications. Ru...more >>

Repost : Urgent : Programmatically add a COM object from code-behind into a web form
Posted by John at 12/1/2005 7:12:48 AM
Hi all, I did post this about 10 hours ago thinking I would have received an answer now but it is quite urgent. How do I add a COM object to a web form? I notice there's a primary interop assembly for Office web components and what I'm trying to do here is to create a PivotTable object (...more >>

Server Application Unavailable error when result set is big1
Posted by Ricardo at 12/1/2005 7:10:19 AM
Hi, he has a problem at the moment w/ a datagrid in asp.net. There's about 10000 rows and 25 columns; when it loads there is an error that says the server application is unavailable. He can't do paging because the client won't let him. ...more >>

An error occured while...
Posted by Julia at 12/1/2005 5:55:02 AM
Hi, I have an asp.net app that is using a sql-database localted on a different machine. These two machines are in the same network and there is no firewalls in between. The app is using Serviced Components and are installed in the Component Service. When I try to update the database this e...more >>

Identify Unread Posts in Forum-like Application
Posted by Cincin at 12/1/2005 5:55:02 AM
We were building this forum application and we stumble on how to identify unread post. One thing would be to keep in the database what an user have seen but it doesn't seem doable because of the possible large number of users/posts and also anonymous users. Do you have an idea on how this ca...more >>

refresh image in asp.net page
Posted by ramendra at 12/1/2005 5:40:05 AM
how to refresh a image control to pick up the latest image file on a asp.net page. i am generating a image based on the input from the user and displaying it on the page through image control. The problem is that i am not able to get the latest image on the page, it keeps showing the old page....more >>

GridView DataBound
Posted by benoit at 12/1/2005 5:31:04 AM
Hi, after binding a SqlDataSource to a GridView, I see 6 records (which is what I want to have !) But if I request a GridView.Rows.Count in the DataBoundEvent, the result is 5. And I cannot retrieve the 6th item in my list What am I doing wrong? thx Benoit...more >>

populating dropdown in datagrid
Posted by Mike P at 12/1/2005 4:33:22 AM
I am populating a drop down column in a datagrid on page load. Here is my code : <asp:TemplateColumn> <ItemTemplate> <asp:DropDownList ID="ddlUserName" Font-Name="Verdana" Font-Size="8pt" Runat=server DataValueField="UserName" ...more >>

Credit Card Transaction Strategy
Posted by mikekissman NO[at]SPAM gmail.com at 12/1/2005 3:54:20 AM
I've built an online reservation website in ASP .NET with a SQL Server backend. It allows customers to search for available resources, than charges their credit card a fee to hold the reservation. Here's how I have it arranged now: 1. Find available resource 2. Store reservation info in dat...more >>

Timer Question
Posted by Richard Steele (Basemap) at 12/1/2005 2:59:02 AM
Hi In ASP.net (c#) I want to be able to send a request to a user i.e. flag a status (lets say for example you have a job allocated to you) and then if they have not acknowledged the job within a set period of time i.e. 1 hour that job is then reallocated to someone else. I guess i would add...more >>

Expression Columns problem when using ObjectDataSource
Posted by Kjetil Klaussen at 12/1/2005 2:59:02 AM
Hi, I’m having some troubles trying to bind my dataset to a GridView control through an ObjectDataSource control. The binding works fine for regular columns in my dataset, but I can’t seem to get my expression columns to show up in my GridView. Anybody knows any neat tricks to make this...more >>

only wanna show Sub Menu of root menu
Posted by mike at 12/1/2005 2:39:51 AM
asp.net 2.0 provide us menu control or tree control that's why i'm gonna use this control to display sub menu. when i click root menu on top of my website i'd like to show sub menu of root menu. for example, may be main menu is like this ------------------------------------------- home | m...more >>

.net requirement(urgent)
Posted by purnima at 12/1/2005 2:02:40 AM
hello , we are looking for the candidate who have experience in".net" for 5to7 years of experience. ...more >>

Programatically specify the DOCTYPE
Posted by chrisn NO[at]SPAM nildram.co.uk at 12/1/2005 1:55:15 AM
Hi, Does anyone know a good way to specify the DOCTYPE in code? (Using C#, ASP.net) Thanks in advance, Chris Needham ...more >>

Data not displayed in Repeater
Posted by Kim at 12/1/2005 1:45:02 AM
I created a Repeater (rp1) that is bound to a Datatable, t1. The DataSource and Datamember properties of rp1 was specified in the properties window as "ds" and "t1" respectively. The following code was also included in the HTML view of the form. However, only the HeaderTemplate rendered in ...more >>

byte array problem
Posted by Danny at 12/1/2005 1:38:02 AM
I am working on a project where I will receive xml documents from clients machines as a byte array. They will use the web browser navigate method to post the data to my ASP.NET page. I then pick up the byte array using the request object (XMLData=bytearray..). Can someone point me to an articl...more >>

Role base Form Authentication
Posted by Niyazi at 12/1/2005 1:11:03 AM
Hi, I want to configure the web.config for the Role base Form Authentication. I forget now but I red somewhere that I should use 3 *.config file as: - Manager manager.config - User user.config - Admin admin.config But I don't know how t...more >>


DevelopmentNow Blog