Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008
all groups > asp.net > february 2005 > threads for tuesday february 8

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

Changes to web project post deployment
Posted by Aayush Puri at 2/8/2005 10:11:05 PM
Hi, I had created an ASP.NET web application and then created an MSI for it and sent it to one of my friends. The web app installed successfully and worked fine on my friend's server. But now I need to do some bug fixes and also add some other ASPX pages to the web project. I wanted to...more >>


Passing a variable to another page
Posted by Ricardo at 2/8/2005 9:38:48 PM
How can I navigate to another page via a button, and pass a variable to this next page... How can I do this via that method that I see in other sites that the url goes like this: http://www.google.com.br/search?hl=pt-BR []s... ...more >>

Page_Error not working !?
Posted by Alex Nitulescu at 2/8/2005 9:31:33 PM
Hi. I read about Page_Error and Application_Error. However, I provoke an error in a page but still Page_Error won't run. This is all the code I have left in my page: --------------------------------------------------------------------------------- Private Sub Page_Load(ByVal sender As Sys...more >>

Getting user input to go to Access Database
Posted by JT at 2/8/2005 8:28:26 PM
I have a web page with 5 text boxes. I have an access database with 5 fields that correspond to the text boxes. I need to put the information that the user inputs to the text boxes in my database. I have created the DataConnection, DataAdapter, and generated the dataset. I have also went...more >>

Logoff and terminate an ASP.NET session?
Posted by TR at 2/8/2005 7:50:22 PM
What is the best practice for implementing a Logoff feature so that the user's session is terminated and session state memory is released? Thanks TR ...more >>

DLL check in Bin folder
Posted by John at 2/8/2005 7:04:22 PM
Hi all, How do I programmatically check for the existence of a DLL in the BIN folder prior to using it? I don't want to hard-code the path (i.e. "C:\InetPub\wwwroot\mysite\bin\MyDLL.dll"). I was simply thinking about programmatically attempting to create an instance of the DLL and han...more >>

Multiple Browser support issues
Posted by Steve Mauldin at 2/8/2005 5:38:50 PM
I have recently converted an ASP website to ASP.NET and I am receiving a lot of complaints about the site no longer working for people running Netscape, FireFox, or even IE on a Mac. The issues run the gamut from Issues with DIV, StyleSheets, Colors not being displayed properly, Etc.. Is there...more >>

Control 'X' of type 'RadioButton' must be placed inside a form tag with runat=server.
Posted by Tom wilson at 2/8/2005 4:53:04 PM
I'm trying to create dynamic controls in ASP.Net. It's driving me nuts. I keep getting the error: Control '16' of type 'RadioButton' must be placed inside a form tag with runat=server. Dim Place1 As New PlaceHolder Controls.Add(Place1) For y = 1 To Choices.RecordCount Choices.Move...more >>



Fax from ASP.Net?
Posted by David Lozzi at 2/8/2005 4:43:40 PM
Wondering how possible it would be to send a fax from a ASP.Net = application using a Small Business Server 2003 fax service. I realize = there are 3rd parth apps available, hoping not to make more purchases. Thanks, --=20 David Lozzi Web Applications/Network Specialist Delphi Technology ...more >>

About Shared properties in ASP.NET
Posted by Henri at 2/8/2005 4:39:48 PM
Hi, I'm using a custom class in my ASP.NET which has a Shared property. I don't want this Shared property to be shared between users because of thread concurrent accesses problems. I just want it to be shared between the several instances of the class belonging to the same request/user. I thin...more >>

Microsoft, are you loosing it? config.web
Posted by robrod1970 at 2/8/2005 4:29:08 PM
:) -- robrod1970 ------------------------------------------------------------------------ Posted via http://www.codecomments.com ------------------------------------------------------------------------ ...more >>

What files to put in iis folder
Posted by Ricardo at 2/8/2005 4:08:15 PM
I have made an asp.net site in c#, but dont know what files i need to copy to the iis folder(on another server)... Can someone helpme??? ...more >>

