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 saturday november 13

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

DropDownList: Select item based on record? (newbie)
Posted by David at 11/13/2004 10:49:01 PM
Hi, I am sure this is a common question, but I could not find an answer... I have a DataList tag in which the EditItemTemplate has an item that should only set the database field to one of a few options. Seemingly a Drop Down List is the way to go. However, when the user selects a reco...more >>

How to get a PDF opening in a clients webbrowser?
Posted by Kenneth P at 11/13/2004 10:19:01 PM
Hi, It's rather common today, to see a PDF opening within a new Internet page. But how is it done in ASP.NET, VS2003? I'd rather use it as a way to invoice electronically. You email your customer without the PDF-file as an attachment to the mail. Many company's exchange servers and othe...more >>

Example Code for Inside ASP.NET, ISBN 0-7357-1135-6 ?
Posted by Kenneth P at 11/13/2004 9:59:02 PM
Hi, I'm a lucky owner of a great asp.net book, but I can't find the example code snippets from the book. Seems NewRiders doesn't exist anymore? Seems QUE bougth them. I think it should to be here: http://www.quepublishing.com/title/0735711356# but the links doesn't seem to work? ...more >>

adding a XML control to a web custom control
Posted by Brian Henry at 11/13/2004 8:35:23 PM
I want to create a web custom control (not a user web control) that I can add a XML translation control into, how would I do this? I am using the web custom control as a template that I can add to the page, but it depends on other Web Form controls inside it but I do not know how to add the ot...more >>

How get javascript var value?
Posted by VB Programmer at 11/13/2004 8:18:11 PM
I have a javascript calculator. How do I pass the value of the calculator result to another ASPX page so that I can right some VB.NET against the value? Thanks! ...more >>

Format() in Public Shared Function
Posted by Matt at 11/13/2004 7:38:03 PM
I'm trying to write a shared function that will convert all my phone numbers from format 1234567890 to (123) 456-7890. Here is my function that I wrote: Public Shared Function CheckPhone(byVal val as String) as String dim strCheckPhone as String If val = "" Then strCheckPhone = ...more >>

Remote control of windows service with windows 2003 server
Posted by pberna at 11/13/2004 7:36:21 PM
Dear all, I built a Web Form application to start and stop a Windows Service remotely. I successful tested the application on Windows 2000 server + IIS. I must include the ASPNET user to the Administration group (on server side) to have the necessary authorization to start a Windows Service...more >>

