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 2005 > threads for wednesday april 13

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

Disabling run in VS.NET?
Posted by Brett at 4/13/2005 11:27:53 PM
Is there a way to disable the run in VS.NET 2003 for ASP.NET apps? Everytime I run an ASP.NET app, it freezes my machine. I avoid the run but sometimes I do it by accident so I need it disabled. Or if I could have the preview change from localhost to 127.0.0.1 that would be nice. It works ...more >>

IHttpHandler, ProcessRequest and Session
Posted by Chance Hopkins at 4/13/2005 11:05:15 PM
I've got the IRequiresSessionState interface implemented, but because of forms authentication my page fires twice and causes certain session functions to update twice which messes up my values. Is there anyway to keep ProcessRequest from firing twice, or detect if it has fired once and not ...more >>

How to open an asp.net project in vs.net when no .sln is available
Posted by Bruce at 4/13/2005 11:03:37 PM
If I copy the directory holding an asp.net project from one workstation to another, then how can I open the project via vs.net on the second workstation (where there is no longer an associated .sln file pointing to it)? Thanks, Bruce ...more >>

Unable to Open a new asp.net web service
Posted by Bruce at 4/13/2005 11:00:53 PM
I am doing development work on an asp.net app and a web service on a Win XP Pro SP2 development workstation, using vs.net 2003. For reasons that I wont try to explain here, I recently moved the application files from /inetpub/wwwrooot to a directory within "my documents", and I changed th...more >>

replacing EOL with <br>
Posted by Daves at 4/13/2005 10:54:11 PM
would there be any neater way to replace EOL codes with <br> than this? <asp:Label ID="Label1" Runat="Server"><%# (Eval("Content")).ToString().Replace("\n", "<br>") %></asp:Label> ...more >>

hiden field equilent in web form server control
Posted by vikram at 4/13/2005 8:47:57 PM
is there any input type=hidden equilent in webform server control? setting textbox visible=flase does not work. thanks ...more >>

Inheritance + Postback issues
Posted by macduder83 at 4/13/2005 8:33:10 PM
All, I 2 classes, parent and child class. I instantiate the child class by doing the following: I have a property that looks like this Private Property propChild() As ChildClass Get Return CType(Session(ChildClass.NAMES.C_NAME), ChildClass) End Get ...more >>

tricky postback problem...
Posted by ricolee99 NO[at]SPAM hotmail.com at 4/13/2005 7:25:39 PM
Hi there, I have a textbox and a save button in an aspx page. I have the textbox event handler, TextChanged, hooked up to the textbox which calls a vendor's api. The event handler method finishes processing after a good 3 seconds. THe problem is that the user may click on the save button ...more >>



newbie really simple question
Posted by Faroch Bhatt at 4/13/2005 7:08:19 PM
Hi, I am using Windows XP Pro on a home computer. I have just installed IIS that came with Windows XP Pro. I am using Microsoft Visual Studio .Net V1.1.4322. I hope this is all the infromation you need. I have created a file fred.htm in c:\inetpub\wwwroot with the following text <html><bod...more >>

CDO.Message
Posted by Alexander Widera at 4/13/2005 6:39:31 PM
Hello, I'm not able to re-write this code (look below) from vbscript to C#. And I don't find a manual in the net ... could somebody help me please? DIM oMessage oMessage= CreateObject("CDO.Message") oMessage.From = "test123@domain.com" oMessage.To = "test@somewhere.com" oMessage.Subject ...more >>

Help with dataset and datagrids
Posted by Chris at 4/13/2005 6:23:01 PM
Hi, I have the following dataset Loc Qty Amt OH 5 2 NC 4 1 OH 2 4 I have two datagrids on the same page one for OH and the other for NC. Is it possible to select only OH rows from one dataset for the first datagrid and NC rows frm the same dataset for the second datagrid. Instead of ...more >>

grant IIS permission to create excel activex object
Posted by Steve Richter at 4/13/2005 6:18:55 PM
I am getting error in a vbscript: ActiveX component cant create object: Excel.Application. The vbscript code is: Dim objExcel Set objExcel = CreateObject("Excel.Application") I am pretty sure it is a permission issue because the script works when I point the browser directly at the ....more >>

script debugger not starting
Posted by Steve Richter at 4/13/2005 5:53:45 PM
have just installed the Microsoft script debugger for windows 2000: http://www.microsoft.com/downloads/details.aspx?FamilyID=2f465be0-94fd-4569-b3c4-dffdf19ccd99&displaylang=en ( notice the "this download is available to customers running genuine Windows Software" message on that page! ) and...more >>

