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 > july 2003 > threads for thursday july 3

Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

DataGrid Pagination
Posted by Joseph D. DeJohn at 7/3/2003 8:57:34 PM
I am trying to get pagination working on a datagrid. Can anyone point me to a resource for help on this? I'm not sure if custom paging is the best option or not. ...more >>

newbie asp/ado.net question.
Posted by linz at 7/3/2003 8:48:23 PM
Hi, I am very new to .net but not new to asp or ado. I am just wondering the best way to do the following... I have a database which stores a list of messages/threads (like google newsgroups threads). I want to display these on a webpage where each message is a hyperlink, and each messa...more >>

Export datagrid(with allowsorting) to Excel
Posted by Eric at 7/3/2003 8:15:37 PM
Dear All, =20 I want to export datagrid content to a Excel file, the code just = like below: Response.ContentType =3D "application/vnd.ms-excel" Response.Charset =3D "" Me.EnableViewState =3D False Dim tw As New System.IO.StringWriter() Dim ...more >>

Mail help (urgent)
Posted by Onur Bozkurt at 7/3/2003 6:37:38 PM
I want to send the rendered output of the page while sending e-mail. Is there anyway to do this...? ...more >>

How to uninstall ASP.NET 1.1 from windows 2003
Posted by Satish at 7/3/2003 6:33:26 PM
Hi How can i uninstall ASP.NET 1.1 from windows server 2003 .. i want to have just ASP.NET 1.0 on my server thanks Satish ...more >>

OT: Portal app needed
Posted by John at 7/3/2003 5:20:41 PM
Hi I am looking for a business portal app that allows lot of ads on the front page and featured businesses etc plus the usual portal stuff. As this would be free for companies to advertise, I am looking for something that is relatively cheaper. Thanks Regards ...more >>

Is it possible to do a xsl transform on a string?
Posted by Showjumper at 7/3/2003 4:46:16 PM
Can an xsl transform be done on a string containing the xml? If so would i do this? ...more >>

User control problem
Posted by John at 7/3/2003 4:37:44 PM
Hi all, I have a usercontrol which contains others. How do I get the info from these embedded usercontrols from my parent usercontrol? Regards John. ...more >>



ASP.Net form requires Two textboxes to get enter key to invoke button click
Posted by Greg H at 7/3/2003 4:26:11 PM
I am really missing something. I want the enter key to invoke a button click on a form after entering text in a textbox. But if I only have one textbox the click event will not fire, but If I put two textboxes on the form the click event will fire I have a colleague look at this, and he ca...more >>

Highlighting Certain words in a document
Posted by Stephajn Craig at 7/3/2003 3:48:40 PM
Is there a way that I can have a page do some highlighting based on a set of given keywords? The scenario is that a user does a search for certain keywords, and then the items returned have the words that cause them to be a match highlighted as the user looks through the item. -- Stephajn ...more >>

The viewstate is invalid for this page and might be corrupted problem
Posted by Hardy Wang at 7/3/2003 3:38:47 PM
Hi all: I developed a web site, it passed various testing internally. When I put this site in production, I receive some error reports from this site saying "the viewstate is invalid for this page and might be corrupted". I am wandering what kind of client side problem may cause this error? ...more >>

Modifying the Back Button Function
Posted by Peter D. Dunlap at 7/3/2003 2:19:48 PM
Hello, I realize that this may not be the best place to ask this question, through the application is asp.net. I also realize that questions about disabling the back button are generally met with derision, so let me explain: (1) The site is actually a web-based application, not a "web site...more >>

SmtpServer Property
Posted by sampsons at 7/3/2003 2:03:45 PM
Greetings, I am using Web.Mail.Mailmessage along with Web.Mail.SmtpMail.Send(MailMessage) method Now, this sends Email using the Default SMTP server of my REMOTE HOST. Sadly I have found that many ISP's block mail sent through this method. I do have an SMTP server included in the Remote H...more >>

Calling functions?
Posted by Charles A. Lackman at 7/3/2003 1:34:59 PM
Hello, I wrote a jscript function within the HTML window of my webpage and would like to call it from inside the ASPX code-behind page. Any suggestions? or I would like to cause an alert box to pop up using the code-behind window of an ASPX page. Any of these two things will work fo...more >>

