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 > march 2005 > threads for tuesday march 29

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

Issue:How to update Server Control(TextBox) from a thread running in code behind in vb.net.
Posted by Jitendra Singh via .NET 247 at 3/29/2005 11:13:40 PM
If I start a thread in code behind and that thread, after the page got loaded, want to update the value in TextBox(Server control or HTML control). It gives no error but value is not shown on the page. Pls Give the solution If 1 know....Thanks... -------------------------------- From: Jitendra S...more >>

Checkboxlist with XML
Posted by me at 3/29/2005 11:07:05 PM
Hello, I have a novice question: How do you populate a checkboxlist with XML data? TIA ...more >>

Request.Form contents are renamed while using masterpage.
Posted by Joseph James at 3/29/2005 10:49:31 PM
Hi all, I am very new to ASP.net. As I was going through new features of asp.net, I came across Masterpage and I tried to use it. But when the form is posted to another page, the key names of the controls are pretended with the masterpage content place holder's name. Is there any way how can I g...more >>

Avoid from being two same application in one machine
Posted by Grey at 3/29/2005 10:49:26 PM
I need to block user from being open two same applications in one machine and control a user can only login the application once. the application would prompt message to inform user that he/she has already been login the application and ask him/her to close the previous session. Is it use Session...more >>

DataGrid, Hyperlink Column Question
Posted by Matthias S. at 3/29/2005 10:39:24 PM
Hi, I've got a DataGrid which is displayed within a CustomerDetails page. The CustomerDetails data (including the data for the grid) is loaded using a QueryString (Item CustomerID) which is passed to this aspx page. The hyperlink column looks like this: <asp:hyperlinkcolumn datanavigate...more >>

Authentification NT et Manipulation HTTP en ASP
Posted by bob at 3/29/2005 10:21:32 PM
1) Authentification NT: En ASP (pas ASP.Net), comment on recupere le login/pwd windows ? On veut automatiquement authentifier un utilisateur d'après son login NT (il a pas besoin de se connecter sur le site, on verifie qu'il a les droits d'apres son login). 2) Manipulation HTTP on va ut...more >>

response.write question
Posted by EMW at 3/29/2005 10:19:59 PM
Hi, When I use Response.Write "something" it is placed at the top op de html document above the <HTML> tag. I need it to be put in the BODY part. How can I do this? rg, Eric ...more >>

