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 > november 2004 > threads for tuesday november 16

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

UserControl and IDs
Posted by Mike at 11/16/2004 11:58:42 PM
This is a multi-part message in MIME format. ------=_NextPart_000_000A_01C4CC38.3378B4C0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, I have a web control that contains some JavaScript and HTML tags (div, = tables, etc.). Everything w...more >>


use of <% in template
Posted by Capior at 11/16/2004 11:58:19 PM
hello, i've created - as described in http://www.asp-buch.de/articles/2002-06-26-1.aspx - a global layout for my website. now i want to use some code/variables in it. but as far as i use <% ... %> to display my variables the global layout seems to be deleted. the template is shown isol...more >>

How to get cursor insertion point (caret position) from text box
Posted by dave NO[at]SPAM bluehills.co.uk at 11/16/2004 11:37:33 PM
Can anybody help me to a)get the user's cursor insertion point (caret) from a multiline textbox, using client-side script I suppose, and then b)return the position to VB code behind? I have tried the following client-side function suggested on this Google Group (thank you) but I'm not sure wha...more >>

Displaying Data!-Question
Posted by Patrick.O.Ige at 11/16/2004 10:07:30 PM
Interesting to know how people format their Data before displaying to the browser? For example you have a word in a sentence that need to be bold or a different color or start in a new paragraph or need to be numbered accordingly etc.. Whats the best way to seperate the formating from the text ...more >>

ASP.NET application and remoting
Posted by rodchar at 11/16/2004 9:33:01 PM
Hey all, i've got a simple asp.net page that uses remoting. the page just displays the processor id for the server and the client. When i do "RemotingConfiguration.RegisterWellKnownClientType" and put http://localhost/... for the address should the processor id still be different? th...more >>

debugging in (ASP).Net
Posted by Davids at 11/16/2004 9:10:31 PM
many of you probably remember using Response.Write(...) for debugging purposes, writing out the values of objects etc... How can I do the same with c#/ASP.Net ? It would be great to see some text I've put into - say - some debug string that is automatically output when running into code error...more >>

Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
Posted by James_patageul at 11/16/2004 9:05:34 PM
Hello people i would like to know what mean Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) so what browser it is and what OS it is thank a lot... ...more >>

viewstate error
Posted by MSFT Developer at 11/16/2004 8:48:33 PM
What are the causes and ways to resolve the viewstate error in a webfarm. Platform: win 2k, iis 5.0, .net 1.1 Thank you! ...more >>



E-commerce Question
Posted by Patrick.O.Ige at 11/16/2004 8:26:04 PM
Whats the best apporach in building an e-commerce site using ASP.NET? Any guide lines?Whats the best to go about it? How to setup etc... Any resources and ideas are welcomed! ...more >>

File://c:/<path> does not display contents
Posted by TLM at 11/16/2004 7:53:04 PM
I am trying to build a web application that will contain links to files on a users local computer. I am assuming that the files will be in a known location and can display in a browser window. I have my ASP.NET application building links along the lines of file://c:/<path to file> ...more >>

Turn off caching
Posted by Rohit at 11/16/2004 6:26:28 PM
I need to turn off caching in my ASP.NET page. I have set the following code in Page Load event: Response.Cache.SetCacheability(HttpCacheability.NoCache) Still, sometimes the page is retreived from cache. Are there any other options I need to set? TIA Rohit ...more >>

Directing Domains
Posted by Andrew Bonney \(abweb\) at 11/16/2004 6:15:42 PM
Hi, I have never used ASP in my life so I NEED HELP!!! I have heard it is possible to create an asp script that when someone connects to a web server from the a domain (say www.mydomain.com), the asp script reads the domain/subdomain in the address bar and the locates the correct folder fo...more >>

