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 > may 2006 > threads for thursday may 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 31

searching specific file...?
Posted by fazeee at 5/4/2006 10:40:34 PM
Hi! What sort of component shall I use to find specific file (path to the file) on the disk? I use Visual Studio 2003, C#, Web Application. I just want to make user possible to choose/pick up the file from their own hdd...more >>

HELP: Installshield-like installers
Posted by Dhruba Bandopadhyay at 5/4/2006 10:10:14 PM
I wasn't sure where to post this since it's not 100% programming related. I need advice on installers to give to my company clients so that it installs: - .NET 2.0 Framework Run-time (22MB) - installs some ASP.NET files into specified web/IIS folder - ensure/set aspnet_wp user account ful...more >>

How to install font on client side
Posted by Little Boy at 5/4/2006 9:41:23 PM
Hi All, I am new in ASP.Net. We are developing one web site. In that we are using our special fonts. I want to search fonts on client side and if i can't find specific font i want to install it temporary so that what ever the font has been used in web page user can see it properly. Please...more >>

Active directory membership : Login too long ..
Posted by moi at 5/4/2006 9:34:02 PM
Hello, I make a logon page with asp.net and active directory membership. My trouble is the long login (more than 20 character like mybigsurname.mybigname) : I could not use the login like this : longlogin@mydomain.com and i could only use the first 20 character login. Is it normal ?? T...more >>

Compare Validator taking time to Load Page
Posted by thomson at 5/4/2006 9:26:04 PM
Hi, I have 5 aspx pages, In one page i have a Compare Validator Control, The four aspx pages are loading fast with similar controls, no code behind, But the page having Compare Validator Control is taking time, Any insights to this? Thanks in Advance thomson ...more >>

Where do I create Session Related in ASP.NET 2.0
Posted by ss at 5/4/2006 9:13:01 PM
hI, Where do I created the Session Related things in ASP.NET 2.0? How do I do that? Could anybody give some sample code? bye ss...more >>

