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 2005 > threads for friday may 6

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

will ASP v1.1 apps work on ASP 2.0
Posted by Patrick Olurotimi Ige at 5/6/2005 11:17:11 PM
After installing Visual Web Developer will old aspv1.1 applications run smoothly on aspv2.0? *** Sent via Developersdex http://www.developersdex.com ***...more >>

How to declare a label? Thanks.
Posted by Shapper at 5/6/2005 8:54:04 PM
Hello, I have a label as follows: <label id="lName" for="name">Name:<input type="text" id="name"></input></label> I need to declare the label in my page.aspx.vb so I can access it on page load. How is it? Thanks, Miguel ...more >>

UniqueID and radio button
Posted by Aamir Mahmood at 5/6/2005 7:16:20 PM
Hi all, Is there a bug in the implementation of property UniqueID for radio button control. Because what I get through the UniqueID property is not what is rendered in the final html output. This is causing my javascript to fail. Is this some feature? If not, then what is the workaroun...more >>

Create an object on the fly knowing just an object type
Posted by Just D. at 5/6/2005 5:17:14 PM
All, Do we have a simple way to Create an object on the fly knowing just an object type? The usual design-time way is to write a code something like this: CObjectType obj = new CObjectType(); That's simple. But to create any object knowing its object type on the fly is looking like a ...more >>

is there an opposite of server.mappath?
Posted by darrel at 5/6/2005 4:55:43 PM
Given a URL to a file, you can user server.mappath to get the actual system file path. Is there a function that does the opposite? Ie, if I have this: c:\inetpub\wwwroot\documents\myfile.txt is there a function that will return: /documents/myfile.txt? I could parse the above do th...more >>

what is Maximum Number of files supported in ASP.Net project and project folder
Posted by Optimize ASP.Net at 5/6/2005 4:35:32 PM
Hi, We are in process of developing an application which would contain thousands of pages using Visual Studio .Net 2003, So I would like to ask that 1. How many files are supported in asp.net project? 2. How many files an asp.net folder may contain? 3. What are the maximum number of files i...more >>

User control with visible = false causes blank lines
Posted by Eric at 5/6/2005 4:11:36 PM
How come a user control on an ASPX page that has visible set to false causes blank lines? We have an ASPX page with many hidden user controls on it, where we make the one we need visible. If the visible control is positioned last on the ASPX page it will be set lower on the page then when the to...more >>

parameter list on url
Posted by tshad at 5/6/2005 4:00:18 PM
How do you get just the parameter list of URL - the part after the ?. For example, http://domain/default.asp?arg1=value&arg2=value&arg3=value I want to get the arg1=value&arg2=value&arg3=value part of the url. What I am trying to do is take that and append it to a rediret to another pag...more >>



How can I change a Label? Please Help. I can't find this anywhere.
Posted by Shapper at 5/6/2005 3:10:28 PM
Hello, I have a label tag and a input tag in my page: <label for="subject">Nome:<input type="text" id="sbj"></input></label> How can I change the label value "Nome:" to "Name:" in Page_Load? I need to change the labels in a contact form according to the culture I am using. Thank You, M...more >>

is this the right way in vb?
Posted by Kurt Schroeder at 5/6/2005 2:36:01 PM
This works, i adds a confirm box to a datagrid control. However is this the correct way to check for the an item or alt item in the onitemdatabound event/sub? Private Sub dgOrders_ItemDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.DataGridItemEventArgs) Handles ...more >>

Error Handling - Best Practices
Posted by Sandy at 5/6/2005 2:28:10 PM
Hello - I read an interesting article on the web wherein the author states he doesn't handle too many errors at page level, but handles them at the application level. He further goes on to show how error logging can be incorporated using a Sql Server log with an additional text log in case...more >>

what is the easiest way to select top 20 rows from a datatable ?
Posted by Ersin Gençtürk at 5/6/2005 1:50:15 PM
I can't find a expression for table views did i missed something ? ...more >>

Beta 2 releases
Posted by Astera at 5/6/2005 1:16:02 PM
Hello, I'm new here. I just wanted to ask if there age multiple builds of VS 2005 Beta 2 being released or if the download available is the same as when it was first released (i.e. have some of the bugs been fixed). If it is still the same build, when is the next release scheduled? Than...more >>

convert to pdf and then send as email attachments
Posted by Music Lover at 5/6/2005 12:50:39 PM
Is it possible to do the following? inside a ASP NET application, 1) send the current web page to the acrobat distiller printer. 2) attach the PDF file into an email message 3) send teh message by email Many thanks for any insight ...more >>

Help needed !! Permanent cookies not working
Posted by Raghu Raman at 5/6/2005 12:45:12 PM
Hi, I want to store a cookie peemanently for 2 days.From msdn article, i have coded like this.It is working when i run my application .But if i close my browser and restart my application , i could not find the stored cookie,it was gone . my code ----------------- dt=DateTime.Now; c...more >>

