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 2003 > threads for tuesday november 4

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

State Management: BEST CHOICE?
Posted by Sharad K. at 11/4/2003 11:48:35 PM
I'm wondering which is the best choice to manage SessionState on our webfarm(3 web servers, 1 state server) Options: 1. State Server 2. SQL Server Which is the best choice, and why? could someone help on locating some exhaustive n comprehensive resource online. Thanks!!!...more >>


How to use - TypeConvertor class
Posted by Makarand at 11/4/2003 11:01:45 PM
Hi Can anybody tell me how to use TypeConvertor class? Thing is i want to do dynamic(during runtime) type casting in my code. Thnanx Makarand...more >>

question abt speech apllication
Posted by samrat at 11/4/2003 10:59:15 PM
can we creat speech apllication using sdk beta 2 s/w and without using internet explorer...more >>

Adding user control to a panel.
Posted by Marc Bishop at 11/4/2003 10:41:25 PM
i want to repeat a user control multiple times and add each instant to a panel. i know to add to the panel pnlProduct_Display.Controls.Add () i call my user control: <Products:List id="ProductsList_Search" runat="server"/> and in the code call the sql place it in the control (the control re...more >>

code behind pages not supported
Posted by draganc at 11/4/2003 8:44:28 PM
Hello, I just want to test my application, and I want to upload it to www.brinkster.com server, but free host version does not support code behind pages. Can Visual Studio make both the code and the html in one .aspx file, and how can I do that? If not can You tell me where to find free...more >>

ORACLE
Posted by Sebastián_UY at 11/4/2003 7:30:13 PM
Hi group! Does anybody know how to call a Package from a VB.Net Win App? TIA -- Ing. Sebastián Gómez Correa ---------------------------------------------- sgomez@poderjudicial.gub.uy Poder Judicial - División Tecnología Montevideo - URUGUAY -------------------------------------------...more >>

How to protect site from fraud votings.
Posted by Arun at 11/4/2003 5:33:57 PM
We have a Voting Poll system on our website where any site visitor can vote. we want to make sure that he does not cheat by submitting his vote multiple time or in any others ways. We suggested that the visitor should be registered member of the site, this can control fraud voting. But we ...more >>

DropDown List eliminate intermediate spaces
Posted by Lucas Campos at 11/4/2003 5:22:10 PM
Hello, I'm using a dropdownlist web control. This dropdownlist has a problem with some descriptions I'd like to show. The description is "XXX JJJ", but it shows in the browser "XXX JJJ" (it hides some spaces). I tryed to encode it replacing the blanks with &nbsp; but the dropdownlist com...more >>



Run time error on: objCommand.ExecuteNonQuery()
Posted by Matthew Louden at 11/4/2003 5:20:42 PM
I just tried to create a simple ASP.NET application to add record to the SQL Server database. However, it has run time error on Line 88: objCommand.ExecuteNonQuery() Any ideas?? Please help!! Thanks!! Sub AddNewRecord() Dim objConnection As SqlConnection Dim strConnection As String = "Da...more >>

Automatic code documentation
Posted by Jake at 11/4/2003 5:17:04 PM
Hi everyone, I have noticed when coding in c# that function commnets appear automaticly, is this possible when implementing in VB? Thanks an advance Jake ...more >>

ASP.NET Global object created twice?
Posted by John Ruiz at 11/4/2003 5:06:25 PM
the constructor definition in my Global.asax.cs file contains (among other things) the following line: System.Diagnostics.Debug.WriteLine( "Global Constructor ran." ); when I run my web application via the debug menu of VS.NET, my console prints out the above log message... twice! why doe...more >>

ValidateRequest
Posted by Shaun Dore at 11/4/2003 4:58:07 PM
Hi, I have a web form containing a TextBox that allows users to edit XML files. When the page is posted, the changes are saved. This worked fine until the ValidateRequest 'feature' came along in .Net 1.1 Now, I've been told that it can be disabled using the 'ValidateRequest' attribute (of P...more >>

sample of configuration for Hebrew
Posted by Mr. x at 11/4/2003 4:40:03 PM
Hello, I would like to change web.config file so it will fit to Hebrew pages. I need a sample of how to do that (configuration section, but I need a sample code, please). Thanks :) ...more >>

