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 > january 2005 > threads for thursday january 20

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

maxRequestLength
Posted by David at 1/20/2005 11:20:26 PM
Where and how can I set maxRequestLength? ...more >>

Excellent beginners ASP.NET tutorial
Posted by Sudhirmangla NO[at]SPAM hotmail.com at 1/20/2005 10:28:47 PM
I has found a very good site with excellent beginners ASP.NET tutorial 1) http://programmerworld.net/dotnet/aspintro.htm 2) http://programmerworld.net/articles/asp_net/progemailactivity.php Please post these links on others sites and Forum also. ...more >>

Changing DIV visibility using inline code
Posted by itaitai2003 NO[at]SPAM yahoo.com at 1/20/2005 10:07:30 PM
I'm attempting to configure the DISPLAY attribute using inline code but without success. (I don't want to use the Panel) Any ideas? <div id="panel" style="DISPLAY: <%# GetDisplayStatus() %> "> Tnx -Itai. ...more >>

Is it possible?
Posted by budhA at 1/20/2005 5:51:31 PM
Can I load a win control, wich is on a client machine, to a web form. <object> tag does not do the trick! ...more >>

Yik - ASP.NET is NOT Firefox friendly!
Posted by YeeCN at 1/20/2005 5:39:32 PM
Hi, To my great dismay and disgust - I just discovered that ASP.NET is rendering the aspx pages differently for the Firefox browser - with disastrous results. Below are the renderings of a TextBox for IE and Firefox browsers respectively: <input name="txtName" type="text" value="abcd" id=...more >>

Passing XML as parameter to Web page
Posted by Steven J. Reed at 1/20/2005 5:23:03 PM
I must be missing something, because this should be easy to do. After the user has selected several options on a page, I do a database query which returns a few records that I want to pass to another page via XML. How do I do this? I typically Response.Redirect around my app, including v...more >>

