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 > august 2007 > threads for wednesday august 1

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

What is the best pratice?
Posted by Paulo Roberto at 8/1/2007 8:33:04 PM
Hi, I have a VS2005 asp.net 2.0 C# application with a lot of screens just like customers, companys, manufacturers wich has always the same basics working like a gridview showing the records, and the basic functions: inserting, editing and deleting records from tables... What is the best meth...more >>


Cookie problem
Posted by Bill Nicholson at 8/1/2007 8:31:06 PM
Maybe I don't understand cookies correctly. When some visits my site and logs in, they get a cookie that stores their login information. When they come back, that info is read from the cookie and they can log in without having to remember their id/pw. Assume the site is www.foobar.com It works...more >>

Iterating and downloading a URL that lists files?
Posted by Jim Bancroft at 8/1/2007 8:15:47 PM
Is there a way to open a URL, one that shows nothing other than a directory listing, and iteratively go through the list to download the files? ...more >>

resx in dll
Posted by Alexander Widera at 8/1/2007 7:52:39 PM
Hi, i am developing a website and a dll .... in the App_GlobalResources directory are some .resx-files.... which filename i know. I want to use them in a dll which is in the bin-directory? how can i do that? thanks, alex ...more >>

Strange doubt javascript:confirm
Posted by Paulo Roberto at 8/1/2007 7:37:36 PM
Hi, I have a C# ASP.net 2.0 built on VS 2005, and the piece of code: javascript:confirm('are you sure delete record?') on gridview at rowDataBound - OnClientClick, works fine, it asks the user and if cancels, does nothing... but on my machine at HOME, even when I click cancel it deletes the ...more >>

Usename regex
Posted by Mick Walker at 8/1/2007 6:33:16 PM
Hi All, I would like to know how I can limit users to only registering usernames which have alphanumberic characters and one underscore. From what I understand is I can use a regex to do this. But I have no idea how to do it. I have only used a customfieldvalidor before. And the reason I ...more >>

Enterprise Library number jumble
Posted by GaryDean at 8/1/2007 5:40:46 PM
I now have installed (from the same install) Enterprise Library - January 2006 and Enterprise Library - June 2005. The install for these two was called Enterprise Library for .Net 2.0. (not Enterprise Library 2.0). I then discovered that there is an Enterprise Library 3.1 - May 2007. So I ...more >>

Generic Data Access Layer
Posted by TarTar at 8/1/2007 4:49:51 PM
Hello, I need to feed UI controls (DataList, GridView etc) using XML or SQL Server. What would be a "good practice" to access these two types of data sources? Is ObjectDataSource a good choice? I would appreciate any links to websites describing a Data Access Layer suitable for various t...more >>



Question on navigation between pages
Posted by Bill Gower at 8/1/2007 4:11:04 PM
I have a web app that will basically have two types of web forms, a locator form with a datagrid and a detail form. The locator form will display a list of objects such as customers etc. The user will be able to either click a button to create a new object, click a link to edit an existing ...more >>

Hyperlink and ResolveURL
Posted by tshad at 8/1/2007 4:00:41 PM
I am finally getting the path to the Current Page using Page.ResolveURL. I am now getting "/jobSeeker/displayCompanyOverview.aspx" which is what I was looking for. But what is the syntax to add it into the HyperLink object? I tried: <asp:Hyperlink ID="test2" Text="HyperLink Test with Re...more >>

web.config section replacement
Posted by Chuck P at 8/1/2007 3:22:01 PM
I replace a lot of web.config sections during compile. I am having trouble with a custom section is it possible to replace a custom section? Error 44 web.config(1): error WDP00002: missing section ExceptionHandler. 1 1 CriticalSkills_...more >>

How to create a modular ASP.NET application ?
Posted by Canice at 8/1/2007 2:58:36 PM
I'm working on a web application where 90% of it is common 'product' code an the other 10% is customer specific. I want some method of separating the customer specific presentation, business and data access layers from the product code as I don't the main product code to be bloated with cust...more >>

cast in VB.Net
Posted by Arne at 8/1/2007 2:56:04 PM
Dim uc As UserControl uc = LoadControl("\usercontrol\topheader.ascx") Dim top As TopHeader How do I convert uc to datatype TopHeader? In C# I would do a cast. I have forgot how to do a cast in VB.Net -- Certified Geek...more >>

Tooltips display time?
Posted by HockeyFan at 8/1/2007 2:47:44 PM
Is there a way to control the time that a tooltip stays displayed? I'd like to keep them up at least long enough for the user to read the whole thing. ...more >>

Cannot debug web application "Cannot create/shadow copy ..."
Posted by Waldy at 8/1/2007 2:26:25 PM
Hi there, does anyone know the cause of this problem. When I press F5 to debug a C# web application, I get an error message that begins "Cannot create/shadow copy " then various different file names. Sometimes I can debug, other times I get the message above. Regards, St...more >>

interesting ajax issue
Posted by param NO[at]SPAM community.nospam at 8/1/2007 2:13:33 PM
Hi all, I have an interesting issue that I think maybe related to AJAX. Here is my scenario:- I have an aspx page that contains an UpdatePanel with UpdateMode="conditional". There exists 2 usercontrols (ascx) inside this main UpdatePanel called UserControlA & UserControlB. Additionally, ...more >>

