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 > april 2004 > threads for friday april 9

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

newbee question: How to call a second aspx
Posted by EMW at 4/9/2004 10:45:01 PM
I have created a page in aspx and after a click on a button, a new page should open. How is this possible? I tried it doing it like in vb.NET with opening a new form, but it doesn't work. rg, Eric ...more >>

How to create a panel control
Posted by EMW at 4/9/2004 10:39:06 PM
How can I place a panelcontrol at the location I want and in the size I want after a user clicks on a button? I want to use the panel to show other buttons. rg, Eric ...more >>

Response.Redirect in J#
Posted by KC5DGC at 4/9/2004 10:16:04 PM
I need help on coming up the the J# equivilent of the VB and C# Responce.Redirect("URL") I have tried everything (except the correct way) to get it to work in J# to no avail Thanks in advance Charles Rader...more >>

problems with asp and rebooting the server
Posted by Josh at 4/9/2004 9:42:47 PM
The error I am getting is the following. ALong with the error asp doesnt start and the web site is down until I reregister asp service. Event Type: Error Event Source: ASP.NET 1.1.4322.0 Event Category: None Event ID: 1084 Date: 3/29/2004 Time: ...more >>

manually call a methodT
Posted by Karl Hungus at 4/9/2004 8:54:27 PM
Im using an xsl transformation so its not practical to use controls in the usual way, but I would still like to call methods in my codebehind class. usually Id just use onclick="<eventHandler>" say for something like a button control is there a way to manually call a method defined in a co...more >>

SelectedIndexChanged event doesn't fire for Listbox or DropdownList
Posted by CW at 4/9/2004 8:35:26 PM
Yes, Autopostback is true, and it doesn't make an iota of difference at all. HTML snippet and code (behind) snippet is as below: <asp:dropdownlist id="ddlLoginType" runat="server" Width="163px" AutoPostBack="True"></asp:dropdownlist> Private Sub Page_Load(ByVal sender As System.Object,...more >>

DataList handle
Posted by Adi Pasa at 4/9/2004 7:05:20 PM
Hello I want to use datalist to create a menu for my asp.net webapplication. The problem is this datalist is placed in a td with the height of 15px and everytime a populate the datalist (my menuitems) the td height changes ... and affects the design of my webapp. Can anyone help me ? Thank...more >>

Apostaphie
Posted by Charles A. Lackman at 4/9/2004 5:36:57 PM
Hello, I have made a web site that streams music using mms. The service works great but I have noticed that when the song or song location has an apostaphie in it the server (or something) cuts everything off after the apostaphie and causes the song not to string. i.e.: C:\My Music\Greate...more >>



Javascript alert - Smart Navigation problem
Posted by Marc Castrechini at 4/9/2004 4:46:48 PM
With SmartNavigation=true a call to display a simple javascript alert returns in IE showing an "Invalid Pointer" error. Apparently when SmartNavigation is disabled then the alert works correctly. When I remove the <doctype> tag the alert works again. I'd prefer to keep a doctype tag in my ...more >>

sending xml as http post
Posted by Maximus at 4/9/2004 3:57:04 PM
Hi everyone, I was wondering if anybody could help me with sending xml as part of an http post. Any help will be greatly appreciated. Thanks. ...more >>

Forms Authentication Error
Posted by Brett Robichaud at 4/9/2004 3:49:18 PM
Is anyone familiar with this error? I have this running just fine on my local machine but when I pushed it out to our development server I get this error. I have no idea what it is saying. Any clues? -Brett- Server Error in '/' Application. ----------------------------------------------...more >>

File Upload Web Service
Posted by Alphonse Giambrone at 4/9/2004 3:46:09 PM
I am trying to develop a web service to accept a file uploaded via http post from a vba (Access) application. Thanks to helpful links in a vb newsgroup and my previous work with WinInet api I was able to write the code to do the upload. I know this works because I tested by posting to an asp pag...more >>

