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 tuesday may 2

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

Centralized Error Handling ASP.NET WEB APPLICATION
Posted by ss at 5/2/2006 11:53:02 PM
Hi, Could anyone tell me like, how do i do centralized Error Handling, What are all the things I need to take care while Error Handling? How Can I have my own messages instead of system generated error message to show it to the end user? regards, bye ss...more >>


Global.asax Use ??
Posted by ss at 5/2/2006 11:34:01 PM
Hi, Can anybody tell me what are all the uses of Global.asax? What One can do with in that? What code I can write in side that? What for I can use that? Bye Thanks in adv. ss...more >>

network Load-balancing
Posted by pavan at 5/2/2006 11:29:46 PM
i have been alloted a new project where my part is to Load-balancing, and to be frank am new to this topic. please help me out ...more >>

404 errors for ASPX PAGES
Posted by Justin at 5/2/2006 9:45:28 PM
Hi, I have a very strange problem with running asp.net pages on my server.. I keep getting a 404 error page while trying to call an aspx page, however if I rename the same page to .asp it works fine.. What could be wrong. The server has the framework 2.0 running and .aspx extensions are ...more >>

Bind a treeview control
Posted by Chris at 5/2/2006 9:25:57 PM
Does anyone know how to bind relational datasouces to the treeview control in ASP.NET 2. It won't let me bind a dataset. ...more >>

newbie
Posted by Barbara Schmidt at 5/2/2006 9:02:12 PM
Hello, well I made my first asp-project and uploaded it through VWD 2005 Express. I tested the project locally and it works fine. Now I see on my server the page, but only with texts, no labels, no buttons. Where is the bug? My server supports FrontPage. Extensions. I set the free access for th...more >>

Connection string is class module
Posted by Peter Afonin at 5/2/2006 7:51:23 PM
Hello, I put the connection string to the Web.config file, then in Global.asax I'm assigning this string to the application variable: cn = New OracleConnection cn.ConnectionString = AppCrypto.decrypt(ConfigurationSettings.AppSettings("ConnectionString")) Then I use this to variable to co...more >>

wadoyathink??
Posted by rodchar at 5/2/2006 6:34:01 PM
hey all, below is the code i used to remove an item from a listbox on my .aspx, please tell me what you think. Could i have done it any cleaner? thanks, rodchar...more >>



Firefox temp files location
Posted by John A Grandy at 5/2/2006 6:15:20 PM
Where does Firefox v1.5.0.2 store its temp files (.htm, .aspx, .js, etc.) ? Thanks. ...more >>

Inherits=" " problem in page directive -- can't find correct classes!
Posted by Ranginald at 5/2/2006 6:13:04 PM
Hi, I have two pages. Default.aspx ....Codefile="default.aspx.cs" Inherits="Web" %> and Sculpture.aspx ....Codefile="default.aspx.cs" Inherits="Sculpture" %> -------------------------------------------------------------- and the default.aspx.cs file has two classes: public parti...more >>

update checkbox values from gridview to database table.
Posted by hazz at 5/2/2006 4:30:04 PM
What do I do to capture the checkbox values as listed below in order to update the database table. There will be an ID field also contained in the row to use in the update query. What would I put in the Button Click event? Thank you. -Greg <tr> <td>CO_NUMBER</td><td> ...more >>

Generate pages or responses on the fly
Posted by Adnan Al-Ghourabi at 5/2/2006 3:23:02 PM
Hi, We have a need to create pages on the fly for ASP.NET applications based on some string that the Url ends with. For example: http://www.domain.com/SomePath/aabbccdd. "aabbccdd" does not exist physically on the file system, but we'd like that to be handled somehow as an ID, make a cal...more >>

Default button and web controls
Posted by MattB at 5/2/2006 2:55:53 PM
I have some pages that have one or more WebUserControls on them. I want to have a button that is not on a WebUserControl to be the default button when enter is pressed. I've tried just adding: RegisterHiddenField("__EVENTTARGET", FindControl("btnVerify").ID) to the main page, but w...more >>

<a target="_blank" /> opens half-size IE6 window
Posted by John A Grandy at 5/2/2006 2:22:43 PM
I have a js function that dynamically generates a block of html that includes an anchor tag : <a href="http://www.google.com" target="_blank" /> When the user clicks this link, the new IE6 browser window is full vertical size, but only half horizontal size (of available screen area). St...more >>