W/2003, VS/2003, SQL2000 and ThreadAbortException
Posted by David Waz... at 7/3/2003 12:55:42 PM
Moved an app from W/2000 Asp V1.0 to W/2003, VS/2003, ASPV 1.1 Page runs a long job, uploading 2 large fixed length files (300,000 rows) into SQL database. A process is run against the data, and altered flat-files produced. The job aborts at EXACTLY 105 seconds (1 min, 45 seconds) rega...more >>

Anyone know of a ASP.NET wrapper for HTMLTidy?
Posted by Showjumper at 7/3/2003 12:54:34 PM
I am looking for a asp.net wrapper for HTMLTidy. I found a com wrapper for it here: http://perso.wanadoo.fr/ablavier/TidyCOM/ But i'd like a .net wrapper ...more >>

Object reference not set to an instance of an object.
Posted by Chris Fink at 7/3/2003 12:32:56 PM
Hello, I have a user control that contains a datalist and within that a asp label, as follows: <asp:DataList ID="dlHomeDetail_Starters" Runat="server" CellPadding="1" CellSpacing="1" Width="100%" RepeatDirection="Vertical" RepeatColumns="1"> <HeaderTemplate> <tr class=mainhead vAlign=c...more >>

Unexplained Instance Error
Posted by Marty Cruise at 7/3/2003 12:04:38 PM
I am getting the following error: " Object reference not set to an instance of an object." The strange thing is that I AM creating a new instance of the object in the PageLoad event Iin the code behind) just prior to using it's properties, and in fact, the app ran perfectly until only rec...more >>

Global.asax Application_End questions
Posted by Jim Owen at 7/3/2003 12:04:31 PM
My .Net book states that the Application_End event handler in Global.asax gets called typically about 20 minutes after the last HTTP request. My question is: what is the best way to debug my Application_End code? I could of course add a button or something to a form to run the code explicitly, b...more >>

Using Application() variables in non-web classes
Posted by Brian Bischof at 7/3/2003 12:04:20 PM
Hi All, I saved a variable to the Application() collection and I can access this from the aspx.vb code. However, I want to be able to access this variable from a simple class. I've seen where I can have the class inherit from one of the web classes, but I don't want to do that just for a simpl...more >>

Invalid ViewState and Machine Keys
Posted by Brian Lankford at 7/3/2003 12:03:38 PM
Ever since we moved our asp.net website to two load balanced servers we have been getting every once in a while invalid or corrupted viewstate errors. I've looked around on the internet and the only thing I could find was an article that told us to look at our machine.config file on both ...more >>

Javascript in ascx file
Posted by Matthew Nace at 7/3/2003 12:03:24 PM
Is there any limitations in using javascript in .ascx files (user controls) I got it working just fine but some of the properties for objects, ie form.item property isn't coming up. In .aspx files everything is fine. I want to set a boolean var, set that to a hidden html element, then test...more >>

Radio Button List server control and java script
Posted by jayuya at 7/3/2003 12:00:07 PM
How can i check in java script if a asp.net radio button list server control is selected? I have some custom javascript function in the client side that needs to run but I don't see the way to see if user selected or not one of the options.... thanks, jayuya...more >>

moving to an anchor point programmatically
Posted by Craig Phillips at 7/3/2003 11:58:35 AM
Hi, Does anyone know how to programmatically move to a anchor point (a tag). I am using vb.net. When the user presses a server-side control on the webpage, I need to do some server processing and then I would like the resultant page to have scrolled down half-way to the relevent part. Any help m...more >>

image/imagebutton client validation
Posted by ganesh kolappan at 7/3/2003 11:45:20 AM
Hi is there any way i can call a clientside function for validation onClick of a Image or imagebutton? Right now my image or imagebutton is submitting to the server, even it return false from the clientside function. my sample code has, ..aspx code: ------------- function validateme() ...more >>