Keeping text control characters (line breaks / carriage returns) in DetailsView field
Posted by Bazza Formez at 8/1/2007 1:57:32 PM
I have a bound field in a DetailsView control that displays free form description type data from my SQL database table (typical data is a couple of paragraphs of written product description being held in a single database field of type ntext). This description data typically has various simple...more >>

web service issue
Posted by esource at 8/1/2007 1:38:06 PM
hi all I created a web service with one web method: <WebMethod()> Public Function RequestPremium(ByVal web_request As XmlDocument) As XmlDocument it basically accepts a xmldocument then queries a database and returns results in a xmldocument I've confirmed that the code in the web method wor...more >>

NavigateURL question
Posted by tshad at 8/1/2007 12:13:39 PM
I need to explicitly use the path of my page and am trying to do the following: <asp:Hyperlink ID="test" Text="HyperLinkTest" NavigateUrl=<%# request.ServerVariables("PATH_INFO").Substring(0,request.ServerVariables("PATH_INFO").LastIndexOf("/")+1) & "displayCompanyOverview.aspx" %> runat="ser...more >>

Call .cs method/function from .ascx
Posted by trullock NO[at]SPAM googlemail.com at 8/1/2007 11:48:45 AM
Hi, Is there a way to call a codebehind method/function from an attribute of a runat=server tag, kinda like this: <asp:Literal runat="server" ID="litTest" Text='<%# MyMethod("testargs") %>' /> but obviously that doesn't work :( Thanks Andrew ...more >>

Request.Querystring handling without name/value pairs
Posted by Will Zachmann at 8/1/2007 10:46:05 AM
I am working with an old web application writing new ASP.NET code to replace functions previously handled by a monolithic ISAPI dll and intercepting some calls to it. It uses, however, a query string made up of isolated values (i.e. <value>&<value>& . . .) rather than <name>=<value> pairs. ...more >>

AJAX function (webmethod) call question
Posted by dgk at 8/1/2007 10:22:33 AM
Calling a simple webmethod from a page with the scriptmanager works like this: ret = SimpleService.SayHello(document.getElementById('Text1').value, OnComplete, OnTimeOut, OnError); The first parameter is the one expected by the function, and the rest are callbacks. What is the format for ca...more >>

Javascript and DropDownLists question
Posted by AlBruAn at 8/1/2007 10:02:00 AM
I have three dropdownlists in an AJAX UpdatePanel and I need to return the selected index for two of them; the problem is that I'm only able to return the selected index for the first dropdownlist of the three and it is the one that I don't need. The dropdownlists are named, in order, ddlEnti...more >>

HyperLink Bug
Posted by tshad at 8/1/2007 9:28:39 AM
I had posted this problem earlier and just noticed that the Hyperlink is the problem. Apparently, it doesn't figure out the path correctly. It uses the path of the file it is in, even if it is a control. I have 2 files "displayCompanyJobs.aspx" and "displayCompanyOverview.aspx" which ar...more >>

Question
Posted by Manny Chohan at 8/1/2007 9:26:09 AM
Hi Guys, I am trying to fix a tricky situation at our LAB. We have two servers: Server 1 with Framework 1.1.4 and Server 2 with 2.0 framework. Our main Site runs on 1.1.4 framework. We have created second site in 2.0 and loaded on server 2. In IIS, we created Virtual Directory with Netwo...more >>

Validator question
Posted by HockeyFan at 8/1/2007 7:04:11 AM
I've got a dropdownlist that upon user selection, I have a javascript function that is run. This function, depending upon which selection from the dropdown, turns one small section visible and enables its validator, and turns another similar section off and turns off its validator. I run this ...more >>

Unable to open the Web...You are not authorized to perform the current operation
Posted by ssg31415926 at 8/1/2007 5:51:21 AM
I'm getting the error: "Unable to open the Web 'http://blah/blahblah'. You are not authorized to perform the current operation". I have changed a few things recently but I can't change them back as I need them. I can't find anything about it using searches. Yesterday, I removed the "Enable a...more >>

how to select a row in gridview in asp.net
Posted by Dinu at 8/1/2007 4:43:51 AM
hi how can we select a row in a gridview with out select column and get events fired thanks ...more >>

Multilingual application
Posted by raju at 8/1/2007 3:35:37 AM
Hai all, I am working on the multilingual application, in asp.net. In that we are displaying contents in some other language (user selected language). In that page, we are having some textbox for user input. Is there any way to restrict the user to input only english characters on the...more >>

webservice sending object - serialisation error
Posted by Rotsey at 8/1/2007 12:00:00 AM
Hi, I am trying to send a object to a webservice and I get an serialisation error on the object saying "object not expected" add "XmlInclude or SoapInclude attribute" I have done this but still get the error. Below is the class. The problem is with "data" object. I want to send diffe...more >>

communication between to pages in app
Posted by eggie5 at 8/1/2007 12:00:00 AM
I have two pages in my asp.net application: default.aspx.cs and test.aspx.cs. How can I call methods from test.aspx.cs from default.aspx.cs. I can't seem to be able to do this. The aspx.cs files dont seem to be part of a namespace or anything. How can I do this? ...more >>


DevelopmentNow Blog