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 > september 2004

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

Refresh(F5) page cause a sql insert again - trouble !!
Posted by User at 9/30/2004 11:04:07 PM
Hi ! I have a sql insert function with a buttonin my page, and when i click on refresh button of IE. When i click my button, i have a new records but after when i click on the refresh button of IE (or F5) the sql insert again a data records (my table have a automatic numeric key). How to p...more >>

Test with 2 Users: Button value changes automatic
Posted by chip NO[at]SPAM 20min.ch at 9/30/2004 11:00:11 PM
Hello I have a strange behaviour. I have a datagrid, with articles that have to be produced today or the day after. In this program one can see the articles, that have already been planned (just for control). Now it can be, that the planner has realised that he planned something wrong for t...more >>

Integrating ASP page in existing FP web (VB.Net)
Posted by Grumpy Aero Guy at 9/30/2004 10:45:06 PM
I have successfully integrated a VB.Net generated asp page into a FP web. The two reside peacefully in the same virtual directory---I can open the web in FP2003, and access the asp page and successfully make it part of the FP web's navigation structure. THe asp app works flawlessly. My ques...more >>

Can zip it before download?
Posted by ad at 9/30/2004 9:56:36 PM
I use the code below to export the content of a data set to Excel, the code come form http://www.dotnetjohn.com/articles.aspx?articleid=36 It will take a long time to dolwnload if the excel file if too big. How can I zip the excel file before download? -------------------------------------...more >>

2.0 question, continued... (local admin website)
Posted by Lloyd Dupont at 9/30/2004 9:44:44 PM
how to access the 2.0 default admin web site? I try to browse to http://localhost/aspnet_webadmin but I have 403 not authorized I disable anonymous authentication (in IIS DefaultWebSite/aspnet_webadim), used window authentication, I'm an admin, doesn't fix the problem. also where is this virtu...more >>

APIs for SQLServer state storage
Posted by Kishore Gopalan at 9/30/2004 9:15:02 PM
Hi, Is there a set of APIs that would let me access the tables where ASP.NET stores the state when in SQLServer mode. Thanks. Kishore...more >>

asp.net form
Posted by John at 9/30/2004 8:52:54 PM
Hi I am looking for an example/tutorial on how to do an enquiry form with multiple attachments option in asp.net. Any help would be appreciated. Thanks Regards ...more >>

<browserCaps>
Posted by Eric at 9/30/2004 8:15:54 PM
Hi, Why there is no <browserCaps> section, which is correct? I understand that Netscape and others are 'DownLevel' browser, but in my case, also the PocketIE on my Ipaq and Opera browser for SmartPhone are reconized wrong (IsMobileDevice = false). From where or how I get the a configuration...more >>



How to make a Public Page in ASP.NET? web.config?
Posted by Dexter at 9/30/2004 7:09:52 PM
Hello all, I have a web application with the authentication mode = "Forms", this function very well, but i have a directory in this webpplication that it has only a page.aspx file, and i need that this form has that to be public, the user don't need to do login to have access in this file. So...more >>

