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 > february 2005 > threads for thursday february 17

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

IE web control not supported any more?
Posted by Shelby at 2/17/2005 11:47:02 PM
We have been using IE web control from the very begining, it works fine with ..Net framework 1.0 or 1.1 on windows xp and 2000 with IIS 5. But now we keep having problem when we move to windows 2003 with II6. And we noticed some discussion about Microsoft not support IE web control any mo...more >>

Select a "range" of rows
Posted by Bruno at 2/17/2005 11:41:38 PM
Hello, I am having problem with a query, the query returns more than 6000 rows and it takes a LONG time since the sql server is not local, so I would like to use paging, but I would need to query for example, the first 100 rows, and then from 101 to 200, 201 t o300 and so on.... is there a...more >>

Uploading Multiple Files
Posted by Johnson at 2/17/2005 11:18:25 PM
I'd like to enable users to upload more than one file at a time. What are my options? Thanks! ...more >>

Limiting Uploaded File Size
Posted by Johnson at 2/17/2005 11:16:36 PM
I understand that setting maxRequestLength in Web.config will allow me to limit the size of file users upload to an ASP.NET Web site. Questions: 1. What happens when the user attempts to upload a file that is larger than the max that I specify via maxRequestLength? Is there some exception I ...more >>

Wrong language displayed when using ResourceManager
Posted by Peter at 2/17/2005 11:15:05 PM
Hi! I'm developing components (webparts) for a sharepoint site and are currently having some problems with the resource manager. The site supports two languages (English and Swedish) and when the files are published everything works fine. However, after a few days, suddenly all texts are di...more >>

how do I force HttpApplication.Application to restart
Posted by Pint at 2/17/2005 10:52:19 PM
I would like to know if there is a programatic way to force the Application object to restart. I have a hosted website where I will be unable to control the webserver (eg:iisreset), and I would like to be able to trap certain events and cause the entire application to reload. Thanks in advanc...more >>

refresh dropdown after delete
Posted by Andy Sutorius at 2/17/2005 10:38:10 PM
Hi, I have a page with db populated drop down and a delete button. I select the user and click the delete button and the user is deleted. I would like for the drop down to be refreshed/updated. How can I do this? Andy ...more >>

radiobutton
Posted by Gerald at 2/17/2005 10:22:22 PM
Hi, I'm struggling to create a radiobutton list in asp.net c#. I dont want any formatting like the radiobuttonlist do. How can I create checkbox that uses runat server and dont have any formatting. I want to add a radiobutton then anything, then another radiobutton from that group but n...more >>



EditItem Template
Posted by Jim Heavey at 2/17/2005 8:55:02 PM
I want to populated the list items which will appear in a dropdown list when the user click on a row in my datagrid. I used the DataBinding Event and populate the drop down and set the index to the appropriate value within that drop down. Now when the user presses the"Update" button when edi...more >>

Dynamically created Datagrids data lost on Postback
Posted by ree32 NO[at]SPAM hotmail.com at 2/17/2005 7:21:48 PM
I have a placeholder and depending on a user input(a drop downlist) when the user clicks a button I dynamically create a number of datagrids and fill them with data from a database. But the problem is that on a postback I lose all the datagrids and their data. I have looked at numerous pages o...more >>

Dynamically created Datagrids data lost on Postback
Posted by ree32 NO[at]SPAM hotmail.com at 2/17/2005 7:21:32 PM
I have a placeholder and depending on a user input(a drop downlist) when the user clicks a button I dynamically create a number of datagrids and fill them with data from a database. But the problem is that on a postback I lose all the datagrids and their data. I have looked at numerous pages o...more >>

Optimizing ViewState
Posted by Ben Fidge at 2/17/2005 7:11:38 PM
Does anyone know any tricks for reducing the size of the ViewState? Kind regards Ben ...more >>

Regular Expression Validator
Posted by Yoshitha at 2/17/2005 6:53:04 PM
Hi, In my application am using RegularExpression Validator Controls for some text boxes. how to set validExpression for the following ones 1. T1 should accept character data only,it doesnt allow to enter special characters,digits and ,<,>,?,",., etc i have set the property lik...more >>

