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 monday april 12

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

Access javascript's variable from code-behind
Posted by Machi at 4/12/2004 11:11:04 PM
let say i have a web form with a button on it ... when i click the button, it will pop up one small window to allow me to save a pdf file, everything is done using code behind as below ... however, in javascript, i have set a global variable as a flag to indicate the number of times user click the b...more >>


Prog ID not found on MSSOAP
Posted by John Bailo at 4/12/2004 11:08:30 PM
I need to use the MSSOAP component on a classic asp page. The site will access an ASP.NET webservice using the SOAP protocol. On my workstation, I was able to do this successfully. When I migrated the classic ASP code to the production server, it threw this error: Server object error...more >>

Apply style to a dynamic table in ASP.NET page
Posted by Hardy Wang at 4/12/2004 10:48:30 PM
Hi, I have a PlaceHolder control, I need to dynamic render a HTML table to add to this place holder. One requirement of this table is, I need style like below <table style="margin-left: 5;"> In my C# code, I have following code to render the table, how can I add this style to my table? ...more >>

Multiple webusercontrols
Posted by Arjen at 4/12/2004 10:42:39 PM
Hello, I'm working on multiple webusercontrols which i'm using after each other. Now I have placed one webusercontrol on a webpage. How can I hide this one (after some action) and load an other one? Can you give some examples? Thanks! ...more >>

Repeater
Posted by MattB at 4/12/2004 10:30:12 PM
I'm trying to build a repeater to generate text boxes based on a value in a table. The number of boxes will vary so the repeater seemed like the logical choice. I want to make the id property of each text box correspond to a value in the datatable. I have the following which does not work (compil...more >>

Which control to use
Posted by Ahmed Shafi at 4/12/2004 10:13:13 PM
I am making an email app and I would like to display the emails like hotmail does. Which control would be more suitable datagrid, datalist or repeater? ...more >>

newbie question on user control
Posted by Raymond Du at 4/12/2004 10:04:23 PM
Hi, Is it possible to design a user control to act like a menu bar? Pretty much like the menu bar of most Windows applications. Say it has File, Edit, View.... , and if mouse cursor is moved into File or other, a drop down menu shows up, and drop down menu hides if mouse cursor is out. If i...more >>

Problem with dataset.getxml
Posted by Kashyap at 4/12/2004 9:56:03 PM
Hi I am trying to convert a dataset to xml using dataset.getxml. But this xml doesn't contain elements for null columns that are present in the dataset. How can we explicitly control this behaviour Suppose I have this dataset Col1 Col2 Col3 Col ----- ---- ---- --- A1 A2 A3...more >>



width of column in DataGrid remains the same
Posted by Chris at 4/12/2004 9:13:50 PM
Hi, I'm using a DataGrid (in a Webform) for which I create custom-columns. BoundColumn organizationCol = new BoundColumn(); organizationCol.HeaderText = "Organization"; organizationCol.DataField = m_hashTable[strOrganization].ToString(); organizationCol.ItemStyle.Width = 50;...more >>

Assembly could not be loaded???
Posted by KK at 4/12/2004 7:24:29 PM
Hi My Asp.NET application was working fine until today. It suddenly start to gave me the following error. === Pre-bind state information === LOG: DisplayName = CrimeTrack.SystemFramework, Version=1.0.1563.33238, Culture=neutral, PublicKeyToken=88698d91a4baa3ba (Fully-specified) LOG: Ap...more >>

ASP.NET how to setup a next - previous page for large results
Posted by Lee Connell at 4/12/2004 7:23:22 PM
Hi, How do I create a page that has the potential of grabbing a lot of results and displaying the result set in a per number basis. For example a google search will display say 15 pages with a next and previous that will return the next 15 pages. How would I do this in ASP.NET with a result ...more >>

Creating a web based installer
Posted by Jon H at 4/12/2004 6:51:18 PM
I'm trying to create an installer application that can be run from a web page. I know visual basic pretty well, but I haven't work with asp.net very long. Is there a simple way to do this? When using Windows Update, or McAfee .net, are they using "Web Applications", "Web Services", or "Web Co...more >>