Validators not validating anymore. ??
Posted by ShaneFowlkes at 5/2/2006 2:07:13 PM
For some reason, my validator controls stopped working when a form posts. They seems to work on fields that lose focus but if I submit a form with all empty fields, not of the required validators catch it and this results in runtime errors with my code. It's real standard stuff using .NET 2...more >>

Remote host closed the connection error - .Net 2
Posted by Brad at 5/2/2006 1:17:00 PM
I have several web apps which download content to client (pdf, tif, etc) by writing out content in an aspx page. I've recently upgraded these from 1.1 to 2.0....and they all seem to work fine except that every now and then the apps raise the following error (our apps email us when an error o...more >>

sql reporting services 2000
Posted by ramaraotenali NO[at]SPAM gmail.com at 5/2/2006 1:01:10 PM
hello my name is ramarao. I want information about sql reporting services 2000 integration with asp.net. How to pass parameters to reports through coding. Please give reply as soon as possible. ...more >>

Active Directory - Groups and Permissions
Posted by Scott at 5/2/2006 12:33:26 PM
I'm creating an intranet site that uses Forms authentication to validate users against an Active Directory. Users need to be able to login both from work and remotely. Then I want to be able to do two things: (1) Check whether a user is in an AD group and (2) enforce NTFS permissions based on AD...more >>

Atlas, JavaScript and PostBack
Posted by Ronde at 5/2/2006 12:32:51 PM
Hi all, I am in a such situation that requires before Atlas do the Partical/Atlas postback, a Client-Side JavaScript has to be executed first, once the JavaScript execute successfully, the Partical/Atlas postback should be fired. I try to do like this in code behind, protected void P...more >>

Webpart optimizations
Posted by John Grant at 5/2/2006 12:31:02 PM
I only want to refresh my data in my webpart when the custom properties change. Is there an easy way to know that the user changes one of the properties? p.s. I have my Dataset.GetData() and DataBind() calls in the Page_PreRender Event so I will get the latest custom property value. Is th...more >>

User Control and Initialization problem
Posted by David Hearn at 5/2/2006 12:03:31 PM
I have a user control that I have built (asp.net 1.1) which has some functions in it to set the text of a label and some proerties of a few other controls. My problem is that I call these functions from the page load event of it's parent form and when I do, I get the famous "Object reference n...more >>

Response.Write Placement
Posted by Ron at 5/2/2006 11:12:01 AM
Hi, I currently am generating a report by to my end user by retrieving data from my back end DB and concatenating strings together and place this string concatenation within a Label control. I am finding some efficiencies issues and would like to use Response.Write() and stream this infor...more >>

Text change management
Posted by addoty NO[at]SPAM gmail.com at 5/2/2006 11:11:51 AM
We have a web application that has a lot of large textareas for data collection. We need to track who makes changes, when and what changes were made. Right now I'm storing the entire text in a separate SQL table before the changes are saved. Needless to say this table is growing quite large ...more >>

listbox woes
Posted by rodchar at 5/2/2006 11:11:01 AM
hey all, i have a listbox on my .aspx page and when i highlight an item in the listbox should i just be able to loop thru the items collection of the listbox and delete what is selected? it's not letting me do that for some reason i keep getting an error saying: Collection was modified; en...more >>

ASP.NET 2.0 Membership
Posted by Ray Booysen at 5/2/2006 10:59:33 AM
Hi all I am using the membership provider and am storing all the login details via this system. However, I require to add additional fields that may change over time that are related to the User. E.g. DOB, Place of birth and all that. What is the best way to do this? Create a second t...more >>

Is there any way to see why a session is ending?
Posted by Big Daddy at 5/2/2006 10:52:59 AM
I have an ASP.NET application where the user will be right in the middle of doing something and the sessions ends and then it blows up because I have stored some things in the Session hashtable. I know it's not ending because of the usual culprits (timeout, web.config file changing, anti-virus ...more >>

Visual Web Developer and MySQL
Posted by effendi NO[at]SPAM epitome.com.sg at 5/2/2006 10:44:26 AM
Can any tell how I can connect pages develop in Visual Web Develop to MYSQL?. ...more >>

What am I missing? ViewState object changes type from derived to base on postback.
Posted by John at 5/2/2006 10:12:52 AM
Hi, I derived a class from the Hashtable class, with ISerializable implemented and the [Serializable] tag added. Everything works fine with one exception. I store the hashtable in ViewState, but on a postback, the object in ViewState changes to Hashtable, instead of MyHashtable. I'm ...more >>