my web application doesn't appear in Interbet Explorer
Posted by vv at 1/20/2005 4:49:13 PM
I created a very simple web application and all I want to do is this: private void Page_Load(object sender, System.EventArgs e) { // Put user code to initialize the page here Label1.Text = "hello"; } But the IS shows a blank page or just (if I put it in a properties window) default t...more >>

referencing classes in other projects
Posted by Andy G at 1/20/2005 4:19:50 PM
How can I call a class that resides in another project within the same solution? ...more >>



Anyone know how to get certain no of recirds from a dataView?
Posted by redmond at 1/20/2005 4:07:04 PM
I am trying ot get a certain no of records from a DataView. I am looking ot do like a Top 15 in Sql, Is there a easy way to do this or should I loop till the count? Appreciate any help. -- Live one day at a time....more >>

Preventing Validation
Posted by tshad at 1/20/2005 4:06:20 PM
I have a logon page that asks for a Logon and Password as well as a linkbutton that goes to register a new user. The problem is that if I push the submit button or the linkbutton to register a new user, it jumps to the validation routine before anything else. If a user fills in an email an...more >>

New Project in .sln File
Posted by Andy G at 1/20/2005 3:46:26 PM
I just recently added a new project to my solution file. I have a dumb question. Why is one of my projects in bold lettering and the new project along with one other is not in bold? Just curious. Thanks. ...more >>

Using factory pattern for Data access
Posted by Ashish at 1/20/2005 3:30:38 PM
I am trying to apply the factory pattern in one of the application.Can anyone show how to create and use a factory class to develop the Db independent code. i hv read some articles for this e.g http://www.ftponline.com/wss/2002_07/magazine/features/dfox/page4.aspx (DonBox's article) n have the b...more >>

Thread timeouts
Posted by Graham at 1/20/2005 3:09:52 PM
Hi, I have web based email management system where a user can login, create an email and then send it to multiple recipients. The email component I use generates all of the physical .eml files when they click send. When a user is sending to 120, 000 recipients at once the page times out. I ...more >>

IE web controls
Posted by Shahriar at 1/20/2005 2:54:24 PM
Does anyone know where I can still download the IE web controls? When I navigate via asp.net site, it takes me to a page not found location. Does the IE web controls still exist? I am using visual studio .net 2003 Many thanks Shahriar ...more >>

buttons dont work with when required fiedl validator is added.
Posted by pmud at 1/20/2005 2:41:06 PM
Hi, I have an ASP.Net web page . The page was working fine until I added a required field field validator. My page has a link button which takes the user to another page, a submit button which takes the values of the text boxes & puts them into an SQL database. After adding the required ...more >>

using <runtime> section in web.config file
Posted by Subra Mallampalli at 1/20/2005 2:36:30 PM
Hi, I am trying to use <runtime> section within the web.config file. However, the contents of the <runtime> section seem to be ignored. What am i missing here? Is <runtime> section not used by web apps? Any help is greatly appreciated. Thanks, Subra ...more >>

Community Starter Kit login problems...
Posted by spshaffer NO[at]SPAM adelphia.net at 1/20/2005 2:16:51 PM
I have the Community Starter Kit loaded on my workstation (XP Pro). When I login as Admin and Admin, I get the Admin menu item to appear in the menu bar and everthing works great. I also know that I'm logged in because "Login" changes to "Logoff". Same Community Starter Kit on a Windows 200...more >>

Scrolling in non-IE browsers.
Posted by Marc Jennings at 1/20/2005 2:16:13 PM
When editing a DataGrid that is about halfway down a scrollable page, ideally, when the edit link is clicked I would like to be taken to the control that I am editing. With Internet Explorer this works fine through using the smartNavigation="true" attribute within the web.config file. However...more >>

Getting Jpeg Image Coordinates
Posted by Janani via DotNetMonster.com at 1/20/2005 2:15:35 PM
I'm using a JPEG image of a sri lankan map for a LBS web application which uses a GPS for my final year project using ASP.Net in C#. I got 2 questions. Can anyone give me the c# sample code 1.to get the x,y coordinates of the image where the mouse pointer is (like shown in "Paint") 2.to read GPS...more >>

.NET Remoting book
Posted by Dexter at 1/20/2005 2:15:14 PM
Hello all, Somebody to know a good book of .net remoting with vb.net? And what the best book to study to MCAD Certification? Thanks Dexter ...more >>

ASP 3.0 to ASP.Net?
Posted by Sam at 1/20/2005 2:00:14 PM
Could please guide and/or advise how to convert this ASP3.0 to ASP.Net? <script language=VBScript> sub CSchedule_onClick() window.open "schedule.asp" end sub </script> <html> <body> <td width="20%"><center><input type="submit" name="CSchedule" value="Course Schedule"></center></td>...more >>

Disabling Forms Authentication for a page
Posted by Michael Groeger at 1/20/2005 1:56:41 PM
Hi, I have a login page for my application where users are required to authenticate. I want to add a simple "Password forgotten?" link to that page where users are linked to another page and where they can request their password again. Now, with Forms Authentication enabled I cannot be transf...more >>

Problems Displaying Data In Tables
Posted by swoozie at 1/20/2005 1:50:34 PM
Hello, I'm trying to display two sets of tabluar data in two tables. There is a submit button on the page to launch everything, and a refresh button to update the tables without having a post-related dialog pop up. I'm having a problem with some of Table A's data showing up in Table B. It...more >>

Denied Access ERROR - Help
Posted by Microsoft News at 1/20/2005 1:30:08 PM
I have a web server sitting on computer 1, (QA1). Out on the network on my main server I have a folder with a zip file in it. All I want is for the web services that are on the web server to pick up the Zip file and send it when the web services are called. However I am getting the follow...more >>

Installing ASP.NET 1.1 on XP Pro
Posted by Charles Tam at 1/20/2005 1:25:08 PM
How could I install ASP.NET 1.1 services on IIS running XP PRO? Such that I could host ASP.NET 1.1 applications. I've IIS running on XP PRO....more >>

Troubles in .cs compile with unc type oledb connections strings..
Posted by Bob [BVP] at 1/20/2005 1:13:54 PM
I have an .cs file I need to compile with csc.exe for codebehind access (no VS.NET). Trouble is that my oledb connection needs to use a unc type path.. when I use the unc path in conn I get escape sequence errors from csc.exe.. so I tried a static mapped drive with reversed \ / from a goo...more >>

Datagrid Events
Posted by Jim Heavey at 1/20/2005 12:45:08 PM
If I create a DataGrid with an "Edit" column defined as a link button, which event would I code which would be triggered when the user clicks the "edit" link? If I make it a button instead, is the event the same or different? Thanks in advance for your assistance!!!!...more >>

Uploading large file
Posted by David at 1/20/2005 12:41:57 PM
Hello. I can't upload large file with HtmlInputFile control:( Is there any file size limitation in HtmlInputFile control? If yes how can I upload to server large size file? Than you. ...more >>

ASP.Net and Data access
Posted by Paul at 1/20/2005 12:41:02 PM
I have developed in ASP in the past and am now getting into ASP.Net and have hit a road block. I've been reading tutorias and documents and am still having problems. I have the following code example: **************************************** Private Sub Page_Load(ByVal sender As System.Ob...more >>

Session Variables assigned to the wrong session?
Posted by Fabrício_de_Novaes_Kucinskis at 1/20/2005 12:26:13 PM
Hi all, I have an ASP.net application in which I keep the user login in session variables. Today, with two users accessing simultaneously the application (in different sessions, but accessing the same page), I noticed that in some postbacks the returned page was not the one that the us...more >>

new to asp.net C#
Posted by Ray Lewis at 1/20/2005 12:07:39 PM
I'm new C# and ASP.NET. I'm teaching myself some basics, but I keep hitting a lot of road blocks. Currently, I'm writing a small web app in C#. The idea is this: 1. click on a dropdownlist that is populated with data from a database 2. select one of the options in the dropdownlist 3. cl...more >>

Export to Excel
Posted by rkbnair at 1/20/2005 11:59:05 AM
How can I export some data from an sql server to MS excel and display that in the website?...more >>

Need advice on separating content from look and feel
Posted by Joe at 1/20/2005 11:59:04 AM
Hi, I am thinking about designing a website using HTML/ASP.NET. I am expecting that the website will have about 50-100 pages. I am planning on using SSI to separate the sections of the pages such as header and footer. I will have navigational menus placed on the page horizontally and ve...more >>

cache a datalist!
Posted by Kyong Kwak at 1/20/2005 11:54:46 AM
Hey all my second post! wanted to know if I can cache an entire control.. this is what I have.. Webform has header, nav, footer, and Usercontrol_1. Usercontrol_1 has a datalist and paging items ( prev, current page, next ). I wanted to output cache for each "page" of the datalist, but I...more >>

Timeout Error
Posted by rkbnair at 1/20/2005 11:49:08 AM
Intermittently, I get the foloing error at my page. Microsoft OLE DB Provider for ODBC Drivers error '80004005' [Microsoft][ODBC SQL Server Driver]Timeout expired /AnomalyMain.asp, line 1247 I tried increasing the timeout value and still it does this....more >>

how to select blank value in ddl when datagrid goes to editmode
Posted by drdave NO[at]SPAM canoemail.com at 1/20/2005 11:41:29 AM
All is working well for my dropdown/datagrid except I cannot figure out how to set my ddl selected index when the value is blank/null. ie before edit mode the lblVariation text value is blank.. This routine sets the value strVariation Sub dgMinimumWage_EditRow(sender as Object, e As Dat...more >>

ASP.NET MESSAGE BOX
Posted by ACaunter at 1/20/2005 11:37:05 AM
Hi there, I have the following code which displays a message box on my asp.net page... i can call this function from a button click or whatever, but the only problem is that it turns the whole window white and displays the message, then once you click OK, then the screen goes back to normal.....more >>

return javascript value from asp.net button
Posted by ACaunter at 1/20/2005 11:27:04 AM
Hi there, Is there a way to call a javascript function and return its value, from inside an asp.net button ?? -- AdamPC@hotmail.com...more >>

Q: searching active directory
Posted by JIM.H. at 1/20/2005 11:21:03 AM
Hello, Here is my code that I got from internet and I am assuming this give me e-mail address of the people in the active directory. Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'Put user code to initialize the page here ...more >>

Help with web.config
Posted by SirPoonga at 1/20/2005 11:20:13 AM
I want to put this in my web.config <compilation debug="false" defaultLanguage="vb"/> Can I put that in a local web.config. I added that line in my web.config (which also contains appsettings). However I get this error: I even read http://www.csharpfriends.com/Articles/getArticle.aspx?articl...more >>

Get User's Time
Posted by ACaunter at 1/20/2005 11:17:07 AM
Hi all, I was wondering if there was a way to get the time from the user's computer. if i use system.now.hour.tostring() - it will give me the time of the computer where our server is being hosted... how can i get the hour and minute of the computer of who's viewing the page.. something lik...more >>

system.data
Posted by (rbutch NO[at]SPAM coair.com) at 1/20/2005 11:16:52 AM
guys im using a web app (asp.net)VS/VB.net and connecting to access but, having a problem with the inserts. i use a import System.Data import System.Data.OleDb and then: Dim table as DataTable Dim newRow as DataRow but, when i use: table= data.Tables("someTbl") after the dot intel...more >>

Cant swith to Design view in ASPX file. Is this a bug?
Posted by Luis Esteban Valencia at 1/20/2005 10:59:09 AM
Hello I have this code and It runs FINE but vs.net 2003 doesnt let me switch to design mode <asp:DataList id="datalistpartidos" runat="server" GridLines="Vertical" CellPadding="3" BorderWidth="1px" BorderColor="#999999" BackColor="White" BorderStyle="None"> <SelectedItem...more >>

Databasae field updates
Posted by Steve Caliendo at 1/20/2005 10:59:07 AM
Hi, Is there an easy control that I can use to update fields in a database? The datagrid control has the perfect format, but I believe that it's read-only. Thanks, Steve ...more >>

How to read a DataSet?
Posted by D. Shane Fowlkes at 1/20/2005 10:57:37 AM
How can I loop through the rows of a DataSet and send the "fields" to the Function as I've attempted to do in my code? Error is at "While dsLineItems.Read()" . I'm trying to construct a Sub which builds a DataSet and loops through the records or "rows" of the DataSet and call a Function fo...more >>

Type conversion
Posted by rkbnair at 1/20/2005 10:29:04 AM
I say a piece of code: y = (float) 0.5342F What is this 'F'?...more >>

Printing from WebPage
Posted by ACaunter at 1/20/2005 10:29:02 AM
Hi all, i was wondering if there was a way to directly print a document to the user's printer, without having to download it first... I needed something like a button, and when the user clicks the button, a print preview window , or adobe, whatever.. will open up and allow the user to see w...more >>

*very* slow initial page load
Posted by Ian Murphy at 1/20/2005 10:18:37 AM
Hopefully someone else has seen something similar. We are experiencing an odd problem with aspnet, iis6 and w2k3. I have written a small site which works fine during the day. Each morning however the initial page load can take anything from 10 minutes to over an hour. Nothing seems to occur...more >>

debugging httphandlers
Posted by shefali at 1/20/2005 10:07:01 AM
Hi, I've done the following but am failing to reach breakpoints in the code for my httphandlers: 1. in VS created a breakpoint on the first line of code in the method ProcessRequest. 2. In that same solution space, created a web application. 3. copied the debug version of the htt...more >>

Is this an appropriate use of PUBLIC variables?
Posted by darrel at 1/20/2005 9:55:20 AM
I'm still not quite sure how best to handle the passing of data between controls. This is a method I'm using at the moment: I have an XML file that contains a variety of page-centric variables. I have one control that loads the XML file, reads through it, and grabs the variables it needs. I...more >>

Authentication mess
Posted by rkbnair at 1/20/2005 9:47:05 AM
When we follow the Form Authentication, how can we a) force to the login page if an intruder types the querystring (for page A) on the browser address bar directly? b) after login in, redirect to the requested page (Page A) ...more >>

