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 > march 2005 > threads for monday march 14

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

Common Functions
Posted by Pete via DotNetMonster.com at 3/14/2005 11:54:57 PM
Hi, I've created a class that contains a common function. When I try to invoke the function or method, I get the error: BC30451: Name 'dataClass' is not declared. The class file dataClass.vb contains the following: Imports System Namespace MySpace Public Class dataClass Publi...more >>


IIS built-in compression
Posted by Just D. at 3/14/2005 11:41:00 PM
Who knows beginning from which version of IIS, 5 or 6 only, and what system like 2000 Server, 2000 Advanced Server, we can use the built-in compression? I heard once that it was implemented beginning from Windows 2000 Server and we could use it but I'm not sure that it's true. Right now we're ...more >>

WebCustomControls Samples
Posted by Kevin at 3/14/2005 11:17:09 PM
Hi, :) I need some pages with WebCustomControls Samples.... The Quickstart tutorial its very basic, and I want to learn more :) Thannnkks! ...more >>

RegularExpressionValidator Problem!
Posted by Sparky Arbuckle at 3/14/2005 11:04:17 PM
I've got a RegularExpressionValidator that partly works. Let me explain: With the Validator below I am only able to search for one letter/number at a time. If I want to search for Diana I see 'Valid Search String', but if I search for A then I see all 113 results. Am I missing something here?...more >>

ASP.NET Template
Posted by Red at 3/14/2005 9:35:28 PM
Hi all, Im looking for asp.net template that is easy to use. Any one can recomend it to me. Thans...more >>

ASP.NET component execution
Posted by Isa at 3/14/2005 9:17:01 PM
Windows Desktop, running Win32 app running under a "common" userid (it gets logged in in the morning, and various people who share the desktop use it). We are integrating a new ASP.NET portion to this Win32 app, and we want to enforce Security Checking (using Active Directory users & Groups)...more >>

VS .Net 2005 and DataGrid
Posted by Sandy at 3/14/2005 9:09:01 PM
Hi! Anyone out there know if VS 2005 has an enhanced DataGrid control? If so, what are the capabilities? Thanks. -- Sandy...more >>

Prevent double click
Posted by Anders K. Jacobsen [DK] at 3/14/2005 8:13:53 PM
Hi im building a administraive application (primary) CRUD. But how do i prevent users not to double click on eg a insert button? I would be great the have uniform way to deal with this since I have a LOT of buttons. So adding javascript manually to each page does not sound compeling. I woul...more >>



Printiing a datalist
Posted by Vishal at 3/14/2005 6:04:27 PM
Hey, I have a datalist which has many rows. Therefore I used some kind of paging for that which works very good. Now I would like to print this datalist, from page 1 to end. Is there any possibiliy to do that? I know I can load the complete data into one page, but I dont want to do that....more >>

multiline textfield character limitations?
Posted by Jerome at 3/14/2005 5:46:35 PM
Hi, Is it possible to limit the number of characters entered into a MultiLine asp.net text field? And if yes, how? 'MAXLENGTH' works with SingleLine text fields, but not with MultiLine ones ... Thanks a lot. Jerome...more >>

Insert problem
Posted by simon at 3/14/2005 5:42:23 PM
I have couple asp.net controls on the page, including compare and range validators. When user click the insert button, the data are inserted into the database. It works on my computer and on local srever. If I copy page on production server, the insert doesn't work. When I click Insert b...more >>

how to hide top header of datagrid?
Posted by Asha at 3/14/2005 5:37:02 PM
hello, dgNameFound.Items[0].Cells[0].Visiable= false; i'm using this to hide the items in a datagrid and it works fine... but i do not know how to hide the header of the column. can someone please show me how this is done? ...more >>

Directory Browsing
Posted by Manny Chohan at 3/14/2005 5:15:03 PM
Hi Guys, I am currently programming in Vb .net. I am stuck at point. i have a root directory C:\test which has couple of sub-folders c:\test\test1 ; c:\test\test2 ; c:\test\test1\test4 and so on. I need to create a list box with parent directory and its sub directories below it for all...more >>

What is wrong with my DataGrid?
Posted by I am Sam at 3/14/2005 5:13:03 PM
I need to be able to delete a record/row from a database table. I am using a DataGrid which is not sending the row index key properly to the event in the codebehind. When I set a break point and check the values in the Autos window e.Items.ItemIndex always returns a 0 so the stored procedure...more >>

vbscript in a .NET-application
Posted by Nicole Legroe at 3/14/2005 5:10:07 PM
How can I use and integrate an existing VBscript in a VB.NET-application? ...more >>