Problem displaying a database image on a web form
Posted by Jeronimo Bertran at 2/17/2005 5:36:01 PM
Hello, I am using a rendering aspx page to display a database image on an Image control. When the database record is retrieved, I am saving the bitmap to a session variable for the rendering aspx to load. Here is the code on the rendering page: CODE FOR ImageForm.aspx private voi...more >>

Template column problem when adding datagrid via code
Posted by RN at 2/17/2005 5:04:49 PM
Hi. I used this article to add a template column to a datagrid that is entirely created with code: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vbtskcreatingtemplatesprogrammaticallyindatagridcontrol.asp It works fine except for one thing. My template column n...more >>

dropdownlist in datagrind - selected index problem
Posted by wolfgang wagner at 2/17/2005 4:31:12 PM
hi all! after successfully integrating a dropdownlist in my datagrid i have another problem: i cannot set the selected index of the dropdownlistbox. here is my code: hardware.aspx ------------- <asp:TemplateColumn HeaderText="Rechnertyp"> <ItemTemplate> ...more >>

object persistence
Posted by Jo Inferis at 2/17/2005 4:15:49 PM
So, I'm using a 3rd party com object via interop (already I can hear screams of anguish). This object was originally written to be used as the backend for multiple screens of a VB application. Now in this situation the object remains in memory the whole time, so persistence of data between screen...more >>

Embedding Windows/smart client controls in a Web Controls page
Posted by Martin Eyles at 2/17/2005 4:10:58 PM
I would like to embed a windows controls or smart client controls in a web page, in a similar way to which a java applet or a flash applet or an active x control is embedded. I read something somewhere about compiling the control to a dll, and then putting this dll in the web server directory, an...more >>

How to validate with two separate "forms" on the page?
Posted by Alan Silver at 2/17/2005 4:05:19 PM
Hello, I have a page that displays a data list with info from a database. The grid has the usual stuff, edit, update, delete etc. Below this I have a section where they can add a new entry to the list. This has some text boxes for the data, and a button to click when they are ready to submi...more >>

Read XML from application variable instead of file
Posted by gn NO[at]SPAM dana.ucc.nau.edu at 2/17/2005 4:01:08 PM
Due to the production servers being a multiple server farm and not being able to write xml files to them, I am having to change my application to write to HttpContext.Current.Application("var") I have succeeding in doing this part, my problem is now how to read them. I kinda hoped that I would b...more >>

How do I allow them to choose a date WITHOUT a postback?
Posted by Alan Silver at 2/17/2005 3:57:33 PM
Hello, I have an app where the user needs to fill in details about an event, including the date and time of the event. I want a clean way to allow them to pick the date and time. In the old days (ASP Classic), I would have used three comboboxes for the date, one for the day, one for the m...more >>

timing out the asp.net web application when not in use for 15 minutes
Posted by enahar at 2/17/2005 3:53:18 PM
Hi, How to timing out the asp.net web application when not in use for 15 minutes although I am using the code in web.config file as below: <authentication mode="Forms"> <forms loginUrl="Security/Login.aspx" protection="All" timeout="20" path="/" /> </authentication> Thanks ...more >>

webcontrol in a radiobuttonlist
Posted by Fabio R. at 2/17/2005 3:52:16 PM
How can I insert a webcontrol in a radiobuttonlist listitem? If I use: <asp:RadioButtonList id="rbl" runat="server" RepeatLayout="Flow"> <asp:ListItem Value="1" Selected="True">text1</asp:ListItem> <asp:ListItem Value="2">text2</asp:ListItem> <asp:ListItem Value="3"><asp:button id="btn" ru...more >>

Override Session Timeout
Posted by bdeviled at 2/17/2005 3:51:03 PM
I am deploying to a web environment that uses load balancing and to insure that sessions persist across servers, the environment uses SQL to manage sessions. The machine.config file determines how all applications will use sessions and to insure that all application use this method, the sessi...more >>

How To: make the datalist scroll to the cell being edited?
Posted by Alan Silver at 2/17/2005 3:27:09 PM
Hello, I have a datalist which I am using to view and modify some data. When the user clicks the "edit" link, the appropriate cell is moved into edit mode, as specified in the EditTemplate. The problem is that if the data table is longer than the browser window, so the user has to scroll...more >>

