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 > february 2004 > threads for thursday february 19

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

About validateRequest
Posted by Benny at 2/19/2004 11:29:12 PM
Hello Experts, If the contents of a text box containing a html tag like formmated characters, i.e. <hello>, and if the validateRequest is set to true, it gives an error when post back: A potentially dangerous Request.Form value was detected from the client. Just wondering what are the drawbac...more >>


Autopostback, binding and losing selection
Posted by sklett at 2/19/2004 11:28:29 PM
Hi- I'm a bit rusty cause it's been awhile since I've made an asp.net app, but here is what I want to do: single aspx page bound DropDownList w/ autopost back that holds names of customers DataGrid that shows customer data When a user selects a customer from the drop down, I get the sele...more >>

bound datagrid?
Posted by DzemoT. at 2/19/2004 11:22:00 PM
haw to bound datagrid column to two columns in database. Ex. i woan to use hyperlink column and show first and last name (two columns in database) in one column. ...more >>

Upload File - test for valid file type
Posted by moondaddy at 2/19/2004 10:52:42 PM
I have a simple webform where a user can upload images by using an input element of type "file". In the a button's click event in the codebehind is this code which saves the file to the server. Everything works OK. My concern is how can I be sure the user is really uploading an image and not a...more >>

how to apply css class style to web controls
Posted by nsvkeyan at 2/19/2004 10:01:06 PM
i am using web control in my project .how to apply css style to the web control...more >>

Saving image to Sybase
Posted by Shawn at 2/19/2004 8:54:52 PM
Hi. I'm trying to save an image into a Sybase DB. The field (image_1) is of type "Blob". I have found two examples that I've tried, but no luck so far. Here is what I have done: Example 1: strSqlImage = _ "UPDATE" & _ " table_1" & _ " SET" & _ " image_1 = ?" & _ " WHERE" &...more >>

Error Pages, Static Error Variables and all the stuff inbetween
Posted by Girish at 2/19/2004 8:18:53 PM
so I was looking at an example on codeproject.com that talked about how to globalize your error handling. I was extremely confused by some code. Id appreciate if someone could help me out by understanding this. URL if anyone is interested: http://www.codeproject.com/aspnet/JcGlobalErrorHandlin...more >>

Problem relocating asp.net applications
Posted by Dave at 2/19/2004 7:49:24 PM
I've been having trouble with the development of my ASP.NET site. The problem stems from the fact that I use one development server for many projects like www.devserver.com/project/, but each deployed site is at www.deployedproject.com/. I was originally developing in ASP and I decided to do...more >>



How do you get exactly the same table in all your pages ?
Posted by Craig Kenisston at 2/19/2004 7:35:16 PM
Hi, I am starting to learn ASP.net, and I am studying the starter kits. I've trying to determine which is the optimal way to have a classical page with a top header, a left hand menu and a right side content page. It seems that the most common approach in the starter kits is to put both the...more >>

Cache to store persistent application's variables
Posted by NWx at 2/19/2004 7:28:42 PM
Hi, Is Cache appropriate to store persistent variables used across the application? What I want is to store UserID for currently logged user, SessionID (my own SessionID, which keep track of datetime for login and logout as well as other info, like Client IP , etc) My objects I want store t...more >>

Login security for a form
Posted by David W. Simmonds at 2/19/2004 7:24:11 PM
I have a form that will prompt for a user name/password. In VS.NET, I have the protected form in a folder named Admin. I have a Web.config file in that folder as well. It contains the following section: <authorization> <deny users="?" /> <allow users="*" /> </authorization> In the root fo...more >>