Microsoft, are you loosing it? config.web
Posted by robrod1970 at 2/8/2005 3:58:28 PM
Check out this link: http://tinyurl.com/5nele It should read "Web.config" but someone at Microsoft managed to type it as "Config.web" in the entire article. :) -- robrod1970 ------------------------------------------------------------------------ Posted via http://www.codecomments.com ----...more >>

system.diagnostic.process Error Output
Posted by Paul Bergson at 2/8/2005 3:27:06 PM
I have been trying to get a process to start up and run with arguments passed to it. I have gotten close (Thanks to help from this board) but I there is a failure while I'm running this because the c:\bin\xcacls starts nothing happens. How can I see output from the console i was trying to get...more >>

Need syntax help formatting a dateTime from a databinder.eval
Posted by darrel at 2/8/2005 3:23:53 PM
I'm binding fileinformation to a repeater and attempting to display the 'lastWriteTime' property as a formatted date. This: <%# DataBinder.Eval(Container.DataItem, "LastWriteTime" %> Gives me the full date/time. This: <%# DataBinder.Eval(Container.DataItem, "{MM/DD/YYYY}" %> Gives...more >>

Upload in an Usercontrol
Posted by Fernando Lopes at 2/8/2005 3:18:22 PM
Hello. I want to create a usercontrol for upload imagens. So, I will put this usercontrol in a lot of pages in my application. Probably will not work, because some form will not set with enctype/multipart attribute. How can I fix it? Someone have any sample of usercontrol and upload? Than...more >>

control1 = control2
Posted by zebidy at 2/8/2005 3:11:05 PM
I am missing something realy basic here. If I create a control programmaticly and then assign it to a control that has already been placed on the page at designe time it does not appear to render correctly. example: I have created a page in the designer with two controls a label control...more >>

Problem with Crystal Reports
Posted by schapopa at 2/8/2005 3:07:49 PM
I have problem with Crystal Reports. When I Am trying to create PDF file I get an error that I copied below. The same application is installed on two other machines and everything works fine. Error apears on line 62. Error in File C:\DOCUME~1\DS-7TY~1\ASPNET\USTAWI~1\Temp\temp_cc3ddba7-65df-4...more >>

Ampersand problem
Posted by Rodusa at 2/8/2005 2:38:43 PM
I am having problems to use Response.Redirect(URL) with this URL below. The problem happens only with 1319& string URL = "default.aspx?contactid=C6UJ9A000R9D&uidcustomquote=1319&quoteuserid=ADMIN&slxuserid=ADMIN"; I try to response.write(URL) and I get this as a result default.aspx?contac...more >>

Using ASP.net to replace index services?
Posted by darrel at 2/8/2005 2:20:07 PM
I'm looking at ASP.net ability to read files and file properties: http://www.4guysfromrolla.com/webtech/chapters/ASPNET2/ch02.2.shtml I was wondering if it is at all possible to read some of the properties of MS Office documents...such as TITLE, or, even better, any custom properties that wo...more >>

Q: reading data grid
Posted by JIM.H. at 2/8/2005 2:13:04 PM
Hello, I have a DataGrid1 object in my asp.net web application, it has 5 columns and it shows data retrieved from a table. That part is ok, I see all the data. I am quite new and I succeeded that much. Now I want to take 1st and 3rd column from the grind and append it into another table in my...more >>