Session State with Web Farms
Posted by Tin Man at 1/20/2005 9:24:03 AM
I have read in asp.net books (1) that with asp.net, Session state will work with web farms and (2) that Session state will NOT work with web farms or gardens. Which is true? T ...more >>

Custom configuration in installer project
Posted by weichung at 1/20/2005 9:19:42 AM
I had build an installer project for my ASP.NET project. And found that several fields need to be configured, like the web.config files and etc, which requires user input. Also I need to attach my database using the installer project, anybody could suggest how I could perform similar action? ...more >>

Datalist Textbox Values
Posted by Jon at 1/20/2005 9:17:03 AM
Hello All, I have a datalist whose itemtemplate contains a label and a textbox. The label text is set on itemdatabound with the text, which is a question, from the database column. Each question has an associated textbox. I want the user to put a response to each question in the textbox, an...more >>

create and stream text file on the fly
Posted by Peter at 1/20/2005 9:03:05 AM
Hello! Please, could you tell me, is it possible to create and stream for example a text file to the browser so that the file is not stored anywhere on a hard drive? User click's a link, eg. http://my.domain.com/apps/app/page.aspx?docID=235 and then the text file opens with a text "235" a...more >>

aspx inside a div
Posted by rkbnair at 1/20/2005 8:45:15 AM
How can I display another .aspx page inside a div, placed in an aspx page. The div has the scrollbars already set....more >>