File access using ASP.NET
Posted by Harry at 7/3/2003 11:10:23 AM
Hi, I've got an ASP application running and want to have it write to a text file. I am running VS.NET on WinXP. I was able to set the file permissions to allow ASPNET access under Win2000 but when I changed my dev OS to XP, the security option is not the same. Can any one tell me how to gra...more >>

Shell commands in ASP.NET?
Posted by Allan Rojas at 7/3/2003 10:31:01 AM
Hi, I want to execute a shell command and retrieve the output of it, is there a method to do it? All i have found is how to start a process (cmd /C), but i cannot retrieve the result of the command execution. For example, it would be ideal if there would be a method like: string result = ...more >>

How do I copy ASP.NET application to another machine
Posted by Goran Djuranovic at 7/3/2003 10:10:25 AM
I am trying to COPY, not deploy, ASP.NET application. I know that asp.net application can be copied without any problems by using "Copy Project" menu item, but only if it doesn't have any Crystal Reports files. Unfortunately, my app has few crystal reports included any somehow I get "missing k...more >>

What is the prefered way to insert HTML in a page.
Posted by Blake Versiga at 7/3/2003 10:01:49 AM
In ASP you use <% =HtmlString %> but in ASP.NET this can cause some problems if you are using page inheritance. What is the prefered way to insert HTML in a page? Thanks ...more >>

How to send a big amount of data from an aspx page to another
Posted by muffinmaniak NO[at]SPAM hotmail.com at 7/3/2003 9:59:19 AM
Hi, I have webpage (sql.aspx) in asp.net with a big textbox. In this box, I generate SQL queries. Some of the queries can takes more than 2000 characters lenght. I want to send the content of the textbox (the query) in another webpage(result.aspx) textbox. I just don't know how. Can I use po...more >>

Is this an MS bug..?
Posted by alien2_51 at 7/3/2003 9:30:51 AM
I have a ASP.Net TextBox in singleline mode, maxlength prevents the user from entering more than maxlength either by not allowing you to input more chars or removing text to the end beginning at max length... If I change mode to multiline I'm able to put as much text as I like regardless of the ...more >>

PushButton v. LinkButton in a DataGrid
Posted by Mark at 7/3/2003 9:20:23 AM
I have two buttons in a DataGrid. If I leave the ButtonType = "LinkButton", the EditCommand and DeleteCommand events fire fine. If I change th ButtonType = "PushButton", the events do not fire. Does this buttonType property change how the events fire? Suggestions? I have the ItemCommand even...more >>

Loop through the listbox to read selected items
Posted by JP at 7/3/2003 9:12:53 AM
Hi, I am trying to loop through the listbox and read the selected items from the list, within a CLICK event on an aspx page. The following is what I have tried. It loops through the listbox, but none of the items' SELECTED property is TRUE while I have selected a few items. What am I mi...more >>

Validation Controls Postback
Posted by Rafael Veronezi at 7/3/2003 8:56:40 AM
I have a little problem while working with Validation Controls in extensive forms... When the user reaches the end, and something is wrong, it just highlights the messages (a client-side script)... But, if the field is on the top of the form, and the user doesn't search, and keep clicking on the ...more >>

Date Woes
Posted by Kevin Vaughn at 7/3/2003 8:47:03 AM
I am trying to convert a date from this format: yyyymmddHHMMSS.mmmmmmsUUU to a format that ASP.NET (VB.NET) understands. The above date format is used by the WMI datetime type. I don't care about the mmmmmmsUUU part, as that counts milliseconds and microseconds. The sUUU is a three digi...more >>

Problem with SDK v1.1 sample...
Posted by <.> at 7/3/2003 8:44:06 AM
I'm having trouble with the VB MathServiceClient sample in the SDK (v1.1). When I compiled the sample it created the proxy class file (MathService.wsdl). All other samples work OK, so I don't think it's permission related..... Exception Details: System.Net.WebException: The request failed with...more >>

Export Data to .CSV file
Posted by JP at 7/3/2003 7:00:44 AM
Hi, I want to export data to a .csv file in a way that a "Save Dialog" opens up and allows users to select the File Path and the File Name to save. How do I do this? Thank You, JP ...more >>