Identify Computer
Posted by cliffeh at 2/8/2005 2:02:21 PM
I have an Intranet application that I'm deploying to our Shop Floor. What I would like is to have a front page that receives the request, identifies the computer that it's coming from, and then redirects that PC to the appropriate page on the site (depending on what production line it's on, ...more >>

Proper namespacing
Posted by KC at 2/8/2005 2:02:08 PM
I have read the MS docs on namespacing but I am still a little unclear. Should I use: Acme.Web.OrderFullfillment Acme.OrderFullfillment.Data OR Acme.OrderFullfillment.Web Acme.OrderFullfillment.Data The latter seems right but are dependencies across sibling namespace okay?? KC ...more >>

Capture server event when a user clicks a <TD>?
Posted by Dave at 2/8/2005 1:53:09 PM
If I want to have the form submit when a user clicks on table cell as follows on a menu something like.. <td style="cursor:hand;" onmouseover="this.style.backgroundColor='white'" onmouseout="this.style.backgroundColor='blue'" id="ProductList" onclick="__doPostBack('ProductList', '')">View...more >>

Lookup like function
Posted by Andy G at 2/8/2005 1:49:51 PM
I have a page that is used for the user to edit their information on file. I need to lookup all of their info using their ID. Do I use a lookup function on each text box/drop down list or should I run a stored procedure. Is there just a functiont that I can lookup a specific piece of information...more >>

runtime error
Posted by becky taylor at 2/8/2005 1:27:46 PM
hi i need to find a way to log on to messenger although the error message means i cannot access it. please can someone help me because i don't understand the directions given on the page. how do i sort the error out? please help? this is what i get: Server Error in '/' Application. Ru...more >>

asp.net webapplications without using virtual directories
Posted by Jason Moore at 2/8/2005 1:23:28 PM
Is there a way to do this? Everytime I try to make an asp.net web application without using a virtual directory, I cannot name the project, it is named localhost and when using the designer to select a path, I am forced to use absolute paths (the root relative option is not available). Is ther...more >>

create asp.net forum using xml?
Posted by bmongtangco NO[at]SPAM yahoo-dot-com.no-spam.invalid at 2/8/2005 1:14:04 PM
hi, are there anyone on this planet that can teach me how to make a running forum (complete with logs and registry) using only XML??? is that even possible? i sure hope it is.... thanks! *---------------------------------* Posted at: http://www.GroupSrv.com *----------------------------...more >>

Outputing a .pdf stream to current window
Posted by Dan Kimhi at 2/8/2005 12:31:30 PM
I'm using the following lines to output a Crystal Report object to a webForm: Dim s As System.IO.MemoryStream = cr.ExportToStream(CrystalDecisions.Shared].ExportFormatType.PortableDocFormat) With Response .Buffer = True .ClearContent() .ClearHeaders() .Conte...more >>

ASP.NET Dropdownlist BUG???
Posted by Jason Dean at 2/8/2005 12:17:22 PM
Hello, I'm using an ASP.NET dropdown list on my company's "Contact Us" page to direct certain subjects of emails to different email addresses. The user selects the subject from a dropdown list, then their email is routed to the proper person. My code is like this: <option value="">Sele...more >>

object oriented design
Posted by scottrm at 2/8/2005 11:47:02 AM
I am fairly new to oo design and I am looking at developing an object oriented asp.net application which will be built on top of a relational database. I have read quite a bit of the theory but find it hard to put it into practice. In particular I am confused in terms of interacting with the ...more >>

is there a way to understand if a page is navigated by pressing back ?
Posted by Ersin Gençtürk at 2/8/2005 11:29:05 AM
I show errors as popup boxes via alert() but I write this scripts in header of html page.So if there is an error on the server side , in the next postback a popup shows the error via alert , this works fine.But when user presses the back button then the former error messages appear ,because pages...more >>

Image buttons are not getting displayed...
Posted by Akshay Sen at 2/8/2005 11:28:18 AM
..Net Frmaework 1.1, IE5.5+, IE settings ->Check for never versions of stored pages for "Every visit to the page" Question: I have used web control Image button. Sometimes the button (I mean Image) is not getting displayed on the page. Any suggestions? Thanks, Akshay ...more >>

asp.net httphandler won't invoke
Posted by qwerty at 2/8/2005 11:18:50 AM
Hi, I am using a third party win 2003 iis 6.0 to serve my website. The web site has a httphandler which does some custom jobs. When I try to invoke the httphandler from some url call, it won't start and give a 404 error on the url. I personally create a plain win 2003 iis 6.0 server loc...more >>

Error message when trying to create new directory
Posted by יוני גולדברג at 2/8/2005 11:15:11 AM
Hi, While trying to create new directory i recieve the following error message: "System.IO.DirectoryNotFoundException: Could not find a part of the path "\\premfs16\sites". The path exists, even when i check the path with the code: Directory.Exists(...) the result is true. Here is the cod...more >>

Dataset with Schema -> XML File
Posted by Sindarian at 2/8/2005 10:55:07 AM
This just seems like the most basic thing, but I can't find a simple description of this process anywhere and in here, everone is talking about going the other way :( I had .NET create an XML Schema file (xsd) for a table in my database. I then create a DataSet that contains 1 row of data from...more >>

Simple Forms Authentication Question
Posted by john_20_28_2000 NO[at]SPAM yahoo.com at 2/8/2005 10:49:00 AM
In this web.config: <authentication mode="Forms" > <forms name=".COOKIEDEMO" loginUrl="login.aspx" protection="All" timeout="30" path="/"/> </authentication> <authorization> <allow users="?" /> </authorizatio...more >>

Multiple web applications
Posted by Sammy at 2/8/2005 10:36:00 AM
I have a Windows 2003 Server with two websites. One hosts a web service and the other a web application. When my team checks out solutions to work with, a problem arrises. Windows XP (the development machines) IIS can only have one website. What's the best solution for this, should I disable c...more >>

Can you jump to an anchor on postback?
Posted by darrel at 2/8/2005 10:33:18 AM
I have an anchor on my page: <a name="monkey"></a> I can easily go to this via a redirect, but is there a way to jump to this on postback? -Darrel ...more >>

GAC DLL HELL
Posted by G Dean Blake at 2/8/2005 10:21:38 AM
I wrote a web component called GP and gave it a strong name. When I deploy my ASP application to another web server and put GP.dll in \mywebroot\bin and include a reference to that location, everything works fine. But if I don't do that and instead install my GP.dll into the GAC on the targe...more >>

Accessing hidden datagrid field in itemcommand
Posted by Not Me at 2/8/2005 10:04:16 AM
Hi, In a datagrid's itemcommand method, I can use DataGridCommandEventArgs/item/cells/text to bring up a specific field from a row that was accessed. However, I wish to lookup data from that row, that is in a hidden field on the datagrid. How can I do this? I would appreciate a simple ...more >>

Server.Transfer goes to wrong page
Posted by Keith Patrick at 2/8/2005 10:02:44 AM
I have an app where a Shockwave splash animation starts off my app and then sets its parent iframe's src to the value of a default page "BasicReports". BasicReports has a link to another report page, but when I click it and redirect via Server.Transfer (using both values for preserveForm), the...more >>

A Caching Issue - I Suspect
Posted by Smithers at 2/8/2005 9:15:38 AM
My ASP.NET app enables users to upload photos - after which they can optionally rotate the photo (90 degrees to the left or right). They just click a link that causes a postback, and server-side code then manipulates the image file - after which the aspx page refreshes on the client, showing ...more >>

HOWTO: Set Validation Summary Message Display Color
Posted by Dan Sikorsky at 2/8/2005 9:15:07 AM
Even though the documentation says the default color of the validation summary message display color is red, my color is showing black. I've even set the ForeColor attribute in the asp:validationsummary tag to red, but it still shows black. How can I resolve this? ...more >>

Grabbing paramter in the URL
Posted by Randy at 2/8/2005 8:45:09 AM
Hello, I'm not sure if this is the place to post this, but... In c#, I'm trying to find out how to grab a parameter from the incomming URL using c#. I'm passing it in from another asp page in the URL. Can someone tell me the mechanism to do this? Thanks ...more >>

js
Posted by vinay at 2/8/2005 8:17:03 AM
I have a javascript Q: I am trying to create an BUTTON by using createElement. Well the button is getting created. By default the forecolor is some kind of white insted of BLACK !! I am not able to set the font color to black ?? var container = document.createElement('TD'); var theData = doc...more >>

2.0 and other
Posted by M NO[at]SPAM at 2/8/2005 8:03:21 AM
Hi, I'm a .net newbie and I have some question about it, can someone help me? I read that Microsoft published a asp.net 2.0 beta1, but when will be published the first definitive version? What kind of difference there is from "managed code" and "unmanaged code" ? Is possible to write a ...more >>

Compare Validator - fires before text entered is completed
Posted by Sandy at 2/8/2005 7:57:02 AM
Hi All! I have a password textbox and a verify password textbox. I threw in the compare validator to make sure both values agree. I noticed, however, that immediately the compare validator displays the error message before all the typing is completed in the "verify password" textbox. How...more >>

QueryInterface for interface comFileFuncs._clsFileFuncs failed in ASP.NET.
Posted by adiel_g NO[at]SPAM hotmail.com at 2/8/2005 7:09:52 AM
Hello, I have created a activeX dll in vb6 that contains some functions I am using in .NET. I created the dll in vb6 with: Instancing = 5-Multiuse MTSTransactionMode = 2-RequiresTransaction Persistable = 0-NotPersistable I then created a COM+ application, set the user to an admin in the CO...more >>

calendar control Popup.
Posted by Avanti at 2/8/2005 6:49:02 AM
Hi, I am using the popup window to show the microsoft calendar control. but I want to hide the titlebar for the popup window. Is they a way around or a different approach I can do this. I am using the method described in the article http://www.microsoft.com/india/msdn/articles/PopupCal...more >>

compiled DLL's and performance
Posted by Kurt Schroeder at 2/8/2005 6:47:01 AM
does compiling the code behind source using studio give and performance boost? this is a rephrase of an a question i posted yesterday. To be honist VS.net is becomming a pain to work with for asp.net. Vb.net and c.net hey, no problem, but asp.net it seems to create way too much over head and ...more >>

DirectoryService Problem...
Posted by Tim::.. at 2/8/2005 6:31:06 AM
Hi can someone please tell me how I get the username only into a datagrid I have created to show all the Active Directory Users! At the moment the only thing I can get to appear in the datagrid is the AD path! E.G: <%# Container.DataItem.path%> Can someone please advise... I'm new to D...more >>

Web form retains values over diferent stations
Posted by cFleury at 2/8/2005 6:27:02 AM
I have an ASP.NET web form that is retaining values over different stations on the network, how can I stop this behavior ?. I didn’t do anything special to cause it. Thanks C.Fleury ...more >>

radiobutton in visual studio
Posted by chrisfarscape at 2/8/2005 5:29:01 AM
I am having a problem getting my visual studio to recognize my option buttons within a table control. When I place <asp:TableCell> <asp:RadioButton id”test1” Text=”Test” GroupName=”Vote” runat=”server” /> </asp:TableCell> and try to access that Radiobutton within the page_load...more >>

response.redirect error
Posted by P1ayboy at 2/8/2005 5:27:04 AM
Hi, I have developed a site on MS server 2000, which uses response.redirect. However, once i moved it to our hosting server which is 2003, this stopped working, the only way i have found to fix it is to use server.transfer. Is there a way to fix this or an explanation? as all my code in al...more >>

New Cracked Software(cad,cae,cam,eda,pcb,gis,cfd,cnc...)
Posted by flex at 2/8/2005 5:07:37 AM
Hi! If you are professional ARHITECT, ENGINEER, DESIGNER, PROGRAMMER o User, and you can't buy expensive professional software - we will solve this problem. Our prices are very low. You pay only about 1%-15% of the price for the original software. Ou prices very from $20 to $150 per...more >>

Problem with web server control placed on web user control
Posted by okaminer at 2/8/2005 4:55:00 AM
Hi My problem is this I have a datetimepicker "Web server control", which I put on a "web user control". When I put the "web user control" on a web form, and try to open this web form, the following error is raised: "[NullReferenceException: Object reference not set to an instance of an obj...more >>

Regarding ACTs recording problem
Posted by nglmartin NO[at]SPAM yahoo.co.uk at 2/8/2005 4:11:16 AM
We are facing ACT Recording problem: 1) We are doing initial recording of script using ACT of .net application and experiencing problem of page not found. 2) Problem does not appear during manual execution of same business function of Application. If any body has faced similar problem and ...more >>