go back to previous page when Cancel button hit
Posted by wiewiek NO[at]SPAM gmail.com at 5/6/2005 12:25:09 PM
Is there a way to go back to the previous page when a button (Cancel button) is hot? It's an ASP control. Thanks ...more >>

switch case with enum
Posted by gane kol at 5/6/2005 11:51:53 AM
Hi i am getting "a constant value is required" error when i use the enum value in case statement/ Any ideas? sample code: myconfig.cs ------------ public enum WebHostingTypes { [Description("BASIC")] Basic, [Description("PLUS")] Plus, [Description("PREM")] Premium } p...more >>

Confusion about using Server.Transfer.
Posted by Ken Varn at 5/6/2005 11:26:16 AM
I have Page1 that does a transfer to page2. When the user is done with Page2, there is a button on Page2 that they can press to bring them back to Page1. I use Server.Transfer to navigate from one page to the next. The confusion that I am having is that when the user is done with Page2 and c...more >>

DataGrid - Sorting & Paging
Posted by pmanno at 5/6/2005 11:15:07 AM
If I have a page with a DataGrid that is bound to a DataTable that is populated by a query to a database and I want to enable sorting and paging, do I have to add the DataTable to the cache or will the viewstate hold the contents of the DataTable? Basically, I want to avoid hitting the databas...more >>

Datalist control is bound by an element of the array ???
Posted by bienwell at 5/6/2005 11:11:14 AM
Hi all, Data displayed on the datalist control is bound by the column name of the dataset like this : <%# DataBinder.Eval(Container.DataItem, "title")%> Could I use an element of the array (i.e. index=0) which has the name "title" in place of it ? For example: <%# DataBinder.Eval(Con...more >>

Validation Controls without JavaScript
Posted by Jon B at 5/6/2005 10:22:28 AM
Hi There! I noticed that Validation Controls uses Client Side JavaScript to do that validation. Will these controls still works on JavaScript disabled browsers? How to validate on those situations? Thanks!!! Jon ...more >>

Framework 2.x vs. MustInherit?
Posted by Arthur Dent at 5/6/2005 10:14:23 AM
Cheers all, Right now in ASP.NET, if you make a base Page class that you use in your app which inherits from System.Web.UI.Page, you cannot declare it as MustInherit, because you wind up with some message about being derived from an abstract class. And you get the same problem with controls...more >>

Help: Server.Execute throws exception in Application_Start
Posted by frog at 5/6/2005 9:56:39 AM
Hi, all: I tried to call Server.Execute in Application_Start and got exception. Any help is appreciated You might ask why I want to do that in the first place. Well, I need to start a background thread in the Application_Start. This background thread need send Emails. T...more >>

Good_morning_or_good_evening_depending_upon_your_location._I_want_to_ask_you_the_most_important_question_of_your_life._Your_joy_or_sorrow_for_all_eter
Posted by Ronald700117 NO[at]SPAM yahoo.com at 5/6/2005 9:55:29 AM
This is the most important question of your life. The question is: Are you saved? It is not a question of how good you are, nor if you are a church member, but are you saved? Are you sure you will go to Heaven when you die? The reason some people don't know for sure if they are going...more >>

dropdownlist problem
Posted by brianflanagan NO[at]SPAM highstream.net at 5/6/2005 9:51:19 AM
Hi all, Please forgive if this has been answered before, but I haven't been able to find the solution. I'm working on a project for school that will use a dropdownlist populated by data from a database. The dropdownlist will use the onselectedindexchanged event to trigger a subroutine that ...more >>

IIS 6 and Server 2003 ASP.NET apps don't run well...sort of
Posted by HankD at 5/6/2005 9:43:43 AM
I get the following error when I add a new application to our server. If I run aspnet_regiis -i it takes care of the problem but when I add another application I get the same error for the second application. The first app works fine. If I run aspnet_regiis -i the second app works fine. I thou...more >>

Accessibility: Table Summary
Posted by Brian Cryer at 5/6/2005 9:35:26 AM
I posted this question recently to microsoft.public.dotnet.languages.vb but didn't get any answer. I'm hoping that someone here will be able to help me. I'm working on a project using VB.NET where the customer is very fussy about accessibility. One of the requirements that I'm trying to meet ...more >>

Import data from excel to dataset
Posted by Schultz at 5/6/2005 9:23:01 AM
I would like to know if it is possible to import data from MS Excel 2000 to a dataset using asp.net. The excel file would need to be uploaded to the server from a web page first, before the loaded into a dataset. After the data is stored in the dataset, i would need to write the information to ...more >>

