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 wednesday january 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 30 31

To whom should I address complaints?
Posted by Kenneth P at 1/19/2005 11:59:02 PM
Hi, I have complaints about the appearance of things in this newsgroup. To whom and in what forum should I address that? TIA Kenneth P...more >>


Thanks for the reply Juan but...
Posted by junk NO[at]SPAM spirit.co.za at 1/19/2005 11:51:48 PM
Hi Juan, Thanks for the reply! Unfortunately your answer didn't help me. If I don't 'Import' the custom class then I can't call any of it's functions. This problem goes away if I compile the .vb file first, and import the namespace and class with an import directive! It's almost as if the ...more >>

How to Call functions written in javascript file ?
Posted by Maverick at 1/19/2005 11:45:01 PM
I want to group all the javascript functions into a file named MiscFunc.js in a asp.net project. ======================================== e.g. In MiscFunc.js function dummyFunc(var1, var2) { alert(var1 + var2); } ======================================== This javascript function wil...more >>

WebForm's Response.Write to create pop up window for printing repo
Posted by Eric at 1/19/2005 11:21:02 PM
I want to create a pop up window for printing report, but I encounter some problem. (1). If use showModalDialog, then the toolbar of the browser is missing, can i display the print toolbar for user to print the report ? (2). I finally come up with the below solution, however I have ...more >>

Simple Question: Data Binding to a Radio Button?
Posted by David at 1/19/2005 11:15:35 PM
I am new to ASP.net and need to know how to handle an issue with Data Binding to a Radio Button. When bind the datasource to the buttons, it works, but it runs over into the next control on the page, a submit button. How can I force the page to make room for a 1 to many buttons and then procee...more >>

is there any Page OnClose function ?
Posted by Maverick at 1/19/2005 11:11:03 PM
in normal Window form programming, there's something like form_unload function. but in asp.net the Page_Unload function is obviously not serving the same purpose. Do you guys know how to get the Page onclose() event in asp.net fired when i clicked another page ?? thanks...more >>

Am I stupid or VS.NET is really stuid. Vs.Net always want to change my html code
Posted by Guoqi Zheng at 1/19/2005 10:42:04 PM
I think I have this kind of problem very often, now it is really making me crazy. VS.NET always want to change my html code. Ok, that is fine as long as Vs.Net can ask my confirmaton first. For example, I have below in header part of my html page. <base href="http://localhost/more/"> When I c...more >>

HELP: SMTP SmtpMail How do I set a username and password?
Posted by T.Archer at 1/19/2005 10:23:48 PM
The host a client wants to use requires authentication to relay messages. How do I set the authentication (username/password) before using the smtpmail.send(mailmessage) method? Surely this must be a common thing to do. I have been utterly unable to google an answer. --Tony Archer ...more >>



Rendering a datagrid as many subgrids?
Posted by Kenneth P at 1/19/2005 10:21:02 PM
Hi, I have an asp.net application where I calculate things and show the result in a datagrid object. The grid needs 21 columns to show all information needed for persons to understand the whole picture. This in turn gets me into BIG trouble. To show a grid with 21 columns and at least 10...more >>

Label within repeater losing text on post back
Posted by Kevin Cunningham at 1/19/2005 10:16:56 PM
I have a repeater with some labels in it (code below). For whatever reason the text for the label is not persisted in viewstate on the postback. Is there a trick to get this to work? Is there something else I can do to get the same visual effect (not using a datagrid :) )? This is annnooy...more >>

system.web.mail.StmpMail problem
Posted by Dave Johnston at 1/19/2005 9:54:22 PM
Hey, I'm trying to get SmtpMail to work. Problem is, each time I call SmtpMail.Send(msg) it throws this exception: The specified module could not be found. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for mor...more >>

Adding a CSS link to every page
Posted by Ron James at 1/19/2005 8:07:02 PM
I would like to add a CSS link to every page on my site - "<LINK href="BLT.css" type="text/css" rel="stylesheet">". This links needs to go in the <HEAD> of my page. I was hoping that I could derive all my pages from a common base class, and that I could add this link to each page's <HEAD> ...more >>

Data Bound Text Boxes
Posted by Michael C# at 1/19/2005 8:03:17 PM
Hi all, Had an interesting question posed to me today and I thought I'd ask you all. On a form, which contains several databound text boxes (bound to a dataset), is there a simple way to "scroll" (for lack of a better word) from one record to the next? What I'm looking for is a way to add ...more >>

