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
all groups > asp.net > february 2007

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

Detecting intranet ip's
Posted by MSWindowsProf at 2/28/2007 10:28:07 PM
hi, We are trying to figure out a way of detecting any incoming http request, to our ASP.NET 2.0 application, if it is coming from our internal network (intranet) vs from outside of our network(internet). We can get the client machine's ip from the http request, but is there any way of valida...more >>


AppDomain won't recycle on web.config change since 1.1 to 2.0 swit
Posted by Stefan Barlow at 2/28/2007 9:42:08 PM
This has been working perfectly for months. Since we switched from ASP.NET 1.1 to 2.0, we have constant and sporadic issues with updating our applications. Touching the web.config works about 40% of the time to cause an AppDomain to reload and flush all assemblies. Sometimes it works pe...more >>

file download via Response.BinaryWrite shows HTML tags
Posted by MichiMichi at 2/28/2007 7:52:07 PM
I am trying to secure filedownload via streaming to protect files on the server. This works very well but when I open the file in a notepad editor it shows always HTML code at the end of the file. Since the code runs in a aspx file, the added HTML Code always streamed at the end. What do I ...more >>

RoleProvider Capturing Authentication Events
Posted by Chuck P at 2/28/2007 6:43:05 PM
I have a Role Provider with a subdirectory protected via the web.config. Forms authentication is used. If a person who is not in the role tries to access a page in the directory, the browser is redirected to the forms authentication logon page. Is there a way to prevent this behavior? I wo...more >>

