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 > january 2006 > threads for monday january 16

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

How to link ASP .NET and a program?
Posted by James at 1/16/2006 10:57:13 PM
Hi, I working on an ASP .NET project, in this project I need to link my project with another program to retrieve data, how can I do that? I have access to source code of the other program where the data is stored. Can I convert the program to a web service and then in my ASP .NET project ...more >>


Bind a GridView to a Tree View node selection
Posted by JN at 1/16/2006 10:42:25 PM
Hi All, I have a tree view which has parent nodes of each letter of the = alphabet. The root node will be the customers name that relate to the = parent node letter. I also have a gridview which is binded to the treeview control to = display all customer records of the selected alphabetical...more >>

2.0 on root and 1.1 in virtual
Posted by cisco at 1/16/2006 10:37:02 PM
My main site is in .NET 2.0 but i have one virtual directory under this that i want to run under 1.1. When i change the mode to 1.1 and try to browse to it it seems to pull in the root's web.config file(which is in 2.0). {root_in_2.0}\web.config {root_in_2.0}\{vdir_in_1.1}\web.config ...more >>

Dealing with Master Page Shortcomings
Posted by Mark Olbert at 1/16/2006 10:02:22 PM
Has anyone found useful tutorials on how to deal with the shortcomings of master pages, specifically, the fact that they don't handle HTML file references when used to create web pages anywhere other than the root folder of a website? I'm familiar with using the runat="server" workaround for img...more >>

webctrl_client display issues...please help...
Posted by Chris Marsh at 1/16/2006 9:17:49 PM
Hello, We have been using the "webctrl_client controls" for a while now in a = variety of applications. And, at this one a client site where via = "localhost" the treeview displays perfectly yet when we try to display = the treeview from the ourside world it fails. Just click on the link = ...more >>

search page
Posted by new coder at 1/16/2006 8:08:36 PM
I have to create a search page (never created one before), would it be easier to just go against the DB or can I do a search against a dataset? I can pass up to 4 parameters or I can pass 0, I never did a search page before, so I'm not sure what would be the easiest way .I'm coding in ASP.NET...more >>

Rant: asp:DataGrid feels like object oriented straightjacket for row-level operations
Posted by Randall Parker at 1/16/2006 7:36:48 PM
Suppose you want to do either of these: A) Set display properties (e.g. color or boldness of text) of a cell based on a value of another cell in the same row. B) Set the display properties of a whole row based on values of one or more cells in that row. Well, these seem like reasonable ...more >>

stored procedures ?
Posted by Jarod at 1/16/2006 7:34:13 PM
Hey I have class that gets data through stored procedures what's best technique to use stored procedures ? For example now I am using a bit modified SqlHelper class... I know about enterprise library but it wasn't possible to use it up to know. But know I build project on ASP.Net does it have...more >>



ASP.NET 2.0 cache invalidation
Posted by Vikram at 1/16/2006 7:33:25 PM
Any link or resource which can describe the internals of whidbey's new cache invalidation machenism...How internalally it works ? Thanks ...more >>

Simple SQL
Posted by Jim McGivney at 1/16/2006 7:26:59 PM
In ASP 2.0 I have an access database, with a table named comments whose primary key is an integer field named ID, and two string fields names Comment1 and Comment2. I am trying to use a QueryStringParameter to update my table. This all should be simple SQL, but I am having a problem. ...more >>

Question: Setting Profile for create new user
Posted by VB Programmer at 1/16/2006 6:40:59 PM
I am using personalization/profile to store info for the user that is not contained in the aspnet_Users or aspnet_Membership tables. This info includes, firstname, lastname, and phonenumber. On my "signup" page I ask for all their info at one time, including username, password, firstname,...more >>