Web Page Redirection Problem
Posted by jack-b NO[at]SPAM humlog.com at 4/13/2005 5:03:35 PM
Hi, I'm having a problem with web page navigation. Senario: I have one web page (webpage1.aspx) which hosts a control containing a datagrid with a list of charges. Underneath the datagrid there is a link which says 'Generate Invoice'. When the customer clicks on the link a pop-up window ...more >>

How to Publish a Project to Production Server
Posted by A P at 4/13/2005 4:29:58 PM
Hi! I have installed VB.Net 2003 on my computer and develop a simple web application. I want to publish the project that I made to our production server. How can I publish a web application? regards, Me ...more >>

Async Web Service - Maximum Time?
Posted by Lucas Tam at 4/13/2005 4:23:33 PM
Is there a realistic maximum time a client can wait for an async response from a web service? I have requests that may take anywhere from 1 - 5 minutes to complete... maybe even more. Is it safe to use an async web service? Also, is there a limit to the number of async requests a server ca...more >>

Creating Hyperlink in DataGrid Column
Posted by epigram at 4/13/2005 4:17:19 PM
I'm using the DataGrid with AutoGenerateColumns set to false and choosing which columns I want in the grid by using the <Columns> attribute. What I want to do is to create a hyperlink out of one of the columns that I am displaying, but in order to build this link, I need a value that is in my...more >>

Difference between Methods
Posted by Carlos H at 4/13/2005 3:54:13 PM
Hi! Anyone knows what is the difference between Session.Clear() and Session.RemoveAll() ??? []'s Carlos Henrique ...more >>

How can I display my .ASPX page from within an HTML page?
Posted by Bob.Segrest NO[at]SPAM BSegE.com at 4/13/2005 3:42:37 PM
Hello Everyone, I know this has to be a silly question, please allow me to ellaborate... I have created an ASP.Net application (my .ASPX page) that I would like to add to an existing web application. The existing web application allows me to add additional tml pages to it's menu by pl...more >>

Passing HttpContext reference as an input parameter
Posted by josephpage NO[at]SPAM gmail.com at 4/13/2005 3:42:21 PM
I have a Visitor class that is defined in a class library. The class has lots of parameters that are pulled from the QueryString, the ReferrerUrl, Cookies, the Session object, etc... I would like to make a constructor for the Visitor class that accepts an HttpContext instance from within Sessi...more >>

Active Directory lookup
Posted by ptran123 NO[at]SPAM hotmail.com at 4/13/2005 3:33:45 PM
I want to do an AD lookup of the current logged on user. From ASP.NET I can get the identity name of the user in the form of "<domain>\<user>". How do I perform an AD search based on that information using the syntax "LDAP://"? ...more >>

cache
Posted by simon at 4/13/2005 2:26:45 PM
I use this for reventing a page to be cached: <meta name="prevent_caching1" HTTP-EQUIV="Pragma" content="no-cache"> <meta name="prevent_caching2" HTTP-EQUIV="Cache-Control" CONTENT="no-cache"> <meta name="prevent_caching3" HTTP-EQUIV="Expires" CONTENT="0"> But still, page is in cache. I mus...more >>

ViewState and Repeater Control
Posted by olduncleamos NO[at]SPAM yahoox.com at 4/13/2005 2:12:45 PM
Hello all, I am experimenting with the repeater control and ran into something that I wasn't expecting. I would appreciate if the experts can confirm or correct my understanding. Here is a fragment of a very simple page that I wrote that will drill down into the displayed item. The result i...more >>

Naming dynamically created datagrids
Posted by Anna at 4/13/2005 1:54:41 PM
Hi there, I have a master/detail page that I've created using a datagrid inside a repeater. I need to find a way to export the entire resulting web page into Excel, and the multiple datagrids are giving me problems. I need each one to have a unique name that I can refer to in the code I'm usi...more >>

a:hover does not work without href attribute in <a> ?
Posted by Gabriel Lozano-MorĂ¡n at 4/13/2005 1:26:53 PM
Is there a reason why this does NOT work in IE6.0 ? <html> <head> <style type="text/css"> a { text-decoration: none; } a:hover { text-decoration: underline; } </s...more >>

Date time picker for asp.net
Posted by venky at 4/13/2005 12:32:21 PM
Hi, Anyone knows any good datetime picker for asp.net pages. Any javascript one? venky ...more >>