wildcard httphandler and iis
Posted by Jan Kucera at 5/4/2006 8:56:57 PM
Hi, I have virtual MyFolder/* and MyFolder/MySubFolder/* mapped to an httphandler in the web.config file and all works perfectly on the asp.net development server. However on the IIS6/Win2003 I'm getting 404 error, not even the asp.net one, so I guess the IIS is blocking the request. I w...more >>

is there a way to do this
Posted by rodchar at 5/4/2006 8:29:01 PM
hey all, is there a way to overlap an .png image over a .jpg image and make the .png image transparent? thanks, rodchar...more >>



ASP.NET 2 under Mono
Posted by Vincent Courcelle at 5/4/2006 8:11:13 PM
Hello, Does someone experimented running ASP.NET 2 under Mono ? What about performances and compatibility ? I would like to run my application under windows but I can't (because of my hoster). It would be so great if the .NET framework were open sourced (as membership provider has recently...more >>

sessionState cookieless and forms cookieless
Posted by ravisingh11 NO[at]SPAM gmail.com at 5/4/2006 7:32:10 PM
<authentication mode="Forms"> <forms loginUrl="Login.aspx" protection="All" timeout="30" cookieless="AutoDetect" /> </authentication> Over here we can specify cookiless to be auto detect so it uses cookies if the client supports it or URL mangling(...more >>

2.0: Response.Redirect fails randomly
Posted by R.A.M. at 5/4/2006 7:06:12 PM
Hello, I would like to ask you a question concerning Response.Redirect method. I have such call in my application and I don't understand why the call sometimes (random behavior) does not work ("cannot open page"). Here is my source code (I am from Poland): case "Google": Response.Redirect(...more >>

Long response times
Posted by chaz at 5/4/2006 5:34:39 PM
Does ASP.NET try to resolve broken links with alternate URLs? If so, is there a way to turn this feature off? Thanks. ...more >>

#region, #endregion ??
Posted by keithb at 5/4/2006 5:23:33 PM
What is the meaning of #region #endregion ...more >>

problem with datasource being updated when the page is refreshed (Gridview)
Posted by Mike Grace at 5/4/2006 4:52:21 PM
Hi, I have a gridview which is using a SqlDataSource to update a table. The SqlDatasource is using a stored procedure to update the table. If I edit a row, change a value and click update the change is successfully applied to the SQL table. After this, the values in the underlying tabl...more >>

Limit # of concurrent logins.
Posted by Paul at 5/4/2006 3:52:56 PM
I have an ASP.NET application that I want to limit # of concurrent logins. Has anyone done similar things before? I was trying to increment a counter in the application and decrement the counter in "Session_End". However, the "Session_End" will only work for InProc session. So, is there any othe...more >>

Deploying ASP 2.0 Web Applications to Production and Session Stat
Posted by Mike at 5/4/2006 3:03:02 PM
What is the effect of deploying asp.net 2.0 and the effect of session state to the production application? What happens when you xCopy any modified or new .vb or .cs class file from the App_Code folder to the production App_code folder on the production server? Is the user's session stat...more >>

JavaScript on GridView!!
Posted by Vai2000 at 5/4/2006 3:00:45 PM
Hi Al! How can I add a JavaScript function to an asp:Image Field at Design Time on a DetailsView Control? Basically I want to implement a mouseout event on the image of the Details View Using ASP.NET 2.0 ...more >>

win2003 websites and TFS
Posted by Adrian Parker at 5/4/2006 1:54:13 PM
I had a windows 2003 server running a framework 2 website. I've installed Team Foundation Server and now when I try to go to that website, I just get a 404 page not found error. Can anyone point me in the right direction.. It looks like the installation has changed the application pool for m...more >>

Over my head here--can you help?
Posted by keithb at 5/4/2006 1:22:17 PM
My code dynamically adds bound fields to a GridView control. Now, I need to put a checkbox in each dynamically added column so that a user can check/uncheck when editing. Can someone at least give me a hint about how to proceed? Thanks, Keith ...more >>

Session cleared after setting cookie?
Posted by Paul at 5/4/2006 1:09:30 PM
I'm having a problem with the session being reset after setting a cookie. This is not supposed to happen. If I comment out the Add line below the site works normally, the session persists. Help. vs2003/.net 1.1 HttpCookie httpCookie = new HttpCookie("myCookieName"); httpCookie.Value = (str...more >>

SiteMapPath not working for pages with anchors on - WHY???
Posted by Jon via DotNetMonster.com at 5/4/2006 1:06:19 PM
Hi all, I'm using the ASP.NET sitemappath control and the ASP.NET menu control This sitemappath control works and shows the path when the page doesn't have an anchor - for example: <siteMapNode title="annual report" description="Annual report" url="Pages/ir_annuals.aspx" /> but the ...more >>

Wierd postback ... old values are back
Posted by Henrik B at 5/4/2006 12:51:09 PM
I'm binding data to a DropDown through a DataSource. When I select item = i get some values from database trough the SelectedIndexChanged. Values = is shown in textboxes. I make changes to the values and press a button = to update. After postback the oldvalues is back .... the new values is = go...more >>

ASP.NET Membership - Multiple Sites, Shared Info?
Posted by Tony Jones at 5/4/2006 12:50:31 PM
Can I have two ASP.NET site using the same membership provider settings? For this to happen, the applicationName would have to be the same, but what about the configuration of the <properties> within the <profile> section? In the web.config's for both sites, do these config sections have to b...more >>

cross frame scripting
Posted by WT at 5/4/2006 12:47:42 PM
Hello, I have an asp.net 1.1 application that runs an asp.net 2.0 page in an iframe. I need to save the contained app before saving the main one when the save button is clicked. For this I uses a jscript on the main page that calls a jscript method on the contained one. As my application...more >>

Authentication, Redirection and session management with iPlanet/ASP.NET
Posted by Subrata at 5/4/2006 12:38:50 PM
I looking for the most efficient solution for the followng scenario, for a ASP.NET web application: > When the user types in the URL, he's presented with a login page from an > iPlanet server for authenticaiton. > After he's authienticated, the user should be taken to a ASP.NET website > (...more >>

how would you do this.
Posted by rodchar at 5/4/2006 12:37:01 PM
hey all, let's take the Products table in the northwind database as an example. on my main page i'd like to take 5 products and make them the featured products. so i'm on a page with a list of products to choose from (say like checkboxes next to the products i want as featured products). i'...more >>

Browser flicks to top of page on post back
Posted by McGeeky at 5/4/2006 12:29:45 PM
On a post back, Internet Explorer flicks the page to the top. E.g. when scrolling down the page to edit a text box the user clicks a button to validate the value. This causes a post back. IE then reloads the page but flicks it back up to the top. The user than has to scroll back down to where ...more >>

ascx webpart - custom verbs
Posted by ryan.mclean NO[at]SPAM gmail.com at 5/4/2006 12:07:58 PM
Hello all, Can I add custom verbs to ascx webparts? I have seen good examples where the webpart is a custom control thingy that inherits from System.Web.UI.WebControls.WebParts, then overrides the verbs property, but not how to do it with ascx webparts. Any ideas are greatly appreciated, R...more >>

filter out offensive phase/text
Posted by Sam at 5/4/2006 12:04:53 PM
Hi all, I have feedback page which allows users to submit input text. Is there a way to filter out offensive language (some kind of validation check), say I have a list of words in a table that I want to check against. Any help would be greatly appreciated. Regards, Sam ...more >>

ASP .NET auto post data
Posted by mazdotnet at 5/4/2006 12:00:27 PM
Hi, I'm doing a trial with InternetSecure (credit card verification) and it requires the following step, Your site connects to InternetSecure and passes us the purchase information in a FORM POST; What's the best way to post 4 fields from ASP.NET (2.0) to another website? Thank you ...more >>

objectdatasource.
Posted by motorhead_maniac at 5/4/2006 11:42:56 AM
hi all, how can i define a objectdatasource on my page that refers to the code behind class in the TypeName, if i specify "this" it doesnt recorgnizes it, if i specify the actual control_classname, it doest recognize it :( thanks a lot...more >>

Event handling with Web User Control
Posted by weboweb NO[at]SPAM hotmail.com at 5/4/2006 11:41:48 AM
Hail the experts!!! I'm creating a web user control which displays a hierarchical tree of items from an xml string passed to the control (from the host page) through an exposed property. This xml gets created in the Page_Load method of the host page Each tree item displayed by the control i...more >>

global.asax
Posted by simonZ at 5/4/2006 11:16:17 AM
In asp.net 1.1 I had the following statements in global.asax file: Using System.Data.SqlClient; Using System.Web.SessionState; In asp.net 2.0 I can't access them any more. For example: void Application_Start(Object sender, EventArgs e) { String sql; SqlCommand oCmd; ...more >>

Dates
Posted by Frederik Vanderhaeghe at 5/4/2006 11:01:12 AM
Hi, I have made a search page on which users can search for documents. They can search by documentnumber, customername,... and also by date. Now the problem is that when a date is entered it doesn't show anything. When I look at the SQL server Enterprise management and make a query there, ...more >>

DataItem property = NULL during paging, why??!
Posted by Art at 5/4/2006 10:56:02 AM
I'm subscribing to the RowCreated event during GridView render process to modify properties of individual rows. All works great when there is no paging involved but once I specify that I'd like to use paging my code works only on the first page. Please look at the code; when the first page lo...more >>

dependent dropdowns with Ajax
Posted by jhcorey NO[at]SPAM yahoo.com at 5/4/2006 10:40:53 AM
I'd thought I'd try to save myself some time. I'd like to create a page where the contents of a dropdown get refreshed based on a selection from another dropdown. I might actually have 7 or 8 of these in a series. Is anybody familiar with a toolset or Ajax library where this can be done an...more >>

HELP: ASP.NET Site Sending E-mail and Writing to Event Log
Posted by rekaeps at 5/4/2006 10:30:07 AM
We are developing an ASP.NET 2.0 (C#) application, and I'm having troubles sending e-mail from the server when accessing the web site from a separate client computer. Also, in the same scenario, I'm having trouble writing to the server's event log. Here's some details: Server and workstati...more >>

Pages returning to their callers
Posted by Mantorok at 5/4/2006 10:22:02 AM
Hi all Is there a good generic way of handling pages that need to redirect back to their callers? If I have a page that includes, say, a link to another page, when that other page has finished it will want to return to the page that's called it. Are there any recommended techniques for h...more >>

Any other ideas for setting variables in a user control
Posted by David Hearn at 5/4/2006 9:38:11 AM
I need to pass some variables to a user control so that some functions that are in it can use them. I am trying to set a public property that I have in it but it isn't working for some reason and I really need to get this working. Any ideas? I have tried calling the functions directly from the...more >>

Problem accessing property value in User Control
Posted by David Hearn at 5/4/2006 9:32:59 AM
I have a property in a user control that I am setting: Private strPageName as String Public Property PageName() as String Get Return strPageName End Get Set(byVal Value as String) strPageName = Value End Set End Property So why can't I access strPageName...more >>

SQL Server Express Advanced Services Install - Failed
Posted by mosscliffe at 5/4/2006 9:09:02 AM
I wanted to install the SQL SERVER 2005 Express Advanced Services, because I wanted the import / export features of the data manager. I chose the route of deleting the template files and then installing, as my version of SQL Server express was part of the install, with Visual Web Developer 2005 ...more >>

Problems using __code reference in healthMonitoring/eventMappings
Posted by Neil Billingham at 5/4/2006 9:07:01 AM
Hi, Has anyone experienced problems when deploying a web app via VS2005 with regards health monitoring configuration settings in the web.config? I get a "could not load file or assembly '__code' or one of its dependencies" error messege on compilation/deployment. Here's the config, from ...more >>

Error starting debugging - not listed in VS help files
Posted by ssg31415926 at 5/4/2006 8:59:24 AM
I'm trying to debug a new web application and I get: "Unable to start debugging on the web server. The Visual Studio 2005 Remote Debugger service is unable to connect to this computer. Please see Help for assistance." I'm familiar with VS2005 for smart client development but I'm new to ASP.NE...more >>

Variable Name Modifier - Is it Possible ?
Posted by mosscliffe at 5/4/2006 8:23:30 AM
I have several buttons on a page btn1, btn2, btn3, btn4 ... btnn I wish to control their visibilty for x = 1 to btnCount btn[var x value].visible = false next x where the x is used to convert to a number making the variable name btn1, btn2 etc I used to be able to do this in she...more >>

basic asp.net 2.0 question
Posted by CSharpguy at 5/4/2006 7:55:01 AM
I'm coding my first business web app in .NET 2.0 and its only a read only web app. I'm just pulling data from the database and allowing users to filter the data in the grids by using dropdowns. I've been reading and seen how you can drag and drop the controls and bind them that way, though I'm...more >>

Deployment problem
Posted by cbr900rrderrick at 5/4/2006 6:49:01 AM
I created a very simple Web Form application with Visual Studio 2005 Professional Edition. It just has some text on it. On the test machine it works fine. I deployed it to a production server by copying all the files in the project to the Website. It does not work on the Site. There...more >>

Displaying tiffs, jpegs, gifs from a directory
Posted by kmazur NO[at]SPAM corp.oprs.org at 5/4/2006 6:25:25 AM
Hello, I have a folder on the server g:\users\logos\. I need to create a web app that will display all the images in that folder (there are gifs, tiffs, jpegs and bmps) in thumbnail format and then when the user clicks, he/she can download that image. I found some sample code that will disp...more >>

software services
Posted by thuriam.net NO[at]SPAM gmail.com at 5/4/2006 3:53:34 AM
>From solution design and offshore software development to outsourcing application support and improvement, Datagrep's offers a compelling alternative to minimize software development costs, and improve the quality of your software solutions and compress software development time. We have been u...more >>

QueryString Parameter Substitution
Posted by Richard Steele at 5/4/2006 3:25:02 AM
ASP.net Framework 2 IIS 6 Win 2003 Is it possible to substitute the & (ampersand) in a querystring for antother value i.e test.com?param1=test;param2=notest instead of &(ampersand) can i use ; (semicolon) -- Thanks Richard...more >>

DateTime for loop
Posted by Jon at 5/4/2006 3:11:02 AM
Hi everyone, the below for loop doesn't seem to increment, can anyone please help? for(DateTime i = DateTime.Now.AddYears(-1); i <= DateTime.Now.AddYears(2); i.AddYears(1)) { DateTime dateTime = i; } Thanks, Jon...more >>

Convert ADDHandler and AddressOf to C#
Posted by Carlo3030 at 5/4/2006 3:06:01 AM
Been reading Dino Esposito's Article "A DetailsView Control for ASP.NET 1.x" found in the msdn Library. His example was created using VB.NET. I am trying to convert the example (DetailsView control) to C#. The Issue is I converted this line (in VB): AddHandler _insertButton.Click, Ad...more >>

how child form force itself to be opened in new web browser window
Posted by zhuang at 5/4/2006 2:23:40 AM
Hi, I am creating a web application, which is called by another web application. My web application should be opened in the new window, however, the caller does not deal with this, and we could not change the way it does. I know how to open a new window from parent window, however, would it...more >>

interesting! cystal report dll and asp.net impersonation
Posted by zhuang at 5/4/2006 12:32:42 AM
Dear all, I found a very interesting thing about viewing crystal report (located on network drive) with asp.net application. To do the impersonation, modify web.config does not work, you have to modify machine.config. which is not recommended. However, there is no way around. To prove I did...more >>

Unrecognized database format in when launch
Posted by Rabbit at 5/4/2006 12:09:02 AM
Can anyone tell me why my web developed in .net 2.0, using Access database (.mdb). working fine at my development machines, but when I deploy it onto new Windows Server 2003, the web returns following error: 'Unrecognized database format 'c:\Inetpub\wwwroot\myapp\app_data\mydata.mdb' I was...more >>


DevelopmentNow Blog