SQL Server Stored Procedure with Output Parameter and ASP.NET SQLCommand
Posted by Mr Not So Know It All at 1/16/2006 6:34:49 PM
im new to SQL Server and ASP.Net. Here's my problem. I have this SQL Server stored procedure with an input parameter and output parameter CREATE PROCEDURE [safety].[_getRCList] @in_rc varchar(8) @out_eList varchar(7) output AS select @out_eList = ecuid from _organization where rccode = @in_r...more >>

Image Dimensions?
Posted by James T. at 1/16/2006 6:03:55 PM
Hello! I am using following code to get all JPEG files in a directory. Data, including file name, length, creation date, etc will be stored in a DataTable. Now I would like to add two extra colums to the DataTable - height and width. I was wondering, what is the fastest way to get the di...more >>

Letting the user choose the language throughout the application
Posted by Shawn at 1/16/2006 5:34:06 PM
I have to develop my application to support 2 languages. Maybe even more in the future. Everything from the DataGrid header text to the text displayed on my buttons have to be able to change according to the user's preference. I'm guessing that I'm not the first one that has to deal with this, ...more >>

Having some informations about current ASP.NET application
Posted by Ravi Ambros Wallau at 1/16/2006 5:29:00 PM
Hi: I would like to have some informations about my current ASP.NET application: 1. Have access to all instances of HttpSessionState that belongs to my application; Not only name or GUID, but the instance itself; 2. Have an idea of how memory my application and each session is consuming...more >>

Form resizing
Posted by Herb at 1/16/2006 5:02:03 PM
Hi Folks, I'm pretty new at ASP.NET development so please excuse my beginners question. When developing a web application that could run on literally hundreds of computers, all with differing screen resoultions, how do you write the app to resize to these varying screen sizes? Thanks fo...more >>

dropdown
Posted by NuB at 1/16/2006 4:42:46 PM
I'm creating a web form in ASP.NET 2.0 (VB), and on my form I have several drop downs being populated from the database. When my page loads the drop downs are showing the data right way, and not my "Select a State" its showing AL right away, how can I add "Select a State" in the drop down so ...more >>

Accessing DOM from codebehind
Posted by bruce_pearson NO[at]SPAM hotmail.com at 1/16/2006 4:12:15 PM
General: I need to dynamically change the class of a DIV element on pageload. I have not been able to find any resources describing how to access the page DOM from code behind. Can someone point me to a resources. Specific: I have web user control with a property that controls the class appli...more >>

problem in tree view
Posted by news.microsoft.com at 1/16/2006 3:50:02 PM
visual studio 2003, ditnet framework 1.1 asp.net&c# when using microsoft treeview and create it at runtime and set autopostback to true to catch select event of the treeview the control will be disabled after the first click in the browser , any one can help me please?. ...more >>

browse web server
Posted by news.microsoft.com at 1/16/2006 3:46:14 PM
I want to browse the web server from asp.net page and possibility of creating and deleting folders and get properties of any directory and file , using c# and visual studio 2003 please help thanks. ...more >>

How Do? Modify CssClass for Specific Select Column in Datagrid
Posted by Joey at 1/16/2006 3:38:58 PM
I have noticed that the grid's Select linkbutton is rendered as an HTML anchor tag on the client. I would really like to be able to get a "class" attribute in it, either through CssClass on the serverside DataGridLinkButton control or through Attributes.Add or something similar? I thought I c...more >>

How to use FolderBrowseDialog control in ASP.NET 2.0
Posted by Charts at 1/16/2006 3:20:02 PM
I use VS2005 to build a asp.net 2.0 project. I want to be able to click a button on the page and have a dialog window appear where I can navigate the folders to get hold of a file path to load data from the file to a SQL Server database. I imported System.Data.Forms which gives me access to t...more >>

