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 > october 2005

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

Any good FOREX webservices?
Posted by VB Programmer at 10/31/2005 11:09:48 PM
Looking to make a .NET app that displays live FOREX (foreign exchange) data. Any idea if there are any webservices that provide this type of information? Thanks! ...more >>


Validation in codebehind
Posted by TCORDON at 10/31/2005 10:28:33 PM
Is there a vay to validate a textbox.text to see if it is a valid email address in codebehind? Using VS2005 Thanks ...more >>

Debugging ASP.Net application
Posted by pradeep_TP at 10/31/2005 10:15:01 PM
Hi all, I am working on a project which was developed earlier by some other company. Work mainly involves maintaining the web site and do minor enhancements. The project is very huge. My question mainly focussed on error handling. In this project the error is handled using try catch blo...more >>

ObjectDataSource in ASP.NET 2.0
Posted by Ole M at 10/31/2005 10:03:59 PM
I'm having some trouble using the ObjectDataSource in ASP.NET 2.0. I have a wrapper that contains the static methods for Select and Update. The Update-method takes the business object as parameter. When the Update-method is invoked by the ObjectDataSource, the object referenced is not the ...more >>

asp.net 1 drop down lists
Posted by eagle at 10/31/2005 6:17:20 PM
When I load a drop down list from a dataset, it defaults to selecting the first item. How do I get it to not select anything and leave the ddl blank until a user selects an item? I tried: ddl.SelectedIndex = -1 but it still selects the first item, returning the selected index of 0 Thank...more >>

Migration from 1.1 to 2.0 - global.asax????
Posted by Robert at 10/31/2005 5:31:02 PM
In one of my web applications, after migrating, the global.asax file was moved to the App_Code directory. That's fine and the application compiles okay. But when i attempted to run it, i get the error below....seems sort of odd: Compiler Error Message: BC30183: Keyword is not valid as an ...more >>

xml transformation convert "<" or ">" value to &lt or &gt
Posted by andrew007 at 10/31/2005 4:43:03 PM
I do xml / xslt transformation using asp.net but I found any value (w/xml format) in xml node html-encoded to &lt and &gt format if it's > or < tag. Since I have sub xml data in a parent xml node as a value. Check out the following problem. I want to convert the value in <WpDatesXml> node t...more >>

How to log error info in asp.net app?
Posted by Andrew at 10/31/2005 4:30:02 PM
Hello, friends, I deployed my asp.net app to our server. As I did in our client/sever C#.net app, I wrote errors into a log file in catch{} block of try/catch statements, espeically for those DB access errors. However, in asp.net, it did not work. It said access denied when creating/wri...more >>



ThreadPool problem
Posted by Dave at 10/31/2005 4:05:03 PM
Hi, I have a .NET class which uses the .NET threadpool (using QueueUserWorkItem) to create about 8 threads, which do some work while the parent thread waits for them all to complete, which works fine when referenced from a normal EXE. When I reference this DLL in a webservice however, the t...more >>

Conversion errors from .NET 2.0 ASP.NET...
Posted by Brian Henry at 10/31/2005 4:03:32 PM
Ok how do I fix this... it worked in ASP.NET 1.1, in 2.0 it says Error 3 Option Strict On disallows implicit conversions from 'Object' to 'String'. here is the part of code it is giving this error on, its an item template from a data grid... the line that has the error underlined is "<%...more >>