Token of user identity
Posted by ptran123 NO[at]SPAM hotmail.com at 4/13/2005 12:02:06 PM
In IIS, when 'anonymous user' is disabled anyone entering the site must be authenticated. After authentication, IIS's worker process assumes the identity of the authenticated user rather than the identity of the worker process. So far I've only found code that obtains the token of the worker p...more >>

<sessionState attributes help needed.
Posted by jensen bredal at 4/13/2005 11:48:59 AM
Hello, i was not able to find any documentation about the largest value one can assign the "timeout" attribute of the <sessionState section in web.config. any idea? Many thanks JB ...more >>

QueryInterface for interface XXX failed
Posted by Aurelian Georgescu at 4/13/2005 11:06:48 AM
Hello everybody, I have a VB6 component that I must used it in a ASP.Net application. On WindowsXP and Windows 2000 everything is running nice, but on Windows 2000 Server I get the InvalidCast exception. Have anyone any clues??? Thank you. Relu. ...more >>

How to add references to aspx file
Posted by Matt at 4/13/2005 10:12:26 AM
In Solution, In Web project Test.aspx file, How can i refer to dll on page directives. WebDll project(same solution) I dont want to use codebehind pages such as (test.aspx.cs) WebProject Test.aspx bin WebProject.dll WebDll.dll Webdll Test.cs allreay copied webdll t...more >>

Rook Question
Posted by Dave S. at 4/13/2005 10:08:00 AM
Very new. Need to bind a value from a stored procedure that returns a single value to a label. I have found lots of examples of how to do this with a datagrid using .filll and databind but no such methods for a label. Thanks for the help ...more >>

Setting Terminal Services settings using ASP.NET (or... calling Server-side vbscript from ASP.NET)
Posted by spamis_dead NO[at]SPAM yahoo.com at 4/13/2005 10:02:27 AM
I need to be able to change the Terminal Services attributes. Using vbscript on Server 2003 this is easy enough, as described at http://www.microsoft.com/technet/scriptcenter/scripts/ts/default.mspx for example. I want to be able to write a web interface to do this, to make it easier fo...more >>

delete file failed, The process cannot access the file because it is being used by another process
Posted by guoqi zheng at 4/13/2005 9:59:21 AM
Dear sir, There is an import tool on my web application, user can upload Ms Access file, the file is saved at a temp folder on the server. After the import is finished, for security reason, I need to delete the imported Ms Access file, however, I always get above error, "The process cannot...more >>