How to open a page in a new browser window
Posted by Jean Paul Mertens at 1/16/2006 3:04:31 PM
Hello all, Can someone tell me how to programmaly (in c# asp.net) open a page in a new browser window. I was playing with Response.Redirect but a can't tell the thing he has to open a new window. Greets JPM ...more >>

Specify version and product info
Posted by Greg at 1/16/2006 2:34:21 PM
Hi all, Currently, to be able to certify our product all dlls must have version numbers and product/company information. Is there a way to embed such information to the dlls that are produced by the aspnet_compliler.exe in .NET 2.0? I was able to do that for the App_Code.dll by adding an ...more >>

Dynamic Controls created by Dynamic Controls
Posted by Ronald at 1/16/2006 2:13:29 PM
Hello, For a registration page I need to constantly create controls on-the-fly. The input for one control determines the contents of the next (mostly DropDownLists) control. This is a pretty common practice I would think. But, ASP.NET 2.0 will not let me do it. I can dynamically create a c...more >>

.net framework 2.0
Posted by Tales Mein at 1/16/2006 1:48:12 PM
I need to download this, yet i am presented with ***********************************************************another*********************************** giant roadblock. This page has a zillion choices . Why can;t i just have the .net framework 2.0?? http://msdn.microsoft.com/netframework/...more >>

Printable Report
Posted by Tales Mein at 1/16/2006 1:33:47 PM
I need to pull some data from a database and present it to the user in Word or Excel or some format that the user can then print. I'm afraid to just use IE, because it always sticks the date, or the URL on the page. Where can I start? ...more >>

Authorization Manager
Posted by cesar.degollado NO[at]SPAM gmail.com at 1/16/2006 1:20:26 PM
I am working with Authorization Manager and I have installed it in a Primary Domain Controller and when I am trying to get access, it starts aplication fine that I have defined in my application store. Its looks so: StoreAzMan.Initialize(0, "msldap://TEST/CN=Apps,CN=Program Data,DC=test,DC=...more >>

Handling view state with Dynamic controls
Posted by gaDev at 1/16/2006 1:06:03 PM
1) I build a Html Table dynamically (Header Row, and then 2 rows with data All 2 rows have 2 cells: cell(0) contains a delete button (ASP Button), cell(1) contains a HTML Text box 2) On Form Load and get some data from a dataset and then from it's contents build the page At this poin...more >>

Visual Studio 2003 .net - Supports .net 2.0?
Posted by Dan at 1/16/2006 12:34:08 PM
I have always been using asp.net 1.1 framework with vis studio 2003. I presume that i can install the 2.0 framework and continue to use vis studio 2003 with the new libraries? Am i right? It seems to still beusing the 1.1 framework? Also if i develop in 2.0 to make the dll but my webser...more >>

Need help understanding the use of session variables
Posted by Paul Rogers at 1/16/2006 12:23:26 PM
I have an existing .NET ( 1.1) application, and I ran Microsoft's FxCop on it, and it screamed at me about directly using textbox.text values instead of session values. So, I tried to re-write parts of it using session variables and got no where. The (Pseudo) code that doesn't work at all...more >>

check for dbNull is throwing an error
Posted by WebBuilder451 at 1/16/2006 12:08:01 PM
the following simple check for a null valuse is throwing an error If IsDBNull(Me.DsMem1.usr(0).usrCoState) Then Response.Write(STAt) End If DSMem is a dataset and the value is null. I thought this would check for null, but it throws an error saying DBNul...more >>

In file parsing, taking the first few characters of a text file after a readfile or streamreader file read...
Posted by .Net Sports at 1/16/2006 12:00:36 PM
In VB.net, I'm trying to do a couple of things in a couple of different blocks of code. I need to take the first 25 characters of a text file, then append at the end some ellipses and a MORE link to a webpage where viewers can read the rest of the article: This is the first few characters of tex...more >>

StringBuilder AppendFormart cannot handle String!!
Posted by Jay Balapa at 1/16/2006 12:00:14 PM
Hello, If I use AppendFormat with string as a parameter. I get string cannot be converted to IFormatProvider. This occurs in 2.0 Thanks. Jay ...more >>

Web Site Administration Tool without IDE
Posted by jblankenburg NO[at]SPAM gmail.com at 1/16/2006 11:59:24 AM
I am trying to deploy a simple web application to my client's production server, but it's not clear to me how MS planned on having the Security users managed without Studio. Certainly someone has run into this issue. How do you manage users (the ones you would normally manage with the Web Sit...more >>

Handling events generated by a Master Page in a content placeholde
Posted by Federico at 1/16/2006 11:27:09 AM
I have a problem, I have an event declared in a Master Page, and I want to use in a Content Page holder of a Content Page. When I want to create the method to handle the event, I can njot reference the Master Page event, in its place IntelliSense shows me a Delegate Sub EventHandler. I am new ...more >>

User Web Controls
Posted by Newbie at 1/16/2006 11:21:45 AM
I can create user controls, but whenever I place on on a page, it allways ends up in the top left hand corner unless I create a panal for it to sit in. Is this how it is supposed to work, am I doing something wrong or is there a way around it ? ...more >>

Themes and global stylesheets
Posted by Jay at 1/16/2006 11:15:32 AM
Background I realize I can make a theme global by putting it in a special directory. If I include sytlesheets in the global theme folder I am assuming I can refence them in my other global theme elements - skins, etc. Question Is there a way I can make a style sheet global so that all g...more >>

Compilation debug=false in web.config gives errors in application
Posted by Jonas at 1/16/2006 11:08:57 AM
Hi, I've recently found out that I'm supposed to set the debug attribute of the compilation element in web.config to false in production environments. But when I do so in my ASP.NET application, I get strange errors. Apparently, a javascript file that I specify in the vb-code doesn't get calle...more >>

What server is for ASP 2.0
Posted by Henry Lee at 1/16/2006 10:57:19 AM
Hi, I have ASP.NET 1.1 running on our windows 2000 server. If I want to use ASP 2.0 . Can I use the same win 2000 server or need to upgrade to win2003 server ? Thanks for any ideas Henry ...more >>

how to rate a post?
Posted by c676228 at 1/16/2006 10:50:01 AM
Hi, I am new to this discussion forum. I started to post questions on this forum since this Jan. and got many good responses and I am very appreciated to those who are willing to help with their expertise. That save me a lot of time and stress. I want to rate the post, but I only see questio...more >>

Pls Help: SQLExpress alternatives
Posted by VB Programmer at 1/16/2006 10:24:25 AM
I have created an ASP.NET 2.0 site and just published it to my webserver. None of the database stuff works, including membership, etc.... because my hosting company (webhost4life) claims that they do not support SQLExpress, just SQLServer 2005. 1. How difficult is it to migrate over to SQLS...more >>

Excel - Access Denied
Posted by Jim Heavey at 1/16/2006 10:21:02 AM
Hello, I am using a generic AD Domain Account to create an excel spreadsheet, but I am getting an "Access Denied" error when I attempt to instatiate the excel object. The generic account does is set up in such a way that I can not log on to the server with the account but it is a valid accou...more >>

Where is my .NET 2.0 documentation?
Posted by Shawn at 1/16/2006 9:17:12 AM
I can find my .NET 1.1 documentation. It is located under the folder "Microsoft .NET Framework SDK v1.1" in my start menu. However, there is no link to the .NET 2.0 dokumentation under the folder "Microsoft .NET Framework SDK v2.0". There should be a link to the documentation there, right? ...more >>

Input String Not in Correct Format
Posted by tjonsek NO[at]SPAM phenom-biz.com at 1/16/2006 8:53:36 AM
I'm building a string to be used as the body of an email. I'm getting this error message. "Input String Not In Correct Format". I've checked several newsgroups, however, for the posts I found it was always in conjunction with a query or conversion. This is neither. It could be the control br...more >>

How to implement a drop dow menu?
Posted by Andrew at 1/16/2006 8:49:02 AM
Hello, friends, I was asked to implement a .aspx page with drop down menus. When a mouse pointer moves over a menu bar, a drop down list containing sub-menus will show up. Thus a user may select a sub-menu from the list. (It is something like the menu bars on this page: http://www1.us.d...more >>

How to create preview page before submitting
Posted by Syam at 1/16/2006 8:36:06 AM
Hello everyone, I am just barely two months old into learning asp.net and vb.net. Currently I am working on a project to store customer database. I have a question about creating a preview page: I have a main page that uses forms to input customer information such as name, contacts etc.....more >>

Accuracy and CSS
Posted by CharlesA at 1/16/2006 7:22:02 AM
Hi folks, I'm posting from the UK and here we use A4 sized paper which is 210mm x 297mm I'm using IE 6 for a corporate intranet. I was maintaining an application in MS Access 2002 that had several well formatted printable reports, and now I'm porting the whole app to SQL server and ASP.ne...more >>

Problems with Postback
Posted by tshad at 1/16/2006 6:00:46 AM
I have a page that has been displaying some weird behavior. I have 2 radio buttons that work fine until I press the link button with an item selected in my link box (if an item is not selected, there is no problem). This makes no sense. I am not doing anything with the item in the listbox. ...more >>

How to convert HTML to TEXT/WORLD file?
Posted by bokiteam NO[at]SPAM ms21.hinet.net at 1/16/2006 4:00:55 AM
Dear All, I have to convert HTML file to TEXT or WORLD file, could you please advice how to do that ? Thank you very much! Best regards, Boki. ...more >>

Running a long process
Posted by Franz at 1/16/2006 3:36:43 AM
The user of my web site needs to start some long processes. When he presses the button, a Thread is created and started for running the long process. He will be redirected to a page keeping refresh for the progress. I would like to ask if this user closes the browser during the progress pag...more >>

asp.net 2.0 menu client script error '0.cells null'
Posted by denappel NO[at]SPAM gmail.com at 1/16/2006 2:46:37 AM
Hi all, We're currently developping an asp.net 2.0 project, and ran into a problem with the new menu control. At the first load of the page, no errors are generated, but after a first postback an error pops up when hovering over a menu item: "Error: '0.cells' is null or not an object" ...more >>

How make a query in terms of File Index value in Inderx Server
Posted by savvy at 1/16/2006 1:40:26 AM
I'm writing a Search Query in Index Server SQL language. but not able to get the index value of any document in the Index Server. As this code strQuery = "Select Filename,PATH from Scope() where FREETEXT('" +strsearchstrings+ "')"; string connstring = "Provider=MSIDXS.1...more >>

Textbox that clears on first click
Posted by musosdev at 1/16/2006 1:38:02 AM
Hi I want to have a textbox on my webpage that shows 'Type here' in gray. When you click on the textbox, that text disappears and you can type your search, rather than having to select it and press delete. Be super-cool if it could also change the textcolor as well. Any ideas on how to...more >>

As Start page
Posted by David R. at 1/16/2006 12:58:53 AM
When a page is "set as Start Page", there doesn't seem to be any icon changes in the Solution Explorer. Is there a way to tell which page has been set as the start page? ...more >>

ASP.NET 2.0 File Upload Limits
Posted by David R. at 1/16/2006 12:55:13 AM
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html/UploadASP2.asp What's the absolute maximum filesize can one upload at a time? Is it 2 GB? Also, how easy would it be to add a fileupload progress bar to this? ...more >>

cache problem
Posted by jack at 1/16/2006 12:07:12 AM
Now here i have a doubt the explorer maintains the cache for 300 seconds when the code is in html code like the one which is below :- <%@ OutputCache Duration="300" VaryByParam="none" %> But the same code when typed in the cs file of the page does not gives the same result. Response.Cac...more >>


DevelopmentNow Blog