How to port a windows form project to ASP.NET
Posted by Cezar at 3/14/2005 5:09:03 PM
I have a quite simple windows form project. It uses one standard form, a couple of simple controls including the tree control, and ADO.NET. Is there a simple automated way to port, or at least try, the project to a web forms project? Thank you Cezar Mart ...more >>

secure site
Posted by JIM.H. at 3/14/2005 5:05:05 PM
Hello, I had my connection string defined in web.config, now I want to have my asp.net application as a secure site with https://, how should I do this? Thanks, Jim. ...more >>

Back Button - Retain Values On Re-Submission
Posted by Penny Bond at 3/14/2005 5:04:03 PM
Hi, Any help or suggestions on this one would be gratefully appreciated: I have 2 aspx pages one is called 'Query' and the other 'Details'. Query page has a number of text boxes and drop down's for parameter selection, a 'Search' button and a grid that displays the results (the results cont...more >>

List Box
Posted by Manny Chohan at 3/14/2005 4:59:02 PM
Hi Guys, I need to append space in front of Directory names inside listbox based on the folder level inside directory. If i do lBoxLocation.Items.Add(new ListItem(" "+ dirInfo[i].Name,dirInfo(i).FullName)) it adds in front of value. If i put white space, it dont appear at all....more >>

DataLists ItemCreated question
Posted by tshad at 3/14/2005 4:27:26 PM
I am trying understand when DataLists ItemCreated is called. I put function that attaches a popup to my delete button: Sub DataList_ItemCreated(Sender As Object, e As DataListItemEventArgs) trace.warn("Inside DataList_ItemCreated Sender = " & sender.GetType().tostring()) trace.warn("Itemt...more >>

DataGrid, DataSet, GetChanges question
Posted by Marty at 3/14/2005 3:57:56 PM
In winforms, I can bind a datagrid to a dataset. When the user wants to submit changes, it's easy to see what has changed with the DataSet "GetChanges" method. In ASP.Net, I can create the dataset, bind it to the grid, then send to the user. But upon postback, I have no way of knowing which it...more >>

Updated values problem
Posted by Jawad Aman via DotNetMonster.com at 3/14/2005 3:54:21 PM
hi I have a problem in working with ASP.NET controls. I have a Sign_UP form. After filling out all the values i click save button, the data is saved in the database. When i click edit and edit the data and then again click save button, the values stored in the database are still the old one...more >>

IFRAME session timeout trap error question
Posted by Timo at 3/14/2005 3:39:47 PM
In javascript code on MyPage.aspx, I set a hidden IFRAME's source url: myframe.location.href = 'someotherpage.aspx'; If the session has timed out, preventing someotherpage.aspx from being loaded into the IFRAME, where can that error condition be trapped? Thanks Timo ...more >>

Which session state is best to use
Posted by tshad at 3/14/2005 3:37:24 PM
I am running with Sql Server and am curious if I should use in-process, State Server, or SQL Server. By default, I assume I am using in-process (I could be wrong here, however). I am not actually defining it in my web.config. I was thinking about moving to Sql Server mode, but am not sure ...more >>

Web.config
Posted by Maziar Aflatoun at 3/14/2005 3:36:57 PM
Hi everyone, I have created a Web.config file that when users try to access any .aspx file in the /protected folder redirects them to a login page. But this doesn't work for .jpg, .zip...etc. How can I change that? Also, I don't have access to the remote hosting IIS admin. So, it has to be don...more >>

Reading an XML file into a dataset
Posted by Maziar Aflatoun at 3/14/2005 3:36:52 PM
Hi everyone, I like to use the dataset object for reading the following XML. <?xml version="1.0" encoding="utf-8"?> <ORDERS> <ORDER> <GENERALCONTACT> <FirstName>FirstName1</FirstName> <LastName>LastName1</LastName> <Company>Company1</Company> </GENERALCONTACT> ...more >>

Request Validation
Posted by Henrik Holle at 3/14/2005 3:06:25 PM
Hi, can i disable RequestValidation per request somehow? regards henrik ...more >>

deployment problems
Posted by tatemononai NO[at]SPAM gmail.com at 3/14/2005 2:38:49 PM
I'm using Project/Copy Files in VS to deploy my asp.net web page. But I'm having some problems after stuff is running on the server. Several of my Validator Controls aren't working. When I do a view/source on the page, the Java script references http://localhost even though it's now on the we...more >>

Timing issues with OnInit in derived class
Posted by tatemononai NO[at]SPAM gmail.com at 3/14/2005 1:03:12 PM
I've got a asp.net page that is derived off a custom class. The base class does some init stuff in OnInit that is needed by the derived pages. I'm having a timing problem with OnInit. The OnInit in the derived classes executes BEFORE the OnInit in the base class. I need it to be the other wa...more >>

Visual studio help
Posted by simon at 3/14/2005 12:58:40 PM
I have VisualStudio2003 installed with MSDN Library. But each time I use help, it goes on url: http://msdn.microsoft.com/ It takes time and sometimes also computer freez because of that. Is there any option to have all help on disc on local computer? Simon ...more >>

send mail with page-html-content
Posted by Alexander Widera at 3/14/2005 12:39:03 PM
I have a page with the following code for example: <%@ Page Language="C#" ContentType="text/html" ResponseEncoding="iso-8859-1" Debug="true"%> <script runat="server"> void Page_Load(object sender, EventArgs e) { texttoview.Text = "this is the text"; } </script> <!--...more >>

How does master pages in aspnet2.0 do it?
Posted by Showjumper at 3/14/2005 12:34:31 PM
In asp.net 2.0, when using master pages the paths to images, styles sheets etc get fixed appropriately depeing on whether the child page is in a subfolder or not. How does master pages do it? Cani implement htis somehow in 1.1? I have been playing with the templating solution present in the ...more >>

upload doc question
Posted by Mike at 3/14/2005 12:31:07 PM
On my web app i allow users to upload documents to the database, BUT I only want to call this function if there is a document to upload. how can I veify that the Upload file control has something in it to upload? ...more >>

Dear All,
Posted by Shaker at 3/14/2005 12:27:02 PM
Dear All, I have tried to access a SQL server DB on on network A from ASP/Or ASP.Net Application Which is hosted on another network domain, Both of them are behind the firwall (all consideraation are fixed,..), IIS server can connect to SQL-Servers, using: SQL-Analyzer or Enterprize manag...more >>

Response.Flush problem
Posted by Mantas Miliukas at 3/14/2005 12:05:37 PM
Hi, I have problem when flushing the generated HTML code to the client. It seems that "Page.Response.Flush()" method doesn't work at all. See my code below: protected override void Render(HtmlTextWriter writer) { for (int i = 0; i < 100; i ++) { writer.Write("..."); write...more >>

syntax error on auto postback with dropdown
Posted by nicholas at 3/14/2005 12:04:38 PM
Hi, On this page you can see a dropdown with auto postback: http://www.b2blearning.be/en/planning.aspx When you change the dropdown, the planning dates are populated. But if you do that a few times, suddenly a Syntax Error is generated. Any ideas why ?? THX Nic ...more >>

Text messaging on phones
Posted by Elmo Watson at 3/14/2005 11:39:48 AM
First of all - is it possible with ASP.Net, to send text messages to a certain phone? And, if it's possible, is there a site that goes through a tutorial (or whatever) concerning how to sent a text message to a phone, using ASP.Net ...more >>

DataGrid What column is selected on Sort Event
Posted by Ben Helppi via .NET 247 at 3/14/2005 11:36:15 AM
I've been struggling to get functionality out of the DataGrid. The documents that I found weren't any help, so I was wondering if someone could tell me how to find out what Column was pressed on a sort event. private void MyDataGrid_SortCommand(object source, System.Web.UI.WebControls.DataGridSo...more >>

New ASP-er
Posted by HotRod at 3/14/2005 11:26:44 AM
Have a few questions that I was hoping someone wouldn't mind answering. I am currently helping another fellow develop a basic ASP.net webpage so that we can track some of our program information into either a SQL or access database, for now we are using MS Access. OK what I'm wondering is ...more >>

Still Stumped on passing property to dynamically loaded UC
Posted by darrel at 3/14/2005 11:16:34 AM
I'm still a bit stumped on how to load a usercontrol, and then pass a property value (or variable value) to it. Here's what I'm using to load the UC: localCUstomControl.ascx.vb ------------------------------------- sub initializeExtraControls() panel_controlHolder.visible = True c...more >>

W3WP poor performance
Posted by Helge at 3/14/2005 10:43:16 AM
On our server the w3wp process is "pagefaulting" all the time, but none of the other processes (and there are some) behave that way. Page fault delta in TaskMgr shows up to 15000 with normal refresh speed for w3wp.exe. Mem usage is 110MB, VM size is 90MB. Commit charge is about 2GB, physical ...more >>

open documents
Posted by Mike at 3/14/2005 10:39:22 AM
I allow the users to open documents but they get prompted to Open Save Cancel, how can I just open the document automatically without the user being prompted to save, etc.? ...more >>

Email Facility...Please Help..
Posted by Irfan Akram at 3/14/2005 10:39:11 AM
Hi Guys, I am quite close to finishing a web-based exam-marking system. I have got about couple of weeks before the deadline. My supervisor wants me to add an email facility to my system, so that diferent users can email each other through the system, or email groups at a time. Since I have...more >>

Using JavaScript in ASP
Posted by TheGoo420 NO[at]SPAM msn-dot-com.no-spam.invalid at 3/14/2005 9:37:27 AM
Problem: I need to add a button to an ASP form and populate it with JavaScript code.. the button needs to change from fuzzy to clear when hovering over it. There is to be another button added to the form and when hovered over, it needs to be populated with an image. If someone could please hel...more >>

Very basic beginner question (I hope)
Posted by Chele Sedai at 3/14/2005 9:34:37 AM
I am on my first day of learning ASP.NET (I hope that doesn't chase anyone away from my post!) I am using "ASP.NET For Dummies" (Yes, I am so slow that I need this book to start with). The first exercise is to print "Hello and Welcome" on the screen in increasing font size. Here is the code wh...more >>

no "Request timed out" - Error
Posted by rudi.schindler NO[at]SPAM it-manufaktur.at at 3/14/2005 8:11:58 AM
I experimented with the executeionTimeout for my web-application. I tried to enforce the following error: "System.Web.HttpException: Request timed out". I used a function, that takes about 60 seconds for execution and set the executtionTimeout to 5 seconds, but i did not get the expected erro...more >>

External component has thrown an exception
Posted by STech at 3/14/2005 7:53:01 AM
1) We did an xcopy of our latest production build to our windows 2003 prod server and started getting the exception below. Recycling the application on the webserver seemed to have fixed the problem. Any ideas on why we got this error? Message: System.Web.HttpException: External component h...more >>

Dropdown list - SelectedIndexChanged event doesn't fire
Posted by Jack at 3/14/2005 7:07:04 AM
Hello, I have a dropdown list on a user control and the AutoPostBack property is set to True. I want to use the SelectedIndexChanged event to populate some text boxes based on what the user chose in the dropdown list. However, the SelectedIndexChanged event doesn't fire. In the immediat...more >>

Datagrids are kicking my ass!! Please help
Posted by I am Sam at 3/14/2005 6:45:04 AM
Ok I set up a button column to delete an individual record. Nothing happens when I test it. Someone please help understand why. Below is the associated coding: DataGrid control: <asp:datagrid id="clubdg" DataKeyField="UserID" runat="server" GridLines="Vertical" CellPadding="2" BorderWi...more >>

What does the function of Register tag in .aspx
Posted by ad at 3/14/2005 5:55:40 AM
I download the source of Portal Starter Kit form http://www.asp.net/Default.aspx?tabindex=8&tabid=47 I find there are Register tag in many .aspx, like this HtmlModule.ascx , the first line is <%@ Register TagPrefix="Portal" TagName="Title" Src="~/DesktopModuleTitle.ascx"%> What does the f...more >>

Date Format
Posted by S.vanWaardenburg NO[at]SPAM albeda-dot-nl.no-spam.invalid at 3/14/2005 5:37:23 AM
Created a simple script that shows the current date: Dim MyDate As Date = Today Response.Write(MyDate) On my localhost the output for this script is: 14-3-2005 0:00:00 (dutch format) When i publisch the script to my production server the output is: [b:c96d6612e6]03/14/2005...more >>

What is DNN (DotNetNuke)
Posted by ad at 3/14/2005 5:25:15 AM
I ofen find the word DNN in some discuss forum What is DNN (DotNetNuke)? ...more >>

web service authentication with active directory
Posted by Geir Sanne at 3/14/2005 5:13:02 AM
hi!! i have a windows app that uses web serivces to access data and i use integrated windows to authenticate. is it a way to authenticate with users in active directory ? and how do i do that ?...more >>

Is it possible to create an ISAPI dll using VB.Net?
Posted by David Reynolds at 3/14/2005 5:09:04 AM
Is it possible to create an ISAPI dll using VB.Net?...more >>

How to use user control?
Posted by ad at 3/14/2005 5:00:10 AM
I download the source of Portal Starter Kit form = http://www.asp.net/Default.aspx?tabindex=3D8&tabid=3D47 There are many user controls in the project. I open a new web form, drag a user controls from the project manager, = and there is a error message on the user control. =20 Are the...more >>

javascript location.reload causes "retry / cancel" popup
Posted by dhnriverside at 3/14/2005 3:55:01 AM
Hi peeps I'm developing an intranet application which uses a main window and various popups created with javascript ( window.open() ). When the user saves what they are doing in the popup, i use opener.location.reload() to refresh the parent window. Most of the time this works fine, but ...more >>

DataGrid in c#
Posted by AntoS at 3/14/2005 2:03:07 AM
I got a DataGrid on my webpage and I populate it by a query on the database and after I make a DataBind method. The Porblem is that I want some field to be clickable and of course I would like it to send me an ID that I take from the Database. That's my code: -In .aspx page: <asp:DataG...more >>


DevelopmentNow Blog