resizing iframe
Posted by Paul Fi at 11/16/2004 6:09:52 PM
I have this problem with iframes: i want to resize iframe's height when the window inside the frame is resized or when the src attribute of iframe changes so make the height of iframe equal to the size window's body scrollHeight so that way i dont need any scrolls for my iframe but the let pag...more >>

Request.UserHostAddress
Posted by tma at 11/16/2004 5:41:12 PM
I am creating code that makes decisions based on the result of the Request.UserHostAddress. Is there a way I can search on /CIDR or range of IP addresses without specifying an exact search string, i.e. one string for each IP address? You can imagine why I don't want to have to create a CASE/ELS...more >>

multiple insert/update
Posted by nicholas at 11/16/2004 5:10:24 PM
Where can I find a good tutorial on how to insert/update MULTIPLE rows into a database on an SQL2000 server ? In VB !! (not C#) THX ...more >>

define (old) dll in dotnet
Posted by Pascal Piekar at 11/16/2004 4:46:21 PM
I'm making an asp.net page with an DLL wich I used in my old asp page. The DLL is placed in my \bin\ folder. When running the application I recieve this error: ***** Compiler Error Message: BC30002: Type 'Pbp.Produkt' is not defined. Source Error: Line 28: Line 29: Line 30: D...more >>

DataTable - SQL delete command
Posted by anony at 11/16/2004 4:39:58 PM
Hi, From what I gather, you cannot issue SQL statements against a DataTable. Just wanted to verify this, and ask, why not? I would like to issue a delete statement against a memory resident DataTable. Thanks. ...more >>

Web Matrix guide tour: INSERT in Access table fails
Posted by Ekhaat at 11/16/2004 4:10:02 PM
Hi I followed the Web Matrix guided tour and came to the "ASP.NET Pages with Data (Microsoft Access)" part. There is really not much you can do wrong there, but for some reason, the INSERT part gives me an error. Here is the function that fails (appart from the exception handling every...more >>

obout treeview with checkbox
Posted by nicholas at 11/16/2004 3:36:21 PM
I am using Obout TreeView: www.obout.com I would like to implement a page to add and remove categories to a product with the Obout Treeview with checkboxes. Does anyone allready did this and could help me with this?? Here is what I would like to do: -------------------------------- When...more >>

Huge SQL query and ASP.NET...Question of efficiency
Posted by The Eeediot at 11/16/2004 3:35:04 PM
This is a multi-part message in MIME format. ------=_NextPart_000_000C_01C4CBF1.D83E87B0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, again, ASPdotNET gurus! I have a performance question for the group: This may be a typical ty...more >>

Online form must match hardcopy
Posted by dw at 11/16/2004 3:33:29 PM
Hello, all. We have a form here: http://www.uncw.edu/stuaff/SDS/images/imunform.PDF that we need to re-create in an ASP.NET app. One problem: the client wants it to look identical to this PDF file. Is it possible to create an ASP.NET form that will match this form or are we just dreaming? Th...more >>

ASP.NET Team development using VS.NET
Posted by codabill at 11/16/2004 3:28:04 PM
Can someone please refer me to books, articles, websites where I can obtain information on how to set up VS2003 for team development. I am a project manager for a non-trivial military software project that is migrating from ASP to ASP.NET. I have a team of 9 developers using VS2003. Of ...more >>

Path problems with ASP.NET Web Application in C#
Posted by john NO[at]SPAM bobandjohn.com at 11/16/2004 3:17:29 PM
I'm writing an ASP.NET Web application in C# that has the following directory structure: MyApp\bin\MyApp.dll MyApp\conf\config.xml MyApp\webapp.aspx MyApp\webapp.aspx.cs ok. The MyApp.dll was created by Visual Studio, webapp.aspx is my webapp, and webapp....more >>

Updating Database using a Stored procedure
Posted by Justin at 11/16/2004 3:01:04 PM
I am trying to do a simple update of a database using a stored procedure. I have get the following error when executing the code: "Procedure or function UpdateDetails has too many arguments specified." Here is my SP: ALTER PROCEDURE dbo.UpdateDetails @KeyID int AS SET NOCOUNT ON; S...more >>

How to make login script case sensitive
Posted by Joe at 11/16/2004 2:51:33 PM
Hi, I have a login script and right now it is not case sensitive. I want to make it case sensitive. The userid and password is stored in MS Access DB and not in web.config. Can someone give me some clue as how to do it? I have pasted my code to give you an idea as what code I have. This c...more >>

OnUnload of a web form
Posted by Weston Weems at 11/16/2004 2:49:06 PM
Ok, what I am attempting to do is take a web form and attach a confirm to leave page. I can get the event to fire (though it doestn actually prevent navigating away from the site) My problem is that every time I initiate a postback, the event is also fired. I dont want people to see "Are...more >>

Frames question...
Posted by Griff at 11/16/2004 2:28:34 PM
A novice's view-point (please correct) With CLASSIC ASP, I understand that frames could be beneficial. For example, the left-hand frame could contain the ASP for the navigation tool and the right-hand frame would contain the main page. I believe that the advantage was that all the ASP (and d...more >>

HOWTO: Programmatically Setup IE Page Headers and Footers
Posted by Dan Sikorsky at 11/16/2004 2:15:11 PM
Under the File menu, Page Setup item in the IE is a way to setup the Page headers and footers the show when you print a page in the browser. How can we set those programmatically in a webform? -- Thank you kindly, Dan Sikorsky BAB, BScE, MSC ...more >>

Word attachment on windows 2003 / iis6
Posted by sqlboy2000 NO[at]SPAM hotmail.com at 11/16/2004 1:28:58 PM
All, I've used the following code in several projects without issue: Response.ContentType = "Application/msword" Response.AddHeader ( "Content-Disposition", "attachment; filename=Report.doc" ) If you're familiar with it, it simply causes the webpage to be rendered as a word attachment. Th...more >>

Sessions and Forms Authentication Cookie
Posted by Bijoy Naick at 11/16/2004 1:14:38 PM
I have a folder on my site secured with Forms Authentication. After the user is authenticated, I set a session level variable. The session time on the server is set to 20 mins. I am guessing the default expiry time for the Forms Authentication cookie is 30 mins? Is this correct? So after 20 ...more >>

Check if var is alphanumeric?
Posted by VB Programmer at 11/16/2004 1:11:25 PM
How can you check to see if a variable is a number or is alphanumeric? What's the easiest way? ...more >>

XML challenge!
Posted by Random at 11/16/2004 1:06:04 PM
Trying to solicit some quick advice on my procedure architecture so I don't have to waste too much time with trying different objects. I'm still unfamiliar with a lot of the new XML parsing/manipulation in .NET, so I could really use the help. I have a set of xml files, all in the same dir...more >>

The Web server reported the following error when attempting to cre
Posted by Error when creating new asp.net applicat at 11/16/2004 12:50:02 PM
Hi, I'm getting this error when I create a asp.net application. The Web server reported the following error when attempting to create or open the Web projects located at the following URL: 'http://localhost/WebApplication1'. 'HTTP/1.1 500 Internal ServerError'. my system configuratio...more >>

Problem viewing .aspx pages from Win98..
Posted by Mustufa Baig at 11/16/2004 12:01:51 PM
Hello, I developed ASP.NET website and as long as I view .aspx pages from Win2000 (I.E. 6.0) they appear fine but if I view these pages from Win98 (I.E. 6.0) the text on the page appears in big font and most of the time overlapping each other. Also I like to know how can I make text and contro...more >>

HtmlTextBox control ?
Posted by Thomas McFarlane at 11/16/2004 11:48:41 AM
I am trying to use a textBox control from the HTML tab within the VS.Net IDE designer. How do I reference this control (ie. txtMyName.Value). The FindControl does not find it because it is an HTML control, not a SAP.Net Webform control. Thanks Tom ...more >>

aspnet_wp.exe taking up lots of memory
Posted by djc at 11/16/2004 11:37:30 AM
the aspnet_wp.exe process in taking up lots of memory. Right now just the one main page loads and imediately goes to the top of the memory usage list with around 32MB of memory usage. The page only contains 1 datagrid that IS using default paging and sorting capabilities. I am using 2 viewstate ...more >>

ASP.NET not sending SMTP emails on Windows 2003
Posted by Brian M at 11/16/2004 11:34:03 AM
I have an ASP.NET application using .NET Framework 1.1 running on a Windows 2003 server. The application uses SMTP to send emails. This application was moved from an IIS 5 machine where it worked fine. However, now on the IIS 6 server the email notification does not work. The application is us...more >>

Shadowing Question
Posted by Nick Stansbury at 11/16/2004 11:33:02 AM
Hi, Quick (and probably simple) question regarding shadowing and polymorphism. Problem is best explained by an example. Public Class A public CommonProperty as Integer end class Public Class AB : Inherits A Public Specific as String End Class Public Class AC : Inherits A...more >>

Response.Flush()
Posted by Allen Hubatka at 11/16/2004 11:29:24 AM
Response.Flush() 1.. When I call this code at the server side, will all the client side event will fire as if the page processed completely and pushed the HTML to the browser? Like onload etc? 2.. Repeated execution of this statement at the server side will affect the performance? I ...more >>

Help: Webform Header & Footer Control
Posted by Nicholas at 11/16/2004 11:28:10 AM
Here is the issue: 1. I would like to create an ASP.Net/C# control to append a dynamic header and footer to **every** web page (depending on the page the content of each will vary). I can easily create the control yet herein lay the problem: 2. The folks who edit the HTML content are NO...more >>

Asynchronous HttpWebRequest
Posted by Michael at 11/16/2004 11:25:57 AM
Hi all.. I need to submit an asynchronous request for a credit card authorization. I have an aspx page where the user confirms the transaction and clicks a button to send the transaction to the authorization provider. When the submit button is clicked, I hide the panel displaying the details a...more >>

Changing datagrid cell value from client side script.
Posted by Allen Hubatka at 11/16/2004 11:19:10 AM
Is it possible to change the data grid cell value from the client side script? The cell value I am talking is not a template column. I am using .Net Framework 1.1, Vb.Net, IE5.5+ and Java script. Thanks for your reply. Allen ...more >>

PDF to HTML conversion help...
Posted by webgreginsf at 11/16/2004 11:13:12 AM
Hello, I tried the following post a few weeks ago and never received any replies, so I figured I'd try again. I'm seeking suggestions for an interesting problem I have. I'm building a web application that presents legal documents that users must accept in order to proceed on the site. ...more >>

Manually Clear Session Object and State Server
Posted by fm NO[at]SPAM newsgroups.nospam at 11/16/2004 11:00:04 AM
We are using State Server to host our session objects. We have several applications running under IIS that will be using the State Server. How can one of those applications clear its Session state? If it was in process, we could just stop and start the web app. We can not just stop and s...more >>

Permissions Problem?
Posted by Landley at 11/16/2004 10:59:46 AM
Hello All, I can't seem to get my project to run in debug mode. When I run the web application it says, "Error while trying to run project: Unable to start debugging on the web server." Any ideas? Landers ...more >>

Package and Deploy
Posted by T. at 11/16/2004 10:16:47 AM
Hi, Is there any way that I can "package and deploy" an asp.net app? When running this app from my workstation, it runs no problem, but when I access the site from another workstation I'm getting the following: "system.runtime.interopservices.comexception: server execution failed" on this l...more >>

Really tough Crystal Question
Posted by GaryB at 11/16/2004 10:14:46 AM
(I know this is not the Crystal Forum but I get far better answers here :) I have a working ASPX page that uses a CrystalReportViewer to print any web datagrid Passed to it. On the page I have a button that will convert the report to a PDF. The code pasted below works just fine. My goal...more >>

Update DataTable in DataSet
Posted by SMG at 11/16/2004 10:10:25 AM
Hi there, We have a DataSet with one datatable with three columns and multiple rows. [Each rows has a unique key] 1st Column : Unique Key 2nd Column : Value to Change 3rd Column : Value to Change Based on some conditions I want to update the values of the 2nd and 3rd column but want t...more >>

Error while trying to run project, Final attempt
Posted by Kris Desmadryl at 11/16/2004 10:09:48 AM
Hi all, I create a new asp project, with just one button on the startup form but when I run I always get a messagebox with the error : "Error while trying to run project." That's all what I see in the msgbox, NO EXTRA information. I'm using visual studio 2003, xp prof with service pack 2. A...more >>

Submit Form Once
Posted by Emmanuel at 11/16/2004 9:45:26 AM
Hi, I have an asp.net page with a form, when submitted it sends an email and moves to another page. I would like to allow only the form to be submitted once, i.e. I don't want the user to go back and submit again. What's the best way to do this? ...more >>

Problems with Indexing Service for Search Engine
Posted by Brent at 11/16/2004 9:36:43 AM
Hi, I have indexing servicing working fine on my test server for a search engine in C# ASP.NET, but when I tried to make one on our live server, its not working correctly. The index only returns results for pages in the root so far. It seems like the indexing doesn't want to finish. It is lis...more >>

web service to client question
Posted by R.A. at 11/16/2004 9:33:46 AM
Hi, I have a web service that process a client call. When a client makes a call to the web method the method needs to query some data from a client_A and return the data to the calling client_B. How should I design the way the web service will call client_A to retreive the data needed for clie...more >>

Very large page - Need advice
Posted by hn at 11/16/2004 9:33:03 AM
Hi all, I have to design a quiz page which includes up to 200 questions. What users do is they start the quiz, go to page1 with question1, enter some answers, click next to go page2 with question2, and so on until they get to page100 then they will hit submit button to submit their answers....more >>

Accessing a Windows Service Host Via a Browser?
Posted by Jim Bayers at 11/16/2004 9:32:14 AM
I have three servers Campus Server | Secure Server | Public Server Do to the sensitive nature of the data, my network nazi wants me to access the campus server via the secure server. There won't be a web server on the Secure server, just the public server. So people will ...more >>

circumventing CreateDirectory() errors
Posted by Tim Mulholland at 11/16/2004 9:30:34 AM
What are my options for getting around the issues with Directory.CreateDirectory() when i'm working on a hosted server where the hosting company will not allow the ASPNET user to have read/list access to the root of the drive (as is necessary for Directory.CreateDirectory() to work, sadly)? I...more >>

ASPNET hosting problem
Posted by Viktor at 11/16/2004 9:26:20 AM
Hi all, I'm trying to host my web application which is wriiten in ASP.NET/C#/SQL on webhostingcenter.com. They use H-SPHERE control panel. I have written my application on my PC, so the SQL server was local, the hosting server was local, the IIS server was local. I have uploaded the applicati...more >>

Serializing drop-down list data sources in Session State
Posted by Leszek Taratuta at 11/16/2004 9:17:05 AM
Hello, I have several drop-down lists on my ASP.NET page. I need to keep data sources of these lists in Session State. What would be the most effective method to serialize this kind of data structures? Thanks for any hints, Leszek Taratuta ...more >>

Slow Connections Slowing Down Site.
Posted by Bruce Hodge at 11/16/2004 7:34:33 AM
Hi, We have multiple copies of an application running on 2003 server hosted on the Internet. Each has it's own SQL database, each has it's own Website and URL. So in processing terms they are all isolated. You'd think they would all run at the same speed if they have the same number of use...more >>

Webgarden
Posted by DrBytes at 11/16/2004 6:35:02 AM
Hello, I have a question about webgardens. As I understand it, a webgarden is physically one box with multiple processors in it. In the MSDN documentation about webgardens they mention : "If webGarden is set to true, by default, all CPUs are enabled and ASP.NET starts one process for each C...more >>

if string is empty insert dbnull
Posted by Marty U. at 11/16/2004 6:10:03 AM
I have a form that has several fields that need to update a db record using SQL Data Provider. What is the best practice to insert DBNull if a text field is empty? I normally use if (txtbox.text == system.DBNull.Value) however, this case I would like to set a variable to either the string o...more >>

Operand
Posted by Arpan at 11/16/2004 5:31:34 AM
This is a multi-part message in MIME format. ------=_NextPart_000_0028_01C4CB9D.891D0160 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I am trying to make a calculator in ASP.NET using VB.NET but certain = errors are cropping up. This is a part...more >>

.css and Asp.Net
Posted by marcan1215 NO[at]SPAM hotmail.com at 11/16/2004 5:18:49 AM
Hi all, Here's my situation... I have a very big ASP.net application (with about 35 projects in) and I have to do something to incorporate style (.css) in all this application. In Others words, I have to create my .css first, and when it's completed, I should fix the CssClass property of...more >>

Usercontrol or something else?
Posted by mat NO[at]SPAM u2orange.co.uk at 11/16/2004 4:45:24 AM
Hi, I have a "DropDownList" that is bound to sql which is used on multiple (but not all) pages. I would like to code the logic only once and reuse it throughout the site. Would it be better to write a user control and then call that everytime I need the dropdown or is there a better soluti...more >>

Confirmation of delete
Posted by Angela at 11/16/2004 3:49:44 AM
Hi, Can't seem to find the answer to this on any posts. I want the javascript confirmation of delete to occur on my datalist for the 'delete' linkbutton. The code below works fine for the delete, but it somehow gets fired off when 'edit' linkbutton is clicked on. Which i don't understand. ...more >>

Best way to get ID of inserted row??
Posted by louise raisbeck at 11/16/2004 2:33:02 AM
Hi, I do a sqlcommand.executenonquery on the click of a button, which performs an insert statement. What is the most reliable way (i.e. someone else could insert at similar time) to get the id i have JUST created?...more >>

Incorrect Mozilla renderings
Posted by No One at 11/16/2004 2:03:02 AM
For whatever reason, when an ASP.Net control sees that the browser is Mozilla based, it returns HTML code that contains things like <font /> tags while returning style attributes for IE. I am testing against the latest Firefox browser and not the old stinky Netscape 4. Is there a way to tell t...more >>

Creating a WinPOP MailBox from an ASP Net Application
Posted by Markus Hopfenspirger at 11/16/2004 2:00:03 AM
Hello, I want to call a Command like winpop add username@domainname /createuser: password From a normal .Net Windows Application this is working without a problem. The same code called from a ASP Net Application or a Windows Service Application is not executed. Also if I do an imperson...more >>

Check url exists
Posted by peter_scurr NO[at]SPAM health.qld.gov-dot-au.no-spam.invalid at 11/16/2004 1:57:09 AM
Hi, i'm building a datagrid that grabs a documents location out of a database and puts them in as a hyper link column. Ideally i'd love to be able to check the validity of the link and only display links to documents that actually exist. And alternatively generate a list of invalid links. ...more >>

asp server.UrlEncode VS asp.net Server.UrlEncode Vs Php urlencode
Posted by Dario Sala at 11/16/2004 12:00:53 AM
Hi, what's the difference about Asp Server.UrlEncode and the Asp.Net Server.UrlEncode ? In asp: Server.UrlEncode("*") = %2A In Asp.Net: Server.UrlEncode("*") = * In Php urlencode("*") = %2A why ? ...more >>


DevelopmentNow Blog