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 5

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

Modal Windows Server side processing
Posted by CaptainZ at 4/5/2004 11:51:03 PM
When I open a modal window using 'showModalDialog' from an aspx page it works fine. But when I then perform a submit in my modal window to get data from the server, instead of the page returning to the modal window with the new data the server creates a new, non-modal, window - leaving the modal win...more >>


Call VB Script's function
Posted by Max at 4/5/2004 11:51:02 PM
Please, could anyone tell me, how can I call directly the function in vb script after I registered it with RegisterClientScriptBlock? thanks Ma ...more >>

AD user flags
Posted by Jan Nielsen at 4/5/2004 9:58:58 PM
In an aspx web page, I'm trying to read out some attributes regarding password settings like UF_PASSWD_NOTREQD, UF_PASSWD_CANT_CHANGE, UF_DONT_EXPIRE_PASSWD and UF_PASSWORD_EXPIRED. According to the documentation userAccountControl seems to be an integer containing these. However only the bit ...more >>

Followup: Newbee Question
Posted by mbs at 4/5/2004 8:36:38 PM
Thank you everyone for your help. I now know what is required on the server end for asp.net to work. Now how about the cleint end? Will any browser on any operating system work? Please say yes. Is the net framework required on the client end? Please say no. ...more >>

cookieless=false question
Posted by Shaul Feldman at 4/5/2004 7:55:01 PM
Hello, why others can't access my web site when cookieless is set to false? Thanks (I've posted a same question, more or less before, but there where no answeres). -- With the best wishes, Shaul Feldman ...more >>

download a txt file
Posted by DaveF at 4/5/2004 7:48:57 PM
Is it possible to download a txt file with a onclick of a button? -- David Fetrow Helixpoint LLC. davef@helixpoint.com ...more >>

How to know which LinkButton clicked?
Posted by George at 4/5/2004 7:46:02 PM
On a webform, I am dynamically creating a bunch of LinkButton's. The number of LinkButton's being created will depend on the data that's coming back When a Linkbutton is clicked, and it doesn't have an onclick event defined, the page still goes through postback. But how do I know what caused the p...more >>

executionTimeout
Posted by Alphonse Giambrone at 4/5/2004 7:42:42 PM
Can executionTimeout be set at run time? I need to increase it, to allow file uploads, but would prefer to only do it when the upload page is requested. TIA -- Alphonse Giambrone Email: a-giam at customdatasolutions dot us ...more >>



Timer thread stops running
Posted by todd NO[at]SPAM redbackdvd.com.au at 4/5/2004 7:42:28 PM
I have an ASP.NET application and I would like to have some code run on the server automatically once a day at a specified time. I create a timer thread to call a simple callback in the Application_Start method. It seems to call the callback once or twice while the application starts up but ap...more >>

Forcing parent page postback
Posted by Ashish at 4/5/2004 5:20:51 PM
Hello All, This is a bit wierd. I have a main page in my webapp that has toolbar to carry out some common operations. Also this main page has an iframe that hosts a page that serves as an introductory page for carrying out common actions. When a user clicks on the links in the intro page, I want...more >>

Clients cannot get to my Site - Help!
Posted by newgenre at 4/5/2004 5:18:24 PM
I set up a simple page with vs.net. It's kust an html page and I'm trying to get people to the site through the internet. My server is Windows XP and I use IIS as the server. The problem is that I can get to it through internet and intranet just fine but everyone else cannot. I have been through ...more >>

Auto-Comilation of .CS classes???
Posted by Alex Maghen at 4/5/2004 5:06:02 PM
I love that I can create ASPX and ASCX files with CS code embedded or in code-behind files and ASP.NET will auto-compile it all for me. I *like* it that way Is there ANY way to have classes defined in .cs files somewhere and have them accessed by my ASPX, ASCX, and Code-Behind files WITHOUT having...more >>

