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 > august 2003 > threads for tuesday august 19

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 top align?
Posted by Arjen at 8/19/2003 11:13:14 PM
Hello, This is what I have now: <ItemTemplate> <asp:HyperLink id="editLink" ImageUrl='<%# Application["AppPath"] + "/Images/edit.gif" %>' runat="server" /> </ItemTemplate> How can I top align the hyperlink? Thanks! ...more >>

Custom Validation
Posted by Jeremy at 8/19/2003 10:53:31 PM
I have a web form that has a couple of input fields and a check box. One of the input fields is a required field, so I put a required field validator to validate that field. The second input field I only want to be required IF the user checks the checkbox. If the check box isn't check...more >>

How to change the header color of autogenerated columns
Posted by MS at 8/19/2003 10:51:44 PM
Hi, Is there a way to change the forecolor of autogenerated column headers in a datagrid with sorting enabled (I mean the hyperlinks which when clicked, sorts the grid) Thanks in advance ...more >>

Code equivalent for this.......Help
Posted by jayakumar at 8/19/2003 10:20:25 PM
HI, Below is the code in vb to send mail using CDO object. I want to do the same in VB.Net , i need to know how to sent the authentication in vb.net " ..Item(cdoSMTPAuthenticate) = cdoBasic" VB ------------------------------------------------------- Dim iMsg as New CDO....more >>

Framework 1.0 - 1.1
Posted by Uri R. at 8/19/2003 9:52:33 PM
I installed VS.Net and WebMatrix on my computer running Windows 2000. In the instalation procedure of VS.Net it installs Framework 1.0. Later I download and install Framework 1.1. When I launch either VS.Net or WebMatrix they recognize only Framework 1.0. What should I so both programs r...more >>

HTTP handlers - Maintaining global objects, and multi-threading
Posted by Chris.Hughes NO[at]SPAM managesoft.com at 8/19/2003 9:26:32 PM
I have an environment with many thousands of client machines uploading data files several times each day to a web server via HTTP PUT. To avoid disk I/O (for performance), I am implementing a HTTP handler to intercept and process incoming data without touching the disk. I cannot detect PUT req...more >>

Problem resizing columns in HTML table
Posted by Pete Davis at 8/19/2003 7:32:34 PM
First of all, I'm not real experienced with HTML or ASP.NET. I'm doing my first ASP.NET app. I'm working in VS.NET, and I'm laying out my controls in HTML tables. It seems that every once in a while, VS.NET will decide it doesn't want to allow me to resize the columns by dragging them anymore....more >>

Specified cast is not valid.
Posted by Arjen at 8/19/2003 7:10:42 PM
Hello, Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.InvalidCastException: Specified cast is not valid. Line 176....more >>



Parameter error
Posted by Arjen at 8/19/2003 7:06:15 PM
Hello, Here is my control: <asp:Image id="thumbnail" name="thumbnail" ImageUrl="<%= GetBrowsePath((int) DataBinder.Eval(Container.DataItem,'itemId')) %>" BorderWidth="0" Height="70" Width="100" Runat="server" /> When I look to the HTML output I see: ....<%%%20GetBrowsePath((int)%20DataBind...more >>

create crystal report
Posted by ernest foo at 8/19/2003 6:42:56 PM
does any one know how to create a crystal report using asp.net *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!...more >>

User Control not getting postback data
Posted by dmsy NO[at]SPAM yahoo.com at 8/19/2003 6:26:13 PM
I am having lots of trouble with one of my user controls (ascx) not automatically loading postback data. An image on the aspx page starts the postback and the parent has no problem loading it's own information, but when it comes to loading the data for the user control, nothing loads. From my un...more >>

WebControls: TabStrip, MultiPage, PageView
Posted by szabelin at 8/19/2003 6:12:36 PM
Is it possible to dynamically add a PageView to MultiPage? TabStrip has items property, so Tab and TabSeparator can be added... how about adding PageView to MultiPage? If not possible please recommend another client-side tab control. Thank you...more >>

Generate a list of classes in a given namespace?
Posted by Kim Bach Petersen at 8/19/2003 6:01:49 PM
Is it possible to generate a list of classes within a namespace? Fx as a function of the name of the namespace, returning an array or the like: Function GetClasses(strNamespace As String) As Arraylist ... End Function TIA, Kim :o) ...more >>

how to pop uo a prompt dialog in apsx using c#?
Posted by whidy at 8/19/2003 5:54:19 PM

