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 > september 2005 > threads for friday september 2

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

Newbie: Selecting image from separate aspx page
Posted by Colin Peters at 9/2/2005 11:11:55 PM
I have a form where the user can select an image filename. Clearly it would be better to allow them to select the image itself rather than key in the filename. So, I have a server side directory with the available images. And I have a page which shows the images as ImageButtons. My quest...more >>


pass dynamic variable to user controls
Posted by Howard at 9/2/2005 10:42:09 PM
I have a header control, control.ascx page and a user.aspx page I would like to generate a unique page title for each user. in user.aspx i used this <Controls:Header id="header" runat="server" title="User Profile - <%=userName%>" /> but it doesn't allow me to do that. How should I modify th...more >>

Newbie problem.
Posted by Christopher Brandsdal at 9/2/2005 8:48:39 PM
Hi! Got my first .net book today, and started right away ;) But when I try the treeview control I get an error I do not understand.. What could be wrong?? Server Error in '/WebSite' Application. -------------------------------------------------------------------------------- Parser Erro...more >>

Object reference not set to an instance of an object using globalization
Posted by fredd00 at 9/2/2005 8:03:57 PM
Hi in my page load i use ConfigurationSettings.AppSettings["PgDesc"].ToString(); to retreive to info to output to the file the thing is for some values i get an error : object reference not set ..... when i use ConfigurationSettings.AppSettings["rootPath"].ToString() it works f...more >>

validate a radiobuttonlist
Posted by Mardy at 9/2/2005 7:54:02 PM
I'm trying to figure out the client side javascript to validate that a selection is made from a radiobuttonlist server control. I need to use client side code because I have multiple panels and buttons and I don't want the required field validator to fire for every button. I understand the...more >>

asp:Panel
Posted by Ferret Face at 9/2/2005 6:15:37 PM
Why is it that a Panel (with a table) will appear as a DIV-layer in IE = but appear as just a table in Firefox?...more >>

DataGrid to Excel
Posted by Paperback Writer at 9/2/2005 6:03:59 PM
Hi, I would like to export my DatGrid to an Excel file, but i've faced the following trouble: Control 'dtg_f3__ctl5__ctl1' of type 'DataGridLinkButton' must be placed inside a form tag with runat=server. Is there any way to solve this ? ...more >>

How to make a variable global?
Posted by Water Cooler v2 at 9/2/2005 5:55:33 PM
I want to take a global variable in my ASP.NET application. How do I make it global so that it is accessible to all the pages in my application? Do I put it in the Global.asax file? If so, Global.asax now has a class Global and so if I put it there it won't be global anymore. It'll be a class me...more >>



How to access selected row values in Datalist
Posted by Gary Frank at 9/2/2005 4:54:54 PM
I added a couple of labels and a button to a Datalist control called "dlSignIn" by adding them to the Item template. The labels are bound to a dataset column. Program code gets executed in the dlSignIn_SelectedIndexChanged subroutine when I click the button in the datalist. And the dlSign...more >>