How to get to Cache from Class
Posted by Keith Chadwick at 11/4/2003 4:35:52 PM
Need some help on access the httpApplication cache. I was informed to use the application cache over the old application object and also to use a classes versus modules. do I need to Imprt System.Web.HttpApplication into the class? do I need to dim x as System.Web.Application then use x.c...more >>

Detecting .NET
Posted by Vic at 11/4/2003 4:02:51 PM
Hello, All. Is there any way for an ASP.NET page to detect whether a client has .NET framework installed (preferebly to also determine the version). So, the resultant application would look something like that: User clicks a button called "Detect .NET version" on a page1.apsx. The result is...more >>

dealing with single quote in databases in ASP.NET pages
Posted by SStory at 11/4/2003 3:58:33 PM
How do you guys deal with single quotes with ASP.NET and SQL Server. I tried replacing all ' with two ' before inserting, but that shows up as two single qutoes. if I don't do that I get a runtime error related to this. Just wanted some dialog on this issue. It has to be fairly common. ...more >>

SmartNavigation
Posted by Alex at 11/4/2003 3:52:44 PM
Hi, Has anybody got the exact client settings needed to run SmartNavigation ? I am trying to use it and have specified the browser as IE 5.5 and above but still some people are having problems with the application. Grateful for any ideas/advice ...more >>