Displaying all logged on users
Posted by Vince Varallo at 8/19/2003 5:50:52 PM
Hello All, I would like to display all logged on users on a web page. I store each user's name in a session varible, but I don't seem to be able to loop through a sessions collection to view all sessions. Has anyone else figured this out? Thanks in advance, Vince...more >>

HowTo 'open->project from web', with host headers in place
Posted by collatz NO[at]SPAM bigtexansoftware.com at 8/19/2003 5:40:55 PM
Hi. I have a site running with a FQDN which is addressed using host headers. Instead of working with the project through a mapped drive, I would like to work with it via the concept implied as 'open->project from web'. I have no problem working with it via the mapped drive, even debuggin is f...more >>

WML
Posted by JMMB at 8/19/2003 5:38:06 PM
ASP.NET browser independency means that no matter the browser or device, it detects the browser and generate the write code, right? So, is it capable of generating WML accordinly, as well? thanks, ...more >>

Email
Posted by JMMB at 8/19/2003 5:36:09 PM
what would be the best technology to send emails in a ASP.NET Application? I used to use CDONTS with ASP. thanks, ...more >>

Using Localization Toolkit and Html controls
Posted by Jonas at 8/19/2003 5:28:11 PM
Hi! I'm using the Localization Toolkit from Microsoft to localize my ASP.NET app. It works fine for controls derived from System.Web.UI.WebControls, like asp:label, asp:textbox and so on. But when I try to use it with controls derived from System.Web.UI.HtmlControls it doesn't work anymore. In...more >>

Sharing projects
Posted by Micke Palm at 8/19/2003 5:27:06 PM
Hi there... What do you recommend for us. We are a team who working in .NET (vb/asp) and we are using VSS, but sometimes we get problem with read only folders or files. We also have problem when we are building .dll files and need to synchronize all files. Can SharePoint Team Services he...more >>

Back to previous page . . .
Posted by Lauchlan M at 8/19/2003 5:05:07 PM
Hi. I'd like to put a button on my ASP.NET pages that sends them back to the previous page (as opposed to them having to use the browser back button). I can think of two ways to do this: (i) Use Javascript "window.history.back();" function (ii) Harcode the back button as a link button p...more >>