exception raised for valid variable declaration?
Posted by Carlos at 2/17/2005 3:14:54 PM
Hi all, I do get the following exception when trying to create a new data row in one of my tables: System.Data.SqlClient.SqlException: Must declare the variable '@cAttend' I have the following code:, which deckares the variable within the scope of the execution, so I am kind of ...more >>

Add Existing .xsd File
Posted by G Dean Blake at 2/17/2005 2:53:38 PM
If I add an existing .aspx file in another project to a new project, everything works fine except that it doesn't bring along the .xsd datasets. So then if I add existing .xsd file to my new project, it doesn't bring along the associated .vb file for the dataset. So then if I add eisting da...more >>

Template?
Posted by Arsalan at 2/17/2005 2:51:36 PM
How do I make template, for e.g header & footer that will be consistent on all the pages in my application ? Is it possible to load header from other files? ...more >>

Global.asa, AcquireRequestState and Session
Posted by Raghu at 2/17/2005 2:43:50 PM
The global.asax page can have an event handler for AcquireRequestState. This is where a session can be accessed for the first time before the control ends up in the target page itself. However if the target page has its EnableSession property set to false, then the Session property can not be ...more >>

Help with popup
Posted by Chris at 2/17/2005 2:29:06 PM
Hi, I am loading a popup from my parent page when an image is clicked. How can I now pass a value from a textbox to the popup page. Currently this is how I am calling the popup from parent page <A href="javascript:GetInfo(txtRetVal', true)"><IMG height="16" src="images/lookup.gif" width="1...more >>

datatgrid Event Not firing
Posted by siaj at 2/17/2005 2:29:05 PM
Hello I hv a datagrid in my ASP.NET page. I hv a edit column The edit command gets fired(even if i dont add ONEditcommand in HTML code) but the cancel/update command does not gets fired although I hv code for Onedit/cancle/update (It always goes to Edit commnad event) My Codebehind is as : ...more >>

System.ComponentModel.Win32Exception: Access is denied
Posted by Paul at 2/17/2005 2:27:04 PM
Hi trying to write to the windows event log with a asp.net web app and am getting the error System.ComponentModel.Win32Exception: Access is denied I am using forms authentication, checking username and password with tables in a database. <authentication mode="Forms" /> The event log newlo...more >>

Q: update dropdown list
Posted by JIM.H. at 2/17/2005 1:53:02 PM
Hello, I have a dropdown list, updated through a dataset. After bind, I use this to add extra item to my dropdown list. myDropDownList.Items.Add(“Item1”), I can remove that by using myDropDownList.Items.Remove(“Item1”), If I try to remove something coming from dataset, it seems I coul...more >>

aspnet worker recycle question.
Posted by ashish at 2/17/2005 1:45:52 PM
I was wondering that when the aspnet worker process gets recycled, would it call Application_end of all the appdomains loaded. I have a problem where i have a state between commiting some value to the database, and i want to make sure that the state gets completed or rolled back, so i was t...more >>

Creating links based on docs in a directory
Posted by Stephen Zachmann at 2/17/2005 1:31:01 PM
Ok, I want to have a directory full of pdf files and a page that creates links to them dynamically so that if I add 10 docs or subtract 7 or whatever, they will be added or removed the next time the page is rendered. How do I go about searching a directory and then creating links based on the...more >>

RedirectFromLoginPage never returns to original page
Posted by Edward Mitchell at 2/17/2005 1:26:43 PM
I have a main project that is protected in that the user is directed to a login.aspx file. The text in the web.config file is: <authentication mode="Forms"> <forms loginUrl="Login.aspx" /> </authentication> <authorization> <deny users="?" /> <!--deny unauth...more >>

Access Client Side Environmental Variables
Posted by Steven at 2/17/2005 1:19:05 PM
I have an asp.net application written in VB.net. I want to access a client side environment variable. For instance, we set an environment variable for the UserName. So, I write the code for retrieving the UserName. Instead of getting my name, I get the name under which the IIS service m...more >>

