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 > january 2004 > threads for monday january 26

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

redirect old bookmarks to main page
Posted by Adie at 1/26/2004 11:22:20 PM
Hi, Ive recently updated our companies site and have been looking at the server logs and it appears a bunch of people are entering the site at specific pages that no longer exist. I wonder if there was a way of looking at http requests for the site and if they are not for an existing page then...more >>


Handlers and dynamic buttons
Posted by noone at 1/26/2004 11:18:24 PM
Below are the guts to a function that returns a textbox and button. A handler is added to the button. All this is done in a class separate from the code behind including the Handler. So here is the problem, unless I regenerate the buttons, when I post back the handler for the button pressed do...more >>

Open file from server
Posted by grzybek at 1/26/2004 10:37:40 PM
Hi, I upload files to ma Web Server and then I can view those files as link. I'd like to be able to open those file in proper application on client PC. I want achieve the same result as though these files were saved locally on the client disk. For example .exe files - open window ( open , ...more >>

aspnet_wp not killed in oracle connection session
Posted by foozhiqin NO[at]SPAM yahoo.com at 1/26/2004 9:52:11 PM
We are using ODP.net (version 9.2.0.4.01) as data provider for Oracle in our dotnet app. Currently we are using Microsoft.NET Framework 1.1 (VS.net IDE 2003) in our project. One thing I feel strange is that every time the ASPX application ended (closed and disposed the connection object), t...more >>

asp.net datagrid - Multiple row update
Posted by uiranejeb at 1/26/2004 9:32:34 PM
Hi everybody, I am an asp.net datagrid that have all the rows editable. An user can update any column from datagrid. I'm trying to find a way to update only the rows that were updated. How can I handle this? Is there any possibility to get data row behind datagrid row? Thank you in ad...more >>

this page contains both secure and nonsecure message
Posted by Brent Burkart at 1/26/2004 9:27:58 PM
How do I resolve this message popup. I have a simple asp.net application with nothing out of the ordinary. Any help is appreciated ...more >>