how do i set focus
Posted by bob at 8/19/2003 4:50:54 PM
I have a very long web page with several datagrids. there are pushbuttons on the top for various functions. One of them is to bring you to the last datagrid (the bottom) on the page. what is the function that will allow me to set the focus onto a datagrid on the same web page (similar to...more >>

Including 2 pages on a same page
Posted by aeze616 NO[at]SPAM cse.unsw.edu.au at 8/19/2003 4:49:26 PM
Dear sir, I would like to ask if ASP.net has some functions that JSP has. For example, JSP can "include" two JSP pages onto the same page, can ASP do that? If yes, how? To further bring this example into detail, I have two buttons on the same page, but belongs to only one form. I would ...more >>

.net IDE
Posted by nchopra NO[at]SPAM think3.com at 8/19/2003 4:42:21 PM
i am working on a .net project remotely. The performace is really terrible. I read somewhere that the video drivers could be causing a problem, so i uninstalled my ATI video driver. Does not seem to matter. Anybody else had the same problem?? Thanks Nikhil....more >>

scrolling in popup form
Posted by sramruttun at 8/19/2003 4:30:51 PM
hi I have a popup form with a radiobuttonlist which is populated with data at runtime and upon selection of an item, the item is sent to the parent form. This works Ok. The list of items are clients' name and there are around 200 clients' name which means that I also need to scroll down to sel...more >>

OnClick
Posted by Ron at 8/19/2003 4:23:11 PM
I have created a 'LoginDialog ' user control with 'OK' and 'Cancel' buttons. Then I have included the control into a Web Form. <form id="Login" method="post" runat="server" onclick=""> <div align="center"> <uc1:LoginDialog id="cntLoginDialog" runat="server"></uc1:LoginDialog> </div>...more >>

Nested RadioButtonLists
Posted by Leszek at 8/19/2003 4:16:07 PM
Hello, Is it possible to create "nested radio button lists" using VS.NET. I mean to create something like that (the following code does not work): <asp:RadioButtonList id="RadioButtonList1" runat="server"> <asp:ListItem Value="A">AAA</asp:ListItem> <asp:ListItem Value="B">BBB</asp:ListI...more >>

codebehind files in different location
Posted by mbwalmsley NO[at]SPAM hotmail.com at 8/19/2003 4:11:25 PM
hi, I hope someone can help me with this please I'm trying to move my codebehind files to a folder other than the one my webform sits in. I've tried changing the 'scr' page level attribute of my webform, but i get the following parser error; Parser Error Message: 'c:\WebForm2.aspx.vb' is a...more >>

IIS default web site
Posted by msxkim NO[at]SPAM yahoo.com at 8/19/2003 3:55:43 PM
I have a web application running on IIS default web site with vitural directory and so. This is for the development site. Also, I have a production web application running on the same IIS but on its own web site. This version is for the internet users. They are the same applications because ...more >>

How to open a new window in the server side?
Posted by J Gao at 8/19/2003 3:37:45 PM
Hi, experts, On a button click, I need to save some data to the session object. Then open a new window. The new window will use the session data saved in the first window. I don't want use to click two buttons, one to save the session data and the other one to trigger the java script to open the...more >>

Timer doesn't stop
Posted by Salim Afþar at 8/19/2003 3:33:30 PM
Hi, I start a timer object in Application_Start event in Global.asax file. But I couldn't stop it in Application_End event Any Idea? Thanks a lot, Salim ...more >>

Replacing linebreaks with <br>
Posted by Stefan Landgraf at 8/19/2003 3:27:15 PM
Hi there! How can i replace linebreaks with <br> in datalist output ? Is there a way i can do that in the aspx page itself without having to go through the code page? Thanks Stefan ...more >>

Use of SmtpMail to Send Mail Outside Domain
Posted by Leonard at 8/19/2003 3:26:34 PM
I am using SmtpMail on a couple of ASP.NET pages. When mail is sent to an address outside the domain I get the "Could not access 'CDO.Message' object." error message. I have looked in the newsgroup and I see several entries on this but none that seem to work in my situation. Exchange 20...more >>

Create a web site, not default web site
Posted by msxkim NO[at]SPAM yahoo.com at 8/19/2003 3:14:45 PM
I am in the middle of developing a web application using asp.net. I have used IIS default web site for the development, creating a virtual directory and so. My laptop is also my webserver. Instead of using Default web site and virtural directory, can I create a new web site on my web server fo...more >>

how can I show a picture in a html without use link?
Posted by zhulijun at 8/19/2003 2:57:36 PM
hi: I have a problem that show a picture in a html document,but for some reason, I can't use "<img src = '1.jpg' />",I can get the bytes of the picture,how can I solve this problem. thanks ...more >>

datagrid to scroll???
Posted by Davef at 8/19/2003 2:42:57 PM
I need to fit a datagrid in a 200X200 spage, but if the data gos past the 20 height, I need it to scroll. I don't think the grid will scroll, but can I put it in something that does. IE only -- ______________________ David Fetrow HelixPoint LLC. http://www.helixpoint.com davef@helixpoin...more >>

How to use SimpleWorkerRequest?
Posted by George Ter-Saakov at 8/19/2003 2:38:57 PM
In my ASPX page i want to output the result of another ASPX page to the file. So i wrote following code private void Page_Load(object sender, System.EventArgs e) { StreamWriter sw = new StreamWriter("c:\\TestFile.txt"); SimpleWorkerRequest wr= new SimpleWorkerRequest("General.asp...more >>

MS Toolbar control
Posted by Shalva at 8/19/2003 2:30:18 PM
Hi, how can programmatically recognize (in code-behind class) which button is clicked on MS Toolbar control? Thanks, Shalva ...more >>

Client-side JavaScript code and ASP.NET controls
Posted by Leszek at 8/19/2003 2:29:02 PM
Hello, Is there any possibility using ASP.NET and Visual Studio.NET to create controls that response for simple JavaScript events such as OnClick and OnSelect? For example I need to change the color of a table cell when a certain button is selected. In this case there is no need to do a round-...more >>

Asp.net text boxes and buttons not showing on aspx pages
Posted by Darren D'Orlando at 8/19/2003 2:25:44 PM
I recently had a problem with my computer, the keyboard stopped working. I fixed that then I couldn't connect to the my IIS server, it no longer recognized my computer as a server...So I uninstalled IIS and then reinstalled it. Now my computer is recognized as a server, but when I run my...more >>

Help writing conditional blocks
Posted by estafford at 8/19/2003 2:06:27 PM
I am having trouble writing a conditional block using ASP.NET and C#. I am trying to do something like this: 1. if page is PostBack - transfer to another page 2. if not postback - connect to database and get information using a querystring id and create a DataReader (as DR). - generate a...more >>

Processing all controls on a page
Posted by Bogdan Zamfir at 8/19/2003 1:54:00 PM
Hi, I want to process all controls on a page, to check for a specific attribute (a specific custom attribute I added). I try with the following code Dim oCtrl As WebControls.WebControl For Each oCtrl In Page.Controls If oCtrl.Attributes("bzDisable") = "1" Then oCtrl.Enab...more >>

Frontpage control
Posted by Erik J Sawyer at 8/19/2003 1:49:07 PM
Problem: I take a working HTML page, containing a Frontpage Hit Counter control, and rename it from .htm to .aspx. No other changes are made to the file. The hit counter now either doesn't display, or never increments (stuck at "1"). Any thoughts? Erik J Sawyer Webmaster Kingsport...more >>

Validator fires on all DataGrids
Posted by zappet NO[at]SPAM yahoo.com at 8/19/2003 1:44:53 PM
I have multiple datagrids on a page and each has a RequiredFieldValidator in the EditItemTemplate as well as on a text box in the FooterTemplate. The problem is, when the user hits update in the EditTemplate or Submit on the footer, it fires all the other validators in the other grids. Anyone ...more >>

problems with Treeview display
Posted by Chris at 8/19/2003 1:01:03 PM
Hi everyone, I am trying to build a treeview dynamically with codes rather than with xml files that I have used in the past. I seem to be having a problem with the tree's display when it is rendered on the page. Although the hiearchy is correct, the lines connecting the nodes are pointing...more >>

Is it possible to distribute web.config data into multiple files?
Posted by sj_newsgroup NO[at]SPAM yahoo.com at 8/19/2003 12:20:21 PM
Hi, Let us say my web.config is keep growing and I want to break the data logically and still use web.config methods to retrieve the data. e.g. <?xml version="1.0" encoding="utf-8" ?> <configuration> <configSections> <sectionGroup name="Group Name"> <section name="Section name"> </sec...more >>

Object reference not set to an instance of an object.
Posted by Arjen at 8/19/2003 11:56:25 AM
Hello, Here is the error message: Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.NullReferenceException: Object re...more >>

Timeout error
Posted by J at 8/19/2003 11:54:53 AM
How can I prevent the error of... Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information ...more >>

Asynchronous Web Services
Posted by Gary Howlett at 8/19/2003 11:35:47 AM
Hi, I have a web service that I call asynchronously, I want to do is... 1) Call the Web Service 2) Show on the Web Page the Service is processing. 3) Get the Web services results when thread returns. 4) Show the results on the webpage. Everything works untill I get to stage 4, when I deb...more >>