Sessions how they are used.
Posted by rboyle NO[at]SPAM liquidhub-dot-com.no-spam.invalid at 4/5/2004 4:58:57 PM
Quick question on sessions. I have a login page that is authenticating users against a SQL Database (within a table that contains a username and a password...along with other information about the user). I want to be able to track who is logged into the site (becasue there are certain pa...more >>

Show Upload Progress
Posted by Jeff S at 4/5/2004 4:48:17 PM
I'm enabling users to upload files to the server. I'd like to show them some indication of percent complete. How can this be done? Thanks! ...more >>

ViewSate attribute?
Posted by Ken Varn at 4/5/2004 4:33:29 PM
I would like to save the contents of a class using ViewState, but some fields do not need to be saved across the session boundary. Is there anyway to mark only certain fields with attributes to save in ViewState and others to not save? I know that this is available for remoting, and I was hopin...more >>

Can't use getType() in 2nd param of ctype function?
Posted by TS at 4/5/2004 4:31:38 PM
Is there a way to convert a variable from 1 type to another type that you determine at runtime? I'm trying to pull a value from a ListDictionary's key. The datatype of that key must be identical to pull that value. I have a property to pull this value based on the key supplied, but I am using an ...more >>

2 Newbie questions...
Posted by Richard at 4/5/2004 4:21:06 PM
I'm new to ASP programming but have been a C++ developer for years. Anyway as I'm just getting started I have some very basic questions 1) How do I make a "default" web page that is displayed when users navigate to my website without naming the page in the URL 2) What is the syntax to use an Ac...more >>

cache dependency object
Posted by wh at 4/5/2004 4:20:36 PM
I'm not sure what I am trying to do is correct but within a global object I'd like to store an object with a dependency on a specified directory. I am aware that I am able to add a reference to a (global) object to the applications cache by using the Cache proeprty of the current Page object. ...more >>

How do I wire up a button in a datalist template?
Posted by moondaddy at 4/5/2004 4:01:35 PM
using vb.net 1.1 I have a datalist and in it's item template I have 2 buttons, 'edit' and 'ShipToThisAddress'. The edit button works fine and it opens up the edit template as it works with the edit command. But the how do I wire ShipToThisAddress button? Its going to submit the address ID to ...more >>

Drop Down List and AutoPostBack. Really urgent. Thank You Very Much
Posted by Miguel Dias Moura at 4/5/2004 3:56:31 PM
Hello, I have a Drop Down List with 3 options. I want to redirect to a new page when an options is selected. I don't want to use a button. The redirection should be fired when the option is selected. I have an ASP.net / VB page with a Drop Down List named "my select" as follows: <asp:Dro...more >>

Want screen capture of server desktop
Posted by TerryWilson NO[at]SPAM tech.com at 4/5/2004 3:36:03 PM
I am developing a web based service tool using asp.net that we will distribute with our product. This service tool will be used for remotely configuring the product, problem determination, etc. One thing that I would like to be able to do is display a screen capture of our product running. I ...more >>

Use of LEN()
Posted by Steven K at 4/5/2004 3:25:13 PM
Hello, I have the following function that I am migrating from ASP, but I am getting the following error: Name 'Len' is not declared. Any help with this would be appreciated. Public Function vba_Null_Value(varNullTest As String) As String If Len(varNullTest) = 0 Then Return NULL E...more >>

Programmatically upload file from client machine
Posted by bwei NO[at]SPAM axonetinc.com at 4/5/2004 3:12:00 PM
I am stuck with this problem and desperately need your help. I would like to upload an xml file or any file from client machine and then save it to the server machine. Since the file path on the client machine is predefined within the program, I am using the HTMLInputFile control, postedfile,...more >>

Smart Client Vs Other Techniques
Posted by Srimar at 4/5/2004 3:06:02 PM
Hello, I am trying port a Client/Server application to .Net. This was an offline application and syncs up every day. We have about 300 users that are using Win 98/2000. Original thinking was to use ASP.NET and publish it to the web (The users are getting broadband). Here is the problem we are faci...more >>

Application domain unloads
Posted by Pelle at 4/5/2004 2:53:14 PM
Hi=20 I get an System.AppDomainUnloadedException: Automation error error when the webserver has been running for a while. I'm running on windows 2000 Microsoft .NET Framework = Version:1.1.4322.573; ASP.NET Version:1.1.4322.573. I've changed in machine config <processmodel>, it will not...more >>