Expire problem
Posted by Gonçalo Boléo at 1/19/2005 7:02:16 PM
I have a page (page1.aspx) with some content. The user select the content and press a next button and is redirected to another page (page2.axpx). I wan't that page1.aspx is not redisplayed when i press the back button in my browser when i am in page2.aspx. How do i do this? thanks, Gonç...more >>

customErrors mode="off"
Posted by nicholas at 1/19/2005 6:46:22 PM
Although in my web.config I have <customErrors mode="off" /> I still get no detailed errors. How comes ? THX This is what I get: Server Error in '/mywebfolder'Application. ---------------------------------------------------------------------------- ---- Runtime Error Description: ...more >>

Access Cache from Another Thread?
Posted by Christopher at 1/19/2005 6:19:06 PM
In one of our ASP.NET Pages, we are starting a new background thread that we do not need to go and get any status on or use after the page finishes. The thread merely does some background stuff on its own and finishes on its own, no feedback back to the user (by design). Within that thread h...more >>

Class not working for linkbutton
Posted by tshad at 1/19/2005 5:42:50 PM
I have a page where I want to set my linkbutton text using a class and cannot seem to get it to work using CSSClass, but it works fine using "ForeColor". Why is that? Here is the code: ************************************************** <%@ Page Language="VB" trace="false" debug="true" Co...more >>

Serailize RCW class OR IPersistStream call to RCW class question
Posted by Chris Puncher at 1/19/2005 5:17:21 PM
Hi. I have a RCW class that was generated by the VS.NET2003 IDE when I added a COM dll reference to my project. This all works fine when I call methods on it. My initial problem is that in ASP.NET I would like to add this to the Session object whilst using SQLServer as the session storage. Unf...more >>

Upload Files From Flash MX with ASPNet
Posted by Jim Lewis at 1/19/2005 5:10:33 PM
I need to upload files to a Web server from Flash MX. Flash does not have the ability to upload files. I have an example that uses a PHP page in the back ground to upload files http://www.yamago.net/components/ I can not use PHP (nor do I want too) and need to do this with ASP.Net. I have ...more >>

FormsAuthentication.RedirectFromLoginPage when no ReturnURL
Posted by tshad at 1/19/2005 4:58:25 PM
I have a logon page that is may be called by the Forms Authentication setup. This would put a ReturnURL as part of the URL. I would normally then just issue a: FormsAuthentication.RedirectFromLoginPage(logon.txt,true) But I also am giving them an option to register which would go to a ne...more >>

DataGrid - ButtonColumn Question
Posted by 00_CumPeeWearD12 at 1/19/2005 4:57:05 PM
<asp:datagrid ......> <columns> ......... ......... <asp:ButtonColumn Text="Delete" HeaderText="Delete" ButtonType="PushButton" CommandName="Delete"></asp:ButtonColumn> ..... I am using this: e.Item.Cells[4].Controls[0] to find the control in cell [x], is there a way to ...more >>

Image.ToolTip not working
Posted by SteFetS at 1/19/2005 4:56:25 PM
Hi, I have a webapplication (asp.net) Snippet: Dim Img As New System.Web.UI.WebControls.Image Img.ID = "Image1" Img.ToolTip = "Trou" Img.ImageUrl = "http://localhost/images/0.bmp" Img.Style.Add("left", "50%") Img.Style.Add("top", "50%") Img.Style.Add("position", "absolute") Page.Contro...more >>

Stored Procedures are good or bad?
Posted by Patrick Olurotimi Ige at 1/19/2005 4:39:41 PM
Say what u feel with this interesting article at:- http://dotnetjunkies.com/WebLog/sahilmalik/archive/2004/11/24/33514.aspx *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!...more >>

hide/show feautre... How To....
Posted by Norman at 1/19/2005 4:37:38 PM
Hello All, I have developed the ASP.Net application using .Net 1.1. I want to get one section of the page under hide/show feauture. That means when the user clicks on display I want to display all the controls and data in that section. when the user cliks on hide I want to hide that section so t...more >>

Client file downloading........
Posted by RC at 1/19/2005 4:34:59 PM
Is it possible to response file from an aspx page to a particular path of client PC without any prompt dialog? Thanks ...more >>