Accessing Properties of Dynamically added Web User Controls
Posted by Brian at 5/6/2005 8:56:04 AM
Thanks for your time. I've created a web user control that has some properties available. I'm able to add the control dynamically (at run time) with no problem([placeholder].controls.add([control]). Is it possible to set property values of a dynamically added web user control at run time?...more >>

How Do You Detecting Session Timeout?
Posted by Chris Newby at 5/6/2005 8:03:39 AM
I realize that I can handle "SessionEnd" from global.asax ... but it appears to me that this gets called without the context of a current web request. So given the following scenario: User logs in and session starts User is inactive longer than the session timeout setting Some thread, not ass...more >>

Dataset: NullReferenceException problem
Posted by postings NO[at]SPAM alexshirley.com at 5/6/2005 7:42:16 AM
Hi Can anybody help? (ASP.NET 1.1) The event below is triggered when the user clicks an update button column. I am trying to update a dataset which eventually gets bound with a datagrid, with values from that same datagrid. Note there is no SQL code here, all the dataset data is coming f...more >>

Pros Advice
Posted by Chris at 5/6/2005 7:39:18 AM
Hi, I am building a web app to take customer info. shipping info and then an order and send data to database. I was planning on using one page to take both the customer info and shipping info by using panels and then another page for the order. Is that the right way? Or do I create separate...more >>

CheckedChabge dynamically
Posted by david at 5/6/2005 7:18:01 AM
I have no idea how to get the IDs of dynamically genrated CheckBoxes and the events of CheckedChange. I have dynamically generated array of CheckBoxes, checkboxes,which dynamically display in a table of a web form when Page_Load. (1) I want determine if the status of checkboxes(i, j) from ch...more >>

subdomain redirect within application
Posted by Leon at 5/6/2005 6:54:51 AM
How do I point a sub-domain to a sub-directory or .aspx page of my site using asp.net? I'm using a shared hosting service, that does not offer subdoman forwarding. however, you can write your own asp.net redirect code, and I just want to the best way to accomplish this task. it's possible th...more >>

Best practice for showing data from diferent queries in same form
Posted by Corobori at 5/6/2005 6:25:07 AM
I need to make something like this: http://www.corobori.com/sos/picDemartti.jpg That is the 1st time I am doing like this in ASP.NET (did it tons of times in "old" ASP) so I would like to do it the "right way" from the beginning. Data to populate 1A and 1B are from one query, 2A and 2B fr...more >>

ASP.NET Development
Posted by Barry at 5/6/2005 5:29:11 AM
Hi I am developing an ASP.NET App using Visual Studio, but whenever i try to ad some code in the .ASPX.cs file i get some errors, also the Page_Load(??, ??) if not getting called. Are there any code examples of adding code <%= ?? %> to the .ASPX.CS files, i have sofar not succeeded in m...more >>

How to make a POST/PUT Call to my server
Posted by Anjali at 5/6/2005 3:25:37 AM
Hi There, I have written an HttpHandler for my server and have registerd it too. Now when I call my server directly from IE my handler gets called but I am not able to call my Handler Programmatically. Can anybody out there help me in posing a GET/PUT/POST call to my server so that my ...more >>

Multiple server ASP.NET setup?
Posted by dhnriverside at 5/6/2005 2:28:10 AM
Hi guys I've been asked by a client to research the possibilty of implementing a secondary web server. They currently have 1 2k3 server with AD, IIS, etc, running the shared drives, company intranet, and they want to bring their website in-house too. This is new territory to me, so what ...more >>

ASP.NET 2.0 Front Controller
Posted by garethdjames NO[at]SPAM gmail.com at 5/6/2005 2:12:37 AM
A while ago I read news about ASP.Net 2.0 having support for the Front Controller model, In all the reports I have read and in the latest beta download I can see no implicit support for this model Does anyone have any ideas? ...more >>

Using Response.Write or <%= in a Label Control
Posted by PK9 at 5/6/2005 1:00:05 AM
I'm having some issues with using a Response.Write or the shortcut ( <%= ...) from within a label control. I cannot do this in the code behind, I need to do it here at runtime. I have a public function (GetMsgs) in my code behind page that returns a string back to the caller. I want to cal...more >>

Enterprise Library - Indirect/Inherited Configuration??
Posted by plaztik via DotNetMonster.com at 5/6/2005 12:40:51 AM
Hello, My company creates many similar web applications for clients. I was assigned the task of creating a versionable engine for producing these web applications easily and protecting our code. I am creating an assembly that functions as the guts of the web applications we are producing....more >>

OnSelectedIndexChanged event not firing on a DropDownList within a DataList
Posted by Paul L at 5/6/2005 12:23:55 AM
Hi, I have an issue with the OnSelectedIndexChanged event not firing for a DropDownList control which is in the ItemTemplate of a DataList. I have made an exact copy of the DropDownList control, and placed it outside of the DataList and it fires the event just fine. So it's definitely to do w...more >>

web menu problem
Posted by dollar at 5/6/2005 12:19:02 AM
why my menu bar is display under the textbox? you can see my screen shot in the attachment file, pls help +----------------------------------------------------------------+ | Attachment filename: 4.jpg | |Download attachment: http://www.codecomm...more >>

asp.net + crystal report
Posted by Damir at 5/6/2005 12:16:03 AM
Please I need help and dont know where to post the question..... So I am making a small asp.net application and need to generate a crystal report with one image that changes depending of some data. I am using a Oracle database and for me is not important if the images are on the hard drive or in...more >>


DevelopmentNow Blog