Strange IIS Problem
Posted by rn5a NO[at]SPAM rediffmail.com at 2/28/2007 6:19:37 PM
I am working on WinXP Pro (SP2) & use IIS5.1 as the intranet server to run ASP applications. I connect to the Internet using a LAN connection. My PC is a standalone machine. Of late, what I find is if I am not connected to the Internet, it takes quite some time for local intranet ASP pages (th...more >>

problem with changing color when logged
Posted by Bjorn at 2/28/2007 5:45:12 PM
Hi,. i try to change the color of the main menu when the visitor of the site is logged. When not logged, it must be red, when logged, it must be green. I start in the Master¨Page with putting the link to the red CSS file to Visible and to the green CSS file to False.. In code-behind, i tes...more >>

Object not there on load
Posted by tshad at 2/28/2007 5:18:34 PM
I have an object surrounded by <div visible=false runat="server"></div>. So it doesn't show on the page until I set visible=true. I need to set focus to the object on post back: if not IsPostBack then Dim temp as String = "document.forms[0].Password.focus()" myBody.Attributes...more >>

aspnet_wp.exe was recycled because memory consumption exceeded
Posted by SenthilVel at 2/28/2007 4:45:26 PM
Hi all, am facing an error when i execute my aspx page for reporting. i query the db and get the data in a dataset and bind to the datagrid. my query is returning me a considerable big amount of data. The error message which i get in the event log is : aspnet_wp.exe (PID: 2504) was re...more >>



Designing Layout Question!!
Posted by Vai2000 at 2/28/2007 4:06:16 PM
Hi All, I am coming from old school web-design so prefer table layout. I see people using div just everywhere...? Why aren't they using tables? which is better? esp. when u have objects custom controls, grid views etc....to drop on pages.. TIA ...more >>

Datasource property missing for ASP.NET Textbox in VS.NET 2005
Posted by Ken Varn at 2/28/2007 3:46:31 PM
I have just started using VS.NET 2005 after using VS.NET 2003. One of the things that I noticed is that in ASP.NET, the DataSource property for TextBoxes and other web controls is no longer available from 2003 to 2005. Is there some other method available to bind TextBoxes that I am not see...more >>

Recommend a book on web application design
Posted by bissatch NO[at]SPAM yahoo.co.uk at 2/28/2007 3:44:06 PM
Hi, I am looking for recommendations on a book or books on web application design. It does have to be any language specific or platform. Preferably neither as Im round the other side of the planet from my PC and hoping to read up on somethig more along the lines of design principal rather tha...more >>

Text Box and Image Button
Posted by shapper at 2/28/2007 3:35:13 PM
Hello, I added a TextBox and an Image Button to a page so that they are side by side. Instead of both being top aligned the Text Box is pushed down. Why is that? How can I solve this? Thanks, Miguel ...more >>

ajax web.config still points to pre-rtm assembly
Posted by MarkAurit at 2/28/2007 2:38:08 PM
I installed the ajax rc candidate bits on my visual studio.net 2005. Recently I deleted them and installed the rtm bits. I just created a new ajax web site, and the web.config still points to the microsoft.web<I forget the rest of the name, its the pre-rtm name> assembly. Its as if Im using...more >>

Menu dropitem z-order
Posted by Joe at 2/28/2007 2:32:50 PM
I have a menu in a masterpage. The drop down items are being hidden behind some of the controls in the content page.I only notice this in FireFox. Any suggestions on how to fix it? Thanks, Joe ...more >>

What's the sequence to learn web programming?
Posted by pedestrian via DotNetMonster.com at 2/28/2007 2:01:17 PM
With so many technologies around which include HTML, XML, Javascript, CSS, ASP, ASP.NET (and PHP, JSP of course etc.) What is the sequence for learning web programming? which come should be learned first and which should come later? Which form the foundation? My aim is to become a web devel...more >>

NEWBIE: problem populating a GridView
Posted by Jeff at 2/28/2007 1:52:05 PM
ASP.NET 2.0 I have a GridView control in my webpage. In this GridView's gridUsers_RowDataBound am I having problem populating the controls with info from the datasource - This code is the problem: MembershipUser user = (MembershipUser)e.Row.DataItem; The user object doesn't get a Members...more >>

Control
Posted by shapper at 2/28/2007 12:26:36 PM
Hello, I created a user control where I have two controls: Button and Image. How can I "expose" these two controls properties and events so I can access them in the C# / VB.NET code of the page where I use the user control? Thanks, Miguel ...more >>

SQL DataSource parameters
Posted by Bret at 2/28/2007 11:56:48 AM
I am a VB and SQL developer but new to ASP.Net world. I have a SQL Datasource that returns an ID of the Current user. I've setup a second SQL Datasource that performs a SELECT statement to a table but now need to use the WHERE criteria to capture the ID from the 1st datasource mentioned abo...more >>

Asp.Net and printing
Posted by Chris Dunaway at 2/28/2007 11:47:34 AM
I have a simple .asp page in which is included an IFrame that loads and Asp.Net page. The asp.net page takes and xml document and uses an xslt transformation to generate the html for output. The output is just a viewable only report. Inside the .aspx page, I have registered a simple client s...more >>

Property and Control
Posted by shapper at 2/28/2007 11:35:59 AM
Hello, I am creating a user control where an Asp.Net control is used. It can be either a button, an image button or a label. I am trying to "expose" the Asp.Net control properties and events in the page where the user control is used. For that I defined a property as follows: Priva...more >>

autorefresh panel on web form
Posted by Tom at 2/28/2007 11:28:32 AM
I have a web form and I want to add a panel and have that panel refresh every 3 seconds, How can i accomplish this? I don't want to refresh the entire page only the panel...more >>

"Popup" window
Posted by Guy at 2/28/2007 11:17:05 AM
On a Page I want a user can select (a)name(s) from a so called "popup" window as well as selecting a date from a "popup" calendar. I found some examples by using JavaScript. But my question is can this also be achieved (and how) without JavaScript, and is it advisable (not using JavaScript in...more >>

Server.Transfer() on Web Farm
Posted by senfo at 2/28/2007 10:54:35 AM
I'm just curious, what happens to the current Context if you're running your ASP.NET application in a web farm and transfer values from one page to the next with the Server.Transfer() method? It should be fine if the postback is to the same server, but what happens if you postback to anothe...more >>

'permanent' web site url while browsing?
Posted by patrickdrd at 2/28/2007 10:49:49 AM
Hi all! Does anyone know of a way to keep a permanent url throughout a user's browsing? For example, if my web site's address is http://www.mysite.com, I have noticed that some sites keep that url 'permanent' somehow, i.e. doesn't change while e.g. clicking on a link! How is this accomp...more >>

SP1 installation fails
Posted by JJ at 2/28/2007 10:25:00 AM
I posted the following question on the Visual studio newsgroup but did not get any response.....Hopefully somebody must have worked on this. I downloaded Visual Studio 2005 SP1 via Microsoft Updates. For both my development server (WIN 2003 Server with SP1) and my personal computer (WIN XP P...more >>

Nasty DataSourceCotnrol Behavior
Posted by Mark Olbert at 2/28/2007 9:54:34 AM
I just spent several frustrating hours tracking down a subtle problem involving a simple web page. I'm sharing the solution so as to spare others a similar experience. The web page has only three controls, all of which are bound to SqlDataSource controls: two dropdowns and a repeater. However, t...more >>

Timers in Online Exams
Posted by Archana at 2/28/2007 9:46:22 AM
we are creating Online Exams Module.Just lke any other online exams on other real sites. The Case is the user can attempt any question within 3 minutes.after 3 minutes,the next question automatically disappears and another question comes on the page. We also want to show times in Minutes as a...more >>

design advice
Posted by rodchar at 2/28/2007 9:36:03 AM
hey all, i need to create a web page that has plenty of tabs on it (more than 10). what would be the best way to go about this? would it be better to have an ..aspx page for each tab or a single .aspx page? thanks, rodchar...more >>

New event for Web-form textbox - Please help
Posted by almurph NO[at]SPAM altavista.com at 2/28/2007 9:12:20 AM
Hi everyone, Is it possible to make a new events for a Web-form textbox. What I mean to ask is that I want an event to fire everytime a user enters a letter into a Web-form textbox. The only events that I see textbox has are: 1. DataBinding 2. Disposed 3. Init 4. Load 5. PreRender 6....more >>

AJAX: Clientcallback End session on browser close
Posted by Jerry C at 2/28/2007 9:01:16 AM
I have seen several articles about this subject but I was wondering with ajax is this easer. The articles mentioned client callback and the onbeforeunload event of the browser. Can AJAX be used for this and are there any examples to review. Thank you -- Jerry ...more >>

How to avoid refresh when postback to ASPX
Posted by RobGMiller at 2/28/2007 8:07:55 AM
Using ASP.NET 2.0 Need to simply process incoming postback information without sending back a reponse. Client sends HTML from application other than a browser to a page on a web site. Web Server ASP generates a response page and send it back which opens the browser on the client. How to ...more >>

Default Button Click On Enter KeyPress On Web Form
Posted by Joey at 2/28/2007 7:56:13 AM
I have an asp.net 1.1/C# web form with a text box server control and one button server control. Users can type in text to search and then click the button to start the search. I want them to be able to type in text and then just hit the Enter key instead of having to click the button. Current...more >>

pushbutton in datagrid doesn't work
Posted by david at 2/28/2007 7:53:14 AM
in web form design (C#), I draged a datagrid onto web form, called grdFiles, and set aotuGenerateColumns property to FALSE. Use the following to populate data into the datagrid: // sqlSelectCommand1 this.sqlSelectCommand1.CommandText = "SELECT ID, FileData, FileName, ContentType, FileSize, U...more >>

Web Deployment Project Stubbornly Deploying System.Data.dll
Posted by Mark Olbert at 2/28/2007 7:23:21 AM
Can someone explain to me why one of my Web Deployment Projects keeps insisting on copying System.Data.dll to the application's bin directory? None of my other deployment projects do that. I can't find any unusual dependencies for System.Data.dll (i.e., the offending site just has typical data bou...more >>

Inserting a new row.
Posted by rcoco at 2/28/2007 7:10:13 AM
Hi, I want to share this problem. I have a datagrid that will help me Insert data into sql database. So I made a button On my form so that when I press the button a new row on datagrid should be created and I could be able to insert data. But with this code below I've failed could someone help ...more >>

session variables are lost when logged into app first time
Posted by SM at 2/28/2007 7:03:18 AM
Background We migrated our Asp.net 1.1 application to Asp.net 2.0 ( just migration ) .. It was working fine in local developer machine and one of our development testing server. When we moved to staging server which is also running on windows 2000 server and we started facing a peculiar is...more >>

How to add a Microsoft Outlook Email from ASP.NET application
Posted by xin.yadong NO[at]SPAM gmail.com at 2/28/2007 6:38:48 AM
Is there a way to create an New Outlook Email from an ASP.NET application? I can not use "mailto:", since it is only support a string less than 512. I have find a good way from link : http://zones.advisor.com/doc/17330 , that thread show how to create a new appointment instead of email. but I h...more >>

Nesting a repeater inside a table??
Posted by mj.redfox.mj NO[at]SPAM gmail.com at 2/28/2007 6:12:53 AM
Hi I'm fairly new to ASP.NET and realise I'm probably asking a very straightforward question, sorry about that but I'd be grateful if someone could possibly help out - I'm sure the answer will turn out to be very easy! I'm trying to basically do the following (in reality there is a lot m...more >>

How Code behind file and single file are process.
Posted by archana at 2/28/2007 6:07:02 AM
Hi all, I am confuse regarding concept of code behind model and single file model.. I have heard that single file model compiles dynamically. suppose i have application in which i am having one aspx page and its equivalent cs file i completed my application and deployed dll and aspx page...more >>

Is writing to the event log in Application_BeginRequest a good idea?
Posted by Nemisis at 2/28/2007 5:46:54 AM
Hi everyone, This is the first real .net web application that i have begun to write and i was wondering whether it is ok, to write to the eventlog in the Application_BeginRequest event within the global.asax file? I was gonna write some basic details such as the username requesting the p...more >>

SessionID Length
Posted by rn5a NO[at]SPAM rediffmail.com at 2/28/2007 4:19:15 AM
I am working on a database driven application wherein the SessionID gets populated in a database table column. After populatating the DB table column with several SessionIDs, I have noticed that the length of all the SessionIDs is 24 i.e. all the SessionIDs have 24 alphanumeric characters. ...more >>

what does <%$ indicate
Posted by Zeba at 2/28/2007 4:04:36 AM
Hi, What does the <%$ in the following code indicate ? I tried googl-ing for it but couldn't find a suitable answer <asp:SqlDataSource ID="myDataSource" runat="server" ConnectionString="<%$ ConnectionStrings:_AuctionEventsConnectionString %> " SelectCommand="SELECT ...more >>

Ajax modalpopup disappear when clicking "ok" or "cancel"
Posted by shaizaban NO[at]SPAM gmail.com at 2/28/2007 3:52:32 AM
hello, my question is as follows (very urgent): i generated in an aspx page a modalpopup ajax control. i inserted a user control into the panel contained in the popup control. the panel contains "ok" and "cancel", with no connectio to the user control. how can i cause the popup stay visible a...more >>

sorting datagrid columns with variable names
Posted by davey.phillips NO[at]SPAM gmail.com at 2/28/2007 3:46:06 AM
I have a datagrid within a datagrid which is filled with data from an SQL Server db. Each inner datagrid is populated by an sql statement which contains a variable column name. Output looks something like this: Dept no_valid no_invalid a 4 1 b 7 ...more >>

Load image
Posted by nuhura01 NO[at]SPAM yahoo.com at 2/28/2007 2:13:10 AM
Hi all... My system contains an image which I have saved it at client side. Unfortunately, when users want to view the image, the image doesn't loaded. If i'm not mistaken, it is set at the HTML code of asp.net web form right? I've set the Image URL to be like this: ImageUrl="C:\ExportImage.g...more >>

Central Master Page
Posted by Jon at 2/28/2007 1:02:02 AM
Hello all, We're thinking about having a central master page, so that all our apps reference this, rather than a master page per application. However, would this mean that events would not be able to be placed in the master page that are specific to each application? Thanks, Jon...more >>

componentart ajax menu and flash object
Posted by Victor at 2/28/2007 12:00:00 AM
hi guys I am using componentart ajax menu for my website. now I found an issue. if I put a flash object at the same page with my menu. in firefox and netscape, the flash object will always on the top of my menu - that means half of my menu is missing. but in IE, it works fine, my menu is alwa...more >>

unnecessary white space at bottom for netscape
Posted by Victor at 2/28/2007 12:00:00 AM
Hi I have a very strange problem for my page. I have writen a js to make sure my table's height is 100% for the browser's viewport. my code is just the following. This works fine for firefox and IE. but in netscape, i found there is some white space at the bottom of the page whose height is a...more >>

Simple script needed to output information about on Access database
Posted by bissatch NO[at]SPAM yahoo.co.uk at 2/27/2007 11:30:03 PM
I have a Access DB but dont have Access. Im currently trying to teach myself ASP .NET and would like to output and manipulate the DB but I dont know the exact column names. Is there any basic .aspx scripts out there that would, with a little tweaking ofcourse (ie. database filepath/name), displa...more >>

download coding
Posted by ajash.pv NO[at]SPAM gmail.com at 2/27/2007 11:15:39 PM
plz send source codes and procedurs for "Download files in asp.net with vb.net codig" ...more >>


DevelopmentNow Blog