Our server just went down...what might be causing this?
Posted by darrel at 1/19/2005 4:15:47 PM
Our site is built on .net and connects to a MS SQL database on another server. We're having a really odd problem. Our DB connection is down. So, SOME of our aspx pages load up fine, but are missing the content that we usually grab from the DB. The particular error is this: Error accessing D...more >>

VBScript error
Posted by RJT at 1/19/2005 3:39:52 PM
I'm trying to call the following page (VBScript) but I get an Internal Server Error 500 in the browser when I try to run this page (it's linked to from another page with a submit button). Can anybody tell me what I'm doing wrong? <%option explicit%> <%Response.Buffer = True%> <% ' De...more >>

Skip current page when using back button
Posted by ticars NO[at]SPAM yahoo.com at 1/19/2005 3:31:21 PM
I have a web page which all it does is redirect a user to a different page (the page to redirect to is based on a database lookup). I want to make it so that when a user tries to use the back button, they don't rehit the redirect page. Is this possible? I know Response.Redirect won't do it, I...more >>

TemplateColumn - conditional visibility?
Posted by The Colonel at 1/19/2005 3:29:06 PM
I'd like to dynamically turn off a whole column if I can. I can use Visible=False, but would like to do this in code. I tried <asp:TemplateColumn Visible='<%= IsAllowed("delete") %>' > .... .... </asp:TemplateColumn> but with no success. ...more >>

Dynamic web form creation
Posted by vatech1993 at 1/19/2005 2:50:09 PM
Does anyone know how to dynamically create webforms? I'm looking at a solution where multiple .aspx pages all point to the same code behind page and these pages can be created on the fly based upon some criteria determined by the end user. I tried reading and writing out contents from a templa...more >>

Button events
Posted by Rock at 1/19/2005 2:43:05 PM
I created a button that sets values to dictate how a page is loaded, but seems the events don't work that way. The page loads first, then the button click event fires. This seems quite backward, and of course my page doesn't load with the new information. For instance, I have a datagrid that...more >>

Scrollable area
Posted by rkbnair at 1/19/2005 2:41:07 PM
How can I display a (division or something) box with controls in it and it is scrollable both horizontally and vertically in my Webform? ...more >>

SELECT INTO Question?
Posted by Lars Netzel at 1/19/2005 2:25:53 PM
This code works: SELECT * INTO #Temp From tbl_employee SELECT * FROM #Temp Drop TABLE #temp This does not: SELECT * INTO #Temp From (Select * FROM tbl_employee WHERE EMP_ID = @id UNION Select * FROM tbl_employee2 EMP_ID = @id) SELECT * FROM #Temp Drop TABLE #temp I need to get everythi...more >>

Tell me what you think: Changing file etension from .html to .aspx
Posted by Joe at 1/19/2005 2:21:03 PM
Hi, I have a website with a mix of static (.html) and dynamic pages (.aspx) pages. I was wondering to change extension .html to .aspx , only to accommodate future needs of making static pages interactive. I read an article http://authors.aspalliance.com/aspxtreme/aspnet/webforms/authorin...more >>

is there overhead when using 6-10 usercontrols in 1 page ?
Posted by tony at 1/19/2005 1:56:27 PM
hi. if i have 1 page with html only. and other page with the same html code,but splited to 6-10 web usercontrols , is there big diffrent in the overhead when calling each page ? have a nice day. ...more >>

Sharing .css files between applications
Posted by gerry NO[at]SPAM pairofdocs-dot-net.no-spam.invalid at 1/19/2005 1:55:33 PM
I have a number of applications that run on the same sever (and my development machine). Is there an easy way to share the same style sheet between these apps? I assume that I can do a <LINK href="http://<full path/Styles.css" type="text/css" rel="stylesheet"> but then the web pages for my...more >>

2 Language Web Site Question
Posted by Miguel Dias Moura at 1/19/2005 1:53:13 PM
Hello, I am working on a web site which will be available in 2 languages. I will place a button to switch language. I suppose I will need a cookie to hold the language option. How should I structure my web site? Should I use 2 images of it? Something like have all pages in duplicate? O...more >>

Web.config - setting debug="false" - what is lost?
Posted by Jeremy S. at 1/19/2005 1:49:22 PM
By default, Web.config has the following section: <compilation defaultLanguage="c#" debug="true" /> note that debug="true" There is a comment - also in the default Web.config - that states that making debug="false" will result in faster performance but a loss of debugging/.pdb symb...more >>

