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 > january 2004 > threads for monday january 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 31

ASP.NET & message box
Posted by DzemoT. at 1/12/2004 11:20:39 PM
how go i get message box in asp.net app like Hotmail when deleting trash folder? ...more >>


ASP.NET & *.swf(Flash files)
Posted by DzemoT. at 1/12/2004 11:05:53 PM
how to show *swf files on *.aspx pages? which control to use? any example? Thx ...more >>

Threading?
Posted by Mohammad Samara at 1/12/2004 10:56:38 PM
Hello everyone, I want to display a message in an ASP.NET page label while the application is busy contacting a web service to retrieve some info. Do I have to use threading in C# to display the message in order for the rest of the code to retrieve the info from the web service? Thanks. ...more >>

2004 beta
Posted by John at 1/12/2004 9:00:24 PM
Hi We are approaching spring. When is the public beta expected? Thanks Regards ...more >>

LinkButton added at runtime - and fetch it!
Posted by Fredrik Rodin at 1/12/2004 7:50:32 PM
All, I've been trying to get this question answered before and I got some hints, but nothing that really fit my needs. Here's what I'm aiming at: I create x number of LinkButton at run-time in a UserControl, no probs. However, when I click on on of them, I want to fetch which one of the...more >>

paging datagrid using stored procedures?
Posted by Max at 1/12/2004 7:23:34 PM
Is it possible or more effecient to use a stored procedure to populate a datagrid when using datagrid or custom paging? Is it (ADO.NET?) pulling the entire table into the dataset or is it just pulling the page as defined by the page size? I'm assuming that if I use a stored procedure with a da...more >>