Cannot create webapplications
Posted by Jon H at 4/12/2004 5:55:09 PM
Whenever I try to create an asp.net webapplication, I keep getting the error: Cannot find the components for communicating with the frontpage server extensions. I tried reinstalling Visual Studio .net 2002, Frontpage server extension, and component update, but I keep getting this same error. I...more >>

strange sql connection prob
Posted by Tim Almond at 4/12/2004 5:48:57 PM
Already posted to sql server group but maybe some help here.... If I run my application, I get a 'database does not exist'. If I then go onto the machine with the database on (different machine) and log in to query analyser, I can then go back to the web browser, it connects fine. Three mach...more >>

include file asp.net
Posted by Selen at 4/12/2004 5:12:16 PM

Date / Time format question to finish and deliver web site. Thank You.
Posted by Miguel Dias Moura at 4/12/2004 4:34:17 PM
Hello, when i preview an ASP.net web site i am creating to a client Date and Time show as follow: Date: dd-mm-yyyy Time: hh-mm (24 hour clock. Ex: 21:45) Both Date and Time use 2 digits format. Ex: 02-02-2004 and 02:05 When i preview the web site in the hosting company server the...more >>

Most Effective Way? Multiple asp:dropdownlist
Posted by harrysingh1976 NO[at]SPAM hotmail.com at 4/12/2004 4:29:39 PM
Hi, Quick question regarding dropdownlists. On one page I have 10 asp:dropdownlists. The user selects an option from a dropdown list and then it updates an asp:label with the relevant text. The user must select an option from each dropdown list. All the dropdownlists are to be populated ...more >>

ASP.Net include pages.....
Posted by pitcher17 at 4/12/2004 4:27:18 PM
Does ASP.Net have a way to include a common header, or any other page for that matter? OR do I still have to use <!-- #Include file="theheader.htm" --> TIA ...more >>

datagrid to excel question
Posted by me NO[at]SPAM privacy.net at 4/12/2004 4:25:51 PM
I have an app with 2 datagrids that are displayed in a page_load event. I use the following code to render it to an Excel workbook. sFile = sFile.Replace("/", "-") ClearControls(DataGrid1) Select Case RbtnExport.SelectedItem.Value Case "Excel" Response.ContentType = "application/vn...more >>

custom token
Posted by at 4/12/2004 4:23:00 PM
hi there, Anybody knows how to create and use custom token in asp.net? Where can I find reference and samples? TIA. ...more >>

link downloadable with string
Posted by Luis Ricardo at 4/12/2004 4:06:35 PM
How can i make a string in server (variable) to be download like a file ? I have an string in server and this string needs to be a file in the client. C# .NET 1.1 (ASP.NET) IIS5 Windows2000 SP4 Thanks for help ...more >>

include file
Posted by Selen at 4/12/2004 4:05:39 PM
I want to use include file...I am usung following codes.But it gives error: There can be only one page directive .What can I use for include file?I am using Asp.Net C# <!-- #include file=".\documents\AllDoc.aspx" --> or I tried <!-- #include virtual=".\documents\AllDoc.aspx" --> yazdýðýmda ...more >>

Clean the session history after logging out
Posted by Satish Appasani at 4/12/2004 3:58:03 PM
am developing a web application using Forms Authentication. User is logged out using FormsAuthentication.SignOut(). After logging out, ifthe user clicks Back button in the browser, the user is still able to see the previous page contents untill he refreshes the page or clicks on any link. H...more >>

Redirect Method
Posted by ruca at 4/12/2004 3:41:14 PM
Hi Can I set the target of a page in Response.Redirect???? Like this: I have a page that have 2 frames: contens and main (this are the names) When I click in one button I want that the result page appears in one or another page. For example in a Login page: When I click in Login button I wa...more >>