what did i do wrong?
Posted by ccd at 8/19/2003 11:10:15 AM
i am new to asp.net and just starting out with WebMatrix guided tour tutorial from ASP.NET. I managed to create the myfirstpage.aspx (Label, text, calendar, button) and ran it with webmatrix server smoothly. However when I tried to create and use the IIS Virtual Root (under Start Web App...more >>

Looking for a Calendar Component
Posted by njagga NO[at]SPAM ngpsoftware.com at 8/19/2003 10:56:41 AM
Hello all I am shopping around for a web based .NET calendar component. It should be a scheduler, take care of appointments, reminders etc. Any recommendations are welcome. Thanks...more >>

A bit OOTopic RAM question
Posted by Bei at 8/19/2003 10:36:25 AM
When your computer manual says "expendable to 512 MB" ram, does that really means you can't have more than 512 MB RAM in your computer? My computer (uses chipset Intel 810E) has 2 memory slots which support PC-100 SDRAM. I am thinking when the computer was made 3 years ago, there was no 512 SD...more >>

Server Error in '/' Application
Posted by Javier Cortés Cortés at 8/19/2003 10:08:21 AM
i am getting this error when i am trying to access any file(with the ext. aspx) from my remote server. the error is : Server Error in '/' Application. ---------------------------------------------------------------------------- ---- Runtime Error Description: An application error occurred o...more >>

connection pooling error
Posted by Chris Szabo at 8/19/2003 10:07:14 AM
I've created a data access layer for a .NET web application. I'm using C# and framework 1.1. I'm getting an error from time to time when I close a connection saying: System.InvalidOperationException: A connection pooling error has occurred. It doesn't happen each time, the exception is...more >>

can't send mail in html format
Posted by Ofir Amitai at 8/19/2003 9:41:15 AM
Hi, I have this very annoying problem: I'm trying to send email in html format through smtp but i always get it in text format. here is the code: MailMessage msgMail = new MailMessage(); msgMail.BodyFormat = MailFormat.Html; msgMail.To = oamitai@univ.haifa.ac.il; msgMail.From = webmaster@...more >>

Music
Posted by Mike Chan at 8/19/2003 9:08:13 AM
How to read music file from the server and play in the web (mp3, asf, ...) but don't let people can get the music file? ...more >>

worst case scenario of a update to a live site
Posted by Zeng at 8/19/2003 8:58:45 AM
Hello, About once every two days, I need to update the live/production site with new code (dlls, aspx's etc..), I currently have to find a time when no one should be logged in to system like early in the morning. However, occasionally I need to update it in the middle of the day where users...more >>

Visual studio debugging around Fireworks scripts?
Posted by Microsoft at 8/19/2003 8:36:35 AM
I am trying to add asp.net data based functionality to a html template that includes Dreamweaver Fireworks-based fly out menus. Things seem to run OK running through a browser but the doing debugging runs via Visual Studio always throws errors on the Fireworks scripts. Is there some way to tell...more >>

Localization: neutral language out of main assembly
Posted by google_groups_f NO[at]SPAM schmiderer.cc at 8/19/2003 8:34:03 AM
We have to support different languages in our application. We do not want to compile the whole application if anything changes in the text of the pages. With satellite assemblies this is possible easily. We change the .resx XML-resource-file, run resgen.exe and al.exe and we have a new dll. ...more >>

can't set text for label within datalist
Posted by hooter NO[at]SPAM post.com at 8/19/2003 7:36:36 AM
Below is the code - it is finding the control, and there is no error, just not assigning the text to the label <asp:DataList id="dlGoals" runat="server" onEditCommand="myListEditHandler" onUpdateCommand="myListUpdateHandler" onCancelCommand="myListCancelHandler" onDeleteCommand="myListDe...more >>

how do make a pop-up in sub ASP.net sub ?
Posted by THY at 8/19/2003 7:22:27 AM
Hi, is it possible to make a pop-up in ASP.Net sub ? I dont want to use javascript or vbscript, so I wondering is that posible ? thanks ...more >>

One Clarification
Posted by ss at 8/19/2003 5:40:40 AM
I have a doubt. I have 2 webform W1, W2 with a Button control B1, B2 respectively. In From W1 on click of button B1, i redirect response to WebForm W2 along with a querystring value. [w2.aspx?test=c] Now, on W2, i get this value using Response.Queystring... no issues. The issue comes, whe...more >>

Web Matrix to VS2003
Posted by Steve Miller at 8/19/2003 5:17:12 AM
Is there an easy way to convert aspx pages created in Web Matrix over to Visual Studio 2003? VS seems to like code behind; which is something that isn't in Web Matrix. Any help would be greatly appreciated. ...more >>

Help Needed
Posted by mike at 8/19/2003 4:44:01 AM
Hello I am starting to learn asp.net does anybody no of any good website that can help with my training? Thanks...more >>

Storing Connection in Application_OnStart
Posted by yop at 8/19/2003 3:21:58 AM
All I need to store a connection in the application object due to the need to use MYSQL and its very poor connection pooling. Would someone have an example as the code below is not working correctly. Thanks Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs) ...more >>

Postback after carriage return input
Posted by Ferdi at 8/19/2003 2:58:25 AM
I have a WebForm with one control: A HTML INPUT control with the property "runat=server" set. If this page is running and I set the cursor in this control and enter "Carriage return", the page does a roundtrip (postback) to the server (which I doesn't want). If I include a second HTML INPU...more >>

Help: How to open a new window with Server.Transfer?
Posted by JohnG at 8/19/2003 2:21:51 AM
Hi All, Can anyone tell me how to open a new window when user clicks a button? Thanks. John ...more >>

what is the best way to for creating multi-language website ?
Posted by THY at 8/19/2003 2:05:19 AM
Hi, I am trying to make a website that contact 2 language, I wonder what method should I use and how do I code it, anyone have any idea ? thanks, Tee ...more >>

Send mail error
Posted by Patrick Hill at 8/19/2003 1:43:57 AM
Hello, I have a web form that is a email page. When the user fills out the form and clicks send there is a "The server rejected one or more recipient addresses. The server response was: 550 5.7.1 Unable to relay for PatrickHill@aol.com" error. here is the code: Dim msgMail As New MailMessage ...more >>

add a quick search functionality in ASP or ASP.NET page
Posted by John Davis at 8/19/2003 12:12:36 AM
I want to add a "quick search" functionality in ASP or ASP.NET page. I heard we can use Microsoft Indexing Service to accomplish the task, but not sure how to do it. Is this the correct approach?? Please advice. Thanks, John ...more >>


DevelopmentNow Blog