threading
Posted by Grant Merwitz at 1/19/2005 1:35:24 PM
Hi I am trying to thread a large process to show the user a 'processing' gif while this thread loads what i have done, is create a submit_click method and set it to be a thread. In the start of the thread i hide the main panel on the page, and show a hidden image ('loading.gif') I then c...more >>

linking to a document from a subfolder.
Posted by news.microsoft.com at 1/19/2005 1:35:04 PM
Hello, How can i link to a document in the root folder of my asp.net app. I do not know at runtime wherein my subfolder i'm. I just want to link to a document in my root folder. Many Thanks in advance JB ...more >>

Is there a way to include files in asp.net?
Posted by SirPoonga at 1/19/2005 12:45:06 PM
Right now at the top of each of my asp.net pages I have <%@ Page Language="VB" Debug="true" %> That's fine and dandy but when it comes time for me to switch debug to true I'd rather have a central location to switch it, not go through each file. Is there a way to do that? ...more >>

q: emial validation
Posted by JIM.H. at 1/19/2005 12:19:02 PM
Hello, I need to validate e-mail, so I need to see if textbox matches *@myDomain.com, how can I do this? Thanks, Jim. ...more >>

CustomValidator and shared function
Posted by rbscheer NO[at]SPAM my-deja.com at 1/19/2005 12:05:21 PM
Hi. I created a new class where I defined some shared methods. One of these methods (called IsInvalidKey) is a generic function that I wants to use with several customvalidator controls. In my .aspx page I defined an imports for my shared class: <%@ Import namespace="Webfinder.Helper" %> ...more >>

open new window with one click
Posted by ACaunter at 1/19/2005 11:59:02 AM
Hi all, I need to set a session variable and open a new window with a single click of an asp.net button. My problem is that it always takes two clicks.. one sets the session and the other opens the window... if i write the open window code in the page load, then the window gets open on 1 cli...more >>

Type information for UserControls
Posted by Leszek Taratuta at 1/19/2005 11:39:17 AM
Hello, I have the following code: // Load the MenuBar.ascx user control. The control defines SavePropertyEvent event. UserControl ctrl = (UserControl)Page.LoadControl("~/MyApp/Controls/MenuBar.ascx"); // Get type information of the loaded user control. Type myType = ctrl.GetType(); /...more >>

VeriSign Seal not Displaying in Production
Posted by Richard at 1/19/2005 11:37:02 AM
I've read the posts here and VeriSign's KB articles, which pertain to the seal not displaying in development mode. However, the seal still won't show up on the .aspx production page, but it does work fine on our other .htm pages! Talk about frustrating. Here is the script (I put it in a tab...more >>

URLEncode
Posted by djc at 1/19/2005 11:33:07 AM
1) I just recently used my own function which simply replaces cariage return / line feed characters with <br> tags for a large detail field before showing it via an asp.net page to preserve line breaks for web display. I have since come accross this URLEncode method. Is this something that I s...more >>

Not able to access asp.net application from other machine
Posted by Bhaskar at 1/19/2005 11:27:32 AM
Hi , I have created an asp.net application in my machine. I am able to access this site with http://localhost/myaspnetsite or http://machinename/myaspnetsite URLs. When i am trying to access the same from other machine which is in the same network, i am getting page not found error.do i ...more >>

Tilde in URL causing stress to custom HttpHandler
Posted by Jared Tullis at 1/19/2005 11:20:56 AM
We have an .NET 1.1 application running on 4 2K3 load balanced servers (using WLBS). IIS has the .NET aspnet_isapi.dll mapped as a wildcard application map. The web.config points *.html to a HttpHandler of our design. This setup serves over a million page views daily with almost no hassle wh...more >>

How does navigation work in TimeTracker starter kit ?
Posted by Bazza Formez at 1/19/2005 11:14:24 AM
Hi, This is very much a newbie type question ... I have downloaded the code for the TimeTracker app which is one of the Starter Kits at www.asp.net & trying to figure out exactly how it works so that I can build something similar myself. In my new app I would like to employ the same me...more >>

DataList Pager
Posted by Fabricio Sperandio at 1/19/2005 11:10:42 AM
Hi everyone, where can I find a Pager Control for a DataList. I mean, some code example or a free Web Control. I only found examples using SQL Server, I am using Access. I some like the Pager control for ASP .NET 2.0 able to pager DataList, Repeater... with Access! Thank you, Fabrício Sp...more >>

