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 2006 > threads for sunday february 12

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

state mgmt issue
Posted by AVL at 2/12/2006 11:07:26 PM
Hi, I need to maintain state of few variables on my page,,, It's on the same page.... Which is better suited in this situation? Session or viewstate..... please help me out...........more >>


ODP .Net Connection Pool Problem on Web Application
Posted by mingki NO[at]SPAM gmail.com at 2/12/2006 8:07:12 PM
Hi Developers, I am a .Net developer of a Large Online Retailling Company. I would like to have your help on a Connection Pool issue. Recently we have developed a Web Application on ODP .Net to work with Oracle Database 10g. To gain the performance, connection pool enable is a must. Everyth...more >>

Gridview 2 Gridview
Posted by Jesse Johnson at 2/12/2006 7:54:27 PM
I am trying to have one gridview control that displays items with the select command enabled and when the user clicks "select" it would send that line of information to another gidview control. That way the second gridview only has the data that the user selcted. Could anyone help me out? Than...more >>

validation(asp.net):attribution onblur is not a valid attribute of
Posted by KenLee at 2/12/2006 7:49:27 PM
I use asp.net 2.0. I try to use onblur in textbox of asp.net. however, it said that validation(asp.net):attribution onblur is not a valid attribute of element 'textbox' what casuse this problem? I can not use OnBlur in textbox of asp.net??? this is the code <asp:TextBox ID="uxOverr...more >>

Master pages and user controls
Posted by Scott at 2/12/2006 7:31:43 PM
I'm using a master page (mp_TableMaint.aspx) with one Content area (ID: Content1). Content1 contains several usercontrols, which are hidden. The goal is to show the correct control based on the querystring passed when calling mp_TableMaint (the page is called from an ASP.NET 2.0 Menu control ...more >>

How to design a file system to store uploaded files via ASP.NET
Posted by RedHair at 2/12/2006 6:14:20 PM
I'd like to set up a file system for the ASP.NET 2.0 application to store user-uploaded files, since the members are more than 100,000 people, the basic requirements are as below: (1) The file system is separate with front-end web site (2) Need to re-size user-uploaded image file to same size ...more >>

My Page Load Event Is Firing More Then Once
Posted by thedotnetarchitect NO[at]SPAM gmail.com at 2/12/2006 4:59:00 PM
Can anyone tell me why my page load event is firing more then once? I have a asp.net 2.0 page with four user controls and it seems that the user controls are loading but the page load event seems to be firing either for each control that is loaded or it just seems to be firing off more then it ...more >>

Clickable Image
Posted by Progman at 2/12/2006 4:03:21 PM
How do you include a clickable image on an html page? ...more >>



reloading a user control from within another user contorl
Posted by TB at 2/12/2006 3:47:10 PM
Hi All: A very simple question, which I hope has a simple answer: On page.aspx I have two user controls: part1.ascx and part2.ascx How can I trigger the reloading of part2.ascx from within part1.ascx? In other words I would like part1.ascx to contain something like: if whatever then ...more >>

Help: Button
Posted by Progman at 2/12/2006 3:39:12 PM
Is it possible from a but to open another apsx page? How? ...more >>

Response.ContentType for...
Posted by David Thielen at 2/12/2006 3:12:29 PM
Hi; What is the content type for (I am assuming same as in java since this is on the browser end - but better to check): rtf - Word txt - ASCII text xml - WordML - Word xml - SpreadsheetML - Excel xml - plain old xml -- thanks - dave...more >>