HELP: Stylesheets
Posted by Mark at 3/29/2005 9:38:19 PM
There seems to be some randomness about applying stylesheets in VS. If I define... ..main { font-family: 'Microsoft Sans Serif'; } and in my aspx file have <body class="main"> then all it ok. However if I set the color attribute... ..main { font-family: 'Microsoft Sans Serif'; ...more >>



Page_load and function
Posted by Johan at 3/29/2005 9:16:39 PM
Hi, I wonder if a function that I've made and calls with a button is executed before or after the page_load? /Johan ...more >>

is it so tedious to update a record
Posted by ad at 3/29/2005 8:34:10 PM
I found an example in Starter kit. Is it so tedious to update a record. ---------------------------------------------------------------------------- ------------- SqlConnection myConnection = new SqlConnection(ConfigurationSettings.AppSettings["connectionString"]); S...more >>

A basic question
Posted by Rajesh C K R at 3/29/2005 6:03:37 PM
Hi, Why do some always needed to be placed inside a <form runat=server> where as few other dont require that? How do I know if a given control (derived from System.Web.UI.Control or System.Web.UI.WebControls) will work outside <form runat=server> For ex, I can place <asp:Table ...> outsi...more >>

Calling a Forms.UserControl On IE
Posted by Programmer at 3/29/2005 5:41:50 PM
Hi all Well I want to replace my Previous ActiveX Controls on an Intraner Application With new Controls That i have Created On .NET (VB) I have found a sample that is supported only on IE6 byt it doesn't work the Call Of the control is like this <object id=MyControl classid="http:MyDLLNa...more >>

Make a postback without using Javascript
Posted by Alfonso at 3/29/2005 4:38:59 PM
Hi: I have done a page using Asp.net with a searcher and a contact form. My problem is that it must work in navigators without javascript, and when I run de web in those navigators I have no postback by linkbuttons or postback in buttons redirects me to a blank page. Does anyo...more >>

Please Help: Posting and redirecting to another form.
Posted by Denise at 3/29/2005 4:33:02 PM
I have posted a similar message in 2 other forums but got no response. I have spent more hours than I can count researching this. Can anyone provide some insight...? Our ASP.Net application needs to transparently log a user on to a separate secure web site (PHP - not controlled by us). ...more >>

ListBox addition problems
Posted by Jim Ellsworth via DotNetMonster.com at 3/29/2005 4:27:03 PM
hi, I have a listbox called lstItems, and I want to add up all the items in the listbox together into one sum variable. Thanks, Jim -- Message posted via http://www.dotnetmonster.com...more >>

Posting two times
Posted by Vadivel Kumar at 3/29/2005 4:18:43 PM
I have a webform and in its load event, i'm binding values taken from the database in more than one data list which is embedded in a placeholder. When, debug the code it seems the page_load event called two times while loading the page. I have pasted the code below. Plz help me. Vadiv...more >>

Paging (SQL) without the datagrid in ASP.NET?
Posted by Phin at 3/29/2005 4:17:44 PM
Hi, I am able to display data and "page it" using the data grid. I don't want the overhead and I need to format the data in a easy way. How can you do paging in ASP.NET (using VB) without the datagrid (so the data is displayed in HTML tables with hyperlinks to the next "page" of data and th...more >>

Frames and cookies in IE
Posted by jonhyland NO[at]SPAM hotmail.com at 3/29/2005 4:10:20 PM
I've been having a problem retrieving a cookie set in a frame. The way the page works, I have a frameset covering the entire viewable area. The outer frame is from one domain, the inner frame is another (don't bother asking why.. I just need to). Lets say the outer frame loads "http://www.d...more >>

HtmlInputFile during postback..
Posted by newmem at 3/29/2005 4:07:51 PM
Hi In the webform, if a use selects a file to upload and submits the form. But if page validation fails, the HtmlInputFile loses the filename string and the user has to re-select the file using the browse button. Is there any way to persist the postedFile.filename during postback? Apprec...more >>

how to get updated template column value from datagrid
Posted by headbig003 NO[at]SPAM gmail.com at 3/29/2005 3:52:36 PM
Hello I put template column in datagrid. Below is the html code I used. <asp:datagrid id="dgAnswer" runat="server" Width="360px" AutoGenerateColumns="False" DataKeyField="ansID"> <Columns> <asp:TemplateColumn HeaderText="Answer Text"> <ItemTemplate> <asp:TextBox id="txtItem" runat="serv...more >>

Multiple ValidationSummary controls.
Posted by Ken Varn at 3/29/2005 3:47:32 PM
If a page has multiple ValidationSummary controls, how does it distinguish which ValidationControls are associated with which ValidationSummary controls? The reason I am asking this is that I want to display a Message Box for the validation message on my Validation controls. My validation con...more >>

Determining the Better Approach of Transaction in n-tier Application Model and where Transactions are maintained
Posted by msnews.microsoft.com at 3/29/2005 3:35:06 PM
Hello, I have the scenario. I m building an application either in asp.net or = window application. This application is base on n-tier application = model. Let us take example of Northwind Database in SQL SERVER. i build an asp.net page. On that page i place the grid with one template = colum...more >>

Where is the best place to put the connection string
Posted by Fernando Lopes at 3/29/2005 3:33:17 PM
Hi there. In your opinion, where is the best place to put the connection string of a web application? Web.config, a constant into the code? I'm not using a component server, so it's not an option, ok? Tks. Fernando ...more >>

Resources have the same manifest resource name
Posted by Tom wilson at 3/29/2005 3:27:51 PM
Resources 'Beneficiary.aspx.resx' and 'OveraAge.aspx.resx' have the same manifest resource name 'Enroll.Beneficiary.resources'. Umm... what's this mean? The first two are aspx page resource files. I don't know what Enroll.Beneficiary.resources is, I don't have a page by that name. The entire...more >>