updating a DataGrid
Posted by Jon Agiato at 11/13/2004 6:58:28 PM
Hi, I am trying to use a data grid in a web application in which I have three tiers. The DataGrid is not set up to a data source, or a data adapter, so everytime I make a change I send the cell information to another object which forms an SQL query and makes the query to the DB (actually to a DB...more >>



Custom Validation Controls - how to prevent text box data being used
Posted by Stephen Adam at 11/13/2004 5:00:47 PM
Hi there, I have written a custom validation control which checks to see of an input field is not empty and contains only numeric data. I was using a regular expression validation control but was unable to get it fail if a field was blank. My problem now is that while my custom validation c...more >>

grabbing values from standard INPUT TEXT fields that are being dynamically written?
Posted by Darrel at 11/13/2004 3:45:26 PM
I'm writing out my own Table via codebehind. Each row has an INPUT TYPE="TEXT" that I am writing out dynamically as well. I want people to be able to update this text, then, upon submit, I'm going to walk through each one to update the DB. How do I access these form fields from the codebeh...more >>

IE Refresh Message.........
Posted by Allen Hubatka at 11/13/2004 3:41:36 PM
When I press the F5 key only certain situations I get the following message. When exactly IE determines to prompt the message? The page cannot be refreshed without resending the information. Click Retry to send the information again, or click Cancel to return to the page that you wer...more >>

VIEWSTATE.....
Posted by Anil Kodipally at 11/13/2004 3:32:55 PM
All the __VIEWSTATE will be kept under only one hidden control? Thanks, Anil ...more >>

setting focus to datagrid subcontrol
Posted by Bonj at 11/13/2004 3:30:52 PM
Hi I've got an ASP.NET datagrid control, and in the footer, there is a series of controls for typing in new values to add an item. e.g. <asp:DataGrid runat="Server".... > <Columns> ... <asp:TemplateColumn HeaderText="Name"> ... <FooterTemplate> <asp:TextBox ID="txtNameAdd"...more >>

Creating ASP.NET project in VS 2003
Posted by Dave at 11/13/2004 3:20:44 PM
I have an old Visual Studio 2001 VB ASP.Net application; really all I have are the folders and files from the web server. How can I "hook" this back up to Visual Studio 2003 so I can update it? I copied the files and folders to the C:\inetpub\wwwroot directory and created a web application...more >>

BUG! needs to click button twice to show the summary info!
Posted by Wang at 11/13/2004 1:31:59 PM
Here is the code for a webcontrol, quite simple: ------------------------------------------------------------------------------------------------------------- <%@ Control Language="c#" AutoEventWireup="false" Codebehind="WebUserControl1.ascx.cs" Inherits="WebApplication23.WebUserControl1" Ta...more >>

Pop-up messages how?
Posted by Guy Dillen at 11/13/2004 12:44:59 PM
i'm developing an ASP.NET C# application where you need to have the possibility selecting a user (in a list) and sending him/her a (text)message. The message sent should popup (or be listed) at the recipients side. What is the best way to achieve this (Peer2Peer system, storing the message ...more >>

Building ASP.Net Server Controls.....
Posted by Nish at 11/13/2004 12:39:37 PM
Can you please suggest any good resources to build ASP.Net Server controls? Thanks, Nish ...more >>

Calling a Server-Side function from client javascript
Posted by Craig at 11/13/2004 12:17:02 PM
Hi I have a html table with an <td runat=server ...> element. On the onclick event of the <td> I want to do a postback, executing a server side function. What's the best way of doing this? The documentation seems to indicate that I need a control event to implement this. Craig...more >>

Add Watch
Posted by et at 11/13/2004 11:45:42 AM
How do I add a watch, using asp.net in visual studio, to stop the program when a value in a drop down list changes? I can add a watch through Debug, windows, watch, but there doesn't seem to be a way to have it stop the program if and when the value changes, I never see it in the watch because ...more >>

What's the secret?
Posted by et at 11/13/2004 11:29:28 AM
In the web.config file, there is an option for pageOutput, and a notation that says you can view the trace in the trace.axd file. Well, there is no trace.axd file that I can find, I've searched everywhere. So what is the secret that is always left out to find this file. I have put pageOutput t...more >>

How to show popup message in a webform
Posted by ipsita.mohanty NO[at]SPAM gmail.com at 11/13/2004 10:05:28 AM
Hi, I am explaining the scenario of what I am trying to do: - I have a webform with some controls, from which I am taking the data. eg say Username, password - I am passing these data as parameters to the web service method result = serviceproxy.VerifyUser(username, password) on the event of ...more >>

Accepting Credit Cards
Posted by VB Programmer at 11/13/2004 9:53:55 AM
Anyone accept credit cards through their ASP.NET website? If so, what service do you use? Any links, suggestions, code samples, etc...? ...more >>

Real basic question
Posted by Dave at 11/13/2004 8:23:38 AM
I am reading Microsoft's ASP.NET Step by Step that states that I can create an aspx file in notepad. When I do this I get a an error message: "Server Application Unavailable" when I try to view the file in a browser. However, I can create and access an html file in a browser. I am using...more >>

Generating event handler at run time.
Posted by mg at 11/13/2004 4:59:02 AM
The following code runs without error, but the 'alert' does not appear. Can you see the problem? private void LinkButton1_Click(object sender, System.EventArgs e) { System.Web.UI.WebControls.ImageButton ImageButton1 = new ImageButton(); ImageButton1.Height = 18; ImageButton1.Width = 1...more >>

Can't submit in IE but can in Firefox?
Posted by slolife NO[at]SPAM gmail.com at 11/13/2004 1:39:34 AM
Visit the following page: http://www.onlinescorekeeper.com/leagues/login.aspx?League=demobasketball If you enter admin for the username and admin for the password, it will log in. Just recently, the form quit submitting when using IE but it still works using firefox. Anyone have any idea w...more >>

Collection Objects
Posted by Dufus at 11/13/2004 1:15:10 AM
I want a way of checking an object to see that it either implements the IEnumerable or ICollection Interface. I could use something like this: (in VB) If Not obj.GetInterface "IEnumerable" is nothing Then ........ But what happens when the object is a custom collection that inherits from ...more >>

Clear DataGrid content
Posted by Ben at 11/13/2004 1:13:02 AM
Is there a way to quickly clear the DataGrid content, like in DropDownList ddl.Items.Clear()? Thanks, Ben...more >>


DevelopmentNow Blog