Search Filter!
Posted by AJ at 10/31/2005 3:56:02 PM
Hi all, An easy question! I have a datagrid that can needs to provide filter functionality. I have three controls above the grid (txtSearch,ddlSearchBy,btnSearch) btnSearch calls btnSearch_Click. Here is my code: Sub btnSearch_Click(ByVal Sender As Object, ByVal e As System.EventAr...more >>

Ask for Login...
Posted by Javier Feldman at 10/31/2005 3:52:15 PM
Hi, I just begun with asp.net (2.0) and I tried to make a simple default.aspx but when I try to run it in a browser it always throws a login window. Why occurs that? And, what can I do to avoid it? Thanks in advance. Javier ...more >>

CheckBox in DataGrid
Posted by James at 10/31/2005 3:43:48 PM
I've added a template column to a DataGrid that contains a checkbox control. The default value for this checked. All items are checked on page load. I add a column to my dataset that contains a default value as well. If a record is unchecked in the grid, I need an event handler that can upd...more >>

Multiple fields in a DropDownList
Posted by tshad at 10/31/2005 3:02:00 PM
Is there a way to do something like: UserList.DataSource=theDataSet if ShowUserRoles.Checked then UserList.DataTextField= "NameUserName" & " / " & "RoleDescription" else UserList.DataTextField= "NameUserName" end if UserList.DataValueField="UserID" UserList.databind() ...more >>

Getting Values from an Updatable data grid
Posted by Kiran Kumar Pinjala at 10/31/2005 2:57:03 PM
Hi, May be this is silly, or I just need a second pair eyes to look at this. I am trying to get values that I have edited in a datagrid and update the values with those values. Here is the code that I am using in my update command. TextBox txtProdName = (TextBox)e.Item.Cells[1].Cont...more >>

Error: CrystalDecisions.CrystalReports
Posted by Lorenc at 10/31/2005 2:36:40 PM
Is anybody experiencing the following error when trying to export a crystal report to a pdf? This error happens randomly. ------------------------------------------------------------------------ Error occurred. Exception of type System.Web.HttpUnhandledException was thrown. Cannot find the ...more >>

Page through dataset w/o postback.
Posted by Shawn Repphan at 10/31/2005 2:24:02 PM
Is there a simple way to allow users to scroll through multiple records without a postback? I am sure this is possible in Javascript, but I am wondering if an ASP.NET control exists that can provide this functionality. If not, could someone point me in the right direction? Thanks. ...more >>

dll
Posted by mickeyg at 10/31/2005 2:02:13 PM
Is there a tool to see what classes and properties a dll has? ...more >>

ImageButton click event
Posted by TCORDON at 10/31/2005 12:53:25 PM
I have a web page that has a ImageButton that changes the value o a session variable. The problem is that when I click the refresh button in my browser somehow the click event for that button is being fired, that event is not called from any part of my code, just when the user clicks the butto...more >>

UIAPB and .NET 2.0
Posted by bryan NO[at]SPAM newsgroups.nospam at 10/31/2005 12:23:01 PM
Any issues using the User Interface Processes App Block with 2.0 of the framework and VS 2005? Thanks, Bryan...more >>

ASPX accesses to network file resources
Posted by A.M-SG at 10/31/2005 12:20:13 PM
Hi, I need an aspx's code behind program access to a network folder which is only available for specific active directory user. How can I have that specific aspx code login into the active directory with specific UID/PWD? The rest of ASPX pages in the application don't need to have any acc...more >>

selectindex always = 1 from datacombo
Posted by chris NO[at]SPAM oaksong.com at 10/31/2005 11:48:47 AM
I give up. I've got a dropdowncombo. I'm trying to refer to the user selection in the SelectedIndexChanged event. I select one of the last items in the list. So far I have not been able to successfully access either the text or the value using an index. I've been plowing through deja.com to tr...more >>

Button that allows right click to open in new tab?
Posted by Randall Parker at 10/31/2005 10:25:36 AM
Short of generating my own icons is there a way to get the appearance of a button on a form but with behavior that is like a regular link? In particular, I want to be able to right click on a "button" and choose "Open in new tab" or "Open in new window" (given that the user's browser supports...more >>

How to make first combo box entry blank?
Posted by Randall Parker at 10/31/2005 10:18:56 AM
Using DropDownList to create select/option tags in HTML how to make the first option be a blank string? I have fields with optional values. Currently I'm populating the DropDownList by querying out a list of choices from a table. But the table shouldn't have a blank row. A couple of possib...more >>

Web Controls/User Controls - Access Modifier
Posted by Mr Newbie at 10/31/2005 10:05:07 AM
I am messing around with Web User Controls at present and (think) I have discovered the following. 1.) The identifier for the control in the code behind must match the ID for the control on the page. 2.) The identifier must be delcared with a minimum access of 'Protected' in order to wor...more >>

HttpModule, virtual directories and web.config
Posted by Manso at 10/31/2005 9:54:02 AM
Hi, We have an application that is installed in default web site (root web site). The same application will be installed as virtual directories under the root site e.g. <default web site>/app1 and <default web site>/app2. Starting the root application goes well but when starting app1 it com...more >>