OT: DNS Settings
Posted by Brian at 1/20/2005 8:20:40 AM
Help! I signed up with a new host who supports ASP.NET and I am having a world of difficulty getting my DNS settings right to view my site. my site is www.brianwolters.com The domain is registered and held by Network Solutions. I've emailed both them and my new host for help and I get v...more >>

Equivalent of applets or ActiveX controls in .NET?
Posted by Eric Dan at 1/20/2005 7:59:05 AM
Hi, This may sound a trivial question but I didn't find (yet) the equivalent of ..NET to ActiveX controls (good old COM way :-) ) or Java applets which I am not familiar with but I understand how they work. Just to explain more clearly. I am looking for: • An option to run a rich UI app...more >>

get XML from database
Posted by Barney at 1/20/2005 7:53:06 AM
I have a table that has the data in XML form, (xml doc) how can i get that XML doc from the database? ...more >>

Setting properties dynamically for an embedded video
Posted by b_naick NO[at]SPAM yahoo.ca at 1/20/2005 7:26:28 AM
I have an aspx page which embeds a video. Based on an input parameter id, the appropriate video is played. I've hard coded most the of "<object>" and "<embed"> paramters in the HTML. However, the video source needs to be read and populated based on database content.. How can I do this? My H...more >>

Problem with installing FPSE
Posted by Cculon at 1/20/2005 7:15:07 AM
I have tried to install FrontPage 2000 Server Extensions on my Wins XP Pro computer in order to work on ASP.NET, but its behavior is weird as following. 1. When I go to Computer Management, and double click to expand IIS, the hour glass appeared and stayed there forever. I had to 'kill' the pro...more >>