MCP
Posted by kiran at 1/12/2004 7:18:33 PM
Hi, Any websites/downloads available to take free practise tests for MCP (C#, Web Development (70-315))? Thanks Kiran ...more >>

Right / Left / UBound / Split / Chr problems in a web service
Posted by Andi Twine at 1/12/2004 6:50:36 PM
Hi all, I really hope someone here can help ! I have designed and built an ASP.NET web service with Visual Studio .NET. The web service outputs some dummy XML data when its called with some simple parameters. I have tested the web service on the PC it was written on (Windows XP, IIS 6, .N...more >>



Book recommendation
Posted by John Smith Jr. at 1/12/2004 5:56:00 PM
Best ASP.NET C# book? I was thinking about O'Reilly Programming C# 2nd Edition. ...more >>

Adding Events / Page_Load / Designer Removing it
Posted by Patrick at 1/12/2004 5:51:03 PM
Hello I have the following problem. I have an aspx Page. This page contains an ASP-Table Object. So in that table, I have a linkbutton. So, I can't edit the event of that button trough the WYSIWYG editor, so I co to the CodeBehind and add the Event in the InitializeComponent() Method like this...more >>

Cookies
Posted by Amit Agarwal at 1/12/2004 5:32:03 PM
How do you turn off cookies for one page in your site? ...more >>

URGENT !!!!!!!!How to set color to acheckbox dynamically in asp.net
Posted by Sileesh at 1/12/2004 5:09:30 PM
Hi All Can anyone out there help me with some code of how to set color to acheck box (HTMLINPUTCHECKBOX)dynamicall based on a value. Thx in Advance Sileesh...more >>

Event executed twice
Posted by Alberto at 1/12/2004 5:06:15 PM
I have a linkButton with a method associated to the click event. The problem is that the code is executed twice. The causes validation property is set to false. What's happening? Thank you. ...more >>

VB to C#how does DirectCast convert?
Posted by Andrea Williams at 1/12/2004 4:42:01 PM
I have this line in VB and I need to convert it to C#: Return DirectCast(HttpContext.Current.Session("LastException"), Exception) I've been unable to find an equivelent to DirectCast and I can't seem to get Convert.ChangeType to work for me either. This is what I have t the moment: ...more >>

Serious Bug: FormsAuthentication over Intranet MS Listen Up!!!!!
Posted by Mark Olbert at 1/12/2004 4:35:54 PM
I have been wrestling with FormsAuthentication working on some, but not all, of my development websites. I think I've determined what is causing the problem, but I can't figure out the workaround/solution to use in the VS.NET environment. Background: I recently changed my development environme...more >>

website connection to database time out problem : login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'
Posted by maellic2002 NO[at]SPAM yahoo.fr at 1/12/2004 3:38:20 PM
Hi, The website I am working on is built with ASP.NET and connects to a SQL Server 2000 database. The web server and database are on the same machine. I have recently tried to modify the timeout of the website from 20 mn to 60 mn. I changed the timeout setting in IIS. Now the website itself d...more >>

datagrid OnItemCommand handler not executing
Posted by Rick White at 1/12/2004 3:34:24 PM
I have an asp.net page on which I have a datagrid. The datagrid works exactly as I want up to this point: I want to have a pushbutton on the datagrid that will cause the selected row to a different table. There are many examples of this, but I can't seem to get the OnItemCommand handler to fi...more >>

DataGrid
Posted by André Almeida Maldonado at 1/12/2004 3:33:56 PM
Hey Guys... What is the diference in bind data into a datagrid without predefined columns and a datagrid with predifined columns???? When I try to bind data into a datagrid without predefined columns, I have sucess. Otherwise, I don't have sucess. Why???? ...more >>

Repeater failed to load the viewstate when Controls.Count was called in OnInit
Posted by Invalidlastname at 1/12/2004 3:16:13 PM
Hi, We are developing an asp.net application, and we dynamically created = certain literal controls to represent some read-only text for certain = editable controls. However, recently we found an issue which is related = to the repeater. In the code shown below, if I call = Repeater1.Controls.C...more >>

Determine is a dataset is empty
Posted by martin at 1/12/2004 3:05:19 PM
Hi, I am having trouble determining if my dataset is empty. I have function that populates a dataset from a database and then retuens it. If the database contains no data then the dataset will be completely empty, and then when I go to databind() it to a combo box and error will be throw. ...more >>

Do you use <table> or <asp:Table>?
Posted by Ken Dopierala Jr. at 1/12/2004 2:52:01 PM
Hi, This is just a query about what people use most. Up until today I've been using <asp:Table> tags to build my tables. We just outsourced our HTML design to a local guy and when I got it back today I was working with the html <table> <tr> <td> etc. What a difference that makes, server c...more >>

writexml with root tag
Posted by Guoqi Zheng at 1/12/2004 2:44:09 PM
Dear sir, I am trying to create to writeXml to create a xml file every day. The WriteXml method of dataset is very nice and easy to use, however, how can I add the following to my xml file? <?xml version="1.0" encoding="UTF-8"?> <productFeed version="0" timestamp="20040105:22:00:05"> T...more >>

Why I can't find control
Posted by P.L. at 1/12/2004 2:41:08 PM
Hi! I have problem with Datarepeater control. When I load template from external aspx file ItemTemplate = Page.LoadTemplate(....); I can't find control in ItemDataBound event. ((Label)e.Item.FindControl("Label1")).Text = "text"; Can someone help me? Petr ...more >>

User Control
Posted by Prince at 1/12/2004 2:37:04 PM
I have a page with a user control that has buttons. On the page is a panel. How can I reference the Panel from the button click event of the user control? thanks, Prince...more >>

URGENT
Posted by TO at 1/12/2004 2:29:09 PM
Hey buddies, I am looking for a web site containing .NET growth surveys / statistics North America (mainly) and all over the world. Can anybody help me ??!!! Thx. ...more >>

SQLServer session state performance issues
Posted by John Q. Smith at 1/12/2004 1:59:33 PM
I'm trying to find out some of the details behind OOP state management with SQL Server. For instance - how long does the session object live on any server? Is it created and destoyed with each page request? - will each reading of a session variable cause a round trip to the DB server? or doe...more >>

User Control
Posted by Priya Ghate at 1/12/2004 1:58:59 PM
Hi, How do I go about creating a user control in asp.net ? Any help would be appreciated. Thanks, Priya ...more >>

ASP.NET validation controls do NOT WORK! HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Posted by toolhater NO[at]SPAM hotmail.com at 1/12/2004 1:39:14 PM
We have a C# application that has several forms that use the asp.net form validation controls. When we use them on our development site runnings windows server 2003, the work fine BUT when we take the controls to production on a windows server 2003 WEB EDITION box, the controls no longer ...more >>

ASP framework error
Posted by Donovan Zimmerman at 1/12/2004 1:19:37 PM
I've never had problems with ASP, but I got 2 new computers, and when I create a web application, they both fail with an http/1.1 500 Internal server error. In the event log I then start getting the following error approximately every 20 seconds. aspnet_wp.exe could not be started. The er...more >>

Excluding a page from ASP.NET forms authentication
Posted by Frank Rizzo at 1/12/2004 1:16:19 PM
Asp.net form authentication is fantastic. I want to place a link on the Login page to a “Register for this web site” page (register.aspx) . How do I exclude register.aspx from Form Authentication? Thanks....more >>

Connection String: Global.asax vs. web.config file
Posted by D. Shane Fowlkes at 1/12/2004 1:10:48 PM
Upon reading through my ASP.NET book, I've learned how to place the connection string in both locations in my application. Just due to habit, I naturally want to place my SQL Server connection string in the asax file...but are there really advantages to having in one file over the other? Than...more >>

ASP.NET not working. Where to go troubleshoot?
Posted by Charax at 1/12/2004 1:03:21 PM
I'm absolutely brand new to ASP. I got a copy of ASP.NET for Dummies, coded the sample first page in FrontPage, but it won't run on my localhost server, using the IE6 browser to view it. I have WinXP Pro, Office 2003 for Developers installed. IIS is installed, as is SQL Server. Also installed Vi...more >>

Know the object does the postback
Posted by Erick at 1/12/2004 1:02:24 PM
Hi, Is there any way that I can know the object that does fires or does postback to the page on the Page_Load event. I tried to use the sender object that is defined as parameter into this event. Thanks for any help provied. Cheers......more >>

Impersonation
Posted by Mark at 1/12/2004 12:51:02 PM
We are using impersonation so that a user on our domain will login into our SQL Server using their own domain login and/or associated domain groups. To do this, we've added: <authentication mode="Windows" /> <identity impersonate="true"/> to our web.config file. In IIS, annonymous access ...more >>

User Login Page
Posted by Kenneth Keeley at 1/12/2004 12:50:29 PM
Hi, If I setup part of my web site to require users to login can I keep some pages that are related only to that section of the site availble to all users. Example, I have a different section on my site where users must login, I wish to have links on each login page to information pages tha...more >>

blank page using redirect.response
Posted by Grant at 1/12/2004 12:35:16 PM
What is the difference between server.transfer(page.aspx) and redirect.response(page.aspx)? Some of the users get a blank page if I use redirect.response. I changed it to server.transfer because it works but what is the difference? Thanks ...more >>

SQL Server has too many connections
Posted by STom at 1/12/2004 12:30:55 PM
We have the following settings in our web.config file to store session state on the SQL Server. <sessionState mode="SQLServer" sqlConnectionString="data source=h7sql;Integrated Security=SSPI" cookieless="false" timeout="200" /> We have...more >>

Default button when hit Enter
Posted by Harry at 1/12/2004 12:25:17 PM
Hi all, I have a number of imagebuttons on a page and when the user enters data into a text field I would like for the page to submit. How would I do that? Currently, if the user hits Enter, it just posts to the server and returns to the same page. Thanks Harry ...more >>

Bug in Authorization??? IIS 5 Config Problem??
Posted by Mark Olbert at 1/12/2004 12:22:15 PM
I am having a devil of a time trying to get Forms authentication to work in a very simple test webapp (I've gotten it to work many, many times when developing on my WinXP client box, but I've just switched to doing development/debug on a Win2K server with IIS5, and something is obviously wrong). ...more >>

Exporting to Excel using CSS
Posted by Matt at 1/12/2004 12:19:58 PM
I have code that generates a dataset and sends the results to the user and automatically opens Excel when the link is clicked. It works fine on my own machine and one server but I get the following error on another server: Problems cam up in the following areas during load: Missing file http:...more >>

OnInit(System.EventArgs)': no suitable method found to override
Posted by Hai Nguyen at 1/12/2004 12:03:29 PM
Would anybody please tell me what is this error and what i should do I have 5 files: page1.aspx,page1.aspx.cs; page2.aspx.page2.aspx.cs and page3.cs both page1.aspx.cs and page2.aspx.cs inherit page3 page3.cs is like a library to share common methods I got this error OnInit(System.Ev...more >>

Clearing a datagrid clientside
Posted by Alvin Bruney at 1/12/2004 11:58:43 AM
I have a server side datagrid control. I'd like to clear the grid before the post occurs using javascript. Anybody know how to do this? It would be a similar effect to binding to a null dataset in the codebehind, sorta. -- Regards, Alvin Bruney Got tidbits? Get it here... http://tinyurl.co...more >>

VS.NET says ASP.NET 1.1 isn't installed when it is
Posted by Chad at 1/12/2004 11:33:16 AM
I get this error every time I open up a web application project. "Visual Studio .NET has detected that the specified web server is not running ASP.NET version 1.1. You will be unable to run ASP.NET Web applications or services." I DO have ASP.NET 1.1 installed...I installed the framewo...more >>

Visibility of selectedindex of a datagriditem
Posted by Richard Loupatty at 1/12/2004 11:30:56 AM
I put a datagrid in a panel with an overflow set on auto. I want to show just 5 items in the grid. My question is how to make sure that the selecteditem is always visible in the grid. Because now i have this situation that after each selection (I use the itemcommand) the grid starts from the t...more >>

Form submitted
Posted by Eric Shin at 1/12/2004 11:21:12 AM
Hi all. I'm like really on the beginning stage for ASP.NET just got a few questions to ask... Please help me. I've created a form page called "join.aspx" and it has lots of codes but the important part needed to be focused on is the following lines. <asp:textbox id="firstname" runat="s...more >>

setting up SSL for e-commerce?
Posted by Lasse Edsvik at 1/12/2004 11:19:50 AM
Hello I have an asp-component that contacts a bank and transfers from creditcard to bankaccount. and i was wondering if you guys know if any article how to setup a secure connection? or do i need to do something with code or? TIA /Lasse ...more >>

Calendar Control
Posted by Steve at 1/12/2004 11:17:55 AM
Hi Guys, Does anybody know how to restrict the dates that will be shown in a calendar control? For example, I only would like to display dates between 1 June 2004 to 1 December 2004. Is this possible? Cheers Steve ...more >>

[newbie] Discouraged after reading MS Press "Programming ASP.NET" - Esposito
Posted by JayWay at 1/12/2004 11:05:45 AM
I am new to ASP.NET, and to Web programming in general (I have a lot of experience in Win32/MFC). I'm doing research into which platform to use for an internal Web application. In choosing between ASP.NET/C# and J2EE, I'm a bit discouraged after reading "Programming ASP.NET" by Microsoft Press,...more >>

WebRequest GetResponse getting Internal Server Error
Posted by William F. Robertson, Jr. at 1/12/2004 11:01:20 AM
I am having problems with using the WebRequest object (or HttpWebRequest ). I have created the WebRequest and set the credentials, but when I call GetResponse() it is throwing an internal server error 500 on me. I am running a console app on my sql server that is trying to create a WebReques...more >>

SessionManagement
Posted by Amit Agarwal at 1/12/2004 10:41:29 AM
Hi, this is amit from india. can anyone help regarding effective session management over a webfarm precautions to take,etc. thanks ...more >>

The first application gives server error
Posted by BSL at 1/12/2004 10:36:08 AM
> I'm new to asp.net. Started following a book, I created a FirstApplicatio and when i try to run it on the browser it gives me the following server parse erro ------------ Could not load type FirstApplication.Globa <%@ Application Codebehind="Global.asax.vb" Inherits="FirstApplication.Global"...more >>

Inheritance Error!!! Need help so much
Posted by Hai Nguyen at 1/12/2004 10:24:52 AM
Page 1: private void Page_Load(object sender, System.EventArgs e) { if(!Page.IsPostBack) { //step1.Font.Bold = true; StateList(); string clientIP1 = Request.UserHostAddress; string strServername = Request.ServerVariables["SERVER_NAME"]; string strServerIP = Request.ServerV...more >>

Why Fill creates two datatables in dataset?
Posted by John Sutter at 1/12/2004 10:17:54 AM
The first iteration in the loop in the code below creates two datatables. This is unexpected as I am expecting one called Table0. (The SqlDataAdapter uses a stored procedure which returns a single resultset. dsDF is a variable of a dataset class which has an xsd file) When I checked the tab...more >>

ASP.Net/ADO.Net/VB.Net/Access - need example
Posted by John Howard at 1/12/2004 9:43:02 AM
Where can I find a good explination and example of using VB.Net/ASP.net to browse an MS Access database using ADO.Net? Thanks in advance, John ...more >>

Setup development for IIS
Posted by Hai Nguyen at 1/12/2004 9:41:04 AM
I would like to know if anyone know how to setup a development server for IIS I'm a newbie wanna learn. I prefer any articles, links, guildlines so that I can understand more. ...more >>

Page Timeout
Posted by Scott at 1/12/2004 9:35:39 AM
I have a page that uses a dataset and times-out causing error messages when the user tries to use the dataset after a timeout. How can I either remove the timeout or wrap my code in error code to take them back to the main page when this happens? Scott ...more >>

how to get html from the user control(.ascx)
Posted by srin9 NO[at]SPAM yahoo.com at 1/12/2004 9:30:47 AM
hi I have user control with datagrid and other things,and in page load i am loading the control in to aspx page and iam displaying the page,Now i have a situation where i have to email the result of that page like in html format.i know how to email html page but i dont have any idea how to e...more >>

A StartDocPrinter call was not issued???
Posted by Kyle at 1/12/2004 9:06:05 AM
Can you raise events from ASP.NET code that will be handled by windows such as a print event? Is there a security setting that makes this not allowed. I want to be able to user the PrintPageEventHandler in my code (because its the only way I know how to print). When I run the following cod...more >>

Page_Load subroutine
Posted by Yongsub Eric Shin at 1/12/2004 9:05:43 AM
Hi all. Just one question about Page_Load subroutine I have the following code <script runat="server"> Sub Page_Load if Not Page.IsPostBack then dim mycountries=New ArrayList mycountries.Add("Norway") mycountries.Add("Sweden") mycountries.Add("France") mycountries.Add("Ital...more >>

Invoking another instance of the same application,saving/restoring session state
Posted by usl2222 NO[at]SPAM yahoo.com at 1/12/2004 8:46:48 AM
Hi, I'm building this web application using asp.net and c# as code behind. Currently I save all my session data in session variables. One of the things that this application must do, is to invoke another instance of the same application, with different parameters, of course. Then the seco...more >>

Load form at previous position
Posted by Daniel at 1/12/2004 8:23:16 AM
Hi I have a datagrid on a web form and when a user double clicks on an item they are redirected to a details form. When they click on a link on the details form to return to the original form the form is reloaded and the top of the grid is displayed. I would like the form to be rel...more >>

where can i find the lines of error in Runtime Error Page?
Posted by Yongsub Eric Shin at 1/12/2004 8:20:46 AM
Hi. I'm just a beginner in ASP.Net. I started writing codes and I keep on getting this Runtime Error page, where it says "Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from bein...more >>

Inheritance
Posted by Hai Nguyen at 1/12/2004 8:10:01 AM
I would like to know I have two pages: consider page1, page2. Also, I have code C# behind these two asp.net webforms. I code some methods in page1 and I want page2 inherit what page1 has. I know something has to deal with reference and inherit namespace and such. Please give me a link or keywo...more >>

Request.Querystring
Posted by Steve at 1/12/2004 8:04:35 AM
Hi All, This problem is really annoying me, as I am sure there is a simple solution to it. If I try to read a querystring value in the Page_Load event and that querystring does not exist I get the error: Object reference not set to an instance of an object How do I check if the query...more >>

reuse SQLDataReader in multiple dropdownlists?
Posted by Craig Buchanan at 1/12/2004 8:03:56 AM
I would like to reuse a SQLDataReader that is populated with information as the datasource for multiple dropdownlists. Unfortunately, the first DDL closes the SDR and my code fails on the second DDR. Is there a way to copy/clone the SDR? Is there another solution? Thanks, Craig Buchanan ...more >>

Can't create VS2003 ASP.NET Application, can in VS2002
Posted by Bob at 1/12/2004 7:51:02 AM
I have both VS2002 and VS2003 installed on the same machine and have no problems creating an ASP.NET application in VS2003. When I try to create one in VS2003 I get an "internal server error". If I open Windows Explorer, and create a new folder under C:\Inetpub\wwwroot and then open IIS ...more >>

Hide boundcolumn in grid?
Posted by Kenneth at 1/12/2004 7:27:11 AM
Hi, In a .aspx I have a grid with 8 boundcolumns. In code behind I have two methods and the result from the second method ONLY needs 6 boundcolumns of the 8. Can I make 2 of the boundcolumns invisible? Any suggestions? TIA /Kenneth...more >>

Looking for a freelance developer in Israel
Posted by johannblake NO[at]SPAM yahoo.com at 1/12/2004 4:34:47 AM
We are looking for a freelance software developer in Israel with the following skills (or at least some of them): * Develops web applications using ASP.NET * Database development using Microsoft SQL Server 2000 (or higher) * Programming in either C# or Visual Basic.NET (preferrably C#) * D...more >>

back button
Posted by stephen at 1/12/2004 3:25:46 AM
Is there any way to determine on the client if a page has been loaded by the user clicking on the 'Back' button in internet explorer? Steve...more >>

Posting information
Posted by Raja Balaji R at 1/12/2004 3:23:48 AM
hi I have a page1.aspx which accepts Username, Password which is posted to page2.aspx using a submit button, i want page2.aspx to submit, transfer or redirect the same posted information which was received from page1.aspx to page3.aspx and page3.aspx does the processing. how to transfe...more >>

1.0 and 1.1 .net framework coexistance
Posted by steve at 1/12/2004 2:40:25 AM
A client had an ASP.NET application that was working fully using version 1.0 of the .NET framework until 1.1 of the .NET framework was installed for our ASP.NET application. After this one of the pages fails to connect to the SQ Server database (error like 'The connection string property ...more >>

how loop through various labels' text values
Posted by tony collier at 1/12/2004 2:14:13 AM
hi i have various labels on my page with ID's label_1, label_2 , label_3 etc. How can i write a loop that sequentially changes their text values to values i have in an array eg;. for (i=0;i<max;i++){ label_1.text = labelarray[i] } then on next 2 loops: label_2.text=labelarray[i...more >>

Problem with Pagingsize !
Posted by Ola Myrgart at 1/12/2004 2:09:37 AM
Hi ! I´ve got a problem with the Pagingsize. It works well with a pagesize up to "12" but after that it becomes unstabile and doesn´t work as it should. I can´t find the problem so if there is anyone with some ideas for a solution I would be greatful. OM "Myggan" *** Sent via Developer...more >>

application -vs- session variable newbie problem
Posted by tony collier at 1/12/2004 1:07:34 AM
i have the of the following in my global.asax: void Application_Start(Object Sender, EventArgs e) { Application["appname"]=""; } void Session_Start(Object Sender, EventArgs e) { Session["sessname"]=""; } I then have two pages: session1.aspx ..... void Page_Load(Obje...more >>


DevelopmentNow Blog