Object loaded in Page & UserControl... not sure if i"m doing this right...
Posted by AC at 2/19/2004 6:23:08 PM
I have a page class that inherits the System.Web.UI.Page class. = Essentially what it does is load a user profile from a session (if it = isn't loaded, it loads it into the session) and exposes it via a public = property. This works just fine. I have user controls that require the profile as...more >>

runtime error
Posted by balaji at 2/19/2004 6:13:37 PM
hi, this is balaji.working as s/w engg. i have a problem running a web service in .NET on Windows 2000 Advanced Server.when i run webservice,it gives me an System.InvalidOperationException error.and the error nos are CS2001 AND CS2008 pls help me out regards balaji ...more >>

How do I decrypt a SHA stored password?
Posted by Augusto Rocha at 2/19/2004 6:01:46 PM
I have stored a password in a data base using the function HashPasswordForStoringInConfigFile, with the SHA method. How do I decrypt it? Augusto ...more >>

Server Error in '/' Application
Posted by Fayyaz Khan at 2/19/2004 6:01:05 PM
Hi I have been working on my system with Cold Fusion, Asp and ASP.NET. But few weeks ago I did install 30 days trail version of DreamWeaver. After the 30 days none of the above are working. I get the following message Server Error in '/' Application ---------------------------------------------...more >>

Custom Validator Control
Posted by DotNetGruven at 2/19/2004 5:44:12 PM
Can I create a custom validator control in my project and add it to a PlaceHolder on my ASPX page?? Here is what I've tried. It compiles and runs without error, but doesn't detected that the checkbox it is validating is checked when the form is submitted. TIA, George ------------------...more >>

HtmlInputFile to get filename only without upload
Posted by Ariel Dolan at 2/19/2004 5:40:56 PM
Can I use HtmlInputFile to only get the selected file name but not actually upload the file? Clicking the control's Browse button let's the user select a file. All I need is the HtmlInputFile Value property. However, any button clicked on the Html page results in uploading the selected file. I...more >>

F**KING BA****D VS.2003 !!!! Can no longer open web project!!!! urgent help needed
Posted by Peter Row at 2/19/2004 5:28:43 PM
Hi, BACKGROUND: WinXP Pro SP1, IIS5.1 all patches applied. VS.2003, NET 1.1 I got screwed over by Microsofts new "virus" W32.PissOffVSDevelopersAsOftenAsPossible today. I had my web app open in the morning, did a bit of work, tested it and then closed VS. I worked on anot...more >>

Add controls at client side.
Posted by AA at 2/19/2004 5:12:09 PM
Hi In my web app, I want to allow the users to create command buttons or text boxes as and when they like. This means that if any user has logged in, and wants an extra button somewhere on the form. Now these buttons are provided on the page, as we get in .NET IDE or studio toolbox. The user j...more >>

My app..
Posted by AA at 2/19/2004 5:07:19 PM
Hi all I want tomake an application that behaves both as a web application,and a desktop app. This means that whenever the net is running, this should behave as a web app. But whenever the net is down, it workd offline, as any other desktop app. Is there any way to achieve this? Regards. ...more >>

Convert VB code to C# code
Posted by bebop1 at 2/19/2004 4:51:09 PM
I need help converting the VB code Private Sub Button1_Click _ (ByVal sender As System.Object, _ ByVal e As System.EventArgs) _ Handles Button1.Click Dim cntrlTester As Control Dim chkTester As CheckBox Dim sb As New System.Text.StringBuilder For ...more >>

The View State Is Invalid for This Page and Might Be Corrupted
Posted by Brad at 2/19/2004 4:39:54 PM
I have an intranet app that has just started sporadically getting the following error "The viewstate is invalid for this page and might be corrupted." By sproadic I mean 3-4 times during the past two days out of 100's of hits. The error just started yesterday and this app has been runnin...more >>

set cache-control tp private to public
Posted by sviau at 2/19/2004 4:36:00 PM
should cache-control be set to public or private on dynamic site. our content doesnt change for 24hrs, but because results from search pages vary so much, we cant cache the pages themselves. what other header info should i explicetly setting in the asp.net page to make sure that the site is ca...more >>

No of users connected..
Posted by Eka Gautama at 2/19/2004 4:32:30 PM
Hi all, How to find out the number of users that currently connected to my asp.net web apps.. Thanks ...more >>

Postback issue.
Posted by AA at 2/19/2004 4:26:02 PM
Hi I have a form on client end where I have certain controls. Now whenever the app is run, the postback is done from the server. But for few controls I do not want them to go to the server for postback. I want the controls to remain only on the client end. Any suggestions are highly appreciate...more >>

Problem downloading image file
Posted by moondaddy at 2/19/2004 4:23:38 PM
Using vb.net I need to download image files to the client browser where they can save to disk. Below is some sample code I'm using. when I run this the File Download window in the browser says: File name: ViewAttachment File type: From localhost 1) "ViewAttachment" is the name of the...more >>

Modify CSS on the fly
Posted by Guadala Harry at 2/19/2004 4:15:48 PM
I once saw an online css tutorial (sorry I don't remember the URL - it was so long ago) that had a demo page that was split into two sections: on the left side, one could specify the css to be applied (e.g, font size, font color) and then click a button. When the user clicked the button, some ge...more >>

slow images and IE on asp.net site
Posted by sviau at 2/19/2004 4:01:13 PM
any settings i need to set so that IE and other browsers cache the images properly, especially during a preload. it seems that using IE, the images are being requested each time when refresh instead of accessing in browser cache do we have to set the cache-control: public in asp.net page; curr...more >>

CSS question
Posted by NWx at 2/19/2004 3:53:17 PM
Hi, Can someone explain me how can I set a CSS for a hyperlink? I have the following definitions in .css file /* definition 1*/ A.HWHeaderLink:hover { font-weight: bold; font-size: 11px; color: yellow; font-family: Verdana; background-color: #6699ff; } /* definition...more >>

User Control Not Updating
Posted by Jon at 2/19/2004 3:47:07 PM
Hi, using vb.net/vs 2003/sql server 2000 Working on a shopping cart app. I've got a user control that appears on every page to give a summary of the users shopping cart, eg You have 12 items in your cart, the total is £123.45, this is populated with a stored procedure that just returns itemco...more >>

Smart Navigation problem with Javascript
Posted by Ying Huang-Isella at 2/19/2004 3:42:58 PM
I have a Javascript menu bar on top of each of my aspx pages. The menu bar would not display when I turn on SmartNavigation. I did some search on this newsgroup and found the answer to my problem in this post http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&selm=e6EidZJoBHA.2244%40tkms...more >>

Page Templating (not in Whdbey)
Posted by Mike at 2/19/2004 3:41:58 PM
Hi, I have been trying to find some material about page templates, but the = projects I found are either incomplete or out-of-date (done with Beta = versions of ASP.NET). Does anyone have some code (dummy project) or URLs = I could look at? Any help would be appreciated. Thanks. --=...more >>

Checking result of Container.DataItem in a Datagrid
Posted by anony at 2/19/2004 3:39:19 PM
Hi, I would like to find out if it's possible to check the value of a Container.DataItem inside the Datagrid's <ItemTemplate> tag .... based on it's value, I would to either output it or output another DataItem from the current resultset. Something like this: <ItemTemplate> If conta...more >>

Using CommandArgument in Application_BeginRequest
Posted by Amil at 2/19/2004 3:34:31 PM
I use a LinkButton in a DataList. I want to set the CommandName and CommandArgument for the LinkButton. Then I want to, before the postback, examine them during Application_BeginRequest to authenticate and keep folks from hacking the URL. Is there a way to read the CommandArgument and Comman...more >>

reading parameter from link
Posted by Nikhil Patel at 2/19/2004 3:29:35 PM
Hi all, I want to be able to pass accountno value to my aspx page when I click on it like this - ?accountno=accno_value How can I read the value of the accountno in my page? Thanks... -nikhil ...more >>

Ascending & Descending sort in datagrid
Posted by Steve Chatham at 2/19/2004 3:17:04 PM
How do you make a sort work in ascending & descending order on the column in a datagrid. I have it now where it'll return the numbers from lowest to highest. SC ...more >>

COM object with CLSID is either not valid or registered issue with ASP.NET not Windows.
Posted by polarwarp NO[at]SPAM hotmail.com at 2/19/2004 3:10:23 PM
Hi, I'm having an issue calling a dll from an ASP.NET page. The code that tries to instantiate a COM dll (class) is in a Class Library. I can call the code successfully from a windows application in the same solution but if I try to call the code from the web application I get the error: ...more >>

How to hide table rows and show them when user click a different row?
Posted by RA at 2/19/2004 2:57:36 PM
Hi I want to have a FAQ so that when the user clicks the question the answer will be shown below the questions. How do I do it? I use c# with asp.net. Thanks ...more >>

Credit Card Processing
Posted by Guadala Harry at 2/19/2004 2:44:25 PM
Just wondering what some of the options are for adding credit card payment capability to a commercial ASP.NET site. I'm looking for alternatives to PayPal, and want to provide my own UI if possible. Thanks. ...more >>

Session & login/validating/ problem HELP
Posted by Patrick.O.Ige at 2/19/2004 2:44:18 PM
I have a code below.(It validates against a SQL DB(login page).thats is giving me an error! When i try to use :- Session["name"] = dr["username.Text"].ToString(); To catch the username so as to redirect the user logged in to another page....PRINTING Hello:- John .. for example It says ERROR:...more >>

Put current page path into hyperlink?
Posted by Amil at 2/19/2004 2:32:50 PM
I have a page with a hyperlink (actually in a datalist). I want the URL to do a postback essentially. I tried to use Page.Request in the NavigateUrl, but it's always empty? How do I tell it to use the current page url for the url? <asp:DataList id="dlstItems" runat="server" OnItemCommand="O...more >>

save BLOB to file from MySQL using c#
Posted by Markusek Peter at 2/19/2004 2:29:45 PM
Hi, I'm using MySQLDriverCS. I've got no problem to store BLOB into database, but I can't get it back(save to file). Problem is with DataTable(returns string:( ) My code: -- DataTable dt = new MySQLSelectCommand(...; //select that row and column where is BLOB string dest = Server.MapPath("im...more >>

Why doesnt this work?
Posted by Showjumper at 2/19/2004 2:22:18 PM
I am trying to add allowed file extensions to an arraylist, as follows. I really want it so that the values of files will be a comma serparted string that i set in the property window. This is an upload server control and i then check the _Allowedfiles arraylist to see if it has the extension and...more >>

Load a Page into a table cell ?
Posted by Craig Kenisston at 2/19/2004 2:15:30 PM
Is this possible ? I have a code that does this : if ((Request.IsAuthenticated == false)) { LeftPane.Controls.Add(Page.LoadControl("~/_AccessControl.ascx")); LeftPane.Visible = true; } This loads the accesscontrol usercontrol into a cell named "LeftPane". But no...more >>

Transfering Pages
Posted by bshannon NO[at]SPAM lbrspec.com at 2/19/2004 1:59:48 PM
I have an intranet site that uses a login. If a user clicks a link that requires them to be logged in it will check. If a user is not logged in the page takes them to the login page. My Problem: The user will now log in. How can I take the user back to the page that required the...more >>

HTTP vs HTTPS
Posted by Hai Nguyen at 2/19/2004 1:59:45 PM
Hi everyone !! I have a web application deloped on a web server. I have site A and site B both have link to this application. I want to check the URL from A and B. If it's correct with my allowed URL then I will let them advance. There is a sittuation occurs. Application A use HTTP and applic...more >>

sorting grid question
Posted by Nikhil Patel at 2/19/2004 1:56:02 PM
Hi all, I assign sortexpression properties to the columns in my grid. Grid displays underline under the column name. I don't need to display the underline. How can I remove it? Thanks... - Nikhil ...more >>

How do I test for null or empty value?
Posted by john_20_28_2000 NO[at]SPAM yahoo.com at 2/19/2004 1:54:14 PM
I have a dropdownlist. In my page_load I have: myvariable as integer myvariable = myddl.selectedvalue I get "Input string was not in a correct format." The I know my data and it is supposed to be a number. In reality, however, because this is a fresh load (not a postback), the value i...more >>

Problem with setup Device Update 4.0
Posted by Filip Heens at 2/19/2004 1:51:03 PM
Hi Can somebody help me with this. I'm getting this error when I try to install Device Update 4.0 what I = need for my Exchange 2003 Upgrade. Event Type: Error Event Source: MsiInstaller Event Category: None Event ID: 11722 Date: 19/02/2004 Time: 13:40:01 User: N/A Computer: HIT01 De...more >>

OutputCache and HttpCacheability
Posted by Dune at 2/19/2004 1:46:06 PM
Hiya I'd like to use the @ OutputCache directive in my aspx page...could someone please tell me the equivalent duration, location, etc.. values for HttpCacheability.NoCache I've been looking through msdn with no luck, but i might just be blind :) Cheers...more >>

question about classes
Posted by ajaymehra at 2/19/2004 1:41:01 PM
Hi all, I have a class file called Properties.vb in which I define a publi property as follows ----------------------------------------------------------- Public Class Properties Private CalSelectedDate As Date = Now() Public Property CalSelDate() As Date Get Return CalSelectedDate End G...more >>

ISO: Web sites for images (pay sites preferred)
Posted by Kevin Buchan at 2/19/2004 1:37:23 PM
I am looking for a good web site that I can subscribe to and download high quality images for use in applications (both web pages and stand-alone EXE apps.) Anyone have their favorite site they'd like to share? -Kevin Buchan kevin.buchan@REMOVETHISTOEMAILtroutmansanders.com...more >>

ConfigurationSettings vs Application State
Posted by [myfirstname] at 2/19/2004 1:22:34 PM
Hello I've seen several examples around the web where people put all the values in ConfigurationSettings.AppSettings into Application State variables in global.asax, like this: foreach (string key in ConfigurationSettings.AppSettings.Keys) { Application[key] = ConfigurationSettings.AppSe...more >>

dropdownlist Question
Posted by oakleyx NO[at]SPAM hotmail.com at 2/19/2004 12:58:46 PM
Hi, I'm a newbie to asp.net. Actually i'm working on my first page now. I have a drop list <asp:DropDownList id="menu" AutoPostBack="True" OnSelectedIndexChanged="onChange" runat="server"> The problem that I am having is when I call my onChange Method, the dropdown list selects the prope...more >>

Div tag
Posted by Jim Heavey at 2/19/2004 12:58:31 PM
Someone told me that I could create a "Div" tag with a "runat='Server'" and use it to surround all of the controls that I want to make Visible/Invisible. When I attempt to add the attribute of "Visible=" I get a compile error. So is there an easy way to turn off all of these controls with...more >>

ASP.Net and DATAGRID
Posted by Arvind P Rangan at 2/19/2004 12:51:02 PM
Hi, How do you get the unique id that datagrid generates. Thanks Arvind. ...more >>

IIS caching output of pages
Posted by Nick Gilbert at 2/19/2004 12:39:53 PM
Hi, Our development web server (Win 2003 Server) seems to be caching the output of various files (CSS and .aspx files) if they have no query string. The moment you put a question mark in the URL, it's fine. The problem is that if you modify a file, it still shows you the old file unless ...more >>

Resource File mystery entries
Posted by David Laub at 2/19/2004 12:38:31 PM
Visual Studio .net 2003 automatically creates resx files with three entries in them. What I don't understand is: 1) sometimes additional entries are automatically placed in the resx file, and I don't understand what is triggering this. e.g. some of my app specific objects wind up in the resx...more >>

'Attempted to access an unloaded AppDomain'
Posted by cameron at 2/19/2004 12:34:51 PM
I have a page that needs to process aproximately 7000 LDAP entries and does 10-12 SQL DB calls per entry. It is a busy, busy page. I have it schedualed to run every night at 4 am server time. It runs for about 2 hours, processing a smidge over 4000 of the entries and then borks with the erro...more >>

Howto: Display ASP.NET Results Using Excel in IE ?
Posted by Lukman at 2/19/2004 12:30:03 PM
Hi, Do you know how to display ASP.NET result (database result from ADO.NET) using Excel in IE ? Thanks, ...more >>

neaten-ing Combo boxes question
Posted by Steve Chatham at 2/19/2004 12:30:03 PM
I have a page where I have some combo boxes on it. A click on each one spawns another box, and another until each area has been selected, or until they choose to pull all items into a datagrid from that category. For instance: say the first combo has in it: meat dairy second combo bo...more >>

Default button - pressing Enter
Posted by Dan Brussee at 2/19/2004 11:48:02 AM
I have a form with 2 or more buttons. How do I control which one will fire when I press the Enter key? In traditional ASP, I could create 2 or more forms, each with their own Submit buttons. Since there is only one form, how do I control which of the submit buttons will fire?...more >>

"Could Not Load Type" Error message
Posted by Rod at 2/19/2004 11:23:21 AM
I am getting a strange error when I attempt to run my new ASP.NET application through an ISA server. If I go to the ISA server machine and open up IIS and perform a Browse on the virtual directory pointing to the new ASP.NET application, I get the following error message: Parser Error Message:...more >>

How to align table with some left padding?
Posted by RA at 2/19/2004 11:22:34 AM
Hi When I create a table and aligned it to the left, how can I have some padding added from the left so that the user will see the table border on the left? I don't want to use the vs style builder. Thanks ...more >>

permissions
Posted by Maximus at 2/19/2004 10:54:08 AM
Have any of you ever set permissions programatically on a folder aspnet user thorugh an application. Any help will be greatly appreciated. Thanks. ...more >>

access web controls in a User control via Javascript
Posted by george d lake at 2/19/2004 10:51:57 AM
Hi, I have a user control that has a series of web controls in it. I need to access the web controls from the parent page via javascript. No, I have done this in the past but know I am having problems. It just will not find the obj on the javascript side. here is some code (HTML output): ...more >>

Does ASP.NET work under Apache?
Posted by Bruce W.1 at 2/19/2004 10:50:45 AM
Can Apache (running on Windows) pass requests for .aspx files to .NET? Thanks for your help....more >>

open new window?
Posted by js at 2/19/2004 10:46:54 AM
Hi, can i do this, when user click the picture link, then pupup a new winodw, shows a image, and the window autosize to fit with the image? thanks... ...more >>

Oppinion regarding grid layout vs flow layout
Posted by NWx at 2/19/2004 10:41:36 AM
Hi, I develop an ASP.NET app which should be used from Internet, so I don't have control over what browsers will be used. I don't want to target every possible users, so I don't really mind is some user with a very ancient browser (Netscape 3 or 4, or IE 3) won't be able to view the site pr...more >>

Webforms, using window authentication mode. with list of users coming from DB?
Posted by Reza at 2/19/2004 10:36:06 AM
Trying this again Here is the situation, I am using the <authentication mode="Windows" / for webforms not windows, but I don't want to specify the list of users in the web.config, but have the list in DB that I can modify with code. Is this possible to do? If so, how do I get the IIS authentica...more >>

I hate this.. But this time is Urgent
Posted by André Almeida Maldonado at 2/19/2004 10:32:25 AM
Hy Guys... I created a web project in my machine, but when another network computer open the solution, the project inside the solution is Unavaliable. WHY????? The error message when another network computer open the solution is: The default web access mode for this project is set to file sh...more >>

Having a little trouble with ViewState
Posted by D. Shane Fowlkes at 2/19/2004 10:30:53 AM
I have a form in which clicking the submit button calls a "SaveData" sub rountine I wrote. The SaveData rountine inserts data from the form into a table and grabs the ID of the newly inserted record and stores it in a variable in the routine. The routine writes the data to the table just fine....more >>

Multiple developers, single solution
Posted by Tim Mulholland at 2/19/2004 10:14:40 AM
My company is about to begin working on an ASP.NET application. There are going to be two primary developers working on this project. It will be a fairly deep project (lots of lines of code) but not a very wide project (pretty much limited to a few purposes, not many ways to split it up). I've d...more >>

ASP .NET & DB2
Posted by Antoni Massó Mola at 2/19/2004 9:47:35 AM
I need to connect to my DB2 Server 8.1.3 through ASP .NET pages. Is there a method to connect to DB2 directly from ASP .NET code without having to program it with C# or VB .NET? I need to validate a Username & Password (from an aspx form) with the DB2 Database table Users. ...more >>

Pick List Functionality
Posted by Jerry Camel at 2/19/2004 9:46:07 AM
I'm using a DHTML dialog to present a pick-list to a user. I've got the dialog working using some client side vbscript with a call to window.ShowModalDialog. I can see that the result is being returned to the main form, but I can't figure out how to get it into the textbox the user is trying t...more >>

Best way to send SOAP requests from IE client pages - WebService HTC?
Posted by coryjseaman NO[at]SPAM hotmail.com at 2/19/2004 9:29:06 AM
I'm trying to find the best way to communicate between an IE-viewed HTML page and a .NET Web Service. The only option that seems feasible for my needs is the WebService.htc behavior provided by Microsoft. However, this component is unsupported by MS...I would assume because: 1.) There have bee...more >>

ASP.NET Browser Question
Posted by David at 2/19/2004 9:06:09 AM
A user logs into a web site. He is then redirected to a web page of his choosing - based on menu options - for example: "WeeklyReport.aspx" is a page the user is currently viewing If the user session times out, I redirect the user to a "logoff.aspx" web page that now informs the user he must rel...more >>

ReadEntityBody problem
Posted by Bjorn B at 2/19/2004 9:06:06 AM
I'm trying to read files from the request using the ReadEntityBody method on the HttpWorkerRequest Most of the time it works fine to get chunks from the request but sometimes it takes a long time before this function returns and it doesn't read any bytes. The return value is 0 bytes read I also ...more >>

Set checkbox in datagrid manually/through code
Posted by johnmark1515 NO[at]SPAM yahoo.com at 2/19/2004 8:32:11 AM
I have a numeric Oracle field which stores -1 for true and 0 for false. I am trying to populate a checkbox in a datagrid. In my SQL statement, I used the Decode function so that when it populates the dataset that I would store the string 'true' and 'false' rather than a numeric value. I did ...more >>

Diable Explorer Button or Purge History List
Posted by David at 2/19/2004 8:01:05 AM
A user logs into a web site. He is then redirected to a web page of his choosing - based on menu options - for example: "WeeklyReport.aspx" is a page the user is currently viewing If the user session times out, I redirect the user to a "logoff.aspx" web page that now informs the user he must relo...more >>

Execute a CodeBehind function from a javascript
Posted by Michael SL at 2/19/2004 7:51:05 AM
Here is my problem. I have a delete record button. I want to prompt the user "Do you really want to delete?". If the user clicks 'OK' then I want to execute the CodeBehind on the server side to accomplish this. How do I do this I think the HtmlButton is probably the desired method. But, how d...more >>

Blanking on Redirect
Posted by Tobe at 2/19/2004 7:31:10 AM
In our order entry system there is a page called 'Orders.aspx', on this page there is a link button that redirects to the system's home page. We use a link button instead of a link because we want to do some cleanup if they leave the page while in the middle of an edit This button works fine on m...more >>

load balancing with multiprocessor servers
Posted by Jon at 2/19/2004 6:56:17 AM
Ok, so say you have 4 servers, each with 4 processors. Each processor has its own application domain for your web application, and therefore has its own cache, right? If so, is there a load balancer that handles processor affinity for requests - so that requests are sent to the same serve...more >>

JavaScript: How to set focus on a textbox in a HTML form?
Posted by feng at 2/19/2004 6:19:19 AM
Hi, I have a aspx page that contains a textbox. When the page loads, it's always the browser's address bar or other browser controls has the focus. What I want however, is to let the textbox have the focus, but I don't know how to do it. I tried things like: window.document.Form1.MyTxtB...more >>

Windows Authentication with list of users from DB?
Posted by Reza at 2/19/2004 6:01:05 AM
Hello I am not sure this is possible, but I have webapp that will run inside the interanet. I have been able to take the advantage of Windows Authentication, but the idea of having a hardcoded list of users creates a lot work and almost become inpratical. Therefore, it would be so much help if I c...more >>

403 Access Forbidden, ASP IIS
Posted by jurrinus NO[at]SPAM tiac.net at 2/19/2004 6:00:32 AM
This seems to be a recurring problem and I don't know what I would do if I could not find the answere searching Google/Groups/Comp. Several times I have had this problem were I cannot create a new ASP Web project. The first time it occured I did as instructed uninstalled IIS and then reinstall...more >>

Downloading A File
Posted by JZink at 2/19/2004 5:56:06 AM
The code below is used to download a particular file. It works fine with the exception of the downloaded contents is also including the html from the WEB page where the link is setting that executes this code !!! Any ideas tr // Open the file iStream = new System.IO.FileStrea...more >>

Accessing microsoft exchange data(calendar related) from ASP.NET
Posted by Usha at 2/19/2004 5:06:05 AM
Hi I would like to know if it is possible to access the calendar data from MS exchange server 2000 from an ASP.NET application. If possible, please provide reference to relevant articles/code samples etc. Thanks in advance Usha...more >>

Port ASP 3 to ASP.NET
Posted by stevengarvin NO[at]SPAM hotmail.com at 2/19/2004 4:45:55 AM
Hi, We currently have an ASP 3 application which we would possibly like to upgrade to ASP.NET. Previously I have painstakingly ported each page using a combination of the ASP Migration Assistant and trawling through the files changing syntax, etc. My question is this: is there really any po...more >>

Client Side changes not refecting server side label
Posted by Srini at 2/19/2004 2:36:06 AM
I have a server side label and text box From the client side I am changing the value of the ASP.NET labe using the innerText property of the label. When I try to access the label from the server side I am getting the old valu of the label which was initially populated before calling the java scr...more >>

oProxy.Timeout does not stop the WebService execution thread
Posted by sunil NO[at]SPAM volcanomail.com at 2/19/2004 2:09:45 AM
Dear All, In my Application my WebForm calls a WebService that fires a query...this query takes a long time to execute as a result my WebService timesout...but this also results in my WorkerProcess being recycled...I guess this is a result of mywebservice thread still being in executing mode...more >>

HttpHandler not being cleared
Posted by gingerbbm at 2/19/2004 1:31:07 AM
In the root of my ASP.NET app I've a web.config which includes these lines: <code [1 <httpHandlers><add verb="*" path="GetImage.ashx" type="StatsAndMaps.Map.GetImage, StatsAndMaps" /></httpHandlers></code In a sub-folder where I don't care about this I've another web.config which includes th...more >>

Problem with runat=server
Posted by Joy at 2/19/2004 12:06:06 AM
Hi grou my code is simple but not working Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Loa Dim MyButton As New System.Web.UI.WebControls.Butto Me.Controls.Add(MyButton End Su What is the reason that this simple code causes an...more >>


DevelopmentNow Blog