Groups | Blog | Home


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 > april 2004 > threads for monday april 26

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

Looking for opinion on code size for presention tier asp.net application.
Posted by JollyK at 4/26/2004 11:56:13 PM
Hello everyone... I have created a user-control that has a fairly complex datagrid (with template columns) which includes localization, custom paging, sorting, filtering, searching, caching, options to add, edit, and delete record, and then enabling and disabling links inside the datagrid based ...more >>


Getting cookie in url when - cookieless="true"
Posted by moondaddy at 4/26/2004 11:52:59 PM
in the webconfig I set: <sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes" cookieless="true" timeout="20" /> and then in the browser address bar I get this: ...more >>

CAB Files (sorry for cross - posting!)
Posted by Alan Seunarayan at 4/26/2004 9:33:31 PM
Hello all, I am developing a web application using C# and some of my pages are hosting WinForm controls. Some of these usercontrols have 3rd party controls embedded in them, the problem arises that if the client PC doesn't have these 3rd party controls installed it won't work. So.... .......more >>

Controls disabled with javascript not posted back to server
Posted by dave NO[at]SPAM dontpokeme.com at 4/26/2004 9:19:54 PM
Good evening. I was hoping someone can help me: I have an ASP.NET page which contains an ArrayList bound to a DataGrid. The DataGrid displays, in columns, a few members of the objects in this ArrayList. Each object that is displayed (ie. each row in the DataGrid) also has an "Add" and a "Remov...more >>

newbie questin about webform layout
Posted by William Gower at 4/26/2004 9:13:19 PM
In the past, I designed html and asp pages using tables to align everything. With dot.net and the nice grid layout way of laying out of your webforms, is it better to position the controls by dragging and positioning or using tables? Is there any pros and cons of each? ...more >>

Project tracking
Posted by Michel Couche at 4/26/2004 9:12:51 PM
I would like to build an ASP.Net project tracking tool for our department. I am looking for a starting template/tutorial that would help me taking the best approach. Any link to a tutorial ? Thanks in advance, Michel Couché ...more >>

Problem with text when inserting into text box
Posted by Robert Halstead at 4/26/2004 9:11:03 PM
Hi guys, I am copying text from Microsoft Word 2003 into a asp.net text box then writing the textbox to a file. My problem is, when I go to display the file using regular asp, it get all these special characters that word has put in for the quotes and aposterphies. is there a way I can solve this ...more >>

Set display order of ListBox control
Posted by Hardy Wang at 4/26/2004 8:59:51 PM
Hi I have a ListBox control in my ASP.NET page. After I binding data to this control, I would like to be able to change this display order of items in this control. Just like change layout function of my.yahoo.com. I tried client side approach, yes I can change display order by JavaScript, but ...more >>



Webservices & Server Unavailable
Posted by robbyvalles NO[at]SPAM hotmail.com at 4/26/2004 8:28:05 PM
My company has a large windows form app with the datalayer being webservices. pretty randomly the webservice calls will either be very slow or i'll get the server unavailable. there are times when it won't happen all day. a lot of these webservices are simple requests that query data and return ...more >>