HREF QUESTION (cross)
Posted by Savas Ates at 2/12/2006 3:05:06 PM
I saw an url like this <a href="{nocache:426d6de96f848e23f89ef8d2a557145f#0}&p=http://www.isbuluyorum. com>CLICK</a> What is the purpose of using href="{nocache:1321sdsa Does anyone have idea about it ? ...more >>

Need an ASP.NET 2.0 consultnat - 1 - 2 days work
Posted by David Thielen at 2/12/2006 3:02:27 PM
Hi; This is a short task that should take 1 – 2 days. The primary purpose is to show us the correct way to use ASP.NET 2.0 and create the initial framework for our portal. This requires that the contractor does have a strong understanding of how to use the new 2.0 features. We know...more >>

Help: Call an ASPX page from a main ASPX page
Posted by Progman at 2/12/2006 2:35:33 PM
How can I load an aspx page from vb script procedure in a main aspx page. I want to avoid server.execute. I want that main page to be replaced by the new page. I dont want to use a button to call the page. ...more >>

Returning a pdf file
Posted by David Thielen at 2/12/2006 2:31:19 PM
Hello; When I get a request for a page, how can I return a pdf as the page contents? In java the way to do this is for the response set it's type to "application/pdf" and then get a byte (not character) output stream from the response and write the bit image of the pdf file to it. -- ...more >>

Backup SQL Server to script file in code?
Posted by Lee at 2/12/2006 2:06:25 PM
Is there anyway to backup a SQL server database to a .sql script file through code? My provider charges me 5.00 to perform backups. I'd like to do it on my own through code. I don't have access to the database server machine however. Thank you. -- Warm Regards, Lee "Upon furthe...more >>

CodeDomSerializer and Design time code generation
Posted by onyxring at 2/12/2006 1:41:23 PM
I've been building custom web controls in C# with VS2005. Currently I'm looking into adding design-time functionality and have reached a point where I need to generate code in the page the custom control is on. Enter the CodeDomSerializer class. I've found several examples creating Des...more >>

Passing data to a usercontrol before rendering?
Posted by Tarun Mistry at 2/12/2006 1:15:57 PM
Hi all, is it possible to update a usercontrol before it is rendered? In my scenario I have a Page with a usercontrol on it. When a button is clicked on the Page, I want to update the usercontrol, more specifically making a placeholder become visible. However it wont work. Im confused. I ca...more >>

Application_End
Posted by Ido at 2/12/2006 12:48:43 PM
Hi, If asp process is being recycled/restarted gracefully, will Application_End allways be called? In addition, according to : http://www.codecomments.com/archive289-2005-2-393853.html one can understand that Application_End may not be able to finish its execution before the process is shu...more >>

Custom validator on multiple fields?
Posted by Tarun Mistry at 2/12/2006 12:34:40 PM
Hi everyone, is it possible to make a custom validator work on multiple fields? I have 3 input text boxes, I would like a validator that checks to ensure at least 1 of them contains informaion before allowing the form to be submitted. Any help apprecated, Kind regards Taz ...more >>

Ignoring files when publishing web site
Posted by Ben Fidge at 2/12/2006 12:12:38 PM
Is there any way of configuring VS2005's Publish Web Site feature to ignore certain files? During day to day testing of our web-site, log files are created that I don't want to deploy to the production server. However, Publish Web Site copies these over and they have to be manually removed b...more >>

Question about Image Column in gridview Fw2.0
Posted by Dave Bareham at 2/12/2006 11:54:13 AM
I'm fairly new to this so bear with me! I have created a gridview in an aspx page which successfully talks to a SQL backend via a datasource. One of the colums contains a reference to an image which I display as a column in the grid. This works. My question is this. Can I make the image in...more >>

Compiling/Running so slow with VS2005
Posted by Ben Fidge at 2/12/2006 11:12:29 AM
Can anyone shed some light on why compiling and running web-apps is so slow in VS2005. I have a solution with 3 web-apps, 20 or so library projects and several winforms apps. All in all it totals about 150,000 lines of C#. I've only just converted this to VS2005 project but am frustrated with t...more >>

Server.Transfer or Server.Execute vs WebClient
Posted by ewolfman at 2/12/2006 10:58:12 AM
Hi, This may sound a little complicated, but here goes: I have 2 webforms (lets call them 'x' and 'y'). * - 'x' is a form which contains a single server side TextBox web control, and an iframe. The iframe's src attribute references the 'y' webform. * - The 'y' webform has a server side...more >>

ASP.Net 2.0 vs. Safari Browser
Posted by Bill Cohagan at 2/12/2006 10:30:15 AM
I'm having some serious difficulties with my ASP.Net 2.0 app rendering in Safari 2.0.3. The most immediate problem is that the menu control doesn't seem to work at all, particularly the use of dynamic levels. I've Googled around a bit and determined that the problem is not so much with Safa...more >>

Announcement Board
Posted by qwe85 at 2/12/2006 10:29:43 AM
Hi, Does anyone know how to create an announcement board from scratch using ASP.NET? With thanks! -- qwe85 ------------------------------------------------------------------------ Posted via http://www.codecomments.com -------------------------------------------------------------...more >>

how to cache a page with multiview control?
Posted by stupy1 NO[at]SPAM hotmail.com at 2/12/2006 9:43:53 AM
I have a number of relatively static pages with a multivew control on each of them. What I'd like to do is cache these pages with either the outputcache directive or cache API. I've tried the outputcache with VaryByControl="MultiViewName" or with VaryByParam="none". When I do this only the fi...more >>

How do I create a temporary file on a server?
Posted by lwoods at 2/12/2006 8:49:47 AM
I need to create a temporary file on a server. How do I do it? I tried using IO.Path but it created a local file; i.e., file://C:...... TIA, lwoods ...more >>

Problem on Windows 2000 with IIS for VS 2005 and ASP.NET 2.0
Posted by dean4if at 2/12/2006 7:55:25 AM
I have 4 Windows 2000 Servers. I have installed the DotNet Framework 2.0 on all 4 servers. Three of these servers show a tab for ASP.NET in the IIS MMC and are running Visual Studio 2003. One server that has Visual Studio 2005 installed does not show this ASP.NET tab. On this one server...more >>

Reading Excel sheet from asp.net returns empty cell
Posted by dave at 2/12/2006 7:51:29 AM
I am having a problem i bleieve a number of other individuals have had before. I have tried the solutions found on the net however I still have the problem. I am hosting a web site on an external server (i do not have access to registry). I am using the following connection string to re...more >>

Validation
Posted by KenLee at 2/12/2006 7:06:28 AM
I use asp 2.0 net. what is the same for "onblur" in asp control such as "<asp:textbox / >"? I use "<asp:textbox />" inside Gridview. I try to validation using client side. when I try using "<input type="text" />" then validation is not hard thing. however using asp.net is hard. ...more >>

script question
Posted by Jeff User at 2/12/2006 12:36:11 AM
HI all. I am using .NET1.1 , C#. For the most part I am using server side C# code for many pages and have been coming along OK. But now, I would like to populate a listbox on the client side (if possible) based on the user selection of an item in a dropDownList . I found this example and try...more >>

Exclude pages from authentication!
Posted by Adam J Knight at 2/12/2006 12:00:00 AM
Hi all, I have an app that mostly requires authentication. However there are a couple of pages that don't require authentication.. What do i need in my web.config, to specify these pages don't require authentication.. thus the user is not redirected to my default login url..when they ('p...more >>

How to save file to linux machine via ASP.NET 2.0
Posted by RedHair at 2/12/2006 12:00:00 AM
How to save/copy/delete file to remote linux machine via ASP.NET 2.0? Thanks. ...more >>

can a table align vertical-center on the web form
Posted by Rabbit at 2/12/2006 12:00:00 AM
Dear All I'm new to use ASP.Net for developement, can someone tell me how can I create a web form with size say 300px x 300px, align vertically center on the page Because so far I can use Div to align it horizontally center on the page, but I still can't find out how to do the "Verticall...more >>


DevelopmentNow Blog