ASP.NET -> Database
Posted by Davy Marichael at 3/29/2005 3:08:02 PM
Hi, i'm having problems with the insert command in .NET The Select statement works perfectly, but insert.. He gives an error when he executes the command: ExecuteNonQuery() I'm working with access 2000, and there are no passwd/users to access the db.. The error is: Couldn't find database,...more >>

adding a new row to the repeater control
Posted by buran at 3/29/2005 3:01:26 PM
Dear ASP.NET Programmers, Here's my problem: I have a page (as usual :), in which I'm going to = display invoices in a repeater control. I am binding data to the = repeater control (ID: repHospCosts) without any problems. I have also a = button on the page, I am going to add a new datarow prog...more >>

Calendar popup - using ASP textbox instead of HTML textbox
Posted by Chris at 3/29/2005 2:45:02 PM
I am trying to use a calendar popup to populate a date in a textbox. I am using the example described in this article: http://aspnet.4guysfromrolla.com/articles/030202-1.aspx However, this article uses a regular HTML input box, and I need to use an ASP Web control textbox. When the latte...more >>

Simple problem
Posted by Steven at 3/29/2005 2:29:27 PM
Hello, First, let me state that I am trying to learn asp.net, so I am a beginner. Now on to the issue. I have a webform with a single Textbox and a FileSystemWatcher monitoring a directory for OnCreate events. I am trying to change the text in response to an OnCreate event. I would like to ...more >>

dynamically creating controls, validators, using autopost back
Posted by LU at 3/29/2005 2:09:02 PM
I query database, QuestionID | QuestionName | QuestionType 1 | FirstName | TextBox 2 | LastName | TextBox Loop Create TextBox Create RequiredFieldValidator Here is my problem. If user enters LastName, then FirstName is required. I can get...more >>

URL Rewriting breaking Output Caching
Posted by R-D-C at 3/29/2005 1:59:58 PM
Can these two functions coexist? We have a web site where the querystrings are removed using URL Rewriting. Instead the page appears to be a html page with a long name (containing what would be in the querystring). I have tried switching on output caching and varying by a parameter and usin...more >>

menu item user control
Posted by bill yeager at 3/29/2005 1:33:28 PM
I'm trying to create a user control which will act as a menu list for users to click on. All the user control consists of is a panel, a table within the panel, 1 tablerow and multiple table cells for a horizontal look. However, the tablecells inside the usercontrol cannot be found ("Object...more >>

Self teaching, cannot lock database file
Posted by Michael Powell at 3/29/2005 1:31:42 PM
Hi, I have been teaching myself C# and ASP, i wrote a sign-in and register program to teach myself the use of SQL and databases using C# as the development language. Yesterday my little program worked a treat (except for the lack of error handling), i came back to it today to complete it, an...more >>

Create 2 instance with the same name
Posted by Islam Elkhayat at 3/29/2005 1:28:14 PM
I have to 2 Data classes have the same methods with defferent implemention which work with 2 tables in the database.. I want to chnge the instance referance depend on if condition or switch case.. like this... myclass.AddRow() where my class can be instance of Categories or Employees so i ...more >>

File Loading
Posted by jack-b NO[at]SPAM humlog.com at 3/29/2005 1:24:21 PM
Hi, I'm wanting to email a file from a fixed location (c:\temp\file.doc). This sounds easy but I'm having a few problems! I have no problem when using a HtmlInputFile control but I'm wanting to just pick up the file programmically without user intervention. Thanks, Jack...more >>

Losing Session state after redirect to a different folder
Posted by scott_shuster NO[at]SPAM yahoo.com at 3/29/2005 12:26:38 PM
Hi, I need to preserve state as I'm Response.Redirecting to a page in a subfolder elsewhere in my web. However, everytime I redirect, my session vars are cleared out. Are Session variables not persistent to redirects on pages in different folders? Scott ...more >>