error on query of derived datatable in dataset
Posted by cindy at 10/31/2005 9:51:19 AM
Get data into datatable, add to dataset dsSearch " Get data into datatable, add to dataset dsSearch Using In-Memory SQL Engine join the tables and select the filenames from the join, add to dataset dsSearch CODE ON http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=3994&...more >>

HttpContext.Current is null in asynch method?
Posted by Dave at 10/31/2005 9:31:50 AM
I'm trying call a couple WebRequests asynchronously using the QueueUserWorkItem, but one thing I noticed is that the HttpContext is null within the asynchronous call. I was using HttpContext.Current.Server.MapPath to load an Xslt file to format and return Xml after the webrequest is made. ...more >>

Get the index of the selected button in radiobuttonlist
Posted by svein.erik.storkas NO[at]SPAM gmail.com at 10/31/2005 9:29:36 AM
How can i get the index of the button that is selected in a radiobuttonlist? I have a radiobuttonlist that contains 5 buttons, and i do a switch on what index that is selected, like this: Session["rblMarked"] = GetIndexString( rblMarked.SelectedIndex ); Session["rblCustomersSeriosly"] = Get...more >>

Will 2.0 and 1.1 work on same server?
Posted by Michael at 10/31/2005 9:27:29 AM
Sorry for the newbie question, but if I install the .NET 2.0 redistributables on our ASP.NET server--- - will my old apps continue to work? - will I be able to add 2.0 pages to my old apps? M ...more >>

.NET Framework 2.0 and Visual Studio 2005 beta issue
Posted by Christian Perthen at 10/31/2005 9:17:26 AM
Hi, I just replaced .NET framework 2.0 over .NET framework 2.0 beta and suddenly my VS 2005 beta doesn't work anymore. Anyone else experienced the same issue. Thanks Christian ...more >>

selecting multiple items in a checkbox from a datagrid urgent plssssssssssssssssss
Posted by sneha123 at 10/31/2005 9:16:36 AM
There will be some 20 questions and for each question there will be choices.what i want to do is to select multiple answers by clicking th checkbox. i m using asp.net,vb.net pls help me we have written the code using radio button for selecting singl item.but we want to replace it with ch...more >>

407 Proxy authentication required?
Posted by Ily at 10/31/2005 8:30:37 AM
Hi I have the following code: Dim cred1 As New System.Net.NetworkCredential("myusername", "mypassword", "mydomainname") Dim cc As New System.Net.CredentialCache cc.Add(New Uri("http://www.yahoo.com"), "Basic", cred1) Dim wp As System.Net.WebProxy = New Sy...more >>

OnItemDatabound help
Posted by Spondishy at 10/31/2005 8:16:35 AM
Hi, I have a datalist control, and in each row I have a label and a hyperlink control. The label is bound to an id field in the db. What I'm trying to do is hide the hyperlink if the id is a certain value. My question is, does OnItemDataBound fire before actually binding the controls, as...more >>