server control textbox width
Posted by DesignerX at 11/4/2003 3:42:38 PM
In classic ASP/HTML you set the length and maxlength of a textbox (so the width of the control is appropriately drawn for the number of characters that can be entered. How is this done with a textbox server control. Do I have to use an algorithm that looks at the maxlength and tries to calcula...more >>

Auto attach aspnet_wp.exe in visual studio.
Posted by Andy at 11/4/2003 2:53:15 PM
In visual studio, I have an asp.net project. When I debug, I have to manually attach to aspnet_wp.exe. My project used to automatically attach to this process. How do I get it to automatically attach to it again. ...more >>

Symantec AntiVirus Corporate Edition hanging ASP.Net applications?
Posted by Josh Brown at 11/4/2003 2:41:56 PM
We are currently running Symantec AntiVirus Corporate edition on a Windows 2000 Advanced server with .NET 1.1 framework. We've had all ASP.Net applications running on this machine hang twice in the last week... I've also noticed that the realtime virus scanning was running as a service in the ba...more >>

Session variable lost between pages
Posted by Marc Rivait at 11/4/2003 2:38:05 PM
Here is a very interesting scenario. I have a simple test application that loads a page and sets a session variable on the load event. On the first page there is a link to a second page. The load event of the second page displays the value of the session variable. The problem is that when...more >>

displaying a textboxes vs. listboxes depending on postback condition
Posted by jason NO[at]SPAM cyberpine.com at 11/4/2003 2:19:22 PM
I have an asp.net (vb) page with a form. Under some circumstances I'd like to offer a textbox and in other a listbox in the same exact spot and field width. I'd like to do this without having two asp.net pages, and without having to dynamically write out the form in my asp.net code. Is the...more >>

Page Caching
Posted by Keith Chadwick at 11/4/2003 2:14:12 PM
How do I prevent caching on a page. I tried <%@ OutputCache Duration="1" VaryByParam="None" %> but that does not appear to be working. The content of the page is generated by the loading of 2 xsl files which are then transformed and applied top to the text properties of 2 asp:label controls. ...more >>

Output stream question
Posted by Ivan Demkovitch at 11/4/2003 1:43:58 PM
Hi! I'm using output stream to output image to webpage. //Move array to response stream. Response.ContentType = "image/jpeg"; Response.OutputStream.Write(arrBt, 0, arrBt.Length); Response.End(); But sometime's I want to ou...more >>

HHEEEELLLPPP :o( .... My aspnet / sqlserver falls asleep????
Posted by M O J O at 11/4/2003 1:27:32 PM
Hi, About every half hour, my sqlserver falls asleep. When I try to browse my homepage (uses aspnet/sqlserver), I get this error: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. If I stop and start the SQL server service...more >>

orange-today
Posted by Roger at 11/4/2003 1:24:18 PM
What happened to http://spv.orange-today.co.uk - there was actually some really useful stuff on here like local cinema listings etc - has it gone for good or site just messed up? Roger ...more >>

Web Menus
Posted by Tracey at 11/4/2003 1:24:15 PM
Hello folks! I'm looking for a simple scheme for menus on ASP.NET. At present I have a menu along the left side of my page that's made up of links. Well, not surprisingly, I'm running out of vertical space and thinking about a new scheme, i.e., tree viewish. I don't want either myself or m...more >>

format?
Posted by LL at 11/4/2003 12:59:34 PM
Hi, How to format 3000.00 to $3000? Thanks. ...more >>

Forms cannot use DB when it is open.
Posted by M K at 11/4/2003 12:37:43 PM
I get the message: Could not use ''; file already in use. On my pages if I am working in the database. I used to be able work in the database (Access) and users use the site, but I tried to install Remote Debugging tools from VStudio 2k3 and since then it has been messed up....more >>

control get focus
Posted by Music Lover at 11/4/2003 12:35:38 PM
Is it possible to have something like textbox1.getfocus() thanks ...more >>

maybe I'm not understanding global.asax
Posted by dan at 11/4/2003 12:12:35 PM
my understanding is that whenever a global.asax page is placed in a directory ALL files in that directory and files in subdirectories will be affected, unless another global.asax page exists in a subdirectory. Also, may I have multiple global.asax pages in my domain?...more >>

Save file on server..
Posted by Ivan Demkovitch at 11/4/2003 11:27:12 AM
Hi! I would like to know if I can save File on Server using server-side code? For example, I like to create thumbnail images and populate specific directory. Do I need specific permissions to do this? (I use public host) Thanks! ...more >>

javascript alert function
Posted by Kenneth at 11/4/2003 11:21:25 AM
Hi, In a document I have three lines that detects and redirects to another page is a session variable is 0 If Session("Customer_ID")=0 Then Response.Redirect("myPage.aspx") End If What I really would like to have is a notification for the users what happened before they were redirec...more >>

Displaying Progress info to client while ServerSide code executes.
Posted by ctillotson NO[at]SPAM aimworld.com at 11/4/2003 11:10:59 AM
Hello, I just wanted to suggest this as an idea and get feedback if it is a lame. I had a simple challenge. In my app a client can upload a file and it took a while and I wanted to indicate to the client that something was happening. Not a true indicaition of status but just a ..gif letting the ...more >>

application variables not loading
Posted by Dan at 11/4/2003 11:07:25 AM
I'm not able to access my variables that I've set in my global.asax. Here is my simple code. Note: Error message is below. [[ global.asax ]] <%@ Page Language="c#" %> <script language="c#" runat="server"> string DbAccessString = "Provider=Microsoft.Jet.OleDb.4.0; Data Source=E:\\...more >>

passing values from a web page into windows form application
Posted by Bruno Alexandre at 11/4/2003 11:03:58 AM
Hi guys, How can I pass session/application values from a web page (ASP or ASP.NET) that is on a host company, into my cliente application? So I can hide menus based on access permisions once the user makes the log in in the web page by the application. I'm using VB.NET with W...more >>

Very strange behavior. Please help.
Posted by Barry at 11/4/2003 10:43:23 AM
I have a page with several embedded user controls in a Repeater that are set to visible dynamically. This give me a simple drill-down. I'm having problems with the speed with which the page renders. When I monitor the database, I can see when the data access has completed, but the page can t...more >>

large files via Response.OutputStream.Write
Posted by Ryan Hartman at 11/4/2003 10:40:11 AM
I am attempting to use the technique in KB 812406 (http://support.microsoft.com/?kbid=812406) to transfer large files via Response.OutputStream.Write. It works GREAT in in debug mode. But whenever I set debug="false" in the web.config file clients get cutoff after about 1.5 minutes. Th...more >>

Autoupdate "Push" to standard web browser...
Posted by Oscar Thornell at 11/4/2003 10:30:53 AM
Hi, I am looking for a technique where you from the serverside push/update a standard web browser with small piceces of data. An exempel could be sports result or stock exchange information. I do not want to use Java Applets, ActiveX controls or force the clients to download .NET Assemblies...more >>

configSections in Web.config file
Posted by WFB at 11/4/2003 10:05:48 AM
Hi I have an application with a couple of referenced assemblies. The referenced assemblies and my application all share a few configuration settings with the same name but different values. Is there a way to set up the config file to recognize this? Im thinking section name elements, but a...more >>

Setting attributes of webform from source code
Posted by Newton at 11/4/2003 9:43:06 AM
Hi, I am working with ASP.NET using C#. I put some labels, buttons and editboxes on a webform. But i need how to change a background color of the webform from the source code. In windows application it is easy, because I can call name of that form. But how is it in web application ? ...more >>

Server.Transfer
Posted by dwhitford at 11/4/2003 9:34:43 AM
When using Server.Transfer to move from one aspx to another aspx page. The path in the Request.RawURL is the previous page and not the current page. Is there a way to resolve this? ...more >>

Problem printing asp.net web pages
Posted by eric_caron_31 NO[at]SPAM msn.com at 11/4/2003 9:34:16 AM
Hi here's my problem, I have an asp.net page in which i have a calendar control to select a date. In this page I also have an table to display result of my query. My problem is that I want to print page but not print calendar and "Calc" button. Is it possible to do this ? Is it possible to...more >>

Server.MapPath Failing When Moved to Class Module
Posted by Jeff S at 11/4/2003 9:30:45 AM
In a VB/ASP.NET project, the following lines work as advertised when placed in a code-behind file (whatever.aspx.vb) - meaning that I get the full physical path to MyDatabase.MDB in the variable PathToMDB. However, when the same two lines are moved to a separate class file (whatever.vb), the proj...more >>

page still processing after request is cancelled ??
Posted by JM at 11/4/2003 9:23:27 AM
i have an aspx page that imports 15k records from ms access into sql server. the page is running pretty slow, so i have to reevaulate the code. I tested the page, while is was processing, i hit the stop button in my browser, and even went to a different site. however the rowks keep getting inser...more >>

Programatically refresh web form
Posted by Jorge Varona at 11/4/2003 9:14:49 AM
Greetings, I have been struggling with a problem the past two days. I need to force a refresh/postback on a web form through code. After searching Deja the best answer is that I can't do it through server-side code and that it must be done through JavaScript on the client. Can anyone shed some l...more >>

How to encode ASPX and ASCX files into DLL
Posted by buzlite NO[at]SPAM rogers.com at 11/4/2003 9:12:46 AM
Hello All, Would someone be able to tell me whether it is possible to encode an ASPX page or an ASCX user control into a DLL and later have the webapplication get the page out to the requesting client. Thanks. ...more >>

Repeater Help
Posted by vinay at 11/4/2003 8:53:21 AM
Hi, How to implement Sort for a Repeater Control??? Any samples or references??? <asp:Repeater id="RptProds" runat="server" EnableViewState="false"> <HeaderTemplate> <table class="rowover-side" border="0" id="Table1" width="800" style="BORDER-RIGHT: #666666 1px ...more >>

Datagrid Cell Focus
Posted by Rick at 11/4/2003 8:47:05 AM
How can I give focus to the first, editable cell (textbox) in a datagrid after the user has opened the row for edit?...more >>

Programmatically Created DataGrid Template Columns
Posted by nmarz NO[at]SPAM insight.rr.com at 11/4/2003 8:43:10 AM
I am creating template columns programmatically. I have read the msdn article on this and I'm so close. Article: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vstechart/html/vbtchcreatingwebservercontroltemplatesprogrammatically.asp I have narrowed down the problem come...more >>

Response.End
Posted by C at 11/4/2003 8:01:20 AM
Hi, I have and ASPX Page. On submitting the for I write out soem text to soem server side labels. I then to a Response.End having done this. The update to the server side labesl does not get pushed out to the client. What do I have to do to get these changes on the server out to...more >>

Urgent Help...on Error Handling
Posted by Chirag Malvi at 11/4/2003 7:35:32 AM
hello all, I am developing ASP.net application in VS.net - 2003. On occurance of error i am trying to redirect it to the errorpage.htm in the frame set. presently i am using the frame set with content, main, banner and footer frames. In content frame if the error occurs the errorpage.htm ...more >>

P.O. Box Regular Expression Validator - heeeeeelp?
Posted by Simple Simon at 11/4/2003 7:28:40 AM
Hi, I need some help getting this P.O. Box regular expression to work, or a new expression entirely. I got this one from a Google Groups search. It seems to work at: http://regexlib.com/ but not at runtime. ValidationExpression="(?i)^((?<!P\.?\s?O\.?\sBox).)+(?<!P\.?\s?O\.?\sBox)$" Please...more >>

I need to be able to use Outlook from aspx
Posted by enak at 11/4/2003 7:23:56 AM
I need some help. I have a group of attorneys that need to be able to see the schedule of court dates. These dates are scheduled by the legal assistants. This is what I need: when a legal assistant schedules a court date I need that date to be added to each attorney's outlook calendar...more >>

Can Auto-build?
Posted by hifchan NO[at]SPAM yahoo.com at 11/4/2003 7:17:42 AM
My .net website has this problem, sometimes you can see the changes w/o running a "Build" in VStudio.Net and sometimes don't. I use codebehind for .aspx. There must be somewhere overlooked....more >>

UserControl
Posted by dotbet beginner at 11/4/2003 7:11:04 AM
I have a hidden field and a usercontrol in a webform. And I have a button in the user control. When I click this button I want to access the value of the hidden field on the form by means of a client-side javascript function. Any help is appreciated. Thanks, Sudhir. ...more >>

Setting margins on an ASP.NET page
Posted by Keith at 11/4/2003 6:45:54 AM
I'm trying to set an ASP.NET page so that is has no margins. I'm using Flow Layout mode, and I keep setting all the document's margin properties to zero, but when I pull the page up in Internet Explorer, it still appears to have margins. Does anyone have an idea of what I'm doing wrong o...more >>

page title
Posted by David at 11/4/2003 5:42:55 AM
Is there a way that I can set the title of a page from the server. I do not want to use Page.RegisterClientScriptBlock as this relies on the clients browser or use a WebUserControl as this increases overhead. Any suggustions would be appreciated...more >>

How do I get to this control?
Posted by john_20_28_2000 NO[at]SPAM yahoo.com at 11/4/2003 4:56:48 AM
I have a pushbutton in templatecolumn in a DataGrid. I can iterate through some of the rows in the datagrid with: sub alert_inactive(sender As Object, e As DataGridCommandEventArgs) dim item as datagriditem For Each item In sender.Items response.write("<br>The answer is: <BR>" & item.Cel...more >>

Installation
Posted by Jenny at 11/4/2003 3:43:50 AM
Hi I'm developing my asp.net application on my local computer with IIS. I transfer the project by simply copy/paste to the server and each time dll's are missing. I do also not know whether it's necessary to copy all the *.vb or *.sln etc. files. How can I make relieable 'minimum files' in...more >>

Issues with debugging an asp.net project
Posted by Ken Dourado at 11/4/2003 3:31:48 AM
Hi, I have an issue debugging my asp.net project. On a particular aspx page, in the code behind cs file, my breakpoints are not being hit. The breakpoint is in the Page_Load() method and is a proper line of code where a variable is assigned a value (not a blank line, curly brace or anythi...more >>

Validation works locally but fails on web server
Posted by mrpetermarsh NO[at]SPAM hotmail.com at 11/4/2003 3:19:15 AM
I have a problem with validation on a form that I've created. When I run the form locally the validation works beautifully, I've got comparison, required field and regular expression validation set up. When I try to proceed without entering required information the summary kicks in and this is...more >>

Converting from grid layout to flow layout.
Posted by RobertH at 11/4/2003 12:34:29 AM
Been getting allot of complaints from users that everything is squashed and overlayed and fonts are overlapping into buttons etc.. etc... So i determine that grid layout is probably bad, 50% of the users have problems, all on microsoft platforms. ok. hit propertys and then select flow layout ba...more >>


DevelopmentNow Blog