Downloading and playing video with out asking where to download
Posted by serkan ulucan at 4/5/2004 2:37:18 PM
Hi, I want to add a video link on web form. Up on clicking this link what I want is that first downloading video automatically without asking where to download, then play the downloaded video. I dont want any user interaction except clicking the link. Also I dont want http steaming. Only downlo...more >>

I see markup instead of the aspx page
Posted by Larry at 4/5/2004 2:26:03 PM
I have a Win2000 server box with .NET 1.1 installed. I have an aspx app that has been confirmed to run. When I open the aspx page, I see the source of the aspx page, not the results of the page being "run" by iis/.net. I'm sure there is something missing....please give me a clue...(like an ISAPI ...more >>

populate textbox
Posted by sqlprob NO[at]SPAM yahoo.fr at 4/5/2004 2:12:31 PM
how can we populate a textbox using information from database, using asp.net and c#...more >>

Wierd error - urgent!!!
Posted by David Li at 4/5/2004 2:10:02 PM
Hi guys, Suddenly I got the following error message for all of my web = applications. It's gone if I restart the IIS service, but it comes back = if I recompile any of the web applications. Really appreciate it if = anybody has some ideas about this. Thanks in advance!!! David Server Err...more >>

Registering DLL on server
Posted by anon at 4/5/2004 2:00:32 PM
Hi, How do i register a DLL(like OWC) on the server...will just running regsvr32 work....any syntax issues...?? Thanks. *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!...more >>

Editable datagrids and dropdown lists
Posted by Philip Townsend at 4/5/2004 1:11:51 PM
I have a datagrid that contains a dropdown list that is part of an EditItemTemplate. I need to run some code when the dropdown list builds in order to preselect an item in the list. Preselecting the item is not the problem. The problem is that the dropdown object is not instantiated at the point...more >>

Windows 2003 server and ASP.NET
Posted by rbscheer NO[at]SPAM my-deja.com at 4/5/2004 1:06:03 PM
Hi. When installing a windows 2003 server, the option to install IIS 6.0 also shows an item called ASP.NET. What is the purpose of this option? I heard that windows 2003 already has the .NET Framework inside it. Can I install VS.NET 2003 without problems on a windows 2003 server machine, or...more >>

How can I get import an excel file into sql via asp.net page
Posted by Jake at 4/5/2004 1:00:09 PM
Hello, I was wondering if someone had a example of how to import an excel file into a sql database via asp.net? Thanks in advance. Jake ...more >>

ValidationSummary - error message in reponse to exception
Posted by mg at 4/5/2004 12:56:03 PM
Is there a way to include in a ValidationSummary an error message that says that an exception was thrown or that an if/else test went to 'else' ? ...more >>

Newbee question
Posted by Who at 4/5/2004 12:51:42 PM
What is required on the server to publish asp.net and webform apps. on the www? I am assuming IIS, frontpage extensions (not sure about which version). What about database usage. Say I want to use Access 2000 in my webform app. Hope this question makes sense. MBS ...more >>