Page_Load event not fired
Posted by Alfons Puig at 1/26/2004 8:56:39 PM
Some pages (not all the pages, but I can't observe differences) opened from javascript via window.showModalDialog() doesn't fire the codebehind Page_Load event the second (and further) time it is opened from the same window. If I change the IE configuration of the temporary internet files to c...more >>

Need help with datagrid checkbox
Posted by MS Newsgroups at 1/26/2004 8:12:53 PM
Hi, I have managed to add a datagrid with checkboxes and got the CheckHasChanged event to fire when a checkbox is ticked/unticked. What I have not managed to figure out is how to determine what index in the Grid the checkbox that is checked has, so I get take a value from the grid in the post....more >>



Simple question on web.config files
Posted by Simon Harvey at 1/26/2004 7:58:45 PM
Hi chaps, Can someone tell me the following: If I declare a site wide config file and then want to overide it in a secure directory, do I need to have a complete config file, or can I just overide the settings that I want to change from the default. If I need to have a complete config fil...more >>

datagrid template columns
Posted by cgian31 NO[at]SPAM katamail.com at 1/26/2004 7:29:06 PM
So far I have used an hyperlink column in a datagrid to transfer to another aspx form, using one querystring parameter. Now I want to keep using that hyperlink, but would like to send 6 parameters through the querystring associated to the link. I see it is possible to do it with template colum...more >>

class initialisation vallidation
Posted by Adie at 1/26/2004 7:28:28 PM
Hi, wonder if anyone could give me some code advice. I'm wondering about the best way to validate if all inputs are present and correct for object creation in an ASP.NET application. Not sure how to explain this, but I really want to separate the interface from the business logic as I may e...more >>

Problem with Help
Posted by Mark Goldin at 1/26/2004 7:05:17 PM
I am looking up some function name. When I dblclick on the result od search I am prompt for CD #1. I have installed MSDN on C: into default location. What's the problem? Thanks ...more >>

upload file to server
Posted by serkan ulucan at 1/26/2004 5:55:20 PM
hi, How can a client upload a file to server, in asp .net thanks ...more >>

ImageButton does not work on Win2003.
Posted by George Ter-Saakov at 1/26/2004 5:20:48 PM
I have an application i wrote on Win2k and everything is working. When i moved it to the Host one button stopped working. I am lost. I do not know what can be wrong. Here is the url http://robertkree.com/ShippingAddress.aspx The button "Continue Checkout" does not work. It does not do anyt...more >>

a string variable
Posted by Bernie V at 1/26/2004 5:05:39 PM
Hi group, I'm trying to do this: String DatVandaag; DatVandaag=DateTime.Today.AddDays(-2).ToString("dd/MM/yyyy"); LiteralHeat.Text = "<center><H5>Wekelijkse vinyl TOP 10 ("+DatVandaag+")</center></H5><br><br>"; I get the following error: Use of unassigned local variable 'DatVandaag' Can s...more >>

word reference
Posted by selen at 1/26/2004 5:03:50 PM
Hello I add Microsoft Word 10.0 Object Library from reference com. and I am writing my code to create an instance of a Word application.My code is Word.ApplicationClass oWordApp = new Word.ApplicationClass(); But my application give me error : The type or namespace name 'ApplicationClass' does...more >>

Middle-tier equivalent to server.mappath?
Posted by Craig Buchanan at 1/26/2004 5:02:01 PM
I would like to use xml files as the datasource for a few vb.net classes that sit in the business tier. It would make sense to located this files in a subdirectory relative to the location of the DLLs. Is there a way to do this? Thanks, Craig Buchanan ...more >>

Problem with C# Class and Server.HTMLEncode
Posted by Andrea Williams at 1/26/2004 4:39:09 PM
I have a class that imports System.Web.UI.Page. The code below works: public string JScriptEncode(string strValue) { strValue = strValue.Replace(@"'", "\x27"); //' JScript encode apostrophes strValue = strValue.Replace(@"""", "\x22"); //' JScript encode double-quotes strValue = Serve...more >>

IIS HELP!
Posted by Amir at 1/26/2004 4:00:33 PM
hello since yesterday all of the sudden my IIS server is down and its not coming back up i have done every thing but seems like it wont start i tried to Stop/ Refresh/Restart IIS through AdminTool in Control Panel i tried to Stop/ Refresh/Restart in Services but local host wont just come u...more >>

RadioButtonList postback occurs everywhere but on server itself
Posted by Timo at 1/26/2004 3:49:42 PM
Our form takes action when the selected index changes on a RadioButtonList. The RBL's AutoPostBack is set to True and the postback occurs as expected on all remote machines whenever the radiobutton index changes (actually, clicking the already-selected button causes a postback too). However, on t...more >>

open new window with ASP.NET
Posted by Grey at 1/26/2004 3:33:21 PM
Is there any function in ASP.NET that I can start new a ASP.NET page = with new window, like Javascript's "window.open('URL');". I want to use = server control to do that .. Million thanks.....more >>

using classes in an ASPX page.
Posted by francois at 1/26/2004 3:30:52 PM
Hi all, I need to use an helper class in my ASP.NET page. I want to use it in the actual ASPX page and not in the code behind class. For doing so I obviously need to import the package containing that helper class in the ASPX page. For a normal C# class I can do the following : using Com.My...more >>

Span in an ASP TableRow
Posted by Coleen at 1/26/2004 3:25:54 PM
Hi all :-) I have the following code, and need it to break specifically at a point in the span, but I am unable to get it to break exactly where I want it to. <asp:TableCell CssClass="table" width="170px" wrap="true"> <span style="font-size:9pt">Jet Fuel Tax - County</span> I want it to ...more >>

Referencing web page in separate code file
Posted by Spyros Sakellariadis at 1/26/2004 3:21:05 PM
I have a standard aspx page format that I replicate in many places on my site. That page has a lengthy page_load section, that I'd love to stick in a single code file (e.g. MyFunctions.vb). I know how to do this for simple functions such where I pass in and get back string parameters etc, but the co...more >>

asp.net with word excel
Posted by selen at 1/26/2004 2:36:21 PM
I want to open Microsoft word, excel and PowerPoint with asp.net and save it. How can I do that? Thanks......... ...more >>

newbie question !
Posted by MS Public at 1/26/2004 1:56:50 PM
I'm new to ASP and I am having some difficulty with understanding how the events on a dataGrid can be used. I have a DataGrid on my webform and for example, how do I expect to get the selectedIndexChanged event? If I set this value using a button, the event does not seem to fire, what am I mis...more >>

Unable to start debugging on the web server
Posted by Coder at 1/26/2004 1:13:12 PM
Hi everyone ! I've prblems starting debugging a web project. A win project works just fine, but a web project refuses. I can attach to the the process, and that works, but when trying to start up from the IDE (Debug - Start), it only comes up with the message "Unable to start debugging on the...more >>

view state error
Posted by Michael at 1/26/2004 1:04:02 PM
Hi, Any one know the problem of the following error: Thanks, m Failed to load viewstate. The control tree into which viewstate is being loaded must match the control tree that was used to save viewstate during the previous request. For example, when adding controls dynamically, th...more >>

Retrieve tranformed xml
Posted by Fritz at 1/26/2004 12:51:04 PM
I have an XML webcontrol on my page that loads some xml and transforms it to HTML with an xsl souce. What property on the XML webcontrol can I use to retrieve the outputted HTML Your help is greatly appreciated...more >>

Using Field Value as Hyperlink Name
Posted by Wayne Wengert at 1/26/2004 12:42:14 PM
I want to use the contents of one field to be the text the user clicks on for a hyperlink in a datagrid. I am trying the following code but it does not work. What is the correct syntax for this? The field "InfoURL" contains the hyperlink and the field "City" is a string field containing the text ...more >>

CS and VB in same project
Posted by rooster575 at 1/26/2004 12:37:54 PM
Is it possible to have a .cs file that references classes created in .vb all within the same project[web app]? I would like to start using cSharp, but the rest of the project is in vb and the 2 cant seem to coexist. Thanks. ...more >>

DataList
Posted by Alberto at 1/26/2004 12:18:12 PM
I have in the html code of an aspx page a DataList control with a label inside. The label shows the value of a field of a table: <asp:Label id="lblID" runat="server"> <%# DataBinder.Eval(Container.DataItem, "ID") %> </asp: Label> It works fine but when I try to read the label's value fr...more >>

Configuration problem in ASP.net Website
Posted by Arsalan Ahmad at 1/26/2004 12:15:37 PM
Hi all, I am developing a simple one page application in ASP.NET which takes an input in a text box and print in a label. But when i uploaded it to the website i get the following error: Configuration Error Description: An error occurred during the processing of a configuration file requir...more >>

OT: Help with other ms forums please
Posted by mmm, Pie at 1/26/2004 12:14:04 PM
I sent a message to microsoft.public.access and I wanted to follow up, however, it's not downloading any headers since 1/16/04 and I can't find a web based forum for it...any ideas? Then, the other day I sent this very message to ms.public.dotnet.general and I'm getting the same problem except...more >>

Not Doing Postback
Posted by blue at 1/26/2004 11:32:22 AM
When the user clicks a button on my form, I disable the page (document.body.disabled = true;) so they can't submit the form multiple times before the postback occurs. When I do this, it doesn't post back at all. I also tried just disabling the button itself (btn.disabled = true;) and that als...more >>

Referencing controls on user controls
Posted by Jim Corey at 1/26/2004 11:31:46 AM
Hello, I have common dropdowns on several user controls, and so I'm trying to get of repetitive code. The dropdowns allow me to pick months, days, etc. I've put a dropdown on a usercontrol that I call DatePick, which shows up in the code-behind as: Protected WithEvents StartMonth As ...more >>

Designer/developer coordination problem
Posted by bbrunner at 1/26/2004 11:21:05 AM
I've read the posts on how a developer in asp.net and a designer in some other tool like dreamweaver can co-exist. I thought DotNet was supposed to facilitate this split but what I'm reading sounds really clunky to unworkable. Here's my situation. I'm (re)building a site in asp.net from classic...more >>

Passing Values
Posted by Gibs at 1/26/2004 11:06:05 AM
Hi I have two aspx pages in a frame and in the top page[top frame] i am creating the controls[TextBox etc..] dynamically and putting in a place holder. I have a hyperlink in this page[top frame] to populate the data in the bottom aspx page[bottom frame]. When the user clicks this hyperlink i ...more >>

textbox not changing
Posted by SQL at 1/26/2004 11:04:24 AM
I have four text boxes on one aspx page. Three of them are populated during page load with values from a database. The other is left blank. When updating I've noticed that although the three text boxes have been changed by the user, the original values are still being used when trying to upd...more >>

Cant add usercontrol to specific page in multipage
Posted by moid at 1/26/2004 10:47:33 AM
I am not able to add usercontrols to specific page in multipage (IE = WebControls) i want to add usercontrol dynamically so that i can set its properties = dynamically Regards Moid Iqbal...more >>

Debugger privileges for ASP.NET
Posted by Tony Nassar at 1/26/2004 10:45:27 AM
Colleagues, I'm new to Web apps, so forgive the density of this question. I believe I've followed all the pertinent instructions, but I am not allowed to debug my very first ASP.NET application. I am the sole user of this computer, and am, obviously, the administrator. I have granted \\THISMAC...more >>

Validate US Phone number with Regular Expression
Posted by orianavim NO[at]SPAM hotmail.com at 1/26/2004 10:37:13 AM
Hi, I'm looking for a good way to validate a US phone number and i though using regular expression for this. I want to support 3 different ways to enter a phone number: 1.Local Phone : 888-8899 2.With extension: (310)888-2569 3.With extension + 1 : 1(888)789-2569 Can someone tell me what ...more >>

Checking if the page IsValid in Javascript?!
Posted by Emilio at 1/26/2004 10:22:22 AM
Hi, I have a form that contains various server validation controls, the submit button will either open a popup box or a popup window on the client-side click event. The question is, how do I check if the page is valid before it gets posted back to the server so the window or box only pops up i...more >>

Problem with Response.Redirect!!
Posted by Jay at 1/26/2004 10:21:40 AM
Hello, I have urls saved in a database. When you access the secutity.aspx it accesses the grabs the url and redirects the client to his page Eg- client.apsx. Problem is that all the images in client.aspx is not showing up when I use response.redirect. But when I directly access it http:/...more >>

Internal Server Error
Posted by AlanS at 1/26/2004 9:51:04 AM
I have used Visual Studio for about 8 months. I have developed some ASP solutions. I had to get on with some other things and have not worked with ASP.NET for a couple months. In the meantime, I have upgraded to .NET Framework 200 V1.1. Over the week end I had to go back to work on a project th...more >>

The ASPX name
Posted by A.M at 1/26/2004 9:36:51 AM
Hi, Inside an .aspx code, what would be the reliable way to know what is the ..aspx page file name on IIS? Thanks, Ali ...more >>

RegisterClientScriptBlock Prblen
Posted by Rajan at 1/26/2004 9:36:06 AM
I have used RegisterClientScriptBlock to emit Client side script in my ASP.NET page. It works well. But I dont want the script to be emitted when postbacks. But it emits the script even if I dont call the RegisterClientScriptBlock how to prevent it?...more >>

RegisterClientScriptBlock problem
Posted by Rajan at 1/26/2004 9:21:09 AM
I have used RegisterClientScriptBlock in my ASP.NET page. it works well. Here I have problem. When Postback occurs, I dont want the script to be emitted. But It emits the Script even if I dont call the RegisterClientScriptBlock How to prevent this?...more >>

slow sql data adapter fil(.) when grouping
Posted by andrew_fray NO[at]SPAM hotmail.com at 1/26/2004 9:00:11 AM
All, Apologies if off topic. I'm new to .net, although an experienced programmer, and am working on the client end of a sql application. It holds every single request that goes through our internet server at work, and the application allows you to search and view this information. One of the ...more >>

Parameters
Posted by André Almeida Maldonado at 1/26/2004 8:40:15 AM
H guys, in my aspx Page, I have a link to another aspx Page. When the user clicks in this hyperlink I have to pass a datagrid to he second page. How can I do it??? Thank's ...more >>

How to call a java class, and let it do something
Posted by zhouxingchi_2000 NO[at]SPAM yahoo-dot-com.no-spam.invalid at 1/26/2004 8:31:57 AM
then return the value to the asp.net ? thank you in advance ----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==---- http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups ---= 19 East/West-Coast Specialized Servers - Total Privacy via En...more >>

Format a Date in a DataGrid
Posted by Wayne Wengert at 1/26/2004 8:18:50 AM
I want to format a date field in a DataGrid column as mm/dd/yyyy. I am using the following code: <asp:DataGrid id="DataGrid1" AutoGenerateColumns="false" EnableViewState="False" runat="server"> <columns> <asp:BoundColumn DataField="RegionalID" /> ...more >>

Word template
Posted by Ruslan Shlain at 1/26/2004 8:05:54 AM
Hello everyone. I have a question that I tried to find an answer over the weekend but did not succeeded. I have a Word template with a couple of "tags" ( <<My Tag>>) that I need to replace with data from the DB. Please point me in the right direction on how to approach this. Code samples, link...more >>

moving to 1.1 - codebehind not compiling
Posted by hooterbite NO[at]SPAM yahoo.com at 1/26/2004 5:39:50 AM
I migrated to 1.1 Changes I make to the aspx page are fine, changes to codebehind page are not reflected after I compile and view in the browser. I deleted all the files from the cache directory on the server....more >>

COM object in static field
Posted by Alexander at 1/26/2004 5:11:04 AM
Hi all I has Component inside ASP.NET page that create CO object and store reference to it in the Component's privat static field. Then I cast this reference to desired interfac and call interface method. All works fine.(No exception throwed Then I push button and the same ASP.NET page initia...more >>

Hierarchical View in DropDown
Posted by Amy Snyder at 1/26/2004 5:09:25 AM
Can anyone point me to an article/tutorial where the list items within a dropdown box are displayed in a hierarchy? For example, I have a stored proc returning me all industries. Some industries have sub-industries so I would like to show the relation in the dropdown. Thanks! *** Se...more >>

Use CSS via <LINK>
Posted by Sonija at 1/26/2004 3:31:05 AM
I found that I can use <LINK REL = "stylesheet" TYPE = "mime/type" HREF = "styles.css"> to use the CSS file of my project. But it seems it's not working. Is HREF = "styles.css" not sufficient or where is my mistake? Thanks Sonija...more >>

ItemCommand gets always triggered?
Posted by Stijn Verrept at 1/26/2004 2:33:24 AM
I have a grid with a SHOW Column taht is used to show details and a TextBox. The user can either enter a reference in the TextBox or choose one from the list. But when a user clicks in the grid to view details, goes back and then enters a number in the TextBox the ItemCommand gets triggered. ...more >>

Location of a Data Source in an ASP.Net architecture.
Posted by Drew Yallop at 1/26/2004 2:30:22 AM
This is so simple that I cannot find any documentation on it. Where does/should the datasource be locatedin an ASP application - Web Server, Client computers? I am working with MS Access and want to put reports up on our Web, using ASP net as the intermediary. Have no local server/client archite...more >>

permission denied on an asp that's sending mail
Posted by festivalman at 1/26/2004 1:01:06 AM
Hi, sorry if this is in the wrong spot. Finding the newsgroups on MS's site could have been easier Here's my problem I've got some old asp's that are running our simple web site. In a section, there's a contact for that collects a few lines of info, and when you hit submit, it takes that and sen...more >>


DevelopmentNow Blog