Jeez... how do I even start ????
Posted by Mike at 1/19/2005 10:56:21 AM
So, I've been trying to do "MyFirstVBWebApp" and I am hitting numerous roadblocks. After much google'ing, here is what I have done (XP Pro SP1, IIS 5.1) 1. Uninstalled IIS 2. renamed the existing inetpub directory 3. Started the Distributed Transaction Coordinator 4. Reinstall IIS 5. regsvr...more >>

Getting inside a template column
Posted by G Dean Blake at 1/19/2005 10:40:50 AM
I'm writing a Grid Print component and I am being passed a datagrid. I have to take apart the various columns in order to print them. In the case where the grid had a template column that is a text box, I am finding that myItem.Cells(i).Controls(0).GetType.Name gets "LiteralControl". I ca...more >>

Reference Request.Querystring in HTML
Posted by MrMike at 1/19/2005 10:35:04 AM
I have a DataGrid Hyperlink column as shown here. I'm trying to pass the JobNum parameter as shown. The JobNum parameter is the webform's Request.Querystring("JobNum"). I can't find out how to format this syntax correctly, as Request.Querystring("JobNum") causes a compilation error in t...more >>

apostrophe in parameterised SP call trouble
Posted by spacehopper_man NO[at]SPAM yahoo.com at 1/19/2005 10:26:21 AM
hi - I am having "apostrophe in sql" problems ;) I am executing a stored procedure on SQL Server - and passing in a string parameter. the string has a single apostrophe in it. the call is failing with an "Incorrect syntax" message. when I profile SQL Server I see that it is being pas...more >>

apostrophe in parameterised SP call trouble
Posted by spacehopper_man NO[at]SPAM yahoo.com at 1/19/2005 10:26:06 AM
hi - I am "apostrophe in sql" problems ;) I am executing a stored procedure on SQL Server - and passing in a string parameter. the string has a single apostrophe in it. the call is failing with an "Incorrect syntax" message. when I profile SQL Server I see that it is being passed a c...more >>

file copy operation
Posted by djc at 1/19/2005 10:14:18 AM
I'm hoping someone can point me in the right direction as to what I need to read up on in order to accomplish this: (what classes, methods, etc.. and/or general guidance) I want to provide a link on our intranet site that when clicked will copy a file from a server (not the server that IIS is ...more >>

convert double to currency
Posted by ACaunter at 1/19/2005 9:55:01 AM
Hi all, I was wondering if there was a way to convert a double value to currency. sometimes the double number is: 7 or 7.7 or 7.77 or 7.776543 I needed to always get a decimal and 2 digits after the decimal for every answer. thanks -- AdamPC@hotmail.com...more >>

how to fill typed dataset with joined queries ?
Posted by Ersin Gençtürk at 1/19/2005 9:43:17 AM
hi , I have 2 tables , tUser and tUserRole and I have a query like : select * from tUser inner join tUserRole on tUserRole.UserId=tUser.UserId where tUser.UserId=1 this will return a user with associated roles. Also I have a typed dataset with two tables inside : tUser and tUserRole ...more >>

auto-refreshing a page
Posted by MattB at 1/19/2005 9:28:18 AM
I have a page I've migrated from HTML to asp.net that would auto-refresh every 30 seconds. I did this by putting the following in the <head> section: <meta name="refresh" content="30"> But now that it's an aspx page it doesn't seem to refresh anymore. Is there an asp.net equivalent to this...more >>

Session Timeout
Posted by Dave Harrington at 1/19/2005 9:24:49 AM
Hello all - I am developing a web application which uses forms authentication. I use session data remember important variables (like login name, email address, etc) throughout the site. I have a session timeout set to 20 minutes. What I want to happen is I want all of the Session data and ...more >>

Threading in ASP.NET
Posted by Adrian Bezzina at 1/19/2005 9:18:41 AM
Hi Everyone, I am having difficulty in starting a new thread in ASP.NET while processing a page request. I have an aspx page that runs a whole lot of batch reports. These batch reports could take up to 5 minutes to run, and then once complete, are emailed or archived. The problem tha...more >>

is the HTTPCONTEXT.current.user content encrypted with session state??
Posted by Kevin Yu at 1/19/2005 9:15:03 AM
hi all I use a custom windows principal to the httpcontext.current.user in a windows authenitcation asp.net app. There are other objects added to the principal. during the WindowsAuthentication_OnAuthenticate() call, the principal will be load rights for the current user alone with the r...more >>