Request.QueryString ???
Posted by Tim::.. at 1/20/2005 6:59:06 AM
Can someone please tell me how I do a request.querystring in ASP.NET??? I am trying to upgrade an ASP app to ASP.NET and improve it at the same time but I'm not sure how I use this querystring... EG: I have a content management system I want a user to be able to view only his documents a...more >>

Do I need to restart IIS after change in global.asax?
Posted by Kenneth P at 1/20/2005 6:49:01 AM
Hi, I have my asp.net apps on a web hotel, and thus I have whatsoever no control of the IIS on my server. If I make a change in the global.asax for my application,. what is needed to get the IIS to make the changes? TIA Kenneth P...more >>

Q: reading active directory
Posted by JIM.H. at 1/20/2005 6:43:04 AM
Hello, How would you read active directory information, username, e-mail, ... I am using VB in my asp.net and I do not think that we use LDAP, so it should be WinNT. can anyone give me a code sample? Thanks, Jim. ...more >>

Get a postback from an ActiveX Com obj. on the client to asp.net a
Posted by Kenneth P at 1/20/2005 6:31:03 AM
Hi all, I want to ensure some security in my asp.net apps. I wanna know that you is you comsuming my asp.net app. That's why I'm interested in finding out various ways to solve that problem. Because my comsumers always are companies and my asp.net product is the only on the market, the...more >>