Survey: What do you name your User table?
Posted by jasonkester at 9/2/2005 3:21:17 PM
Most of the sites that I build have to deal with security at some point, and this means that somewhere in the database there needs to be a list of Users. The naming convention that I (and most everybody I've ever worked with that cares about such things) use dictates that a table should be nam...more >>

Special Fonts
Posted by Jay at 9/2/2005 3:20:05 PM
Is there an HTML tag or other method (besides a graphics file) of putting a circle or square around a character/number? E.g.. A circle around the number 4 to indicate a birdie on a par 5, or a square around a 3 to indicate eagle. Are these fonts possible? Thanks. ...more >>

Any MVP in ASP.Net?
Posted by Alfredo Barrientos at 9/2/2005 2:25:57 PM
Hi, Does anybody know a MVP in ASP.Net who could help me? Thanks, Alfredo Barrientos ...more >>

Turn a string into a control name
Posted by Web Team NO[at]SPAM Borough of Poole at 9/2/2005 2:18:49 PM
Hi All, I have this code, which I am trying not to replicate many times in my code-behind. Me.img1.Visible = False Me.img1UploadButton.Visible = True Me.pnlImg1Uploader.Visible = True Me.img1Cancel.Visible = True I have mulitple controls on the page which do similar things. They are al...more >>

Having issues with Session Objects and Frames
Posted by Chris at 9/2/2005 1:59:02 PM
ok, here is what I am trying to do. I have a frameset with 2 aspx pages. After someone clicks on a button in the control page, I want to pass a SQL Query in a form of the string to the results page In the control Page I have the following code on button click. Session["SQL"] = SQL; Res...more >>

Viewstate doesn't clear
Posted by Mardy at 9/2/2005 1:51:02 PM
Upon submitting a form, I create a new record, read the blank record into the form and return the user to the form. The values from the previous record are still in the form. How can I clear the form without using the refresh button? I don't want to diable viewstate on the control. I'd ju...more >>

2.0 beta 2: Disappearing Controls
Posted by clintonG at 9/2/2005 1:50:56 PM
Hello Fellow Masochists ;-) In the MasterPage I've used a control (LinkButton1) in the 'header' region to function as a tab that displays another control (LinkButton2). LinkButton2 is located within a panel (Panel1) and I control the display of LinkButton2 by modifying the Panel1.Visibile p...more >>

Find out the MAC address of a machine.
Posted by UJ at 9/2/2005 1:42:03 PM
Is there any way to find out the actual MAC Address that a request comes in from? We are trying to get a way where we can limit access to specific machines (TCP/IP isn't good enough - we want to do it at the actual machine level where the user can't trick it.) TIA. ...more >>

is this even possible?
Posted by rodchar at 9/2/2005 1:13:02 PM
hey all, i was wondering if you can write code against a linked server in SQL Server? If so, are there any resources (e.g. articles, forums, etc.) I can view? thanks, rodchar...more >>

39th month? Odd DateTime behaviour!
Posted by dhnriverside at 9/2/2005 12:57:01 PM
Hi guys - Mars bars at the ready here... Got the following 2 lines of code... DateTime rightnow = DateTime.Now; string ReportDate = rightnow.ToString("yyyy-mm-dd"); Fine? Well, it's giving me a date just now of "2005-39-02" !!!! how!!? Cheers Dan...more >>

how did they do that?
Posted by rodchar at 9/2/2005 12:30:01 PM
hey all, how do you have a drop down list with the ability to type text and as you type the dropdown is repositioned? thanks, rodchar...more >>

How to pass a control optionally
Posted by eagle at 9/2/2005 12:12:27 PM
How can I pass a control to another procedure as an option? I tried: Call DoStuff(lbl) Private Sub DoStuff(Optional lnkbtn = nothing) if lnkbtn <> nothing then lnkbtn.visible = true end sub and I get an error saying Operator is not valid for type LinkButton and Nothing ...more >>

drop-down limit
Posted by rodchar at 9/2/2005 11:58:31 AM
hey all, is there a way to limit the number of records in a dropdown and have scroll bars to see the rest of the records? thanks, rodchar...more >>

.js files
Posted by Mantorok at 9/2/2005 10:15:00 AM
Hi all I want to seperate my client-side validation into a seperate js file, unfortunately the .js functions have no concept of document.getElementById, is it possible to have external javascript files referencing page controls? Thanks Kev ...more >>

Request Object
Posted by Angel at 9/2/2005 9:51:01 AM
I am trying to access in Javascript within an ASP.NET web page the Request Object. I am specifically trying to access the values in the Request.QueryString. When I try to access the values I get an error specifying that the Request object is undefined... The Jscript code is as follows: a...more >>

Server.Transfer to another application
Posted by Andy at 9/2/2005 9:50:04 AM
I don't believe Server.Transfer will do this, because it is not in the same application, but is there a way to transfer to a new application without a new request from the client browser?...more >>

