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 > february 2008 > threads for monday february 11

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

getting height of a block of text
Posted by Keith G Hicks at 2/11/2008 11:58:26 PM
I am converting an MS Access app that I wrote sevearl years ago for a client over to ASP. There's a feature in the app that I am not sure how to do in ASP and need some input on. They need to know the height in inches of a block of text formatted a certain way for determining layout in a newsp...more >>


Doubleclick event in DataView
Posted by Chris Zopers at 2/11/2008 11:41:12 PM
Hello, I have a html table and each row in it shows a record. Below the table there is an asp:button. When the user clicks on the button, a form is openened where the user can view or edit the selected row/record in the table. It should also be possible for a user to doubleclick on a row, t...more >>

JavaScript and Components on Pages
Posted by Alex Maghen at 2/11/2008 11:41:01 PM
Is there an Event in a page's life-cycle where I would be able to reference all of the objects that were instantiated on a page, but as soon as possible after the page loads? If I try to use OnLoad for the Document, objects like ActiveX controls don't seem to "exist" yet on the page. Ideas?...more >>

Dataset not Clearing
Posted by tshad at 2/11/2008 9:21:38 PM
I am trying to clear my dataset each time I read a new csv file but it seems to keep the data from the previous time. If I do: ******************************************************************************** foreach (string strFile in strFiles) { ds.Clear(); da = new OleDbDataAdapter("SEL...more >>

Weird Issue with HttpModules
Posted by Karch at 2/11/2008 8:32:07 PM
I have an assembly which contains 2 HttpModule class that inherit from a base class. The base class simply provides some common methods - nothing special. The strange thing is that, even though I only specify one or the other modules in the httpModules section, it seems that both constructors ...more >>

File Upload
Posted by shapper at 2/11/2008 6:40:52 PM
Hello, I need to upload a file. Can I only do this with the File Upload control? I also need the following: - Send upload info, upload percentage, continuously to a JavaScript function so I can display the Upload Progress. - The controls would be inside an Update Panel. Before I s...more >>

Can't change Read-only status of directories
Posted by Tina at 2/11/2008 5:18:05 PM
I copied a multi-project asp.net website, complete with source, and I'm trying to build it on my dev box which is a server2003 image. All the directories are marked read-only and if I uncheck them they don't stay unchecked - they resort back to their read-only status. So, I can't build dll...more >>

MVC Framework and Grid?
Posted by coconet at 2/11/2008 4:46:32 PM
I'm just getting into the ASP.NET 3.5 MVC Framework right now, and am wondering how I can produce a grid of data with sortable headers. I'll do "pure" Microsoft controls/HTML or a 3rd party thing, but I really need the functionality. Anyone? Thanks. ...more >>



Why does web.config get updated?
Posted by Frank Rizzo at 2/11/2008 4:23:14 PM
I have a solution with a web service as the starting project. The web service references other projects in the solution, which in turn access other assemblies (some of which are in the GAC). When I run, VS2005 stuffs a bunch of assemblies (that are 2 or 3 levels removed from the web servic...more >>

An unhandled exception has occurred
Posted by tedykim11 at 2/11/2008 3:14:51 PM
I have following errors. Does anyone how to resolve this issue? Source: ASP.NET 2.0.50727.0 EventID: 1309 Event code: 3005 Event message: An unhandled exception has occurred. Event time: 2/11/2008 3:29:22 PM Event time (UTC): 2/11/2008 9:29:22 PM Event ID: f4261356628249fa81a934aaf201a3eb...more >>

Formatting Calendar Extender
Posted by Wannabe at 2/11/2008 2:31:32 PM
I have a calendar extender that when I put it in an update panel, the formatting that I have in CSS, does not work. If I pull it out of my update panel, it looks fine. Is there something I can do to make the CSS formatting work for my calendar extender keep and the same format when inside an u...more >>

list of files in Gridview, using a treeview
Posted by John Devlon at 2/11/2008 2:26:32 PM
Hi, I've created a small webpage, containing a Treeview and a Gridiview. The treeview is populated with all folders and subfolders of a directory. so far, so good. When clicking on a node in the treeview, I would like to display all files in that folder, in the gridview. How do I catch ...more >>

ASP.NET impersonation - getfiles() problem
Posted by float at 2/11/2008 1:57:44 PM
Hi all, I've got problem with listing files in UNC path. Result is: Access to the path '\\serwername\path' is denied. I'm using IIS 5.1 on WinXP Pro. All machines in one domain. Impersonation is on. web.config: <system.web> <identity impersonate="true"/> <authentication mode="Windows"/> ...more >>

error in datagridview
Posted by SAC at 2/11/2008 1:06:16 PM
I'm using Visual Web Developer 2005 Express Edition. I drag the Authors table to the design view in the pubs db and then press F5. I get and error: Cannot open database "pubs" requested by the login. The login failed. Login failed for user 'NOTEBOOK\ASPNET'. I thought this is a permis...more >>

Serving an image
Posted by Not Me at 2/11/2008 12:59:07 PM
Hi there, I am just wanting to simply load up an image and pass it on through the webserver.. i.e. the client would receive the file as if they'd entered the URL of a picture directly (using response-contenttype I guess), but really it's a URL to an aspx page with querystring (where I decid...more >>

error on Response.End(): Unable to evaluate expression ...
Posted by tbh at 2/11/2008 12:58:11 PM
in an error path in an aspx script under DotNet 2, IIS6, Win2003 Server I get the following error (which I don't understand) on Respone.End(): {Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack.} i'm attempting to abort execution wi...more >>

Regular Expression for a password
Posted by Joe at 2/11/2008 12:23:45 PM
Hello, I want to verify that a password is: - Minimum 7 characters (can be any character) - Includes at least 1 number. I thought this would work but it does seem to: ^(?=.*[a-z])(?=.*[A-Z]).{7,}$ Thanks, Joe ...more >>

Passing Arguments to Web Forms (Revisited)
Posted by Jonathan Wood at 2/11/2008 12:04:14 PM
I'm still having issues with this and would love to hear from more people about how they are approaching this issue. After thinking about all the ways to pass arguments to a Web form (query strings, context items, application objects, view state), I started favoring using the Session object...more >>

Question regarding performance when binding multiple controls to database
Posted by gnewsgroup at 2/11/2008 11:45:59 AM
Suppose that I have 5 controls on a single aspx page that need to be bound to a database. Each control will have different content. (1) I can create a single stored procedure that returns 5 tables all at once. Then in my code-behind, I only need to make 1 trip to the database to get the data,...more >>

Separate VB app to talk back to a Web Service
Posted by Larry Bud at 2/11/2008 11:30:38 AM
Customer sends XML data to our Web Service. Web Service does some data transformation and puts the data into a special format that another application uses. That data is in a file. This other application continuously polls a folder for these data files and processes them. It eventually cre...more >>

Help to convert VB.net code
Posted by id10t error at 2/11/2008 11:27:15 AM
I am making an ASP.net page where a user has a hand-held scanner running Internet Explorer. It has a finger scanner attached. When the user scans an item i want it to automatically input the data without the user pressing enter. I did this for another project in vb.net with the following coded ...more >>

CommandName values, documented?
Posted by Brian Simmons at 2/11/2008 10:45:24 AM
Hi All, I've searched a bunch of different places and cannot seem to find a concrete answer to this. This past weekend I was watching some .NET training videos and noticed that they were using CommandName property on a Button in a Multiview control (or more specifically in Views of the M...more >>

need smarter paging
Posted by PJ6 at 2/11/2008 10:11:09 AM
I have a query that returns many thousands of records, a broad search result. The web interface is fine with it because I use a paged grid view - however this control cannot tell the app server to just return the records that it's going to dispaly, it returns the whole result set, which large ...more >>

Submitting whole HTML document to Server
Posted by GMartin at 2/11/2008 10:07:12 AM
Is there a way to return the whole HTML document from the Client to the Server "as is" so I can use ASP.NET to parse through it and look for stuff? I want to see what some client side JavaScript may have done to the XHTML document....more >>

format repeater row
Posted by Scott at 2/11/2008 10:04:42 AM
Is there a way to format a row within a repeater based on the data? If I have my row (cell 0) text is "Used" I want that entire row to have a blue background color. Is it possible to do that in the repeater? ...more >>

What is Team Suite
Posted by jack at 2/11/2008 9:25:14 AM
friends, I would like to ask this question. i have read on net about MSTS and would like to more about it all i know about team suite is that it helps in developing an integrated application. Keep files like VSS and keep the database synchronized.. i would be glad if some one provide me with...more >>

calulations in repeater
Posted by Tom at 2/11/2008 9:18:00 AM
I'm using the Repeater Control for my output, within the repeater I need to show totals for some of the rows. Is there a way to do calculations within the repeater like you can within the grid? For example: I need to do a calculation that wil show me total income. This number is the total ...more >>

changing string format
Posted by deepak at 2/11/2008 9:06:04 AM
Hi All, How to convert the 1st format of string to 2nd one in vb.net 1st(datetype string) : "2/12/2008 6:00:00 PM" 2nd(datatype string): "2008-2-12T17:00:00" note: in 2nd string ,the T is just a alpahbet Thanks, Deepak...more >>

Web Client Computer Name
Posted by BDRichardson at 2/11/2008 7:17:00 AM
I am aware that is is possible to determine the web client computer name using DNS, i.e. invoke System.Net.Dns.GetHostEntry( System.Web.HttpRequest.UserHostAddress). However, this only seems to work if the client computer resides within the same domain as the web server. Is it possible to ...more >>

Methods of listing most popular pages in website
Posted by KevD711 at 2/11/2008 6:56:19 AM
Hi. I'm building a new data driven site with some static pages mixed in. I would like to provide a list of the most popular or most viewed pages on my home page. I can't decide if I should write the hits to the DB, a text file or use IIS's logging. My first choice would be the IIS logs I thi...more >>

Server Click in table
Posted by Chris Zopers at 2/11/2008 6:42:13 AM
Hello, I would like to know if it is possible to use a ServerClick event on a tablerow. I have a HTML table and I would like to handle an event on the server when the user clicks on a row in the table. I could use the GridView, but then I have to add a new Select column and I don't want a n...more >>

Calling native code from .Net
Posted by Arne Garvander at 2/11/2008 6:28:04 AM
I call native code from my .net app <DllImport(SENDFORMPDFTest, EntryPoint:="FORMEXIST", _ SetLastError:=True, CharSet:=CharSet.Ansi, _ ExactSpelling:=True, _ CallingConvention:=CallingConvention.Winapi)> _ The DLL works fine on localhost and pr...more >>

Reading a xml element
Posted by deepak at 2/11/2008 5:21:01 AM
Hi All i have a xmlelement saying in_root which has outer and inner xml as shown below: OuterXml "<SXPTaskUpdateOrAdd Revision=" 7.5.0 " Source="ER_Kista"><Task><NOCRefID>Deepak_0208_1</NOCRefID><Customer>KPN-NL</Customer><Title>The work order title</Title><Priority>1</Priority><S...more >>

Client-Side Validation with Validators and JavaScript
Posted by Nathan Sokalski at 2/11/2008 12:55:18 AM
I am trying to learn a little more about how to add client-side validation to custom validators that I write (by inheriting from the BaseValidator class). I know that the name of the JavaScript function is assigned to an attribute named 'evaluationfunction' and that the function returns true o...more >>


DevelopmentNow Blog