Create Instance
Posted by Islam Elkhayat at 3/29/2005 12:18:23 PM
I have to 2 Data classes have the same methods with defferent implemention which work with 2 tables in the database.. I want to chnge the instance referance depend on if condition or switch case.. like this... myclass.AddRow() where my class can be instance of Categories or Employees so ...more >>

retrieve item dataset/dataview
Posted by enrique at 3/29/2005 11:55:03 AM
Hello, I simpy want to place a record ID into a session variable. I know how to create session variables, I'm just can't figure out the syntax for the record item when I'm working with a dataset. I'm using vb. session(sessionName) = recordID 'from dataset or dataview Thanks, Enrique ...more >>

Visual Tools
Posted by GMK at 3/29/2005 11:41:44 AM
Dear all Does anyone of you use the visual studio visual tool to develop his application specailly while working on the interface with the SQL server Database? my problem is that i'm forced to use them and i'm facing a problem in the databindings. the problem is that i have to bind the same ...more >>

Alternatives to ActivePDF?
Posted by darrel at 3/29/2005 11:04:28 AM
Are there any real alternatives to ActivePDF? We've have a version (might be a bit outdated) that we've used off and on, but it's reliability seemed sporadic at best. (but, maybe that was the way the software was installed/maintained on our end...) What we'd like to do is have some sort of sof...more >>

Any handy components/controls for an asp.net CMS?
Posted by darrel at 3/29/2005 11:00:37 AM
Our boss said we have some end-of-year budget surplus is encouraging us to purchase any components/controls/etc. that we feel will add benefit to our CMS we have been building in house. We've purchased DTSearch for searching. I'm looking at getting Xstandard for our text area replacement for e...more >>

Close the browser
Posted by Randy at 3/29/2005 10:48:13 AM
Hello, I'm trying to find a way to close the browser with out the IE security message "The Web page you are viewing is trying to close the window." message. I know how to close the browser using Javascript (window.close()) but I would not like to get this message. Is there a way to close it ...more >>

Resize aspx on lunch?
Posted by Jensen bredal at 3/29/2005 10:42:07 AM
Hello, I need to hide the toolbar of my aspx page and resize it on start up? How can this be done? Many thanks in advance JB ...more >>

Path problems with an ascx file
Posted by tshad at 3/29/2005 10:21:41 AM
I have an ascx file I am using to include my logos and heading information for all my pages. It was working fine up until now. I decided to set up an admin folder inside of my main folder and move one of my files into it - now my links don't work. I have a setup: development im...more >>

ASP .NET Users Desktop Themes
Posted by Dianna at 3/29/2005 9:53:04 AM
I am writing an ASP .NET application. Controls such as Listbox and combo box pick up the Users Themes from there PC and display selected items using such selected highlight colors. I have a table which the user can scroll through and also has mousein - mouseout events which changes the ...more >>

javascript popup window not being shown
Posted by HelpSeeker at 3/29/2005 9:13:03 AM
Hi friends, I was writing an application to test how I could access web server control in the client side javascript. I am trying to create a popup which would contain the value of the button control. The code i wrote is as follows. the aspx file <code> <%@ Page language="c#" Codebehind=...more >>

Question concerning Application_Start event
Posted by Joel Zinn at 3/29/2005 8:36:48 AM
I have a wierd situation occurring. I have some code in my Application_Start method in the Global.asax. That code logs some startup info. My understading was that this event would only fire when the App started, due to server reboot, web.config change, or manual start/restart of either th...more >>

After upgrading, error 403.1
Posted by Shawn at 3/29/2005 7:50:21 AM
After upgrading to IIS 6.0 /Windows Server 2003 Standard Ed, I get the following error message for regular .asp pages. How can I fix this? HTTP Error 403 403.1 Forbidden: Execute Access Forbidden This error can be caused if you try to execute a CGI, ISAPI, or other executable program f...more >>

Font size question
Posted by Brad at 3/29/2005 7:48:35 AM
Is there a way to make the font in a label larger than XX-Large? Thanks for the help. Brad ...more >>