ned help on converting C# to VB
Posted by TJS at 4/26/2004 8:02:52 PM
I cannot seem to get this to convert to VB. tried the converter at asp-alliance but it throws an error on line marked any experts available ? ===== code ==== protected override AddInForm CreateAddInForm() { String sDocumentName = base.Document.DocumentName; String sDocumentPath =...more >>

insert datetime into mssql
Posted by thomas kern at 4/26/2004 7:53:54 PM
hi, i tried to insert a record into a mssql-table. one column is DateTime. i tried this one: insert into fixtures (dategame) VALUES ('24.01.2003') unfortunately i receive an error -- error -- The conversion of a char data type to a datetime data type resulted in an out-of-range datetime ...more >>

Missing assembly / dependencies error
Posted by Scott Hamlin at 4/26/2004 7:33:26 PM
I am receiving an error while trying to use Crystal Reports with .NET, which I have pasted below. The main problem is this message: File or assembly name CrystalDecisions.CrystalReports.Engine, or one of its dependencies, was not found. I have checked the winnt/assembly directory and the ...more >>

streamming video feed in web form
Posted by TaeHo Yoo at 4/26/2004 6:53:02 PM
Hi all, Has anyone done creating a web form where clients could see web cam movie being broadcasted via your home web camera simutaneously? Or any ideas??? Thanks a lot in advance. Leon *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET......more >>

Running a section of code under a specific account
Posted by Jake at 4/26/2004 6:51:03 PM
Hi all I’m trying to write a file to a different sever on the same domain then the server hosting the site, but the IIS user does not have access to the other server. I thought I would use impersonation to force the specific code to impersonate a user that does have the necessary permission w...more >>

randomly generated characters appended to the URL why > www.domain.com/asd9f6asdhr
Posted by raagzcd NO[at]SPAM yahoo.com at 4/26/2004 6:47:24 PM
Hi, I see in some websites they try to append some randomly generated characters appended to the URL for maintaining the page (content) expiry and they also avoid displaying the Webpage extension like html ,asp,aspx..etc. and the URL looks like www.domain.com/a8sd6sd/ Does anybody ha...more >>

httpwebrequest timing out
Posted by RP at 4/26/2004 6:07:15 PM
Hi all, I have some code that does a basic form post to an .aspx page submitting some XML in the body. This code used to work on my WIN2K server running .net 1.0 sp2. Now since I have upgraded to SBS2003 running ISA2K as a proxy and .net 1.1 it basically hangs and times out. Here is the code sni...more >>

Documentation on the <%# %> syntax?
Posted by Steve Kallal at 4/26/2004 5:41:01 PM
I am relatively new to the world of ASP .NET programming. So I really don't understand much of the code in the WebForms HTML View. The rendering "<%# %>" syntax does not make much sense to me. I suspect it comes form the ASP classic world which I have never worked in. I cannot only documentation on ...more >>

Calculating number of seconds given two times
Posted by asadikhan NO[at]SPAM hotmail.com at 4/26/2004 5:31:14 PM
Hello, I need to know how I can calculate the number of seconds between two time stamps, e.g. if I have the following (using ToLongTimeString) 8:28:21 PM and 9:02:33 PM How can I find out the number of seconds elapsed between the two times? Thanks in advance. Asad...more >>

Problems with ViewState: "function 'ViewState.get_Item' evaluated and returned null"
Posted by bajaguide NO[at]SPAM yahoo.com at 4/26/2004 4:42:40 PM
I am trying to save a simple integer value in ViewState. I set the value in the Page_Load() event and retrieve it in the function Page_Unload() event. The value seems to be set correctly, but upon the next Page_Load(), I get the following error when I try to retrieve the value from ViewState: ...more >>

Finding out the time user takes before hitting submit
Posted by asadikhan NO[at]SPAM hotmail.com at 4/26/2004 4:36:32 PM
Hi, I was wondering how I can find out the time user takes on an aspx page before hitting a submit button. Since there is that whole server-side vs. client-side issue, I was thinking I can store the current time in a variable on server side, and when the user hits submit, inside the method i...more >>

Problem writing to file....
Posted by VB Programmer at 4/26/2004 4:22:55 PM
I just upgraded my dev system from win 2k to win xp pro. I have a website I'm creating and when I login to the website it writes an entry to my C:\GoodLogin.txt file. It worked fine for win2k. In my XP machine it won't let me write to the file anymore. The file is there and it see's it. It i...more >>

Making DropDownLists accessible
Posted by darrel at 4/26/2004 4:08:02 PM
I and a coworker are building a cms via .net (vb.net) I'm more of the front-end guy, and mainly use DW, while he's more of the back-end guy, and uses VS.NET He likes to use a lot of the built in controls and such, while I tend to be a bit more picky and do a lot with things like repeater con...more >>

Click Event
Posted by Murphy at 4/26/2004 4:06:39 PM
As I understand the click event is initiated by JavaScript what happens in the event where a browser has disabled client side scripting or doesn't support it ? If writing a site is it better to avoid the click event and include all code in the "Load" event of the page ? Thanks Murphy ...more >>

CurrentThread question
Posted by Hardy Wang at 4/26/2004 3:55:45 PM
Hi, I have a web service, which calls one class to do all detailed jobs. In this class, I need to handle globalization problems by running Thread.CurrentThread.CurrentCulture = new CultureInfo(language); My question is, by running this, the culture changing will affect the whole web service or ...more >>

Mixing Code
Posted by Loyd Christmas at 4/26/2004 3:53:51 PM
As a non-techie, I am curious if my developers can mix VB.Net and C# in the same project and be OK. Seems to be some disagreement here. ...more >>

.NET Upload with Macintosh???
Posted by bryan_fleming NO[at]SPAM hotmail.com at 4/26/2004 3:12:11 PM
Hello, I wrote a page that uploads a file VIA http with no problems at all. My clients are using Macs and wouldn't you know it, the site won't upload for them. Anyone seen a work-around for this???? Here's a sample of the code: lstrFileName = FileUploader.PostedFile.FileName...more >>

Populating Mulitiselect Listbox
Posted by Chris Leuty at 4/26/2004 2:50:55 PM
I am populating a multiselect Listbox from a dataset, with the content of the listbox filled by one table, and the selections determined from another table. So far, I have been keeping the dataset a denormalized mirror of the database, but I'm not having much luck getting the selection logic dow...more >>

Why does Application_Start fire twice?
Posted by Rashad Rivera at 4/26/2004 2:39:01 PM
I need to know why the Application_Start function fires twice when it initializes. It is doing double work and messing up my process. Thanks for your help - Rashad ...more >>

Accessing a compiled DLL in an application
Posted by Eric at 4/26/2004 2:25:22 PM
Good afternoon, Well... I managed to get the DLL compiled and added to the /BIN directory programatically. While I thought the battle was won, now I am not able to access any of the properties/methods of this newly created DLL. I am guessing it has something to do with referencing. Does anyo...more >>

How resister ASP.net with IIS
Posted by Woody Splawn at 4/26/2004 2:14:46 PM
I am using VS.net on a Windows XP machine running IIS 5.1. Apparently my Asp.net is not registered with IIS. How do I do this? Is there a white paper somewhere? ...more >>

delete command doesn't work as I want
Posted by xan at 4/26/2004 1:14:38 PM
Here is want I and writting. It works, but it delete another record not the only where I click the command delete button. What I'm doing wrong? ' ------------------------------------------------------------------------- Sub dgDatos_Delete(obj As object, e As DataGridCommandEventArgs) ...more >>

How to fix a font size?
Posted by Dmitri Shvetsov at 4/26/2004 1:12:45 PM
Hi, Does anybody know how to fix a font size on ASPX page? Sometimes users change the font to small and can't see anything, but keeping in mind their user's level I'd like to fix the font size for my applications. The question is how? Thanks, Dmitri ...more >>

null character evaluation ?
Posted by Steve Caliendo at 4/26/2004 12:54:39 PM
How do I test for null characters from a database query ?? Thanks, Steve ...more >>

SafariUsers
Posted by aj at 4/26/2004 12:47:27 PM
Does anyone have Safari or IE for MAC users accessing their ASP.NET site, without any problems? My users get error messages using Safari and in IE, where the images are supposed to be, there is a red x. Thanks ...more >>

Web.config file
Posted by ruca at 4/26/2004 12:36:03 PM
Hi, I have an application that I want to setup for each folder a web.config file with different authentication, but when I try to do that it gives me an error saying that maybe that folder is not configured in IIS as virtual directory. In the root I don't want to have redirect to login page...more >>

RangeValidator - not working when user enters a space
Posted by tcb at 4/26/2004 12:31:02 PM
I have a RangeValidator setup for two input fields. The validator Type is set to Integer. If the user enters an alpha numeric, the validator works, however, if the user enters a space, the validator does not work. Does anyone know why this validator doesn't work for a space (or how to fix it Thank...more >>

Override session object?
Posted by Jim Corey at 4/26/2004 12:27:57 PM
I've just learned that the app I've been working on is going to be deployed to a web farm. The app uses session variables, and I've been told that I want to use some other technique. I was wondering if there is a way to override the session object so that I could leave most of the current...more >>

How to make dynamic aspx pages indexable by spiders
Posted by moondaddy at 4/26/2004 12:19:04 PM
I'm writing an ecommerce app in asp.net/vb.net and need to make the pages searchable and crawlable by spiders, particularly Google's. As far as I know, if my pages's contents are mostly populated by user controls on a single page and I call these different controls by passing one or more parame...more >>

forward Datasource from one window to another
Posted by Grey at 4/26/2004 11:58:19 AM
I have created a datasource in one window. is it possible to forward the = datasource to anther window with form submit??...more >>

id love you to ....
Posted by jaffer the but at 4/26/2004 11:50:48 AM
to help me fix this pleeeeasse ! i'm getting this error "update unable to find TableMapping['tblAddress_Control '] or DataTable 'tblAddress_Control '. " when i attempt to update a dataset back to the sql server - i do several other updates in and around this update which all work fine ?! ...more >>

How many namespace exits?
Posted by Franco Figún at 4/26/2004 11:24:44 AM
Hello people How many namespace references exits in asp.net 1.0 and 1.1? Thanks -- FF www.francofigun.com.ar www.microsofties.com.ar MSN: francofigun@hotmail.com ICQ: 305336919 ...more >>

Comparing two textboxes
Posted by Steffen Loringer at 4/26/2004 11:06:51 AM
Hi, I like to compare two textboxes containing double values. The second one should ever be bigger than the first one. How can I do this with the validator elements in VisualStudio.Net ? Thanks for help, Steffen ...more >>

Closing a Window
Posted by Charles A. Lackman at 4/26/2004 10:52:55 AM
Hello, How do I close an ASPX page when it no longer has focus? Thanks, Chuck ...more >>

Change the specified data row color in datagrid
Posted by Grey at 4/26/2004 10:38:04 AM
I used DataBinding to display a datasource in the datagrid. I have add = one button on each row of the grid. I want to know that is it possible = to change the only row color when I click the button on the row.=20 Million thanks...more >>

ASP.NET With MS Access
Posted by baramee at 4/26/2004 10:32:35 AM
I develop web application by asp.net with ms access. In general , it work fine. But if hit rate of web is very much, it occure error 'Unspecified error'. it error on conn.open. My code will be closed and destroyed connection object always. I think that problem come from database concurrency. I...more >>

htmltextwriter - error
Posted by Tammy at 4/26/2004 10:16:02 AM
I am fairly new to asp and web development. I'm having a tough time with the htmltextwriter. I keep receiving an error that basically says 'object reference not set to instance of object. It sure looks like it is to me so I am kind of stuck! Thanks in advance for any help Here's my code Dim...more >>

Compiler Error Message: CS1595
Posted by JTrigger at 4/26/2004 10:12:44 AM
When I compile my project using the IDE on a development machine it works just fine. When I compile it on the server using csc.exe, I get the following error when I try to bring it up in the web browser. What is the issue? Thanks, Jim Server Error in '/psnRequest' Application. ---------...more >>

ICodeCompiler and CompileAssemblyFromSource
Posted by Eric at 4/26/2004 10:11:53 AM
Good morning, I am trying to compile a DLL on the fly using ICodeCompiler. While I am able to accomplish the task if I use a seperate code file along with CompileAssemblyFromFile, however, when I try to embed the source code and use CompileAssemblyFromSource, the DLL does not get created. Do...more >>

Get aspx File Name
Posted by Jeff at 4/26/2004 9:31:36 AM
I need to determine, at runtime, the page name of the currently requested aspx page. Page.ToString(), returns sumething like "ASP.MyFile_aspx". What I'd prefer is to get the actual file name "MyFile.aspx". Any suggestions? Thanks. ...more >>

Custom Date Format Validation
Posted by afeverett NO[at]SPAM hotmail.com at 4/26/2004 8:28:45 AM
I wish to validate the date a user has entered against the format dd mmm yyyy Using the CompareValidator and DataTypeCheck does not work and I suspect that a Regular Expression is over-engineering. Does anybody have a simple solution please? Many thanks in advance....more >>

Unknown error from Application_Error
Posted by Gilles Lambert at 4/26/2004 8:08:38 AM
Hi, I obtain the following error from the Application_error sub in Global.asax. Message: Access denied to 'E:\Sites\...\web.config'. Failed to start monitoring file changes. Does anyone have an idea of what's wrong ? Thanks Gilles *** Sent via Developersdex http://www.developer...more >>

Variable Scope and IIS
Posted by TSW at 4/26/2004 7:43:54 AM
I am a fairly new programmer who is seeking some insight into variable scope and IIS. I have recently completed development on an ASP.Net application (VB.Net). In order to make certain variables available to all my subroutines I defined them as follows: Shared VariableName While this ...more >>

About Threads and Shared Methods ???
Posted by Gilles Lambert at 4/26/2004 7:29:12 AM
Hi, I'm not sure about the folowing : If a shared method writes lines in a text file with a StreamWriter object during a request, is it possible to have several access interlaced to the file coming from different request ? If the answer is yes, is it the same with a general procedure (I g...more >>

Multiple DLL's
Posted by brian at 4/26/2004 7:26:21 AM
I have an Intranet site that acts as the employees central spot to input, edit, and view data from a SQL 2000 DB. Currently I have 5 programs written using VB codebehind on the ASP.NET pages each with about 2000 lines of code each. I am wondering- should I be breaking these programs out ...more >>

Simple HTML question
Posted by marathoner NO[at]SPAM sina.com at 4/26/2004 7:23:17 AM
Hi, guys, As an Internet developer for many years, I thought I knew HTML... until I came across this: The following two tables look different in IE 6.0. I've pinpointed the cause -- the hard return between the <img> tag and the </td> tag. I thought hard returns don't make a differnt unless ...more >>

How to set focus on a button ?
Posted by Daniel at 4/26/2004 6:56:04 AM
HI Does anyone know to set focus on the button after the user press "Enter" key. This result will be same as the user login to Yahoo mailbox. after the user key in the user name and password and press "Enter" key. The "Sign In" button will be set focus temporary before going into the mailbox Than...more >>

hi
Posted by sujatha selvaraj via .NET 247 at 4/26/2004 3:44:26 AM
Hi all, iam new to .net. Can somebody help me out. The problem here is: 1. I am having a page with a table with 5 rows. Each row in the table has a checkbox, button, textfield, and combobox.(SERVER CONTROLS) i should provide a option for user to add more row with same controls. when i write ...more >>

Of DataGrids, DataBinding and Server-side Events
Posted by Good Enchiladas at 4/26/2004 3:24:02 AM
I have a class inheriting from CollectionBase that is displayed in a datagrid. When the user clicks on a button, the current record in the data grid is deleted. Unfortunately, I have to populate my CollectionBase class first in the Page_Load event then databind it to the datagrid. Then the but...more >>


DevelopmentNow Blog