Troubleshooting Object Reference Not Set to Instance of an Object
Posted by Lori McDonald at 4/9/2004 3:11:03 PM
I am logging errors in my web application in a database for troubleshooting (and emailing them to myself) and I am getting this error I cannot understand I have a click event that is generating an "Object reference not set to instance of an object". Now, I have seen this error a lot and usually I...more >>

Disable ForeColor
Posted by Andre at 4/9/2004 2:58:50 PM
Hi, Do we have a way to change the text color of a (textbox, dropdownlist...) when they are at Enable = false. Because i don't want to have light grey text when they are disabled. I can use readonly on the textbox, but not with my dropdownlist. Thank you ! ...more >>

Newbie question on insert summary rows into dataset
Posted by Danny Ni at 4/9/2004 2:57:34 PM
Hi, Is there a way to insert summary rows into a dataset or datareader without actually save them back to the SQL server? I have a resultset returned by SQL server using the following SQL statement: select gid, eid, wdate, whours from timelog order by gid, eid, wdate I like to insert a su...more >>

connection string
Posted by Selen at 4/9/2004 2:31:45 PM
In asp.net what is the best way for storing connection string? Thanks.... ...more >>

Is there a way to disable auto-formatting
Posted by John Holmes at 4/9/2004 2:23:38 PM
I saw a similar post that went unanswered about a month ago. I am annoyed by the auto-formatting that occurs when creating my form. I'll make changes to the code (HTML tab) and then view them in Design mode and when I go back to the HTML mode the code I just typed in has been reformatted. It does...more >>