Newbie questions about Printers
Posted by moflaherty at 3/29/2005 7:43:02 AM
I am not sure if this is possible. I have a scenario where I am using SQL Server Reporting Services to render HTML reports. No problems there. Now it is time to print. So simplify my questions, assume I have an HTML page displayed. Using the Javascript print is my last resort; I would prefer ...more >>

Problem with validation controls in live environment
Posted by charliewest at 3/29/2005 7:27:07 AM
In my development environment, the validation controls work fine. (Incidentally, i am using almost all of them). However, when i deploy my ASP.NET application to the live production environment, using VS .NET's "Copy Project" feature, which copys only the files necessary to run on another ma...more >>

newbie error
Posted by Mike D at 3/29/2005 7:23:08 AM
I am trying to run a simple page and get this error: Server Error in '/FSTEST' Application -------------------------------------------------------------------------------- Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please r...more >>

Form data to DLL function
Posted by NewEnglandCamper NO[at]SPAM aol.com at 3/29/2005 7:11:32 AM
Another ASP.NET (using C#) Newbie here. I need to pass form data from my ASP.NET generated page to a C# library (which I'm am also writing). I've tried using HTTPRequest without no success. What is the best approach to complete this? Any sample code? Any ideas? The code is restricted so I...more >>

finding previous page
Posted by venky at 3/29/2005 6:57:39 AM
Hi, I have a question regarding page navigation. See i have a page called page1.aspx and page2.aspx. On some event in the both the pages the page get transfered to page3.aspx using Server.Transfer method. One i i hit the update button in the page3, i want to go back to the previous page ...more >>

HTTPWebRequest and 302 redirection
Posted by PunX at 3/29/2005 6:49:06 AM
Sorry for the multipost but I need immediate solution to my problem: I am trying to access an ASP.NET web site programmatically. I use HttpWebRequest and HttpWebResponse classes. Everything goes well until I come to a page that sends me a 302 Found response. I need to get Location header fr...more >>

accessing Input text values from my code behind
Posted by Ali at 3/29/2005 6:45:06 AM
I have 3 html input tex in my asp.net form. Two of them are calling javascript client side to calculate the differnce of two dates and put the result into the third input text. i haven't include runat=server in those input texts. it works fine with me and i get the result in the third input ...more >>

aspnet_wp takes a lot of memory even after appdomain restarted
Posted by Ran Davidovitz at 3/29/2005 6:23:01 AM
Hi. We have a computer that has only one virtual directory (webservice) - when working with the webservice the memory consumption of the aspnet_wp is going to an avg of 320 mg. 140 mg of that is cached objects. when I edit the web.config the appdomain is restarted and i see that the mem...more >>

ASP.NET textbox control is not geting refreshed..
Posted by Jitendra Singh via .NET 247 at 3/29/2005 4:17:09 AM
I have created a thread in code behind(vb=2Enet) in ASP=2ENET=2E This= thread puts some value in the textbox(server control) on some= event when page is already loaded=2E But this value is not being= shown or getting refreshed in the corresponding textbox in the= page(no error comes)=2E -...more >>

Cookie not found in Request.Cookies collection
Posted by Miljana at 3/29/2005 3:31:02 AM
Hi, I have one problem with cookies in ASP.NET application. It seems that I can not retreive cookie from Request.Cookies collection. I put cookie in Response.Cookies collection, and after page post back, when I try to retreive it from Request.Cookies collection, it appears that it does no...more >>

User validates to local server when NTLM authentication is used and browser is firefox
Posted by Buddy Ackerman at 3/29/2005 1:51:37 AM
If my web site is setup for NTLM authentication and the user is using IE the context.user.identity.name property is the domain user that is currently logged into the local client workstation. Wehen the user is using FireFox the user is presented with a login dialog box and that login info is va...more >>

reading xml using datareader
Posted by Red at 3/29/2005 1:36:50 AM
How to read cml from datareader thanks...more >>


DevelopmentNow Blog