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 > june 2004 > threads for monday june 28

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

Disappearing event handlers
Posted by Gawel at 6/28/2004 11:11:11 PM
If I set a method as an event handler using design view in vs.net then from time to time it disappers(unregisters) and all my buttons don't work :(. How can I prevent it ? Tahnks in advance -- Gawel ------------------------------- Pierwszy ³yk z pucharu nauk przyrodniczych czyni ateist±,...more >>


Wanted: User Agent\Post Platform registry file showing the .Net extensions
Posted by \ at 6/28/2004 10:43:14 PM
I need: "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\User Agent\Post Platform" registry entries for a .Net V.1.0 and .Net V.1.1 enabled browser. Mine got erased and is now affecting Visual Studio .Net 7 & 7.1 My IIS web log reports the following: "M...more >>

'ASP.login_aspx' does not contain a definition for 'btnSignIn_Click' - I have the function..then why?
Posted by Columbia Pike at 6/28/2004 10:41:56 PM
Hi, I'm trying to have a login page; after logging in the user has to see the list of SQL Server Databases available to him/her. I'm always getting the error 'ASP.login_aspx' does not contain a definition for 'btnSignIn_Click' I have the btnSignIn_Click function defined in a codebehind .c...more >>

One simple question about HyperLink, Urgent, thanks
Posted by Edward at 6/28/2004 9:37:04 PM
I've one datagrid and one frame with id ="frmdetail", in the datagrid, there is one template column which includes one HyperLink, <asp:HyperLink id="detaillnk" runat="server" text='detail' Target='frmdetail' NavigateUrl='someurl' ></asp:HyperLink> but when I clicked , it was shown ...more >>

JScript
Posted by Shimon Sim at 6/28/2004 9:24:52 PM
I heard that there is a way to tell with control called with JavaScript without passing parameters. Does anybody know how it been done? Thanks, Shimon ...more >>

Can someone point me to a simple ASP.NET web service using SQL
Posted by mswlogo NO[at]SPAM hotmail.com at 6/28/2004 8:48:38 PM
I'm a long time C++/SQL programmer. Know some C# application stuff. Basics of setting up a web server. Basic html and Java. And nothing about ASP.NET Can someone point me to a simple ASP.NET example that can be used on a web page and does a simple SQL query. A book with such an ee...more >>

ASP.NET and MySql
Posted by VB Programmer at 6/28/2004 8:24:39 PM
Anyone using ASP.NET with MySql? What are your thoughts? Is it working well? ...more >>

populate datagrid from listbox value
Posted by Mike at 6/28/2004 6:50:48 PM
I have to populate a list box from a db table and when the user clicks on the value in the listbox I need to then populate a datagrid with detailed information for the highlighted row. How can i do that? ...more >>