PreRender AddHandler?
Posted by Joe at 5/2/2006 10:06:02 AM
Hello All: Can I wire server control events in the page's PreRender event and have them take effect? I am rendering LinkButtons in a Table on a webform and am using AddHandler to wire each LinkButton's click event to a private method in the page. The AddHandler calls are: AddHandler...more >>

Really long list of items on the left side of a page and a short message on the right.
Posted by UJ at 5/2/2006 10:03:55 AM
I have a long list of items that the user will be able to select from. When they select an item, I'd like to have more detailed information appear on the right side of the screen. I've already got a datagrid set up with the clicking working correctly. Problem is, I'd like to have the list be ...more >>

can't view asp.net2 pages using mobile phone
Posted by InnoCreate at 5/2/2006 9:35:04 AM
Hi everyone, I've developed a couple of asp.net1.1 websites and these are viewable using my mobile phone. I've now moved over to asp.net2 and i'm unable to view asp.net2 websites on my phone. I've stripped a page down to only output HTML4.01 and a single line of text with no formatting and it's...more >>

Creating a dynamic menu asp.net2!!HELP!!!!
Posted by Sri Reddy at 5/2/2006 9:29:50 AM
Hi I want to create a horizontal menu on my website being built using asp.net2 with menu items based on the "role" of the user who logged into the system.Role iformation will be read from database... For ex: for a user with "Admin" role, i would like to show "Menu Item1", "Menu Item2", "M...more >>

system.cannotunloadappdomainexception w3wp.exe
Posted by rh at 5/2/2006 9:24:29 AM
hi, we just migrated to x64 and .net 2.0 and getting a debugger popup with the system.cannotunloadappdomainexception caused by w3wp.exe. it happens intermittently, and doesn't seem like it's gonna lend itself to easy troubleshooting. anyone's experiencing this? where should i start digging? ...more >>

file sharing violation. Which permission should I give to the directory and files?
Posted by James at 5/2/2006 9:04:59 AM
Hi all, I am new to ASP.NET. I am currently working on a project with VB, .NET 1.1 on a Windows 2000 server. I have two files C:\Inetpub\wwwroot\test\test.aspx C:\Inetpub\wwwroot\test\test.exe test.exe is a C program, it will be executed if the user click the button in test.aspx page. ...more >>

A hyperlinked Column in GridView with captured ID
Posted by coosa at 5/2/2006 8:51:59 AM
In an asp.net 2.0 GridView web control, is it possible to display one column as a hyperlink which displays a name, such as item_name from a db table, but capures the item_id when clicked? If yes, then how? ...more >>

Dynaminc Table
Posted by cnote828 at 5/2/2006 8:29:15 AM
I am a beginning ASP.NET programmer asked to write a web explanation. The user is required to enter an unknown amount or records. There will be like 10 fields to fill in. When this page comes up I want them to see an entry spot for 1 record, then once you tab out of the last field another spot...more >>

How write CSS for font_size for the asp.net label control
Posted by david at 5/2/2006 8:25:02 AM
I never use CSS for asp.net. I would like to get help about how to write CSS for the font size of asp label control. I have a lot of labels in asp.net web form design page. It seems that there is no attribute in property pane to setup text font with pt. For example, I have the following in th...more >>