DropDownList SelectedIndex Property
Posted by Ashish Sharma at 4/9/2004 1:59:43 PM
I have a DropDownList inside a DataList on a page. I want to set the selectedindex property of the DropDownList to some value. I bind the DropDownList on the ItemCreated Event of the DataList. Private Sub DataList1_ItemCreated(ByVal sender As Object, ByVal e As System.Web.UI.WebControls....more >>

Is there a way to hide the url when giving download option to a user?
Posted by R.A. at 4/9/2004 1:30:13 PM
Hi In the web site I work on I give the users an option to download files from the web server. They click a button and I use the Response.Redirect("filename.exe"). The problem is that the user migth see the downloaded file url. Is there a way to hide the downloaded file url (it shows in the i...more >>

A severe error occurred
Posted by Max at 4/9/2004 1:28:50 PM
Any idea why this happens? It only happens on the live machine, but not the test machine. I've heard this happens when you try to send too much data to SQL Server, but all I'm sending are 4 small varchars and 2 floats thru ExecuteNonQuery. System.Data.SqlClient.SqlException: A severe error occ...more >>

Form within a MasterPage on Whidbey
Posted by Frank Rizzo at 4/9/2004 12:46:14 PM
I want to have a form in the master page (for things like "search site" function). In addition, I'll have to have forms in the regular pages that "plug in" to the master page. Is this possible? If so, are there any quirks that I should know about? Thanks...more >>

How can I find out which .net version I'm running?
Posted by Jeremy at 4/9/2004 11:56:03 AM
I need to dyanmically get the version of the .net framework from an ASP.net application (the version that application is running on). Anybody know how to do this Thanks Jeremy...more >>

include file
Posted by Selen at 4/9/2004 11:42:32 AM
Hi, I am using following code for calling AllDoc.aspx file...But it give me error.Error is that: There can be only one 'page' directive. When I delete the page statement from AllDoc.aspx the sql code doesnt work...What must I do? <!-- #Include virtual=".\documents\AllDoc.aspx" --> ...more >>

Multithreading in asp.net application
Posted by penghao98 NO[at]SPAM hotmail.com at 4/9/2004 11:41:28 AM
Is there a way I can create a thread at application level that running all the time along with application exists? I have tried to do the above thing, and I found for some reason, the thread only can be excuted once after it is created. Thanks very much for your help....more >>

Re: Client identification
Posted by Sorin Sandu at 4/9/2004 11:16:46 AM
Sorry but doesn't work. Can you be more specific. Some code will be fine Thank's a lot ! ...more >>

Missing Rows in a DataBind()
Posted by Andrew at 4/9/2004 11:14:21 AM
Hey all, Have a strange one here, and being still fairly new to .NET isn't helping me understand it. I am having a problem where a DataReader doesn't return all the rows when I try to use a method from a separate class file that returns a DataReader, where when I code the DataReader in the ...more >>

<prefix:mycontrol id=con property=AnArray> ???!??!?
Posted by pookiebearbottom NO[at]SPAM yahoo.com at 4/9/2004 11:05:52 AM
Any ideas on how you handle this in the control? I am using C# if that matters. Want to pass an array or even do id.AnArray=myarry; -Sal...more >>

scheduler
Posted by Alex Wagner at 4/9/2004 10:59:31 AM
I need to run/create reports a couple times a day via an aspx page. Does anybody know of a code sample that would allow me to call an aspx page via windows task scheduler? thnx ...more >>

How do u handle multi-language resource files
Posted by JollyK at 4/9/2004 10:57:39 AM
Hello friends, In a large asp.net project, I don't think it is a good idea for having one common resource file containing all localized strings for the whole application. I think a better approach would be to have individual resx files for each form/user control. My main problem is having dif...more >>

Client identification
Posted by Sorin Sandu at 4/9/2004 10:16:44 AM
How can I find what machine or IP address accesed my aspx page. I've tryed to find what windows user but I'm using Impersonalization so it's only a user. ...more >>

Javascript into ASP.Net Simple example wanted.. Sum Textboxes client side
Posted by Davisro at 4/9/2004 9:59:53 AM
I would like to have a total box show the totol of four textboxes when anyone of them change. I know I could do this via postback, but would like to do this on client side utilizing javascript. I am familiar with asp.net but not in how to migrate javascript into the html. Thanks, Rog ...more >>

No One Has the Solution Seems..
Posted by .NET Follower at 4/9/2004 9:53:55 AM
hi, I had posted a query Subj:Integrating ASP.NET Web Projects to share session variables But it seems no one has the answer to the problem very strange...... -- Thanks and Regards, Amit Agarwal Software Programmer(.NET) ...more >>

newbie questions on TextBox and DateTime
Posted by Danny Ni at 4/9/2004 9:34:48 AM
Hi, I have a TextBox in an aspx form to allow user to enter a date. Say the TextBox name is txtDate. I have 2 questions: (1)How do I put today's date as default value? I tried: txtDate.Text = DateTime.Today.ToString(); I got 4/9/2004 12:00:00 AM, but I don't want the hour part. (2)How do ...more >>

ASP.NET session management
Posted by R.Keith at 4/9/2004 9:21:03 AM
Can Application Center 2000 manage the .NET session across multiple web servers? I can't find a single mention of .Net in any of the documentation, but it's suppose to be a .Net Server....more >>

filename in exported excel file
Posted by zweng at 4/9/2004 9:16:05 AM
I checked a few sites on exporting data from asp.net to excel and most of them point to the same source a http://support.microsoft.com/default.aspx?scid=kb;EN-US;317719 with some modifications My code is in the block below. When I click save when the open/save message box pops up, the file is sa...more >>

Question with paramater passed to sp
Posted by Chris at 4/9/2004 8:51:02 AM
Hi I have a problem populating my datagrid when the values passed have an apostrophie (') like this test's. Any other values work. This is my asp.net cod Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Loa 'Put user code to initialize the ...more >>

Looking for free datagrid with source
Posted by John Dalberg at 4/9/2004 8:43:02 AM
I am looking for a datagrid with source that's free or costs less than $50. Preferably one that does summaries between groups, checboxes and dropdowns in columns..etc I know asp.net has a list of grids in the component gallery but I am hoping someone who already did the research to recommend...more >>

.NET NEWBIE - EASY QUESTION
Posted by Ryan Smith at 4/9/2004 8:21:04 AM
I have been programming in ASP for years and am making the move to .NET and am having a problem. I have an item on a form that i am validating against and i am receiving the following error message. What am i doing wrong Description: An error occurred during the compilation of a resource required ...more >>

Question about running an ASP.NET app with no Interactive desktop login on the server
Posted by Nick Palmer at 4/9/2004 8:13:13 AM
As the title suggests, I've got a question about running an ASP.NET app on a server that has no interactive desktop login. In all our testing of our app here,the server always had an interactive desktop login since we were watching things on it, etc. Well I went to test it the way I would assume ...more >>

Record Count
Posted by Kulwinder Sayal at 4/9/2004 7:41:08 AM
Hi In ASP it was so simple to get the no. of records using RecordCount. Can anyone help me how to write the no. of records my sqlquery has searched Thanks Kulwinder...more >>

Is there a javascript event that will always fire upon postback?
Posted by johngilmer NO[at]SPAM yahoo.com at 4/9/2004 7:40:07 AM
I would like to do some client side stuff whenever my page is posting back. My page has a lot of different buttons and links that will cause a postback. I would rather not have to put something in each of their "onclick" functions. I would rather have a global OnPostback function or something li...more >>

Page appears to fail validation even though it has no validation controls
Posted by dhurwitz at 4/9/2004 7:21:06 AM
Hi I have developed a web app with a dozen or so pages, which allows searching for and editing orders by OrderID. There is a search page for entering multiple search criteria. In addition, each page has a nav bar (actually a user control) along the side which also has a textbox for entering an O...more >>

UserControl does not resize in form?
Posted by grawsha2000 NO[at]SPAM yahoo.com at 4/9/2004 7:14:37 AM
Greetings, I included a UserControl (UC)on webpage. It works fine except when I change document direction to 'rtl', UC doesn't resize with the rest of document. It just disappears behinde rest of document(textbox, labesl...etc)? Any idea/s?? Usually, what is the best way of placing U...more >>

Dr. Watson comes up in vsnet 2003 when I try to open a .htm or .xml file from solution explorer.
Posted by Hazzard at 4/9/2004 6:59:42 AM
..aspx pages work fine and vsnet.2003 runs fine with all functionality(edit,build, execute, etc) except when I try to open a .html file in the project or a .xml file. Dr. Watson comes up immediately in order to send an error report to Microsoft. Any ideas? Thank you, _Greg ps. I also poste...more >>

Installing The Framework On Server
Posted by Jim Heavey at 4/9/2004 4:54:02 AM
Hello, I have convinced my company to give ASP.Net a try. I have never loaded anything to a server (Windows 2000) and am looking for some pointers. Specifically I am looking for advise on the following: 1. Framework software - I see that the framework software can be downloaded from "Win...more >>

Navigation Feature
Posted by Roshawn at 4/9/2004 4:21:12 AM
Hi, Has anyone seen the navigation feature used on www.projectseven.com? I think it's awesome!! All week long I've tried every trick in the book to imitate this feature using css but to no avail. I have searched countless other websites for any scraps of information on creating this type ...more >>

xml and Dataset
Posted by pritam_l NO[at]SPAM yahoo.com at 4/9/2004 3:00:15 AM
I have a xml file. i want to put the file in a dataset and then from there to an SQL database through a dataAdapter. I`ve been able to read the xml file in a dataset but i cannot use it to update my database. Any ideas?...more >>

How to upload/download files ?
Posted by Maxim Kazitov at 4/9/2004 12:29:22 AM
Hi, Can anybody recommend way to perform following operations (from DHTML application): - download group of files from server to some directory on client side; - upload group of files from client to server; -- Thanks, Max ...more >>


DevelopmentNow Blog