Syntax for a aspx popup window
Posted by Namespace at 2/8/2005 3:45:03 AM
Hi How do I create a hyperlink to another aspx page and make this page a popup page receiving a parametre from the parent page. It is the popup part that I am having problems with. What is the syntax? I am also interessted in knowing how to set the hight and width of the popup window. Th...more >>

placing dynamic controls?
Posted by dhnriverside at 2/8/2005 3:35:03 AM
Hi peeps, I'm trying to create some controls textboxes at runtime, based on the number of items in a IETreeView that are checked. That I can do, I've got a place holder and I can create the corrent number of controls. The problem is that they appear next to each other. I want to create...more >>

urgent
Posted by fary at 2/8/2005 3:12:56 AM
hello friends i m really in trouble . i want to encrypt and decrypt a xml file in Asp.net with vb code.if anyone have sample codes plssssssssss -- fary ------------------------------------------------------------------------ Posted via http://www.codecomments.com -------------------------------...more >>

int.parse
Posted by sara at 2/8/2005 2:35:06 AM
Hi to all i have string y; int x=int.parse(y); when i run the application this exeption is trewn /////////////////////////////////////// Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about th...more >>

User Control events
Posted by Jim Reynolds at 2/8/2005 2:05:01 AM
Hi I am trying to raise a user control event but in the test the event is always null so never fires. Why is this please? public event EventHandler Click; private void butOK_Click(object sender, System.EventArgs e) { // Call event method. OnClick(EventArgs.Empty); } pr...more >>

Rephrase of Newby Question!
Posted by John Baker at 2/8/2005 1:51:45 AM
Hi: This is the only ASP newsgroup I can access using Verizon, and I would like to know a real basic piece of information. I am totall new to ASP, although I have done HTML coding. Say I The following code is intended to ask for an individuals HIRE Number and then pass it on to a query, whic...more >>

IE Treeview - selectedindex
Posted by Graeme Coutts at 2/8/2005 1:49:05 AM
Drop a IE TreeView into a page and the selectednode is retained between server re-posts. However when the IE TreeView is contained within a user control the selectednode is not retained between server re-posts after which node 1 is always set to active. anyone know why this is so? any work-...more >>

DataSource for Repeater to convert from System.Data.DataSet
Posted by Greg Cyrus at 2/8/2005 1:45:11 AM
Hi, i have created a function to open a Databse by OLEDB and fill it into a System.Data.DataSet-Objekt by oleDBAdapter.Fill-Mehtod.. Now I want to assign this DataSet to a normal Repeater-Control. This Repeater-Control accepts anything like System.Collections.IEnumerable for a DataSource. ...more >>

Recompiling and Session Objects?
Posted by Lucas Tam at 2/8/2005 1:36:53 AM
Does recompiling cause session objects to disappear? -- Lucas Tam (REMOVEnntp@rogers.com) Please delete "REMOVE" from the e-mail address when replying. http://members.ebay.com/aboutme/coolspot18/...more >>

ASP.NET html-less pages
Posted by Epetruk at 2/8/2005 12:32:17 AM
Hi, I'm looking for samples of ASP.NET projects where the programming has been done almost entirely using codebehind and classes with very little code in the aspx files themselves. I would like to be able to write ASP.NET pages where I represented the elements on the page entirely with clas...more >>

Session Object = nothing?
Posted by Lucas Tam at 2/8/2005 12:10:36 AM
I'm calling the session object from an inherited page. The page is based off an herited class which outputs XML. Does anyone know why the session object would be nothing? httpcontext.current.request/response/etc all work, except for session. Thanks. -- Lucas Tam (REMOVEnntp@rogers.c...more >>


DevelopmentNow Blog