ZoneAlarm hanging ASPX page in debug mode
Posted by VB Programmer at 1/19/2005 9:03:34 AM
Running ZoneAlarm version 5.1.033.000 because the newest version (as you all know) hangs up ASP.NET in development mode. Anyways, I'm developing a project and most pages work fine, when debugging, but when I try to open a connection to a SQL Server db (via Data Appliation Blocks) the page (...more >>

Reload page with button click
Posted by ACaunter at 1/19/2005 8:55:02 AM
Hi all, I needed to know if there is a way to reload the page with a button click... i have the javascript function: self.location.href = self.location.href but now how do i call that function in the asp.net button control?? -- AdamPC@hotmail.com...more >>

ASP.NET, source safe and promotion levels
Posted by Jon Paul Jones at 1/19/2005 8:48:35 AM
For some time now, I have been looking for a build system for ASP.NET that will merge the file based ease of deployment of classic ASP with the type saftey and prebuilt nature of ASP.NET with codebehind. The team that I work on manages several web sites and we have many different projects (not VS...more >>

Multiple File download
Posted by RJN at 1/19/2005 8:44:56 AM
Hi I need help in allowing the user to download multiple files at once. User will be displayed a grid on the browser which will list the various files available on the web server for download and a check box beside each. User will select the files that are to be downloaded. On click of star...more >>

ProcessStartInfo & CreateNoWindow not launching new window
Posted by spamproof2005 NO[at]SPAM yahoo.com at 1/19/2005 8:43:58 AM
I have the following code: Dim BrowserLauncher As New ProcessStartInfo BrowserLauncher.FileName = URL BrowserLauncher.CreateNoWindow = False BrowserLauncher.UseShellExecute = True BrowserLauncher.WindowStyle = ProcessWindowStyle.Maximized Process.Start(BrowserLauncher) Each time I ...more >>

Web site switching to Euro
Posted by Max at 1/19/2005 8:31:37 AM
My client has decided to use the Euro for the entire web site. Is there an easy way to get my ASP.NET app to format currency to Euro instead of US-dollar? Right now it's just reading the server settings, but I'd rather set this say at start up in the global.asax since other web sites running o...more >>

Fill a form field using ASP ??
Posted by MROPARTNER NO[at]SPAM comcast.net at 1/19/2005 8:26:03 AM
I have a field in a form called "Date" I am looking to fill this text field with the current date. Is there a way to do this with ASP or an easier way? Thanks Bill ...more >>

Get column name, first record name
Posted by Leszek at 1/19/2005 8:13:22 AM
Hello! Can someone help me? How to get for some records (like 0 or 1) column names? Example: I've got a table, that looks server | parameter1 | parameter2 | parameter3 ---------------------------------------------- server1 | 0 | 0 | 1 server2 | ...more >>

Time based script - webservice
Posted by P1ayboy at 1/19/2005 8:13:04 AM
Is it possible to set up a script that is run at a particular time every day? I need to automate a webservice that gets a currency exchange rate value at 7.30am every day. Many thanks Rob...more >>

Setting file permissions
Posted by Rich Rekos at 1/19/2005 8:04:46 AM
Does anyone know how to set file permissions via asp.net? I have a page that allows me to upload files, but I want to be able to set the permissions on the file after I upload it. Any ideas? Thanks, Rich *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in U...more >>

change title bar font color
Posted by ACaunter at 1/19/2005 7:49:03 AM
Hi there, I was wondering if there was a way to change the font color of the text in the title bar... by default the title bar is that dark blue faiding into light blue and it has white text... is it possible to change the color of that blue bar and also the color of the text, for all the ...more >>

Response.Redirect to TopFrame in Session_End
Posted by Youss33 at 1/19/2005 7:27:01 AM
Hello, On Seesion.TimeOut I woul like to redirect the users to the login page. I am using Frames and when I put Response.Redirect in the Session_End of the Global.asax this redirect into the main Frame but not on Top. How to get a response.redirect on TOP (target Top or something) ? Thank...more >>

Newbie Question
Posted by riversmithco NO[at]SPAM hotmail.com at 1/19/2005 6:56:22 AM
Hi I am programming in Visual Basic.Net and I am not sure exactly what effect marking fields as Shared at the class (page) level will have on my .aspx pages. It seems that those values are then persisted between postbacks, but it also seems that those values are actually static so each user ...more >>

Unable to create new users using Directory services in Windows 200
Posted by Sivaraman.S at 1/19/2005 6:23:01 AM
I am unable to create new users using directory services in Windows 2003 server. But it is possible to create users with ASP.NET applications in windows 2000. I am getting "Permission Denied" and the "General access denied error " error. Can you please some code samples or solution for...more >>

Problem: Value of a variable is lost on second postback
Posted by karfei00 NO[at]SPAM yahoo-dot-com.no-spam.invalid at 1/19/2005 5:54:40 AM
Hi everyone, I found that the value of a variable(string type for example) is lost after the aspx page postback. E.G: private void Page_Load(object sender, System.EventArgs e) { if(!IsPostBack) abc = "xyz"; } private void Command1_Click(object sender,Syst...more >>

BC30466: Namespace or type cannot be found - different approach!
Posted by junk NO[at]SPAM spirit.co.za at 1/19/2005 5:51:15 AM
Hi All, I have searched for this problem but unusually have had no luck! I have an .vb file in the code directory with the following simplified code in it: Namespace MyTest Public Class returnClass Public Shared Function returnString() As String Return "test" ...more >>

datagrid, template use question
Posted by Chris at 1/19/2005 5:51:03 AM
If I don't want to put my code in the aspx file itself, thus, putting the code in the code behind how do I use the Template Control for a datagrid? All the examples I've found show it used on the same page, i.e. <itemTemplate> <%# Container.DataItem("xzy") %> </itemTemplate> How can this ...more >>

Session timeout not working?
Posted by eric_mamet_test NO[at]SPAM yahoo.co.uk at 1/19/2005 5:26:12 AM
It seems quite simple but just won't work... My web site is a virtual folder under the default web site on a W2K server (used for devt purpose). I have set timeout="120" in sessionState in web.config (in my virtual folder) as well as 120 minutes in IIS Admin for both the default web site an...more >>

socket programming?
Posted by Mike at 1/19/2005 4:45:10 AM
I have an asp.net web page (vb.net) that talks to another pc via a port. I can connect to the pc fine. When i connect to the pc via the port, its suppose to return me a file and then save that file to the web server under the web site directory. Well the file is not being saved to the folder. ...more >>

cannot find keycodev2.dll, or invalid keycode (crystal rpts)
Posted by louise raisbeck at 1/19/2005 4:31:02 AM
Hi there. I have found various postings on this and others on the web and in order to run crystal reports on a web server (which only has the framework not vs.net) you have to run some steps, including some merge modules for crystal reports in my project for example. I have followed all the s...more >>

Different login page for each document...
Posted by SB at 1/19/2005 4:19:07 AM
Hi I'm trying to get forms-based authentication to authenticate different users for differet pages, like this: <configuration> <location path="Member" allowOverride="true"> <system.web> <authorization> <!-- allow tags must be first --> <allow users="Adm...more >>

Printing from ASP.NET code behind
Posted by Gravy at 1/19/2005 3:45:03 AM
I have a requirement that I need to print a crystal report from ASP.NET. Now, the problem I have is that the default account for ASPNET_WP.EXE is ASPNET under windows XP. I want to change this to another account that has a printer setup on. In W2k3 I know it is possible to change the process ...more >>

Privilege of Code Behide and Clients using browser
Posted by Rena at 1/19/2005 12:42:42 AM
Hi all, I want to write a file in code behide at server-side, but it shouldn't be accessible by the public. How could it be achieved ? or What setting should be done?? Could anyone share yr opinion? Thanks a lot. Rena. ...more >>

Hide .aspx
Posted by Rena at 1/19/2005 12:31:52 AM
Hi all, I would like to know if there are any way to hide the xxxx.aspx on my URL on server-side to avoid anonymous knowing i am using ASP. Net ? Thanks a lot. ...more >>

XP Pro Windows Search won't find text in .aspx or .cs files
Posted by clintonG at 1/19/2005 12:09:25 AM
I only ask this here because it so happens that Windows Search requires filters to enable it to be used to find text in file types such as .aspx, ..cs and so on and is supposed to support doing so but does not. The KB document [1] explains the missing filters were supposed to be present after ap...more >>


DevelopmentNow Blog