using dll/InteropServices on website
Posted by mjacu at 9/2/2005 9:36:18 AM
Hello I've got a problem using unmanaged dll in C++ on my website. I'm using System.Runtime.InteropServices namespace and DllImport. My dll allocate memory and generate some files using allocated memory. Every request generate one file. In global.asax in Application_Start I call function from...more >>

Web DataGrid text box doesn't post back (or something else wrong)
Posted by Paul_FFX at 9/2/2005 9:29:17 AM
I try to use EditCommandColumn of Datagrid control to update a record. EditCommand works and Update and Cancel button appear. Then a modify text in one of appeared text boxes. There is a part of my UpdateCommand code: Private Sub DataGrid1_UpdateCommand(ByVal source As Object, _ ByVal e A...more >>

Web part and postback
Posted by getdotnet at 9/2/2005 8:05:03 AM
I have three questions about web part pages. All help is appreciated. 1. Moving around web parts, minimizing and resizing...all cause the page to post back. Is there a way to stop this postback? 2. Client's requirement is to allow the users to choose page layout just like on msn my space ...more >>

Get current cell in datagrid
Posted by louise raisbeck at 9/2/2005 8:01:03 AM
Hi, I have a dynamically built datagrid. I have a checkbox and a label in each cell. When the checkbox is ticked something should happen, using the label in the same cell as the checkbox. But I do not know which column it will be ticked in. Obviously I can get the checkbox using sender, and...more >>

converting an array to a string
Posted by Andrew at 9/2/2005 7:37:04 AM
Hi, How do I convert an array to a string ? What I did was convert a string to an array, after some manipulation, I want to pass the value back to a string. char[] setchecked; setchecked = strchecked.ToCharArray(); ///// I want to convert array setchecked[] back to a string n pass the va...more >>

asp .net email question
Posted by mattmerc NO[at]SPAM bellsouth.net at 9/2/2005 6:38:44 AM
Hi all, I've seen quite a few asp .net email articles out there, but nothing referring to my question. Here is what I would like to do. I need to allow my users to click on a button that will open up their default mail client with what I want in the body of the email. Then they can fill out w...more >>

important: Trying to coordinate iPlanet with IIS
Posted by Craig at 9/2/2005 6:38:03 AM
I'm a developer, but have no experience in configuring web servers. My ASP.NET code is hosted on this web server running on IIS. Only problem the outside world can't access it, because the company wants all web requests to come in through iPlannet (SSL). So, I need to figure out how to ...more >>

Stale Forms
Posted by John Rivers at 9/2/2005 6:17:49 AM
Hello, This topic has bugged me for years. The ideal for handling web forms would be that submitting the form replaces the browser history's current url with the url resulting from the form processing code Response.Redirect url this can be achieved for links using client-side dom "loca...more >>

Button1.PerformClick() problem
Posted by Marcin Zmyslowski at 9/2/2005 6:12:20 AM
Hello everybody! I have the problem with using Button1.PerformClick() method. I don`t know how to call the button. I have been searching the newsgroups but I didn`t find any exact description of it. I have read that to do that I have to paste the code: ----------------------------------...more >>

brief description of asp.net 2.0 controls
Posted by Steve at 9/2/2005 5:47:19 AM
Is there a page on the web which simply lists the controls available in asp.net 2.0 with a brief description of each? I just want this as a reference, so that I am aware of all the controls available to me. I haven't managed to find anything, can somebody help? ...more >>

how can write to the page after Response.End()
Posted by Tim_Mac at 9/2/2005 5:18:15 AM
hi, i'm guessing you just can't write to the page after Response.End(), but i would be interested to hear if anyone has a work around for my situation. i have designed a 'SmartButton' control that disables itself (client side) when it's clicked, and re-enables itself (client side) after it i...more >>

anonymous authentication
Posted by Julia at 9/2/2005 5:00:03 AM
Hi, I have a problem when I browse my asp.net pages. The style sheet is not loaded. If I try to browse the style sheet from the IIS I get this message : "You are not authorized to view this page". In my config file I have this settings: <authentication mode="Forms"> <forms loginUrl="AppL...more >>

The Microsoft Jet database engine cannot open the file...
Posted by Neal at 9/2/2005 4:45:02 AM
Hi All I am trying to connect from ASP.Net app to an Access Db. If i don't specify a userid an pwd.. I get this error The Microsoft Jet database engine cannot open the file 'C:\Documents and Settings\rogersn\My Documents\EEECourses.mdb'. It is already opened exclusively by another user, ...more >>

Passing a page to a public class
Posted by dhnriverside at 9/2/2005 4:40:04 AM
Hi guys I'm trying to implement an external class (.cs) for popping a window and doing various bits and peices. I want to pass to the overloaded constructor a reference to the page that called the class, so that the class can add some javascript to the page. Here's my globals and constru...more >>

Urgent Help for release...
Posted by Tim::.. at 9/2/2005 4:07:01 AM
Can someone please tell me why I keep getting the following error for some of my web application users but not others??? Even though the application runs from a central webserver??? Thanks for any help... Error: ----- Exception Details: System.NullReferenceException: Object reference...more >>

Release of Website???
Posted by Tim::.. at 9/2/2005 2:58:03 AM
Can someone please tell me how I release an asp.net website using VS 2003... Do I have to go through the whole site and change the links for the picutes using find and replace of is there an easier way to do this??? Do you have to manually delete all the res and vb files so you only publish ...more >>

force horizontal scrollbar display on div
Posted by dhnriverside at 9/2/2005 1:36:01 AM
Hi guys I'm using a div to create a list with ajax stuff. At the moment, the div shows a scrollbar if the content is larger than the div. The problem is that if it isnt, the scrollbar disappears and all my content resizes, which obviously I don't want. I know I can use overflow: auto on...more >>

Using comma's instead of points
Posted by benoit at 9/2/2005 12:45:03 AM
How can I make sure the the input of float can be done both with dots and comma's so that 1.548 = 1,548 ...more >>

Published 'Personal WEB Site' problems
Posted by Bendik Engebretsen at 9/2/2005 12:00:00 AM
Developed this personal WEB site with the new ASP.NET 2.0 Beta: http://www.techsoft.no/bendik/ It has got this problem: After a while browsing through pictures on the site, an error occurs: 'Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. ...more >>

View Multiple Binary Files(Images)
Posted by Arun at 9/2/2005 12:00:00 AM
Hi, I have simple question to ask. How to write multiple Binary files to the Browser using Asp.Net and Visual C#.net I have seen examples where single binary file is written to browser. -Regards Arun ...more >>

Frame Set Flow
Posted by Jay Villa at 9/2/2005 12:00:00 AM
I have a startup page with a frameset <framset border="1" frameborder="1" framespacing="0" cols="30%,70%"> <frame name="left frame" src="WebForm1.aspx"> <frame name="right frame" src="WebForm2.aspx"> </frameset> In WebForm1.aspx(left frame page) i've two links Search and Edit <html...more >>

datagrid autogenerate columns
Posted by ypul at 9/2/2005 12:00:00 AM
Hi , Getting to the point directly, my query output doesnt have fixed columns , so I choosed "autogenerate columns" datagrid. I assign this dataset to my datagrid, but now I want my data should be hyperlinks, so that I can navigate from that page to another, depending on the link clicked. ...more >>

Handling link button in repeater control
Posted by Imran Aziz at 9/2/2005 12:00:00 AM
Hello All, I have an asp:linkbutton in a repeater control, what I want to do is when someone clicks the link button I should get a value for the link button, and accordingly do some action. How can I do that, can someone please help me with that. Imran. ...more >>


DevelopmentNow Blog