creating folders with asp.net
Posted by Arvind P Rangan at 6/28/2004 6:42:49 PM
Hi, I have tried creating folders through ASP.Net with = Directory.Create(path) But it gives me error=20 mscorlib Access to the path "C:\WINNT\system32" is denied. at = System.IO.__Error.WinIOError(Int32 errorCode, String str) at = System.IO.Directory.InternalCreateDirectory(String fullP...more >>

Server Error in '/' Application.
Posted by abcd at 6/28/2004 6:35:37 PM
I get following error. I have 2 simple text boxes and requiresValidator control attached to them. When run on development machine is works when deployed on production server I get following errors. I want to get the validatior controls displayed. I ma using ASP server controls. Server Error in '...more >>

ASP.NET Datagrid sorting
Posted by Jeremy at 6/28/2004 6:30:01 PM
I want my gird to sort only the items on the current page when I click on a column header. I wrote a little test app, but when I sort it pulls in items from other pages and places them on the current page. i.e. If I have: IntegerValue StringValue CurrencyValue 0 Item 0...more >>

confusion regarding aspnet_wp.exe
Posted by Vivek at 6/28/2004 6:01:11 PM
Can you guys please tell me weather aspnet_wp.exe is managed code or it is unmanaged code. ...more >>

validate on blur ?
Posted by z. f. at 6/28/2004 5:56:40 PM
Hi, i have input type=text and i want to make validation on the onblur (lost focus) event. i need to call some javascript function for validation with the control id . is there something like that possible / documented? TIA, z. ...more >>

Problems with Events in the placeholder control
Posted by rs828 NO[at]SPAM hotmail.com at 6/28/2004 5:42:47 PM
Hi, I have a placeholder control, which I populate dynamically with one of the web user controls depending upon some criteria. I have a data grid and a drop in the the user control. The way it should work is, when a value in the drop down control(in the web user control loaded in the place ...more >>

Authentication problem for roles based
Posted by Chris Gatto at 6/28/2004 5:02:37 PM
Hi, I'm having what should be a minor problem but has turned into a 2 day slug fest with ASP.Net. I am simply attempting to authenticate my asp.net application users against users in an AD group set up on our domain. It seems to me I am missing something very simple and obvious, but none of ...more >>

Accessing Outlook Contacts
Posted by SWu at 6/28/2004 4:37:15 PM
Hello everyone, I am working on an Internet website for an Application Service Provider. A user can store employee details on the site. I am now researching the feasibility of accessing the contacts stored in the user's local Outlook. In other words, the client browser has to be able to acce...more >>

tree view with asp.net and csharp?
Posted by Vili at 6/28/2004 4:15:26 PM
Hi all I am using visual studio.net (Csharp) and I have and MSSQL -database with news. I would like to put a tree view similar to outlook and explorer to my site. I know there is a web tool of some sort but I just cant find it. Any hints how to proceed? Tuomo ...more >>

Cookie contents
Posted by John Wright at 6/28/2004 4:14:49 PM
Is there a way for me to read the values of the cookies located on my machine? I want to create a page that would parse through my cookies and display the contents to me. John ...more >>

How can I get this url?
Posted by Jason Zhou at 6/28/2004 4:04:12 PM
In IE browser, if you type in http://www.microsoft.com/MyTestPage.asp, definitely it is an invalid url, I noticed that I will come to this url instead: http://www.microsoft.com/info/smart404.asp?404;http://www.microsoft.com/MyTe stPage.asp. My question is: how can the iis get the wrong url (...more >>

Duplicate Session ID
Posted by Marcio Kleemann at 6/28/2004 3:35:43 PM
I've run across some very strange behavior when running and debugging an asp.net application. I have created a shortcut to the URL of the app (which runs locally on IIS under XP Pro). If I use the shortcut more than once to bring up two or more browser windows for that page, the Session ID is the...more >>

how do you set focus to next control on controls with autopostback so you don't have to hit tab twice?
Posted by usenet_daughter NO[at]SPAM yahoo.com at 6/28/2004 3:07:38 PM
I have autopostback turned on for Textbox1. When the user tabs out of it, the codebehind recalculates some other fields based on its value, and the user should be able to start typing a value in the next control Textbox2. However, when the page is rendered, the focus goes back to Textbox1. In or...more >>

Setup visibility of controls programmatically
Posted by Michel Couche at 6/28/2004 3:06:54 PM
Hello! I am working on an on-line ASP.Net library. I would like to set up the visibility of some controls programmatically. My approach is to give an "admin_" prefix to some controls and to define their visibility by the procedure below .... Private Sub Page_Load(ByVal sender As System.Obj...more >>

doPostBack error
Posted by tfs NO[at]SPAM dslextreme-dot-com.no-spam.invalid at 6/28/2004 3:03:25 PM
I am working on sorting a datagrid and it works fine on my site. The exact same page on my customer sites gives me an page cannot be displayed (invalid syntax error - in window bar). The Url is showing : javascript:__doPostBack('DataGrid1:_ctl1:_ctl0','') This is exactly what it does in...more >>

Write to HTML Tag?
Posted by localhost at 6/28/2004 2:57:59 PM
I need to write an XML namespace declaration in my HTML tag. It must be done in the code-behind for the page, I can't edit the .aspx template directly. I need to turn this: <HTML> into this: <HTML XMLNS:MyNewSpace> I have already added "id" and "runat" attributes to th...more >>

smartnavigation and target=_self make MSIE 6 crash
Posted by Koen at 6/28/2004 2:23:39 PM
We enabled smartnavigation on our pages to reduce flickering on browsers that recognise it. However MSIE 6 crashes after a few pages that have a <base target=_self> tag in it. I am using MSIE 6.0.2800.1106 We can reproduce the problem under win XP and W2K We investigated other problems rela...more >>

Re: Drop down list
Posted by Phil Winstanley [Microsoft MVP ASP.NET] at 6/28/2004 2:21:57 PM
Hi, Try this: - MyDropDownList.Items.InsertAt(0,new ListItem(String.Empty,String.Empty)); Hth, Phil Winstanley Microsoft ASP.NET MVP http://www.myservicescentral.com ...more >>

Drop down list
Posted by Big E at 6/28/2004 2:18:23 PM
I'm using ASP.Net and SQL Server. I have a drop down list that populates from a table. When the form opens the drop down list is full of data. I would like the drop down list to not show a default value which is usually the first text depending on the sort order in my table. I would like my d...more >>

help with Client side MS word
Posted by Mike Fellows at 6/28/2004 2:13:44 PM
i have an asp.net application that works great but i now need to create a word document and open it on the client side, so that users can complete the missing data ive looked into this and cannot find any tutorials that explain how to open a word document client side (i managed to get it to ...more >>

Can't seem to get debugger to work
Posted by tfs NO[at]SPAM dslextreme-dot-com.no-spam.invalid at 6/28/2004 2:03:32 PM
I am trying to debug my ASP.Net page and can't seem to get the breakpoints to set. I am running dbgclr.exe from my Visual Studio install. I have started my Page in IE. I have opened my page in dbgclr and attached to aspnet_wp.exe. I have Kcomplation debug="true' /> in my web.config file. ...more >>

IISFAQ WSH Script in/to DotNet
Posted by Benjamin Bittner at 6/28/2004 1:42:39 PM
Hallo NG, ive found this script http://www.iisfaq.com/default.aspx?View=A399&P=109. Now i want to use that script in a web application. can someone plz help me to convert it, or show me a way to call it from asp.net (written in vb.net). thx in advance regards benjamin ...more >>

ASP.Net can affect client?
Posted by Eduardo Rosa at 6/28/2004 1:35:56 PM
Can ASP.Net affect client, like JavaScript does? ASP.Net can change backgrounds and fonts, but can move fields position? thanks a lot ...more >>

Errors when compiling, any ideas??
Posted by brin at 6/28/2004 1:32:37 PM
I have the following vb class and am trying to compile it using vbc.exe. I receive errors stating that System.Data and System.Data.SqlClient cannot be imported. I am fairly new to this, any help would be gratefully recieved. Imports System Imports System.Data.SqlClient Imports System.Data Im...more >>

How do I get an IE browser window to display when running instead of in the VS IDE?
Posted by acool at 6/28/2004 1:23:18 PM
I just plain forgot this setting and I have been all up and down the options and nothing works, any hel is appreciated. ...more >>

Custom Validator
Posted by Jim Heavey at 6/28/2004 1:22:01 PM
I add a Custom Validator to my form and created a "server side" method which I wanted to be invoked. When I run in debug mode, it comes to the routine as I expected, and it passes the edit. I set the "e.IsValid" to true, but this does not seem to trigger my button event which was pushed in the f...more >>

Limit to one computer.
Posted by Ross Lewis at 6/28/2004 1:16:58 PM
I would like to limit users from logging in to the website from more than one computer. I have a database that I use to check the username and password of the user, but I would also like to check if it is the same computer. How can this be done without using cookies? ...more >>

convert from unicode to ascii (hebrew)
Posted by z. f. at 6/28/2004 12:52:03 PM
Hi, i need to convert a unicode string to ascii string (in order to put it in HTML page url ) right now the string gets to the page, but when the url clicked (with the unicode string in a query string parameter) - the page gets to its destination but showing יפור אהבה בלתי × ×©×...more >>

Custom Validator Only Fires OnServerValidate When Data Exists
Posted by Rigs at 6/28/2004 12:43:13 PM
Hi, I have a textbox with a Custom Validator that utilizes the OnServerValidate method for that textbox. This works fine, however the method only executes when data exists in that textbox after the Submit button is clicked. If I click the submit button and no data exists in the textbox, the ...more >>

Multilingual support (repost)
Posted by jim_adams NO[at]SPAM hotmail.com at 6/28/2004 12:17:53 PM
Anyone have any insights into this? I'm planning an upgrade to an existing ASP.Net project to support multiple display languages (e.g. English, Spanish, ...). I'd like to use a solution that will allow me to develop web pages with English text, and then switch languages in the Visual Studio ...more >>

Determine if an image has focus after leaving another image.
Posted by Thomasa Gregg at 6/28/2004 12:11:21 PM
I need to be able to determine if an image has focus after a onmouseout function has been ran from another image. any ideas? Thanks ...more >>

Double Hop Issues
Posted by - Steve - at 6/28/2004 11:31:16 AM
I have a website that creates new user accounts in AD, and mailbox enables them in Exchange. Everything worked fine back when I was using basic authentication. When I switched to Forms Based Authentication (authenticating against AD still) I have problems adding users to groups, and I have...more >>

What's wrong with this ??
Posted by JezB at 6/28/2004 11:18:32 AM
What's wrong with this c# code ? Response.Write("<script language=\"javascript\">"); Response.Write("window.open('WebForm1.aspx','TEST PAGE','width=400');"); Response.Write("</script>"); I keep getting "Invalid Argument" errors (when I expand on the warning icon created by the above on the ...more >>

Clone an object?
Posted by Alfred Salton at 6/28/2004 11:16:41 AM
Can anyone show me a simple way to clone an object? In this case, I have an HTMLTable object which has a hidden header row acting as a template. I would like to clone the header row and add the new row to the table. This is trivially simple in javascript using the DOM - does an equally simpl...more >>

Data Formatting expression
Posted by me NO[at]SPAM privacy.net at 6/28/2004 11:14:18 AM
I currently have this in some money fields that display a PO amount. {0:c} What I'd like to do is have just the dollars display (no decimal point & cents), perhaps round to the next number if the cents are over .50. How can you do this in a datagrid? Also, this goes along with being abl...more >>

Dynamic Field
Posted by Eduardo Rosa at 6/28/2004 11:04:46 AM
Hi, I need some help... my function create dynamic fields, and a button; in a Click event I need to access those fields but occurs a exeption: "CS0117: 'ASP.Forum' does not contain a definition for txtTTitulo" thanks a lot code: Object createAndShowNewTopicForm(){ System.Web.UI....more >>

number of lines of TextBox in Multi-line mode
Posted by ZZ at 6/28/2004 10:57:01 AM
Is there any limitaion of the number of lines for TextBox? How many lines can a TextBox have? Thanks!...more >>

Online forms Best Practice
Posted by Mike Smith at 6/28/2004 10:52:20 AM
Hey ppl , Need some input on the following. I'm creating an asp.net site to fill in an online form. The form has many sub sections and in total is about 8 pages long (hard copy). Whats the best way to put this online ? each actual form page to be one web page itself ? do i update the data dire...more >>

can not create a database in VS.Net using SQL
Posted by mmoon at 6/28/2004 10:51:24 AM
I am taking a course in ASP.Net at Finger Lakes Community College. I am trying to create a database in VS.Net using SQL. In the computer lab we have the class in I can create a database in VS.Net using SQL. In the open lab and at home on my P.C. I have VS.Net and SQL Server 2000 loaded. Ev...more >>

Graphs
Posted by Keith at 6/28/2004 10:11:57 AM
Good Morning, I am looking to add some graphs to a aspx page that consists on data = within tables. Can someone point me to which method/language works best = to accomplish this within aspx/sql db? =20 Thanks, Keith...more >>

styles & iFrames
Posted by JezB at 6/28/2004 10:04:45 AM
How can I get an iFrame to expand and contract in size in relation to its surrounding DIV ? ...more >>

Develop same project with two VS.NET
Posted by Grey at 6/28/2004 9:51:29 AM
I have two developers using VS.NET on their PC to implementing same project. The application is located in one centralized web server and they are connecting to the same project. But when one developer is debugging the project with VS.NET, another developer cannot do so and get the error message...more >>

Convert this VB command to vb.net?
Posted by Rob T at 6/28/2004 9:41:10 AM
Here is a vb snippet that builds an HTML formatted email and embeds an image into it: objEmail.HtmlBody="<img src=CID:1>" objEmail.HtmlEmbeddedObjs.Add Item.Path, 1, ItemOriginalPath objEmail.SendMail I can't find the equivalent in .net where you can assign a CID to an image tag. If you t...more >>

Custom Validator Control
Posted by Sunil Sabir at 6/28/2004 9:39:01 AM
Dear All, I want to use a Custom Validator Control on a Text box which accepts only characters values. I am using the follwing procedure: Sub CustomValidator_ServerValidate(ByVal s As Object, ByVal e As ServerValidateEventArgs) If e.Value = "[A-Z]" Then ...more >>

HTML Literal Control & FontSize
Posted by Veeresh at 6/28/2004 9:32:00 AM
I am using HTML literal control to display data in a table format. How to set the font specification at the page level so that by changing at one place will reflect for the entire page? -- Veer ...more >>

Datagrid sort & sum question
Posted by me NO[at]SPAM privacy.net at 6/28/2004 9:27:38 AM
Is there a way to get a datagrid (in my case, a list of purchase orders) to be both sortable and have a sum in the footer? If so, how? SC ...more >>

FTP 3rd party software for simple uploading/downloading?
Posted by D. Shane Fowlkes at 6/28/2004 9:03:46 AM
I'm about to build in some functionality where my client's staff can do some kind of basic upload to a folder or series of folders on our web server and allow authenticated users to know the UID and PWD to download these files. The needs are pretty simple and straight forward. But before I dive ...more >>

problems with culture / .net installation en-GB
Posted by david.mckee NO[at]SPAM acxiom.com at 6/28/2004 8:52:15 AM
We recently installed the 1.1 redist of .Net on a new server. Only after installing .Net did I realize that the regional settings of the server had not been localized. The application we have written uses GB style dates i.e. dd/mm/yyyy. When running new server we were getting error message ...more >>

Return a decimal value
Posted by Guoqi Zheng at 6/28/2004 8:14:33 AM
Dear Sir, I am trying to get one decimal value from DB. However, every time, I got an INT back instead of decimal. For example, if I have 4.75 in DB, I will get a 5 back. The followings are example of my code. What did I do wrong? ' for output parameters. Dim objOutputPara As New ...more >>

A Little OT Graphics/Layout
Posted by Alphonse Giambrone at 6/28/2004 7:50:22 AM
There are thousands of sites that offer to provide site graphic layout/design and trying to select/evaluate them could take many hours/days. I would like to make use of a provider litke that so I can concentrate on functionality of sites that I build. Can anyone recommend where to go for quality...more >>

ropdownlist listitem.value not working - returns listitem.text instead
Posted by usenet_daughter NO[at]SPAM yahoo.com at 6/28/2004 7:13:53 AM
I am populating a dropdownlist from SQL. The query returns the correct values (and no NULLs in any fields). The listitem.value is populated with an int ID field, and listitem.text with a varchar description field. The problem is, for some reason, I cannot access the numeric ID after item #5 in t...more >>

IIS or PWS
Posted by WStoreyII at 6/28/2004 6:33:41 AM
I am very new to this. Why exactly do i need iis for asp.net and why can i not use it or pws on windows xp home edition? If i understand the purpose of this program than maybee i can find a way around it. Other wise it looks like i am going to just switch to java, as i am sick of microsofts mar...more >>

redirecting and https
Posted by mike parr at 6/28/2004 6:28:13 AM
I have been using Response.Redirect("page1.aspx") and Response.Redirect("page2.aspx") to go between pages in the same folder. However, I need to apply https to 1 page within this folder and because I have a menu system which allows users to go to any page from any other page, I though that I s...more >>

Global variable not keeping value
Posted by tfs NO[at]SPAM dslextreme-dot-com.no-spam.invalid at 6/28/2004 6:03:04 AM
I have a variable I am trying to keep the values in and I have it set as a global variable. <script runat="server"> Dim saveCommandText as String Sub SortDataGrid (sender as Object, e as DataGridSortCommandEventArgs) response.Write("Before setting saveCommandText = " & saveCommandTex...more >>

Does file exist using URL ??
Posted by Poppy at 6/28/2004 6:00:22 AM
Is there anyway in .net to find out if a file exists using its URL as opposed to its physical path ? ...more >>

Composite Server Controls Question
Posted by Dimitris Pantazopoulos at 6/28/2004 5:37:01 AM
I created a composite control containing a TextBox. The Text property just delegates to the TextBox.Text property. EnsureChildControls() is the first thing I call in both the Get and Set operations. Nevertheless, whenever I change the value of the Text property at design time I get the "Object re...more >>

Storing and Retriving any document in SQL Server 2000 using ASP.Net
Posted by getmanishnaik NO[at]SPAM yahoo.com at 6/28/2004 5:16:45 AM
Hi, Using ASP.Net, I want to store and retrive documents (Word, excel, etc) from SQL Server 2000 database. I have tried image type data field, but could not succed. Can any one help me please. Regards, Manish Naik...more >>

DataBinding
Posted by Jim Heavey at 6/28/2004 5:03:01 AM
I have 2 Databinding questions and perhaps the answer is the same. I have a dataset in which I DO NOT have a field which identifies the record number but I want to show the specific item number of the row within a DataList control. I was thinking that I would set up a method which would have a c...more >>

Trim Each textbox control - Repost
Posted by postings NO[at]SPAM alexshirley.com at 6/28/2004 5:00:20 AM
HI I'm trying to iterate through all the textboxes on a webpage and trim them for spaces. i.e. If a user enters " hello world " we correct it to "hello world" So far I've come up with this: ------------------------------------------------------------------------------- 'Trim all...more >>

Calender Control onClick event
Posted by Kwena Seema via .NET 247 at 6/28/2004 1:43:25 AM
Hi, I'm doing a web app,what i want to achieve is: when i click a specific day on a calender control, it takes me to a specified aspx page. -------------------------------- From: Kwena Seema ----------------------- Posted by a user from .NET 247 (http://www.dotnet247.com/) <Id>1s8tbum0O0W...more >>

Pull model implement on website
Posted by Tommy at 6/28/2004 12:45:55 AM
My recent project contains such kind of requirnment, we display the data in a datagrid, and frequently, the underlying data is subjected to change. We want to implement a 'pull model' website which will push the data to the client's browser from the server side at a fixed interval. I am consider...more >>


DevelopmentNow Blog