code on Click event for some buttons is not executed
Posted by Galina Grechka at 4/13/2005 9:37:11 AM
Hi, I have this strange problem. After I recompiled my ASP.NET project and then open project as a user from web browser, code behing some buttons doesn't execute at all. It works on my (development) machine. But it doesn't on others machines in our LAN. Previous version of project (which was ...more >>

Can I encrypt aspx code?
Posted by Brett at 4/13/2005 9:22:53 AM
Say I develop an application that has an SQL Server 2000 back end with ASP.NET front end. All the business logic is in the aspx pages. I want to sell this as a package that some one can install on their server or even desktop (replace SQL Server with MSDE). I don't want people reverse eng...more >>

Help need setting up Visual Studio .NET for ASP.NET Web Applications
Posted by M Skabialka at 4/13/2005 9:10:06 AM
I installed Visual Studio Beta 2005 but setting up the SQL server was so complex I uninstalled it and put Visual Studio 2003 Academic on. I am totally new to Visual Studio and trying to teach myself from books and online classes. I tried to follow instructions to creating a new ASP.NET Web Ap...more >>

SPAN around dynamically generated TABLE ROW??
Posted by Jack Black at 4/13/2005 8:56:46 AM
Not even sure where to start on this one... I need to be able to either: a) set up a SPAN around a dynamically-generated table row (using TableRow object), or b) apply an "onmouseover" property to a given row in a dynamically-generated table. Any thoughts??? This is me looking perplexed (...more >>

using javascript and vb.net on the same click
Posted by Andy G at 4/13/2005 8:41:44 AM
I hope that someone has another suggestion for me. I have an .aspx page with many links that you can click on that calls a javascript function and passes it the file name of the page I want to link to (below). function openLinks(filename) { winLink = window.open(filename,"showLinks", "...more >>

Web Server NOT grabbing File1.PostedFile ???
Posted by bwalke NO[at]SPAM lbrspec.com at 4/13/2005 8:08:58 AM
Help Needed Please!!! With a VB.NET web application, I am trying to save pictures and files to a directory on the web server. However, the web server is not grabbing the Posted Files. For example: File1.PostedFile Is Nothing = True. Like it always seems to go, this page and the File1.PostedFi...more >>

Object in Panel not realizing new values?
Posted by jw56578 NO[at]SPAM gmail.com at 4/13/2005 8:03:14 AM
If i have a label that i add to a panel control collection in page load. then in another method i re instantiate the label and assign a different text property, why doesn't the panel contain the new label object ...more >>

Not using Code Behind
Posted by Matt at 4/13/2005 7:34:16 AM
Hava aspx file ButtonTest.aspx, wiht below page directive <%@ Page language="c#" Codebehind="ButtonTest.cs" AutoEventWireup="false" Inherits="Actions.ButtonTest"%> I like to access to ButtonTest.cs file do the button actions events. not using aspx.cs. I have added a DLL project (actions)to my...more >>

Avoiding session timeout?
Posted by jensen bredal at 4/13/2005 7:32:38 AM
Hello, This should probably very basic but it still gives me headeachs ;) I have my app where user log ind and some pages doauto refresh. i do not want the session to timeout. How can i do this? Many thanks in advance JB ...more >>

enable property of checkbox control
Posted by vikram at 4/13/2005 6:05:39 AM
i am setting enable property of check box control using javascript, but when form is posted back , it does not reflect correct enable value.i.e. if i have set checkbox control enabled to false in javascript, it still gives enabled true in page load. What is the problem in this? thnaks...more >>

Run ASP.NET application as LARGEADDRESSAWARE
Posted by thomas.lykke.petersen NO[at]SPAM gmail.com at 4/13/2005 5:23:27 AM
The setup is a Windows 2003 Server (Standard) with the /4GT (/3GB) switch turned on which should enable ~3GB of memory for user processes and only ~1GB for windows processes. Is it possible to make an ASP.NET application utilize the new found memory or should the ASP.NET application be build w...more >>

VS.NET freezes computer on browser preview?
Posted by Brett at 4/13/2005 5:17:08 AM
I've created a new ASP.NET application. When I preview my aspx webpage in VS.NET 2003, it will freeze my machine. Not every time. Sometimes on the first preview, sometimes on the forth. Any programs I have open can't be closed. The only thing responsive is the mouse. I have to turn of my ...more >>

fastest way to change type
Posted by yurps at 4/13/2005 4:54:26 AM
which is the fastest or best out of these Convert.ToInt32(); (int)x; int.Parse(x); Thanks, yurps ...more >>

IIS setup, rights.
Posted by Jesper at 4/13/2005 3:29:01 AM
Hi, Does someone know of any good tutorial in setting up an iis server (rights) so that I can develop asp applications directly on that server (from another computer) instead of an iis/localhost. Best regards Jesper....more >>

"The page cannot be displayed" or time out???
Posted by kongkong99 NO[at]SPAM yahoo.com at 4/13/2005 3:25:41 AM
Hi, I have an ASP.NET application that loads files, parses them and loads in the database which is running in window 2000 webserver. When I load a text file after the file is parsed and the data is loaded in the database, the page is redirected to a new one. The problem is, after the file...more >>

Open a new browser window
Posted by bernardpace NO[at]SPAM yahoo.com at 4/13/2005 2:36:18 AM
Hi, I have a button on my form, and on its click event, I would like to open a new window of my browser with a specific link. I have been searching on the net, but can't find the appropriate code. I hope someone understands my problem, and helps me out. Thanks in Advance....more >>

system.web.mail HTML Page
Posted by g_sharad NO[at]SPAM yahoo.com at 4/13/2005 1:56:59 AM
I want to send the full html page thru this SMTP server mail. When I send it, only the URL of the page is sent, I was doing fine with CDONTs, but when I shifted to CDOSYS, i face this problem. the syntax:::: 'Send mail in HTML format emailMessage.BodyFormat = MailFormat.Html 'email...more >>

File sharing between Internet and Intranet for ASP.net application
Posted by sanjeeev_2000 NO[at]SPAM yahoo.com at 4/13/2005 1:48:02 AM
I am loooking for the bet way to share files between Internet and Intranet application in real time, means as soon as an file is uploaded to the intranet application it should show up in the internet application. Thanks,...more >>

Is JavaScript support Regual Expression ?
Posted by Charles Shao at 4/13/2005 12:00:00 AM
Is JavaScript support Regual Expression ? If so, could you give some examples? Thanks Charles Shao :-) ...more >>


DevelopmentNow Blog