can't use javascript to print in IE6
Posted by fredd00 at 10/31/2005 6:07:09 AM
Hi I have an aspx page that has a datagrid and a print button i have a javascript function : function PrintPage(){ if (window.print) {alert('print');window.focus(); window.print(); } else {alert('This script does not work in your browser');} //history.back(); //return false; } ...more >>

Where is the ASP.NET tab in IIS manager?
Posted by James at 10/31/2005 12:00:00 AM
I have an application I am trying to deploy to an Windows 2003 server web edition. When I try to upload my app to the web server i get a message which says something like ... the web server needs to be configured for asp.net 2.0... On the webserver i have a website with fpse installed. I h...more >>

IIS trying to execute a page under 1.1
Posted by Michael Carr at 10/31/2005 12:00:00 AM
I recently migrated a site from 1.1 to 2.0. For the most part, the site still works. However, there is one page in particular that IIS insists on processing with .NET 1.1, which leads to the following error: -------------- Parser Error Message: Unrecognized configuration section 'xhtmlConfor...more >>

The Microsoft Jet database engine cannot open the file
Posted by Morten Wennevik at 10/31/2005 12:00:00 AM
I'm transferring an Excel file from a client computer to a web-page on a server, then trying to open the file on the server causes this exception message to occur. The Microsoft Jet database engine cannot open the file ''. It is already opened exclusively by another user, or you need permis...more >>

Class Constructor!!!
Posted by Adam Knight at 10/31/2005 12:00:00 AM
Hi all, below is a class constructor i have written. I am getting the error: Security.Session denotes a field where a method was expected. Can someone give me a heads up on what is happening!! Cheers, Adam public Security() { //default property values _IsDirector = f...more >>

Are master files a replacement for user controls for overall layout?
Posted by Alan Silver at 10/30/2005 8:48:47 PM
Hello, In classic ASP, I used to use two include files on each page, one before and one after the main content, to provide a consistent layout across a web site. That way I could just change the include files to change the layout. When I came to ASP.NET, I used user controls to do a similar...more >>

Reference Issue converting site from 1.1 to 2.0
Posted by Robert at 10/30/2005 8:00:02 PM
I have a series of web applications (configured as separate applications) on a server. There is a main application at the root and then several virtual directories that are independant applications. I am testing an upgrade of all of the sites and have converted the main root site...altho...more >>

How to place web user controls in the correct position?
Posted by Andrew at 10/30/2005 7:52:02 PM
Hi, friends, This drove me nuts: I had two web user controls: header.ascx and copyright.ascx. I planed to put them on each .aspx pages: Header on the top, and Copyright at the bottom. However, I could NOT place them in the correct positions of the .aspx pages. The header.ascx, copyrigh...more >>

Displaying Embeded Bitmap Resources in a ASP.NET
Posted by Dr. Paul Caesar - CoullByte (UK) Limited at 10/30/2005 7:39:04 PM
Hi all, I created an assembly that is shared by all our websites and cotains many images used throughout. I know how to access the resource, but how do I get the Bitmap to display in the IMG tag in HTML in C# without saving to a file first? Paul...more >>

How do I tell VS2005 about a code-behind file?
Posted by Alan Silver at 10/30/2005 6:54:29 PM
Hello, I have been developing ASP.NET with a text editor so far (better way to learn initially), and have now been trying Visual Web Developer. I want to create a project for an existing site and add the files to it. I can add my .aspx and .cs (code-behind) files, but VWD doesn't know which...more >>

templatecolumn text, tooltip problem
Posted by bluewind44 at 10/30/2005 6:17:58 PM
Hello, now I'm struggling with the tootip problem. I've googled and found some sample code and tried it. It works, but I have a problem with it. I want to get the text of the templatecolumn, but e.Item.Column[i].Text didn't work. I know I can do it by using 'Lable', but I just wanna k...more >>

layout question
Posted by Howard at 10/30/2005 5:40:14 PM
some times there are very long urls in my page content that is pulled from a database, it will mess up the page layout since there's no break or space in the long word. Is there a way in html or css to fix this problem? or do i have to write a script that finds all words in my string that are ...more >>

Bad page request for /_vti_bin/owssvr.dll
Posted by Bill Watterson at 10/30/2005 5:15:02 PM
This item keeps showing up on my Bad Page Request report. Does anyone know what this is or how to keep it from showing up on the list? Thank you! ...more >>

namespaces
Posted by BM at 10/30/2005 2:11:47 PM
Hi everyone, A wee question: How do I create namespaces that follow the standard below: mycompanyname.bll mycompanyname.pl mycompanyname.dl VS.NET will always (by default) start with "system" or something like that. That's not what I want. Thx for any help BM ...more >>

HttpHandler configuration in ASP.NET 2.0
Posted by W.G. Ryan [eMVP] at 10/30/2005 2:05:01 PM
Let's say I have a class named GenericImageHandler in namespace BillRyan and I'm storing it in the App_Code folder in a 2.0 application. What does the web config setting look like? Here's what I'm using but each time the application starts, I get a configuration error telling me that i'm not...more >>

Storing Objects in Session Object
Posted by MrShovel at 10/30/2005 1:14:41 PM
I'm new to this ASP.NET caper and have the following questions. I have a TestObject that contains about 50 fields of data and 3 member procedures. Below is a simplified explanation of what I do. At the start of each session I initialise this TestObject. On entering every page I create a lo...more >>


DevelopmentNow Blog