Syntax
Posted by yma at 7/3/2003 6:55:41 AM
Hi, In a subclass, is sub new() end sub the same as sub new() mybase.new() end sub Thanks Chris Ma ...more >>

ASP.NET worker process size keeps growing.
Posted by Hoon at 7/3/2003 6:55:14 AM
It seems that asp.net worker process keeps growing and it slows the web server down. Does anybody have an idea what could trigger this kind of problem??? thanks in advance, Hoon...more >>

Application Restarts
Posted by Senthil at 7/3/2003 6:22:32 AM
Hello All, I'm facing a peculiar problem with the web application that we have developed. Whenever a small change has been done in an ASPX page & is replaced on the web server & when this page is being accessed through the browser all the sessions on the server gets lost. I unders...more >>

why doesn't this script creation, from .aspx.vb work, for this event handler???
Posted by Daniel Bass at 7/3/2003 6:19:13 AM
where szStartDate, szEndDate, szStatus, szMsgType, szClient, szFilter are all strings declared and containing data as this code executes... ' hook up a refresh event to the refresh button Dim RefreshScript As New System.Text.StringBuilder RefreshScript.Append("<SCR...more >>

opening aspx-files in frontpage?
Posted by kman_91 NO[at]SPAM hotmail.com at 7/3/2003 6:00:01 AM
Hello everybody, I have created a webform using ASP.NET/C# as a part of my bachelor thiesis on the behalf of a Community school. The form should be used to save course information in a database and publish this information on a webpage. My question is now this: Is it possible for the webma...more >>

posting to another aspx page
Posted by Magnus at 7/3/2003 5:00:07 AM
Hi! This is my problem: I want to go from page1 to page2, and to get all the form variables from page1 to page2. I have turned the viewstate and the sessionstate off, and i really just want to get these variables the oldfashioned way (ie via the request.form collection) This is ...more >>

Image Height and Width values
Posted by Blake Versiga at 7/3/2003 4:55:06 AM
After pulling an image from the data base and the Image.Height and Image.Width are not set to the ImageURL's attributes. 1) Is there a way to have these properties updated? or 2) How do I get the image height and width to store? Thanks in advance. Blake Verisga ...more >>

Setting Initial Focus on a Text Box
Posted by Blake Versiga at 7/3/2003 4:49:48 AM
How do i set the focus on a Textbox upon initial display of the page? ...more >>

Use LoadControl to load a usercontrol but the webcontrol in the usercontrol can not AutoPostBack
Posted by huobazi at 7/3/2003 4:08:21 AM
a uscontrol test.ascx have a dropdownlist web control the dropdownlist's AutoPostBack property is set "true" but when i use Loadcontrol("test.ascx") in a aspx fiel's Page_Load event the dropdownlist which in the ascx can not run good it can not autopostback and can not call the OnselectedChange ...more >>

How do you build a project to target Framework 1.0 in VS 2003?
Posted by david.flynn NO[at]SPAM buy4now.ie at 7/3/2003 2:30:03 AM
Hello, I need to make a quick fix to an existing asp.net 1.0 site. I am using VS 2003 and when I pull the project down from source control it converts it to a 2003 project. When I build the project it becomes an ASP 1.1 build. Is there a build option that allows me to target ASP 1.0? Best ...more >>

JavaScript
Posted by Robert at 7/3/2003 12:41:06 AM
Hi all, I like to use some JavaScript on my ASPX Page. But whatever I'm trying it doesn't work. The basic code of the ASPX Page is: <%@ Page Language="vb" AutoEventWireup="false" Codebehind="WebForm1.aspx.vb" Inherits="ASP_Check.WebForm1"%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Tr...more >>

datagrid: can't get read text from a cell programmatically
Posted by David at 7/3/2003 12:27:51 AM
In the event handler for ItemCommand, I am trying to read text of cells in the row programmatically, but can't get it working. //this is what I have in InitializeComponent this.dgList.ItemCommand += new System.Web.UI.WebControls.DataGridCommandEventHandler(this.dgList_Command); //this is th...more >>


DevelopmentNow Blog