Deploying a SQL Server App
Posted by Skully at 1/20/2005 6:19:08 AM
If I have created my Web Application on my PC using command and connection objects (dragging them onto the forms from the Server Explorer window) how do I make it work when I deploy the application (and presumably the dB) to the Host server? The connection objects all refer to my PC not the se...more >>

Double dropdown dilemma - Server vs client
Posted by Don Parker at 1/20/2005 4:43:18 AM
I want to have 2 dropdowns - one containing categories of items such as Furniture, Applicances etc. The other dropdown is a list of subcategories that match the first drop down. So if the user chooses Furniture - the 2nd dropdown will show Bed, Sofa etc - or if they choose applicances they wil...more >>

Can't get HttpWebResponse to work - timeout or connection closed
Posted by Noggin The Nog at 1/20/2005 4:03:03 AM
Hi all, I've been trying to get HttpWebResponse to work, but whenever I try I get "The operation has timed-out". I'm simply trying to send an HTTP request querystring to a remote website and read back the single string it returns (OK/Not-Ok)! It seems such a simple thing to do, but I've been o...more >>

System.Web.HttpException - when using session state and context.It
Posted by Siobhan at 1/20/2005 3:41:03 AM
I am getting the following error: Run-time exception thrown : System.Web.HttpException - Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive Session state is enabled throughout the application. This is occuring aft...more >>

Hiding a hyperlink in a non-databound datagrid column
Posted by BobRoyAce at 1/20/2005 2:20:38 AM
I am brand new to ASP.NET and am now required to take over maintenance of a ..NET/C# web application. On one of the pages I'm working on there is a DataGrid which has multiple columns. One of the columns is not databound and instead has up to three hyperlinks in it (Edit, Award, and Cancel). A...more >>

Run an app on a client's computer
Posted by Kenneth P at 1/20/2005 2:07:02 AM
Hi all, If I wanted to run an application on a client's computer (with his approval of course) from an asp.net application, how would I do? Is it possible if the client has .NET Framework installed on his computer? Any ideas? TIA Regards, Kenneth P ...more >>

Dynamic controls query
Posted by Sachi at 1/20/2005 2:01:02 AM
Hi, I am looking for a optimized design for my problem. Purpose : Need to give a UI where user can select the layout they want. Initially we also need to give them one possible way to define rows and col. So I am providing two textbox to get this. After based on row and col i am g...more >>

How to prevent appearing download dialog for Trusted sites
Posted by Vadim at 1/20/2005 1:17:02 AM
Our program is planing to often download generated reports in MS Word and it's hihg unlikely to bother uthers to push buttons in appearing download dialog for our corporate site. How to prevent this dialog for trusted sites ?...more >>

ASP and ASP.NET pages in same application
Posted by BobRoyAce at 1/20/2005 1:16:14 AM
I have inherited a web application that has a ton of ASP pages married together with like twenty-something .NET/C# pages. Currently, the initial start page is a page called default.asp and it is an ASP (not ASP.NET) page. My question is how can I, within VS.NET, set the default.asp page as the...more >>

migrating ASP to ASP.NET
Posted by BobRoyAce at 1/20/2005 1:02:19 AM
I would really appreciate recommendations for sources of materials on migrating ASP applications to ASP.NET (books, URL's, etc.). Also, is there a magazine that is particularly good for .NET stuff. I am just starting my journey into the .NET world, moving from a pure ASP one. ...more >>

DLL vs. no DLL
Posted by BobRoyAce at 1/20/2005 12:55:24 AM
I am a total newbie to the .NET web development arena and have a basic question. I have inherited a .NET web application, written with C# in code-behind pages. The way that the application currently works involves having the various .aspx pages up on the server together with a single compile...more >>


DevelopmentNow Blog