easy to look at and easy to maintain web page menuing system.
Posted by Hazzard at 4/5/2004 12:07:34 PM
What good ideas are out there now for a menu system, whether along the top of the page or the left side, which is event driven. ( I can do html frames but I am not looking for that. I would like not to use javascript, but would do so if the case can be made for it. Obviously that is still the ...more >>

LiteralControl thread safety.
Posted by George Ter-Saakov at 4/5/2004 12:05:06 PM
Hi. I have template solution. The Base page creates the main skeleton for the page. For that it adds bunch of LiteralControls in run time. I am thinking of creating those controls only once(during initialization) and then just add them to control collection. I realize that every instan...more >>

Inherited Page Won't Fire Postback Events
Posted by James Hancock at 4/5/2004 11:52:37 AM
I have a page, which is inherited from another page (PageEx is what I call it) All of our pages are based on PageEx because there is a bunch of logic stuff we do in there. My problem is, that if I have a page that is inherited from PageEx, the post back events don't get called on the page. ...more >>

Can I retrieve a cookie from another site from the user's machine?
Posted by Jim at 4/5/2004 11:27:20 AM
Hi, I'm working on an intranet site for a large client who has a search routine that runs on another intranet site on a different server. This search routine saves its searches in cookies for re-use. My client would like to display those saved searches on their own page. Is there any way th...more >>

Tab Folder control?
Posted by Mervin Williams at 4/5/2004 11:18:18 AM
Does ASP.NET provide its own web tab folder control? ...more >>

allow a user to signoff
Posted by sklett at 4/5/2004 11:10:09 AM
I need to allow a user to sign off from the admin section of my site. I am using forms based authentication again a DB. I have read several articles today... none mention how to do this. I guess I could force an expiration of the cookie, but there must be a cleaner way. Anyone know one? T...more >>

VS 2003 Cannot Create Web Applications
Posted by Paul J. Lay at 4/5/2004 11:06:06 AM
My VS 2003 installation was working perfectly for months until I installed a Rational Java Development System on my machine. I did this to look at the modeling support only. However, after successfully installing the Rational System, I immediately noticed that I was unable to create any web ser...more >>

left open sql connection-original post 4/2
Posted by Paul at 4/5/2004 11:06:02 AM
Hi I posted this as new since was not sure older posts are responded to. Anyhow the problem is a connection being left open, and has only happended a few times. This is code that someone else developed and I have modified. I did add a section of code that uses a data connection, data adapter, an...more >>

ASPNET-Account on a W2KServer Domain Controller
Posted by Michael Maes at 4/5/2004 11:03:51 AM
Hello, I can't get the ASPNET-Account installed on a Windows 2000 (5.00.2195) = Server SP4 Domain Controller. I always receive "Web Server not running ASP.NET version 1.1" when I try = to start a APS.NET WebApplication. "I tried aspnet_regiis.exe -i", I tried to re-install fw v1.1, but the ...more >>

JIT assemblies
Posted by Brian H at 4/5/2004 10:56:38 AM
Hi everyone, I'm trying to convert an ASP.NET app that is currently compiled into a JITed application. Here's the dilema. I can't figure out how to reference a class or control (that is also JIT) from another JIT class or control. Let's say I've got a simple class (testclass.cs) ... this ...more >>

windows server 2003 deployment
Posted by EricJ at 4/5/2004 10:40:10 AM
Hi all, I'm having problems deploying my asp.NET site to a windows server 2003. Deploying on a 2000 server or an xp pro never gave me any problems but now im stuck. I used a web setup to deploy the application, installed fine, all the web service extensions are allowed, i gave the applicati...more >>

cookieless=true option and the ways to transfer session id
Posted by R.A. at 4/5/2004 9:38:53 AM
Hi, Is there a way to have asp.net transfer the session id in the url as a paramenter and not as part of the web address? something like the following: https://www.anseladams.com/billinfo.aspx?UserID=222119&SessionID=9qj7wx62Io2zUNBJXQnV&SID=1&SGID=1 I don't want the force cookies on the web s...more >>

Windows XP Style in HTA
Posted by Martin Feuersteiner at 4/5/2004 9:14:19 AM
Dear Group I noticed that the Win XP look & feel (button styles etc) gets lost when running a page as .hta instead of .htm. Is there any way to run it as .hta and keep the style? Why is it? Thanks for your time & efforts! Martin ...more >>

Permissions needed to run aspnet_regiis.exe -c
Posted by Eric Caron at 4/5/2004 9:08:02 AM
Hi, I'm trying to install the client side scripts on a server, but I always get the following error: An error has occurred (0x80070005). You must have administrative rights on this machine in order to run this tool. I am logged on as a domain admin on the server. Anyone know the specifi...more >>

Howto get the current file path with SSI
Posted by Eranga Udesh at 4/5/2004 9:06:27 AM
Hi All, In my ASP file, located at the "/test" directory of the website, I include another ASP file as below. <!--#include file="../templates/_header.asp"--> Inside the _header.asp file, how can I get the current file (_header.asp) directory? I need to get the web relative/absolute direct...more >>

Client Side processing of downloaded application/octet-stream files
Posted by Paul J. Lay at 4/5/2004 8:57:51 AM
BlankThere are a number of good examples illustrating how an http client = can send http mulipart/form-data files to a server using the = dotnet.framework.aspnet support. I haven't been able to find a good = example of client side processing of multiple downloaded files. I = believe the content...more >>

ASP.Net messes with my form's action attributes!
Posted by Martin at 4/5/2004 8:51:03 AM
I have a form tag in my page (Metadata.aspx) as belo <form id="Form1" method="post" runat="server" action="Metadata.aspx" My problem is that when this page is accessed from other pages which pass parameters in the query string to Metadata.aspx these are then reflected in the form's action attr...more >>

Error decoded 8 bit characters.
Posted by tconti NO[at]SPAM hotmail.com at 4/5/2004 8:39:11 AM
Hello: We ran into an issue with the decoding 8 bit characters. We have an asp page that makes a call to an ashx page. When the HTTPHandler accesses the query string we find that the 8 bit characters are stripped. The source asp page is encoding using ISO-Western European (windows-1252) si...more >>

deploy asp.net app
Posted by Mike at 4/5/2004 8:12:49 AM
I've been working on my asp.net application on my own box during development, now its time to move it to a test server, is there an actuall process? what files need to be migrated to the web server?, etc. any help would be helpful thx ...more >>

Handling Backs etc.
Posted by David Crone at 4/5/2004 8:11:04 AM
H I was wondering if anyone knew what the recommended way is to handle Back clicks, as well as Refresh clicks by users for advanced ASP.NET sites I have a site that has a set of information that can be edited on one page, but when a certain action is taken, the user mustn't be able to go back and...more >>

Dropdown List in a DataGrid
Posted by Philip Townsend at 4/5/2004 8:04:17 AM
I have a datagrid control in an .aspx page which gets its values from a Sql Server table. I need to add a dropdown list control to the edit column. The dropdown list needs to contain a list of available choices from another table, but the selected choice needs to be whatever is the current refer...more >>

Database Connection in CodeBehind???
Posted by Kris Rockwell at 4/5/2004 7:30:04 AM
Hello, Is it possible to hide the database connection information using the CodeBehind capabilities of ASPX? If not, what would be considered the best practice to do so (i.e., would creating a .NET class or module and referencing it in the code work? If so, what is the proper way to do this?)?...more >>

File Download Problems
Posted by Martin Lee at 4/5/2004 7:26:08 AM
I am trying to download a file created on the fly from a string using Response.Write(), but cannot get around the problem of having to use Response.End() to prevent the HTML for the page being added to the end of the file Once the Download dialog has been invoked, I want to immediately Redirect to...more >>

Form posting despite validation errors
Posted by Sam Jackson at 4/5/2004 6:21:07 AM
On my dev machine it works as expected: if validation fails, message displays (in val message control) and button click is cancelled In production; the button click is not cancelled when validation fails. The validation message displays as well as the resulting database error (which I display in a...more >>

Export to Excel Error
Posted by anon at 4/5/2004 6:09:09 AM
Hello , I have a web application in which the pages have an "export to Excel" facility....while this works fine on the development machine, when the files are transferred to the server, the export to excel gives a Runtime Error in the application, is there any configuration necessary on the ...more >>

Timer doesnt work
Posted by vickeybird NO[at]SPAM yahoo.com at 4/5/2004 5:27:36 AM
Hi, Im trying to make a page which refreshes by itself.For that i have added a timer with following properties: Autoreset = true Enabled = true interval = 30000 Name = timer1 on timer1_elapsed i have added the following code: Private Sub Timer1_Elapsed(ByVal sender As System.Object, ByVa...more >>

Store text in a database
Posted by carlos.cruz NO[at]SPAM algeco.pt at 4/5/2004 5:00:09 AM
Hi, Suposing that I want to store a text where I've words in BOLD, and an hyperlink in the middle of the sentence. How can I store this information and have it published just as it is on an aspx page?? Thanks in advance, CC...more >>

simulate button click in C#
Posted by Max at 4/5/2004 4:51:04 AM
Hi Is it possible to somehow simulate button click in C# Thanks...more >>

Loading in HTML onto a page
Posted by Bob at 4/5/2004 2:31:03 AM
I have a requirement to display multi formated Text within a Cell of a table We currently use a label but the <span> command introduced automatically into the HTML at run time results in an invalid html page e <TD vAlign="top" width="450" height="200"><asp:label id="lblContent" runat="server" W...more >>


DevelopmentNow Blog