Advanced Training
Posted by Philip Mattson at 4/12/2004 2:54:50 PM
Hi, I'm looking for recommendations on which vendor to choose for some advanced ..Net training (ASP.Net in particular). I'm looking to send a few experienced developers (10+ years each, OOP fundamentals, asp background) to a more advanced course to really jump start their .Net skills. I...more >>

Menu in WebForm
Posted by DotNetJunkies User at 4/12/2004 1:55:12 PM
Hi i need to build simple menu in webform, exist some control in vstudio??? what i can do??? thanks --- Posted using Wimdows.net NntpNews Component - Post Made from http://www.DotNetJunkies.com/newsgroups Our newsgroup engine supports Post Alerts, Ratings, and Searching....more >>

Page_Load
Posted by Murphy at 4/12/2004 1:54:16 PM
Can I have a page_load event for both an aspx page and a user control (ascx) that is within the aspx page ? If not how can I have code that runs both when the user control is displayed and when a page is displayed without repeating the code ? Thanks Murphy ...more >>

Howto detect the size of the browserwindow.
Posted by EMW at 4/12/2004 1:16:12 PM
I created my page to work on a 800x600 size window, but when the user has his/her screen set on a larger size, they'll get a empty area at the right side of the screen. I don't like this, looks unproffessional, so I want to fill it with something, but only if the size is larger then 800x600. ...more >>

Thumbnails
Posted by Len at 4/12/2004 12:23:03 PM
I would like to create thumbnail images of other websites. I would like to be able to do this on the fly from my asp.net application. Is this possible? Help is much appreciated Regards. ...more >>

passing values from page to page
Posted by chris at 4/12/2004 12:21:04 PM
hi how can i pass more than one values from one page to another thanks...more >>

Mail back password
Posted by MattB at 4/12/2004 12:09:53 PM
I'm working on implementing a feature in a web site to let a visitor create a new account and have it email a randomly generated password back to the user. I'm not too concerned about it, but thought I'd check and see if anyone has any good examples of this that could save me a little time. LMK. ...more >>