convert boolean to checkbox in Item_Bound event
Posted by hazz at 5/2/2006 8:03:50 AM
ICollection CreateDataSource() { dt.Columns.Add(new DataColumn("ReportInclude", typeof(Boolean))); for (int i=0; i<=10; i++) { dr = dt.NewRow(); dr[0] = 0; dt.Rows.Add(dr); } void Page_Load(Object sender, EventArgs e) { ItemsGrid.DataSource = CreateDataSource(); void I...more >>

Windows authentication not making it past first machine
Posted by Doug at 5/2/2006 7:54:45 AM
The Setup --------------- Machine A: Windows 2000 Workstation Machine B: Windows 2000 Server running IIS 5.0 Machine C: Windows 2000 Server running SQL Server 2000 * User is logged into Machine A with userid/password. * All machines are networked on a domain. * Due to security requirements,...more >>

IE Security update
Posted by CSharpguy at 5/2/2006 7:51:03 AM
I have a page thats going to be impacted on the IE security update in June, for active x controls, so here is my issue: I have a windows user control on my page that talks to a EXE and works fine. I'm working on some of the changes I'm finding here:http://msdn.microsoft.com/library/default.as...more >>

javascript setTimeout does not work
Posted by E at 5/2/2006 7:34:03 AM
I am having trouble with setTimeout working on a second call to the setTimeout function from a second page which is an html page. Here is the scenario. I have a web page and onload it calls a javascript function which calls setTimeout and will process a second javascript function "Warn" ju...more >>

the http reponse to file? ASP.NET 2.0
Posted by Fredrik at 5/2/2006 6:10:02 AM
I want to generate a pdf file of "the current page". It is a ASP.NET aspx file created partly from GET parameters, but most often using the ASP.NET event model (i.e. clicking buttons etc). One of the buttons is called "Generate a pdf document of the current page" and it clicking it should...more >>

Breakpoints are not getting hit in ASP.NET (C#) project
Posted by MSK at 5/2/2006 6:02:55 AM
Hi, Continued to my earlier post regaring "Breakpoints are not getting hit" , I have comeup with more input this time.. Kindly give me some idea. I am a newbie to .NET, recently I installed .NET. I could not debug using breakpoints, breakpoints are not getting hit, but the application is ...more >>

vb.net development
Posted by Amrit pal saini at 5/2/2006 5:35:02 AM
i am developing a web site in asp.net using vb.net as ado.net, the problem i am facing is something like this:- whenever i delete or cut some of the controls from a web page, and repeast them on the same place with the same name, it gives me some errors. some of the events of some of the contro...more >>

problem with WebClient
Posted by gianniab at 5/2/2006 5:31:02 AM
In an ASP.NET application I have to perform a file downloading task from a web server not exposed to internet, ie Internet Client-->MyServer-->SecureServer-->MyServer--> Internet Client All works fine when I have to download a pdf or an image file but when I try to access a zip file I obtain...more >>

Unusual Querystring parsing
Posted by Dunc at 5/2/2006 4:25:52 AM
I have a site with a number of pages that make use of an ID and an anchor in the querystring (e.g. www.mysite.com/news.aspx?NewsTypeID=7#NewsID_49). For some reason, when it's visited by a search engine, it's replacing the hash with a %23 and asp.net is only seeing one parameter, which result...more >>

GridView, ObjectDataSource and SortDirection
Posted by codefragment NO[at]SPAM googlemail.com at 5/2/2006 4:13:50 AM
Hi Theres a SortParameterName property that can be set to pass a sort expression, what about a sort direction? I need this info to do my select. I tried hacking this by wiring into GridView.RowCreated and setting the sortexpression for the column with the sort direction but that triggers a...more >>

ReportViewer en ASP.NET 2.0
Posted by gotzonen at 5/2/2006 4:07:48 AM
Wenas, Tengo un peque=F1o problema con una aplicacion en ASP.Net 2.0. Tengo que mostrar un report en una pagina en la que el usuario elige los parametros que quiere que se muestren, en concreto es una grafica comparando dos datos. Para ello tengo un procedimiento almacenado en una base de d...more >>

how to get the window width/positions in asp.net web application
Posted by Charleees at 5/2/2006 3:45:43 AM
hi all, I have a javascript to display popup window... i need to dispaly that in the popup on button click and just beleow the button... if i give some default coordinates for the popup, it works fine on the resolution i set, but mislocates on the others locations.. is there any...more >>

external javascript problem in asp.net 2.0
Posted by I.g.o.r. at 5/2/2006 3:21:53 AM
Hello! I run into a very anoying problem in asp.net 2.0. I have external JScript file included in some aspx through <script> tag; In my solution .js file is placed in custom folder named skripta. Everything is ok when I add new .js file containing some code. But when I add some new function...more >>

What's the difference between Themes and Master Pages?
Posted by johannblake NO[at]SPAM yahoo.com at 5/2/2006 1:45:13 AM
I'm reading up on Themes and Master Pages in ASP.NET 2.0 but I cannot seem to understand what the difference between the two are. Do Master Pages essentially end up doing what Themes do? Is Themes an older part of the .NET architecutre and simply included for backward compatibility or are Them...more >>

Website slow when disable anonymous login.
Posted by Michele at 5/2/2006 1:38:01 AM
I have a website on IIS 6. With anonymous login the pages open immediatly. If i disable anonymous login and use integrated security the pages open very slow. Any idea? Thanks Michele...more >>


DevelopmentNow Blog