Controlling a dropdown list from a separate user control
Posted by Iams at 2/17/2005 1:14:17 PM
I have one form, with 2 user controls. How can I get the procedures on uc2 to modify a drop down list on uc1? I tried various versious of this in uc2: uc1.ddl.SelectedIndex = uc1.ddl.Items.IndexOf(uc1.ddl.Items.FindByValue(Session("ContactID"))) The end result being a user selects somethin...more >>

Redirecting a request while also submitting Windows-Token
Posted by Manfred Bauer at 2/17/2005 12:53:32 PM
Dear all, I have written an ASP.NET application using NT-Authentfication against an Active Directory domain. Users that are logged on have access to an Outlook Web Access site, also using NT-Authentfication (and running on the same machine). Because OWA is implemented as website (not virtual f...more >>

Why some web controls do not have ID property?
Posted by John Dalberg at 2/17/2005 12:38:43 PM
I am trying to attach a javascript to a ButtonColumn in each row in a datagrid but the buttoncolumn doesn't have a ID property. Is there a way to use a function similar to findcontrol where I find the buttoncolumns in the code behind? I am trying to avoid the syntax below because it's ...more >>

ASP.NET - Local Folder / Directory Browser
Posted by webbertsolutions NO[at]SPAM newsgroups.nospam at 2/17/2005 12:26:46 PM
I am looking for something that works like <INPUT id="fileUpload" type="file" runat="server"> but will only accept a directory/folder as input. For clarity... Click on button Navigate to some directory Click OK The fully qualified path of the directory selected is returned into a tex...more >>

Data Grid Events
Posted by Jim Heavey at 2/17/2005 12:19:04 PM
When the user presses the "Edit" link on the data grid, one of the fields is a drop down list. I need to build this list at run time and I was using the "DataBound" envent to populate the items in the dropdown. The problem is that when the user makes a selection from the dropdown box, it g...more >>

Need to skip field in tab order
Posted by Bill Borg at 2/17/2005 12:09:04 PM
Hello, I would like to skip over a hyperlink in the tab order. The link is not that important, and I don't mind that they have to click to get it. I have tried OnFocus="this.blur();" on the link, which works, but the focus does not move to the *next* field (per the docs it's indeterminate ...more >>

newbie -- forms authentication
Posted by Dan at 2/17/2005 12:08:23 PM
Hello, I'm experimenting with VS2003 and ASP.NET and I have an issue with forms authentication: I have created a VS solution and added to it a new web application project; then I added some dummy pages to the project. Now I'd like to protect an administrative section of this dummy website, so ...more >>

Redirect instantaneously & continue processing page
Posted by CK at 2/17/2005 12:07:32 PM
I have a web page called PageOne.aspx which is supposed to do a long process but I don't need to show any results to the client, so I want to redirect the client to PageTwo.aspx right in the beginning of the Page_Load and then continue with the long process. So I've tried using Response.Redire...more >>

Wierd browser issue with ASPX
Posted by VB Programmer at 2/17/2005 11:56:50 AM
I have a ASPX login page that works fine on most pcs. One of my clients has trouble with this page. He's tried both IE and Crazy Browser (based on IE) and whenever he hit's "submit" it refreshes the page and doesn't log him in. It works fine in Firefox. Any ideas? ...more >>

Reading Web.config
Posted by siaj at 2/17/2005 11:49:02 AM
Hello, I want to Read the value of the debug option from the Web.config file in My ASP.NEt application. The Section is <compilation defaultLanguage="vb" debug="true" /> Can someone help me with a code snippet. I know to read from the appsetting section of the Web.config. I basically want t...more >>

left(string, length) or right(string, length)?
Posted by Sam at 2/17/2005 11:44:46 AM
I want to divide character into 2 section. Example, 200412 divided into 2004 in A block and 12 in B block. Please advise how to use left(string, length) or right(string, length) = for above request. Many thanks in advance....more >>

Excel vs. Office Web Components
Posted by DC Gringo at 2/17/2005 11:41:29 AM
Allison (or others), thank you for the advice...a few more questions: - I have tested on my workstation on Excel XP and my application references the Excel 10.0 Object Library. I was told the server has the "Office 2003" components which I'm assuming is OWC11. How do my imports, declarations ...more >>

HOWTO: Dynamically Add CustomValidator Control To Validation Summary
Posted by Dan Sikorsky at 2/17/2005 11:28:09 AM
I'm getting the following message when I try to add a CustomValidator control to the ValidationSummary to display an error message at runtime, and displaying ex.message in AddValidationControl shows: A control cannot modify its parents' control collections. Here is the code: Pri...more >>

Database Login Fail - Weird Problem
Posted by Mythran at 2/17/2005 11:27:25 AM
I keep getting the exception, "Cannot open database requested in login 'dbblah'. Login fails. Login failed for 'domain\user'". I have ASPNET setup as the user in IIS, identity impersonate is true in the web.config file. The IUSR and ASPNET identities have read and execute permissions for t...more >>

Help! aspnet_wp not working after patching kb886903/kb886906!
Posted by Edward Yang at 2/17/2005 11:25:36 AM
It's weird. After patching kb886903/kb886906 (the hotfixes for the Frameworks) via Windows Update, all ASP.NET applications stop working. I looked through Event Viewer and found this: aspnet_wp.exe could not be launched because the username and/or password supplied in the processModel secti...more >>

Q: read number from a string
Posted by JIM.H. at 2/17/2005 11:17:02 AM
Hello, I have TEST_1_str1, TEST_100_str2, TEST_1010_str3, TEST is fixed, how could you read 1, 100, 1010 between _ from these kind of strings? Thanks, Jim. ...more >>

Exporting a Datagrid
Posted by Steve Caliendo at 2/17/2005 11:13:32 AM
Hi, Is there a way (without parsing and writing the file myself) to export the contents of a datagrid to a .txt or .csv file? I have a datagrid that contains information people would like to use in Excel. Is there an easy way to do this? Thanks for any help, Steve ...more >>

Printing from ASP .NET page
Posted by Nancy Kafer at 2/17/2005 11:02:10 AM
I have a simple test application (one execute button) that opens an Excel spreadsheet and then attempts to print the worksheet to a network printer. When the application attempts to print the worksheet I receive the message: "No printers are installed. To install a printer, point to Settings......more >>

How does ASP.NET find code-behind DLLs
Posted by Chris Durkin at 2/17/2005 10:48:48 AM
I've got an ASP.NET website on my local box, set to compile to bin\Debug and bin\Release in debug and release modes. Both directories are populated with dlls, as the solution has been compiled in both modes. When I browse to the local website, it works, but which set of dlls is it using? What ha...more >>

ASPState DB - Good/Bad?
Posted by K-Dub at 2/17/2005 10:38:28 AM
Can anyone share any "gotchas" that they may have run into using the ASPState DB that you can create from the ASP.NET sql script? ...more >>

Showing folder size of users folders: Authentication(!)
Posted by Mark at 2/17/2005 10:33:22 AM
Hi everyone, I have to write an ASP.NET page that given a path to a folder on server shows the size of the folder. The path is in the format \\ServerName\folder\username\ I have written some code which calculates the size of the folder and it works fine. The problem I am having is that I rec...more >>

Read\update xml file
Posted by siaj at 2/17/2005 10:33:07 AM
Hi.. I m just trying to learn using XML file as a datastore. I am reading a dataset from a XML file and then trying to update the XML file with some changes in the dataset. My code is as follwoing. Private Sub ReadUpdateData() Dim dsUser As New DataSet dsUser.ReadXml(Server.MapPath...more >>

Which is the best implementation??
Posted by Stelios Skiathitis at 2/17/2005 10:29:17 AM
In ASP.NET I want to create a form for authenticating a user to enter in a local intranet site. I want the user to have the option of selecting two different authentication modes. The first using windows authentication form where the user will be authenticated through his current login user...more >>

SQL Char compare
Posted by Lam at 2/17/2005 10:26:40 AM
hi I using C# to write a ASP.NET page and I need to compare a string variable to a Char field in the SQL table in SQL Server 2000 how can I write a SQL statement to do that?\ I try to use "SELECT Name from Employee Where pass="+password it shows me an "Invalid column name error" How ca...more >>

Need help for submission of aspx page
Posted by msnews.microsoft.com at 2/17/2005 10:16:55 AM
Hi Every Body, I need help in the scenario. My Scenario is that I want to sumbmit aspx = page to another aspx page. That is I want that when the user click on = the button then the page is submitted to another page...more >>

use of MySQLConnection.dispose and/or MySQLCommand.dispose
Posted by Antonio Concepcion at 2/17/2005 9:57:15 AM
Hi! After you close the SQL Connection using MySQLConnection.Close Do you still need to do a dispose as in: MySQLConnection.Dispose and also MySQLCommand.Dispose? Is this good practice? Thanks Antonio Concepcion ...more >>

Validator Control
Posted by Yoshitha at 2/17/2005 9:57:05 AM
Hi, In my webform i have few text box controls and 1 button control. and for each text box i have placed required field validatior. and i set the following properties of required field validator Control to validate = the corresponding text box name display=dynamic error message=mu...more >>

How to Check
Posted by Yoshitha at 2/17/2005 9:55:59 AM
In my webform i have 2 textbox controls and one button control. in 1st textbox control i'll enter email id when it lost its focus i've tocheck whether the entered email id exist in database or not, if exists it has to dispay message that email id already exist and i want to se...more >>

"The resource cannot be found" error accessing a .aspx file
Posted by Steve M at 2/17/2005 9:47:10 AM
I am having a really strange problem. I have a site setup in a virtual directory that fails with the error below. It works on other web servers that are network load balanced with this server. I can go right to the default.aspx right in the ISS Manager and right-click browse and the error sti...more >>

IE won't maintain page state
Posted by Tom wilson at 2/17/2005 9:41:07 AM
Yes, I'm sorry, it's me again. :) Yesterday I went through hell trying to figure out why my aspx pages wouldn't maintain state. I had a simple example I (we) eventually got to work. What I've discovered is that my problem seems to lie entirely with IE. A bit of history... My app is an o...more >>

Auto Save user's work every 15 minutes
Posted by Michelle at 2/17/2005 9:35:23 AM
Hi All, I have an ASP.NET application with a session timeout of 20 minutes - for security reasons. I have a web form in this application that I need to Auto Save every 15 minutes (in case the User has left his/her desk or they got distracted and have left the program idle) - what would you r...more >>

How to display an in progress banner while you are waiting
Posted by Qingdong at 2/17/2005 9:01:02 AM
I have a query that usually takes 10 seconds to finish. So I would like to have a banner that says loading to let user know it is loading the page. I tried Marquee tag and an animated gif within a div tag. Marquee works out well for me but the animated gif stops spinning and becomes static ...more >>

GUI Development
Posted by hecsan07 at 2/17/2005 8:53:01 AM
I am in road to learning ASP.NET, but the GUI design is difficult for me to handle from visual studio. I prefere the WYSIWYG approach, but wouldn't mind working from VS. Is there a reference to designing GUIs from VS? Or can anyone suggest another approach? Coding raw HTML is out of the questi...more >>

Disable horizontal scrolling
Posted by Just D. at 2/17/2005 8:34:57 AM
Anybody knows how to disable the horizontal scrolling? Really do we have any official way for that? Just D. ...more >>

Site Templates
Posted by James Dixon at 2/17/2005 8:33:03 AM
I need to create a professional looking website I usually work in the middle tier/data tier using C#/TSQL I have looked in MSDN for some generic asp.net templates that prebuild alot of the standard graphics you would see from a commercial web site. I also did a google search but they seem to b...more >>

INVESTMENT ASSISTANCE NEEDED
Posted by peter markson at 2/17/2005 8:22:35 AM
INVESTMENT ASSISTANCE NEEDED FROM. PETER MARKSON ADDRESS.MOTHER THREASA CAMP ABIDJAN COTE D'IVOIRE TEL.22507557724 EMAIL DDRESS. petermarkson@yahoo.co.uk CONFIDENTIAL Dear Sir, I am Peter Markson the only son of late former Director of finance,Chief Vincent Markson Sierra-Leone diamond a...more >>

Session_End()
Posted by Timo at 2/17/2005 8:22:20 AM
A few questions relating to sessions ending. 1. What happens to the session when a user closes the browser? Does the session remain alive until it times out? 2. In the Session_End eventhandler, is it possible to distinguish between a timeout and an explicit call to Session.Abandon (e.g. fro...more >>

dropdownlist and sqlquery result in System.Data.Common.DbDataRecor
Posted by Sherwood at 2/17/2005 8:09:05 AM
I know this must be something very simple, since none of the online samples for populating a dropdownlist from a sql database indicate this is difficult with asp.net... but I'm still not getting what I'm hoping for. Basically, I can attach to my database, query results and if I use a datagr...more >>

Cast ListDictionary
Posted by SK at 2/17/2005 6:42:39 AM
Hello, I am trying to convert an object to a ListDictionary, but I get always the error: Specified cast is not valid. Here is my code: Private Property StoredProcedureParams() As ListDictionary Get Dim o As Object = ViewState("StoredProcedure") If o Is...more >>

Q: how would you write this
Posted by JIM.H. at 2/17/2005 6:13:05 AM
Hello, Here is my table. ToolBar=1 StatusBar=2 MenuBar=4 CaptionBar=8 And, if users type 1, only ToolBar visiable, if they type 6, StatusBar and MenuBar should be visible, and so on. I should write my code in a way that it should work even if there are more options. What is the easiest an...more >>

dotnet newbie and treeview
Posted by Mike D at 2/17/2005 6:03:05 AM
I would like to write an asp.net application that will display in a treeview some files. I have looked at the help in visual studio and it points me a link that tells me to install the Exchange SDK Development Tools. Specifically a file named ExchTools.exe. Then I find this "Exchange Stor...more >>

Redirect... Not redirecting
Posted by Shark Bait at 2/17/2005 5:35:02 AM
The code below is in my global.asax. When a user uploads a file that is to big it catches the error and tells the user the problem. For some reason the redirect never happens. When steping through the code it does step into the redirect but continues to the next line like nothing happened and ...more >>

How can I retrieve which control had focus
Posted by jmclej NO[at]SPAM hotmail.com at 2/17/2005 5:06:15 AM
Hi, after the OnCLick event, when I am in the function that deal with the event, I want to retrieve the control that had the focus on the page? How can I do this please? Thanks in advance. JULIEN...more >>

object oriented design books
Posted by scottrm at 2/17/2005 3:03:21 AM
Any recommendations for a good book/article/sample on object oriented design particularly with regards to building an asp.net/sql server application. I don't mean a book explaining concepts like inheritance etc. but one that actually tells you how to design a system. I have read a few and alth...more >>

Why can't I do this????
Posted by Tim::.. at 2/17/2005 2:25:03 AM
I keep getting the following error when trying to do the following! 'DataBinding' is not an event of 'System.Web.UI.WebControls.HyperLinkColumn'. How do I get the value Name into the DataNavigateURLField??? I would really appritiate any advice! Thanks <asp:hyperlinkcolumn DataNavigateUr...more >>

Multi-language web site
Posted by Bruno at 2/17/2005 1:15:16 AM
Hi, does anyone have an example of any good way to have multi-language forms? I'm working on a web app that needs to have the texts in english and spanish. Thanks, Bruno ...more >>

Can't Debug Web Application
Posted by Al Wilkerson at 2/17/2005 12:29:43 AM
Does anyone know why one would get an error messgae when trying to debug a Web application? I get an error saying the ASP.NET app can't be debugged on the Web Server and that. I should install the server components. After installing the server components, I get the same error when trying to ...more >>

Dropdownlist selection problems
Posted by Tim::.. at 2/17/2005 12:29:03 AM
Can someone please tell my why the following doesn't work! I don't get any errors on the page but when I choose a value from the dropdownlist what is ment to happen is that a user control should be loaded into the page! However I don't get any reaction what so ever! Please see comment...more >>

ASP.Net y Word
Posted by matias at 2/17/2005 12:16:22 AM
I need to open a word file an find some words o marks and change for other text. If somebody could help me, please. Thanks for all. ...more >>


DevelopmentNow Blog