Assigning value to a DataRow
Posted by Shock at 4/12/2004 12:08:08 PM
Anybody ever tried to assign certain values in one datarow to certain locations in another datarow? Here is my code to this pont. Followed by the output from the command window in vs.net debugging mode. targetRow[0].BeginEdit(); targetRow[0].ItemArray[grwFSAIndex] = dr.ItemArray[fsaIndex...more >>

Optional and have default value
Posted by ruca at 4/12/2004 12:04:29 PM
Hi, How can I set a parameter of a function optinal and have a default value? In VB I do like this: Function myFunction (Optional ByVal bExist as Boolean = False) What's the equivalent in JScript? -- Programming ASP.NET with VB.NET Thank's (if you try to help me) Hope this help you...more >>

Re: classic ASP to ASP.NET
Posted by ajaymehra at 4/12/2004 11:55:04 AM
Hi all, My old application is in classic ASP. I am creating new modules in ASP.NET and integrating them with th older version. My problem is that I use session variables in both versions. But now that Im copying over my global.asax, I get the followin error : Server Error in '/' Appli...more >>

Dynamically build dropdownlist box
Posted by DaveF at 4/12/2004 11:33:33 AM
When I select the first dropdownlist box, I need to be able to make several dropdownlist boxes on the fly and populate them from the database. Is this possible? If so, HOW? -- David Fetrow Helixpoint LLC. davef@helixpoint.com ...more >>

Reprocessing request on response.redirect command???
Posted by Milan Todorovic at 4/12/2004 10:54:30 AM
I need some help with my ASP.NET application. The central part of the application is very processing intensive page that can take up to several minutes to process the complex queries and load the aspx page (processing occurs during page load). After it loads the page contains the datagrid (hol...more >>

Listbox Control Not Returning Selected Values
Posted by Matthew Sajdera at 4/12/2004 10:26:22 AM
All - I'm trying to capture the values in a multi-select ListBox and everything I've tried isn't working. Here is the code snippet that is trying to grab SELECTED values: // Build Copy To string foreach(ListItem itmCopyTo in lstCopyTo.Items) { if (itmCopyTo.Selected) strCopy.A...more >>

ASP.NET Question
Posted by Shreyash Patel at 4/12/2004 10:26:03 AM
How do I make PostBack Call from the Server so that I can update something on the client web browser? The Client just has the page open theres is no event from the Client. But I want to push something from the server so that the client webpage reloads with the new information. Code Sample Please S...more >>

Returning HTML free response?
Posted by AP at 4/12/2004 10:18:30 AM
Hi I have an aspx page that people can post raw XML to, that for now just grabs whatever comes in and sends it back out. This page has no controls on it. The problem is that the page is returning whatever comes in, plus some HTML stuff that I don't want (see below). How can I prevent this? Tha...more >>

how to create a horizontal table with dynamic png pictures
Posted by bruno_storz NO[at]SPAM gmx.de at 4/12/2004 9:32:22 AM
Hi there, I want to access an Access database and show the contents in a horizontal table row. In PHP this would look like this: I need to use a sql - String, which will be changed on events which have happend earlier in the code: $strSql = "Select * from Tabelle where ID >'$kriterium'"; ...more >>

RedirectFromLoginPage
Posted by Murphy at 4/12/2004 9:12:15 AM
I am trying to code a workaround to avoid being redirected to default.aspx if the ReturnURL parameter is blank when the RedirectFromLoginPage method is called. Depending upon the login status the login button performs either a login or logout and the appropriate image is displayed, see below: ...more >>

Stream.Read to Bytearray Problem
Posted by Daniel von Fersen at 4/12/2004 9:04:23 AM
When I want to Read the Bytes 1000-2000 from a Stream into a ByteArray using Stream.Read(byteArray,1000,2000) they are written to the positions 1000-2000 in the byteArray. but my Array is only 1000 items long Array(0-999), and i just want to have the positions 1000-2000 from the stream! ...more >>

Beep in javascript
Posted by mg at 4/12/2004 8:36:04 AM
How can I create a beep in javascript (I.E. 5.5 +) ?...more >>

ASP.NET Chat
Posted by Shreyash Patel at 4/12/2004 7:41:03 AM
How do I create a Live Web Chat Room using ASP.NET? Shreyash...more >>

URGENT IIS PROBLEM
Posted by DotNetJunkies User at 4/12/2004 6:39:27 AM
Hello everyone: Ok here is a very weird problem I am having and I hope that some of you can share some thoughts with me on this. First of all, let me start by listing what I have: 1.- Windows Server 2003 - Standard Edition 2.- IIS 6.0 I have 2 different web sites running on this box, ...more >>

IIS URGENT PROBLEM
Posted by DotNetJunkies User at 4/12/2004 6:28:36 AM
Hello everyone: Ok here is a very weird problem I am having and I hope that some of you can share some thoughts with me on this. First of all, let me start by listing what I have: 1.- Windows Server 2003 - Standard Edition 2.- IIS 6.0 I have 2 different web sites running on this box, ...more >>

ASP.NET Server Side Event
Posted by Shreyash Patel at 4/12/2004 5:21:02 AM
Hi I have a label on my WebPage. When Event A occurs on the Server I want to update the information in the label. So the Event A is not a client event but an event that occurs on the Server. So I want to update the Label on the Webpage to indicate the event has occured to all the user that are vie...more >>

PageIndexChaned event not working
Posted by janezcas NO[at]SPAM yahoo.com at 4/12/2004 1:04:08 AM
Hi, I know this question has been asked many times, however I haven't found any satisfying answer. I have a datagrid that is bound to a dataset. I have established paging on the grid (AllowPaging = true), but the PageIndexChanged event only fires when AutoGenerateColumns is set to true. If I ...more >>

QueryString Hiding
Posted by Shock at 4/12/2004 12:04:11 AM
I am interested in hearing what kind of methods are used to hide QueryStrings when passing data between aspx pages. For instance, I have a url that looks something like this: http://localhost/page.aspx?year=2000&userid=100 What ways are there to hide everything following the question mark? ...more >>


DevelopmentNow Blog