How can i add an icon file to the Address Bar (Without bookmarkin
Posted by Patrick.O.Ige at 9/30/2004 6:07:02 PM
How can i add an *.*ico file to the Address Bar (Without bookmarking). I just want to create an ico file and place it on my address bar..i created an ico file but it isn't working i placed the following code btw the head of my asp.net page :- <link rel="SHORTCUT ICON" href="file.ico"> Any...more >>

need some help
Posted by Mike at 9/30/2004 5:58:29 PM
I'm running XP pro with SP2 now, and using .NET. I can no longer debug my code since SP2 was installed. I removed SP2 and i still can't run my debug. I'm also running Web Developer Studio 2005 with .NET 2.0 but i was able to debug even that that installed on my pc. It stopped when I installed SP2...more >>

saving data back to dataset
Posted by Nikhil Patel at 9/30/2004 5:08:34 PM
Hi, I bind a grid to a DataView object. I lose the reference to the underlying DataTable and the DataSet in a postback. Here is the code. Page_Load works fine and I am able to see the rows in grid and edit them. But I don't know how to save the data back to the database when the user clicks ...more >>

Question about showing PDF file
Posted by Green at 9/30/2004 5:02:43 PM
Hi, I have an urgent question about showing the PDF. I got the following message: Some files can harm your computer. If the file information below looks suscipcious, or you do not fully trust the source, do not open or save this file. File name: XXX.pdf .... Then i click open, i hav...more >>

client side add to a table
Posted by John Smith at 9/30/2004 4:54:28 PM
ASP.NET SQL C# I would like to get data from sql server and display it in a web page table and be able to edit add delete rows without having to do server pulls. When the user is finished the user pushes commit button and the data is transferred back to the sql server. I would appreciate bei...more >>

accessing one HTML/Control object from another
Posted by darrel at 9/30/2004 4:35:39 PM
I've asked this question before, but I think I need to elaborate a bit. I have a page formatted like this: page.aspx <title> | titleControl.ascx otherControl.ascx The page has either a TITLE html tag OR it uses a control to dynamically write out the TITLE tag. I'd like to be able to m...more >>

calling an assembly from inside a class
Posted by TJS at 9/30/2004 4:27:22 PM
I am constructing a new code class that will use functions from another assembly How can I get the other assembly registered in the code class ? ...more >>

project moving problem
Posted by GaryB at 9/30/2004 4:17:04 PM
I frequently send off releases of a large .net aspx application to another developer that tests and updates our production server. The last time I sent off a project with a new .aspx page, the other developer could not see a label and a dropdownbox in the IDE. He could see them in the html. ...more >>

LinkButton Issue!
Posted by Steve Harclerode at 9/30/2004 4:14:17 PM
Here's some code that I'm using to create a simple list of logical drive letters (my web application impersonates a user). I'm finding that my event handler doesn't fire. Can anyone give me a hint as to why it doesn't work? It's nearly a copy of some sample code that I lifted from a friend, whose...more >>

Integrating .NET web app into IBM Websphhere portal
Posted by Shikari Shambu at 9/30/2004 3:45:24 PM
Hi, I would like to integrate a .NET web application into IBM Websphere portal. Whati is the best way of integrating these two beasts? Is there are way to get my .NET application to return XML compliant with JSR 168? TIA ...more >>

Does VS.Net use the command-line compiler internally?
Posted by Jon Maz at 9/30/2004 3:35:18 PM
Hi All, Am I correct in assuming that the VS.Net Build Command (Ctrl + Shift + B) just internally invokes the command-line compiler that you would have to use if you didn't have VS.Net? And when you do compile using VS.Net, is there any way of seeing the compile commands it generates? TIA,...more >>

SP 1.1 .NET
Posted by Just D. at 9/30/2004 3:22:12 PM
I have SP1.1 .NET installed on my development machine where I write the code and compile it. The production machine doesn't have this service pack for 1.1 .NET. Can it affect my Web Application? I hope that I found a reason of my issue and I'm trying to understand why same program works in dif...more >>

HttpModule - SessionStateModule with cookieless uri state
Posted by Todd Throne at 9/30/2004 3:22:01 PM
Does anyone know how to persuade the SessionStateModule to set the HttpSessionState.IsCookieless to true. I tried redirecting to a URI of the format /host/(SessionId)/original/path but it does not pick up that session when it receives the redirected request. Thanks...more >>

String Comparision
Posted by Stephen at 9/30/2004 2:57:36 PM
Hi, Whats the best way to compare string? I have a text box, the text of which should not contain "P.O. Box" or "Box" or "PO Box" Stephen. ...more >>

Detecting the requested domain name??
Posted by andrew sargent at 9/30/2004 2:55:49 PM
Hi, I have two domain names pointing to the same webspace, but i want them to be directed to seperate directories on the server: www.web1.com -> dir "Web1" www.web2.com -> dir"Web2" The company hosting my website dont allow more than one domain to pointto seperate directories (to prevent r...more >>

Show some web form
Posted by Dave at 9/30/2004 2:50:27 PM
Hello. Sorry me, if it's some basic question, but I'm new in ASP.NET:) How do I show the othe web form from my code? I mean I have a button on form "A" and I want to go to form "B" when I click on the button on form "A"? Thank You. ...more >>

Attachments upload
Posted by John at 9/30/2004 2:36:44 PM
Hi I have been working with asp but am new to asp.net. I need to add an asp.net page to a site that contains an enquiry form and also allows attachments to be uploaded by user. All the entered info and the relevant attachments are them sent to a recipient as an email. Is there such an example ...more >>

Checkbox in a template column
Posted by Eric Caron at 9/30/2004 2:27:12 PM
Hi everyone, How can I define the events for a checkbox control that is inserted in a template column? When I double-click on the control in the template editing mode, the code editor pops up, but no event handler is created. The checkbox control itself is not defined as a "Protected WithEve...more >>

Cross tab, DataGrid, Templates
Posted by Eric Caron at 9/30/2004 2:25:08 PM
Hi everyone, I have a web form that asks the user what languages he speaks and what his skill level is. I used a DataGrid control bound to a table that contains the languages and three template columns (beginner, intermediate, expert) that contain a radio button control. Now, only one skill ...more >>

Reusing Code Snippets
Posted by - Steve - at 9/30/2004 2:20:38 PM
I'm working on my asp.net site and I'm wondering what the best way to reuse little snippets of code is? Right now I have a Class in it's own cs file that I call Snippets. Then when I want to use something in there (like for example I have Snippets.Logout()) I do the following. Snippets ...more >>

.Net Framework 1.1 sp1 and references in web application
Posted by billrom123 at 9/30/2004 2:17:02 PM
Greetings, I recently installed the .Net Framework 1.1 sp1 on my development box (XP pro with everything but sp2, running VS.NET 2003). I have a C# web application that was running just fine yesterday (all my code is in C#). There have been no code changes and I can successfully compile...more >>

Access denied using location.reload function
Posted by ENIZIN at 9/30/2004 1:09:03 PM
I am having an interesting problem where I am simply trying to put in country selection popup window on my site. When the user closes the window the popup should call the window.opener.location.reload(true) function and show the newly selected country. Well, when I try it from my MAC box I get...more >>

Specified argument was out of the range of valid values. Par
Posted by subhashish_dhar NO[at]SPAM yahoo-dot-com.no-spam.invalid at 9/30/2004 1:03:29 PM
I'm getting following error in asp.net application.I search the web and couldn't find error like this can any one help me in trouble with this error Specified argument was out of the range of valid values. Parameter name: U Description: An unhandled exception occurred during the execution of ...more >>

How to access: a page from a User control, and another User control from another one?
Posted by qwerty at 9/30/2004 12:55:06 PM
I have two User controls in a page. Them ID-propertys are example UC1 and UC2. In code behind file they are declared: Public UC1 As UC1 Public UC1 As UC1 From the page I can call them with their name (UC1 and UC2) and access their public propertys and functions. How can I ac...more >>

Server.Transfer Problem
Posted by Tony Cheng at 9/30/2004 12:54:06 PM
When I use Server.Transfer from aspx A to aspx B, it's ok but when I click a button in aspx B, the expected behaviour is that Server.Transfer would be called again and the page would go from aspx B to aspx C. But I face a problem that when I click the button in aspx B, exception appear which...more >>

EXECUTE permission denied on object 'sp_sdidebug', database 'maste
Posted by Ken at 9/30/2004 12:43:05 PM
Hi guys, this is a curios thing, everything was working fine then I had to restore my development machine( VS.NET, SQL server etc) now I'm receiveing this error from my asp aplication only in RELEASE mode, but everything works good in DEBUG mode, this is happening when I run my app agains...more >>

Button works on one server not on another
Posted by Josh at 9/30/2004 12:25:50 PM
I have an image button that works fine in the development environment, but when placed on the live server, this one image button does not postback, it does nothing. All the other image buttons work fine. Anyone got any ideas on this? ...more >>

Repeater - If..Then
Posted by Jason at 9/30/2004 12:12:26 PM
I have a repeater in which I would like to do some conditional processing. <asp:HyperLink NavigateUrl='<%# Container.DataItem ("Survey") %>' Runat="server" ID="hypSurvey">Open Survey</asp:HyperLink></td> In the example above, If the Container.DataItem("Survey") is null, I don't want to ...more >>

How to use Shell Command in ASP.NET
Posted by nyousfi NO[at]SPAM yahoo-dot-com.no-spam.invalid at 9/30/2004 12:02:30 PM
Hi I have a Client Control that works absolutely beautifully but I need to popup a browser window using this control but cant. I thought the easiest way to do this would be to Run a Shell command and pass in the URL i.e. Shell("http://www.abcdef.com"). When I put the shell command in an...more >>

.Net Controls
Posted by Keith at 9/30/2004 11:43:14 AM
Good Afternoon, I am having an issue? When I launch my page from the Web Matrix the = page and it's controls all load. However. when I switch it to my PC's = name, instead of localhost 8080, the controls do not work (ie...dropdown = list does not appear). If anyone has a suggestion it would...more >>

Binding Repeater to custom object collection
Posted by Weston Weems at 9/30/2004 11:33:53 AM
I've got a collection of objects say fruit. and fruit has a fairly decent heirachial structure not just flat props. I've got my repeater to bind to my fruit collection just fine, but what I want to do is actually be able to view specific properties in my repeaters template. Here's what I...more >>

Web User Control and using session, request and response
Posted by George G. at 9/30/2004 11:14:06 AM
Hi there, I am busy writing a new asp.net application and I am reusing some of my existing asp functions and methods in a user control. I need access to session, request and response in some of the functions and I can't find out how to do it. Here is an example of what I do and I get the fo...more >>

.net framework 1.1 or 2?
Posted by Sam at 9/30/2004 10:51:09 AM
I developing an application using ASP.Net 1.1 and please find my inquiries: - Any different between .net framework 1.1 and 2.0? - Any impact if I running .net framework 2 on ASP.Net 1.1 - Which one is much reliable .net framework 1.1or 2.0? Please advise. ...more >>

Windows 2003 need .net framework?
Posted by Sam at 9/30/2004 10:47:07 AM
I wonder whether I should install .net framework 1.1 with service pack 1 into MS Windows 2003 Server? My inquiries Application using ASP.Net 1.1 - Will it run on MS Windows 2003 Server without install .net framework 1.1 - Any impact if I not .net framework 1.1 into MS Windows 2003 Server ...more >>

Forms State
Posted by Sunil Sabir at 9/30/2004 10:47:01 AM
Dear All, I have 4 web ASP.net Forms. I use a image control to move between these forms.The problem I am facing is that I cannot preserve the state of the form when moving between different forms. For example, on my first form I have a question, a text box and a butto...more >>

Password Fields
Posted by Josh at 9/30/2004 10:36:35 AM
Does any one know how to put text into a password field. ...more >>

Embedding Shockwave with Visual Studio
Posted by darren NO[at]SPAM yellowpencil.com at 9/30/2004 10:30:14 AM
Hi Groups, Simple Task: Embed flash/shockwave swf into an aspx page. Problem: Visual Studio does not recognize attributes: pluginspage, quality, or type. Generates msg: Could not find any attribute 'pluginspage' of element 'embed'. Is there a workaround for this? Perhaps I am missing ...more >>

Registering clientside events for a RadioButtonList
Posted by helen NO[at]SPAM helephant.com at 9/30/2004 10:24:13 AM
I've got some clientside script that runs when the selected index of a select box changes. Now I need to swap my selectbox with an ASP.NET radiobuttonlist (to solve some layout issues). I still need the clientside script to run when the selected radio button changes, but I'm having trouble regis...more >>

WebForms cached in Temporary Internet Files?
Posted by Donald at 9/30/2004 8:57:03 AM
How do I prevent I WebForm from being cached in the "Temporary Internet Files" folder on the client computer? The web form is displayed in a popup modal dialog (window.showModalDialog). If the client closes the popup modal window and re-displays the web form again, I want the page to be ...more >>

Issuing AfxMessageBox
Posted by jlea at 9/30/2004 8:39:41 AM
I have some legacy code wrapped in a .NET managed assembly that I'm using from within an asp web application and all works fine until the legacy code detects an error during a function call on an object and it tries to issue an AfxMessageBox: The browser (IE) hangs. How does one deal with this...more >>

TCPClient connect slow only on XP Pro ASP on some boxes
Posted by Jim W at 9/30/2004 8:25:07 AM
I have an ASP.NET app that has very slow connect times using TCPClient, or the Socket class, or even calling a COM object that uses C socket calls on certain similar XP SP2 boxes. On those boxes, if another connection is made within a couple seconds, it is fast. Running the same C# code ...more >>


DevelopmentNow Blog