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 > december 2006

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 2.0 - Losing controls added in post back
Posted by Michael Lang at 12/27/2006 12:42:35 AM
I'm adding checkbox controls to a panel in a post back, I then have a second post back in which I attempt to process the checkbox controls however they seem to have disappeared off the panel. The following code demonstrates what I'm trying to do. Can anyone explain why there is no checkbox...more >>

who is logged in?
Posted by Guy Cohen at 12/26/2006 3:02:08 PM
Hi all I would like to know who is logged in so the code will run differently e.g. if username="user1" then end if how can I tell who is logged in? TIA Guy ...more >>

Cross: Access speed
Posted by Igor at 12/26/2006 2:43:00 PM
Can I use access for big database (cca 10-30 MB, cca 10-30k lines in database). It will be asp.net 2.0 aplication and very fast server. Mostly simple transactions (like SELECT * From Books Where Name like 'SomeName%'). Can it be problem if I have 10 000 unique visitors per day? I see that man...more >>

Visual Studio Changes my HTML
Posted by Mike at 12/26/2006 7:23:00 AM
Visual Studio 2003 constantly changes HTML on my webform - For the worse! I've experienced this before, but now its really causing problems because it wrecks the page. How do I prevent VS from modifying my HTML? Specifically its changing an <object> within my page. Thanks....more >>

ASP.net Plugin AppDomain issues.
Posted by zb at 12/26/2006 2:08:44 AM
Situation: Using C#, ASP.Net Requirement: 1. ASP.net application with virtual hosting service. 2. Requires a service that will run every predefined frequency in minutes (2, 30, 100, 10000) defined in web.config and do some data crunching in the database How am I doing this? I would prefe...more >>

GPS location Database
Posted by imonline at 12/26/2006 2:05:54 AM
Hi, I am creating a .net application where I have to identify a location from its longtitude and lattitude. For this I need a GPS location database. Please let me know where can I get it. Thanks, NIs ...more >>

Porting to Master Page Model
Posted by n# at 12/26/2006 1:22:07 AM
I have an old existing website with a Header/ Left Hand Menu and a iframe as the main body content, adjacent to the menu. So for every click on the menu item, I used to load a aspx page on the iframe and hence i am not loading the entire menu and header for each request. When I try and port th...more >>

doubt regarding load and init
Posted by SandyIsCool at 12/25/2006 10:35:40 PM
Hi, I am newbie to asp.net. I have small doubt regarding page life cycle. MSDN documentaion says that init event does blhah, blah load event does blah blah etc. But Id ont see any init or load event handlers in base page class. Are there any handlers for these with different names. Or Page cl...more >>



How web control can be updated via child thread.
Posted by pallaw at 12/25/2006 8:24:46 PM
Hello All, My web Client is using a COM component with connection point enabled.my client is getting call back from this component.now I have to update a text control in handler of this callback.but my control is not updating.can any body tell me how can i update textbox when i get a thread eve...more >>

How to pass value to usercontrol property from a datagrid
Posted by Big George at 12/25/2006 8:17:03 PM
Hello, I've got an aspx webpage with: - MyUserControl1 (which shows some labels) - A Panel containing MyUserControl1 - DataGrid, which has a column that when is clicked fires Sub edit_ <asp:datagrid id="MyDataGrid" runat="server" Width="100%" Visible="True" oneditcommand="edit_"> .........more >>

SQLDataSource and asp.net data display: iterating only the middle of the collection?
Posted by Ken Fine at 12/25/2006 7:15:18 PM
I'm using SQLDataSource, which generates some kind of dataset, and then I attach that datasource to various data display controls such as DataList and repeater which loop through to the end of the data that was retrieved by the query. At times I may want the display control only to render s...more >>

Programmatically manipulating all controls of type X?
Posted by Ken Fine at 12/25/2006 6:48:35 PM
I'm interested in programmatically manipulating groups of ASP.NET controls by type. Can someone suggest code for the following? Loop through, say, all label controls on a page, and assigning a CssClass to them, or programmatically making the Visible/not Visible. If applied to a containing ...more >>

temporary save images
Posted by Mario Krsnic at 12/25/2006 5:54:46 PM
Hello and Merry Christmas! I flip in my card play some cards using the call "drawimage". These flipped cards are saved in temporary images on the server: temp1.jpg, temp2.jpg... Everything works fine if only one user plays. It seems to be better so save these temp. images on the local pc. How...more >>

Only you can help => select with gridview
Posted by Mr. SweatyFinger at 12/25/2006 2:24:41 PM
My gridview is ties to a table of states. These are United States states, from the greatest land in the world. The numeric column is an autonumber, hopefully you've heard of that. If not please google "autonumber" before proceeding. Here is a small sample, so you can clue into what I am doing:...more >>

How to change content in MasterPage by clicking a button?
Posted by Bon at 12/25/2006 4:56:24 AM
Dear all I create a master page with image buttons on the left-hand side for navigation. When a user clicks the student button, the content (i.e. ContentPlaceholder) in masterpage will be changed from default.aspx to students.aspx. I tried to create a subroutine in MasterPage.master.vb to d...more >>

Is ASP.NET outdated?
Posted by Joe (MCAD) at 12/25/2006 1:39:19 AM
Hi all, I just wanted to hear other peoples opinion with regards to how/if outdated ASP.NET is. ASP.NET (and ASP.net 2.0) is based on framework from 2000. It was a great stride forward at that time, the other popular option at that time was jsp/ejb. Since that time a major paradigm shift ca...more >>

design guidance please :user controls and centralizing roles-related display stuff
Posted by kenfine NO[at]SPAM nospam.nospam at 12/24/2006 9:59:07 PM
I'm looking for some design guidance on a collection of projects I'm working on. The project involves a bunch of websites constructed out of a collection of user controls. Different user populations with different access rights and "roles" will be visiting the site. I will be using ASP.NET ...more >>

AD Membership Provider Can't See User Attributes
Posted by John F. Holliday at 12/24/2006 8:04:11 PM
I need to use the ActiveDirectoryMembershipProvider in my application. I have setup the provider in the web config, etc. When I use the ASP.NET configuration utility and select the Security tab, it throws an exception saying that the attribute 'userPasswordQuestion' specified for the attrib...more >>

How to 'clear' httpModule?
Posted by Brian at 12/24/2006 6:09:03 PM
My root app uses some basic url rewriting in an http module. This interferes with an application I've just installed in a subdirectory Removing the httpmodule reference from the web.config in the root app makes both of the apps work together fine but for obvious reasons I'd prefer another so...more >>

Create Dynamic Word Document in ASP.NET
Posted by Jordan at 12/24/2006 5:19:39 PM
Can someone point me in the direction of a method/solution for generating word documents on the fly? I have been programming my files in rtf, but the filesize gets tooo big when I start using images and tables. I really need to have word format. I've seen programs like aspose.words. How is tha...more >>

using custom namespace.
Posted by cykill at 12/24/2006 4:58:35 PM
Hi. I'm new to asp.net and I've been searching on the net and in book on how to use custom namespace. I've created my own custom namespace and I just need a straight answer on where to put the namespace file so I can import them in the webpage. Can someone clarify? Thanks. ...more >>

Why my session variables are getting empty?
Posted by ronchese at 12/24/2006 4:07:16 PM
I'm noticing this since I started developing a website project: my = session variables are getting empty! I did a real easy test, and I checked my session variable is getting = empty!! What is happening? For example (VS2005, IE6/7, running in filesystem): - In the Page_load of page1.aspx: ...more >>

XML service publishing problem: Server Error in '/' Application
Posted by Coward 9 at 12/24/2006 12:28:00 PM
HI, I created the simplest "ASP .NET Web Service" by using VS 2005 and Visual C#( File | New | Web Site). However, when I tried to access the service from IE 7.0 http://www.aztao.org/WebService/Service.asmx (the fie DOES exist which can be verified by typing http://www.aztao.org/WebServic...more >>

resources in separate assembly - ugly :(
Posted by Sergei Shelukhin at 12/24/2006 12:19:46 PM
Hi. We have a resource assembly that is separate and is used by a class library assembly, a web app, web service set (all in separate projects). Windows app is also potentially possible. First of all, VS2005 generates resource wrappers as internal, so we have to use InternalsVisibleTo to make...more >>

Gridview data binding HELP!!
Posted by Saint at 12/24/2006 11:56:52 AM
I'm doing a little reservation website and I have two tables: Modules and Reservation In MODULE I have every module from a doctor with the day and the hours that he goes to work, for example: doctor | module | hour | day -------------------------------------------- 1 1 ...more >>

RegularExpressionValidator problem
Posted by curious at 12/24/2006 10:40:01 AM
I am using a RegularExpressionValidator to validate a TextBox. I use "^[\+|-]?[0-9]+(\.[0-9]*)?$" to check for a real number. The control works fine as long as the user enters something in the TextBox; it does not work if the user leaves the TextBox blank. Is there a bug in the implementation ...more >>

where are the MVPs?
Posted by Nate at 12/24/2006 10:27:00 AM
I never seem to get a response to my post about AJAX and asp.net. Maybe I am not posting in the right place?? Well anyway here I go again... I have a Wizard and when I am on step 3 and hit page refresh the page reloads and step 3 is displayed. Great! Now, when I put this same wizard in an A...more >>

Difference betwen C++ and C#.
Posted by sonu at 12/24/2006 7:22:25 AM
Would you tell me what is difference betwen C++ and C#.? ...more >>

IIS issue with ASP.NET 2.0
Posted by amit_mitra at 12/24/2006 6:58:00 AM
I had .net framework 2.0 installed in my system. I then installed iis 5.0 . I am getting this error "Failed to access IIS metabase" URL accessed : http://localhost/Test/Hello.aspx Description: An unhandled exception occurred during the execution of the current web request. Please re...more >>

How to detect return value from stored procedure used by a Details
Posted by Bishoy at 12/24/2006 3:49:00 AM
Hi all, I have an asp.net 2.0 web site with a DetailsView control to select and insert data from database. I made the insert statement for that DetailsView by a stored procedure. I made some logic in the stored procedure so it returns a value in certain cases. How to detect the return value ...more >>

CheckBox Outside DataList & Labels Inside DataList
Posted by rn5a NO[at]SPAM rediffmail.com at 12/24/2006 3:32:09 AM
A ASPX page has a DataList control with a few Labels. This page also has a CheckBox which resides OUTSIDE the DataList. By default, this CheckBox is checked. If the CheckBox is checked, then the Labels existing in the DataList should be visible but if the CheckBox is unchecked by the user, the L...more >>

Binding to a dropdown in C#
Posted by Carlos at 12/23/2006 10:51:28 PM
Hi all, I have the following issue:. I've got datatable that I am intending to bind to a dropdownlist. While debugging I am certain that my DataTable contains 3 valid rows. However, after the binding statement ends, I have three row that read 'System.Data.DataRowView' instead of ...more >>

Formatting Gridview
Posted by colo at 12/23/2006 3:44:18 PM
Hi! I have a problem which I think has a simple solution, but I can't figure out why it's not working. Some background... I'm populating a GridView with info from an Access database like this: Public Sub LoadGrid() Dim ConnectionString As String = "Provider=Microsoft.Jet.OLEDB.4.0...more >>

Embedding Controls in LoginView removes references
Posted by jmhmaine at 12/23/2006 3:19:00 PM
When I put asp controls inside the LoginView it removes the codebehind references so that the page will not build. For example: <asp:LoginView ID="LoginView" runat="server" > <LoggedInTemplate> <asp:LoginName id="loginName" runat="server" FormatString="You are logged in as...more >>

Enabled checkboxes in gridview control
Posted by deepa.ravikiran NO[at]SPAM gmail.com at 12/23/2006 10:44:29 AM
Hi, I am trying to create a ASPX page which will list items with a checkbox beside each. The user has to be able to select items using the checkbox to do some further processing. If I use a gridview control, the checkboxes are all disabled, and I find that I have to have a Edit button for eac...more >>

changing enableViewStateMac makes no difference
Posted by xamman at 12/23/2006 10:18:52 AM
hi there, i am busy coding a fix for Santa's package labelling system. i have come across some wierd behaviour with enableViewStateMac on this server. this web has a page a.aspx with a textbox and a submit button webform controls, and a page b.aspx displaying the contents of the textbox from...more >>

ASP.Net 2.0 - Having problem with validation on deployed version
Posted by JimCinLA at 12/23/2006 1:46:14 AM
I have Requierd Field validators with several controls on a form. The Requires Validation property on the fields are set to True. In Debug mode, the validators work as expected. If the fields are left blank, then the warning message is displayed when the form is submitted. But the behavior c...more >>

maintaning extra user-specific data (profiles)
Posted by R.A.M. at 12/23/2006 12:00:00 AM
Hello, I am learning .NET (3.0). I am writing ASP.NET application and I need to store some extra information (like default settings for each user. In web.config I added: <profile enabled="true"> <properties> <add name="DefaultProject" type="string"/> </properties> </profile> Bu...more >>

Add Rotator SWF Problem
Posted by Muhammad Ahsin Saleem at 12/22/2006 11:45:08 PM
Hi EveryBody, Well I need your help about the Add Rotator. I want to set the Advertisement File property of the Add Rotator set to an XML File which contains info about the Adds. Now Problem is that it does not play the .swf files, but only .gif files. Code I got from Internet is as follows...more >>

PreRenderComplete event woe
Posted by Han at 12/22/2006 9:34:31 PM
Hello I am experiencing duplicate Page_PreRenderComplete events. I am using webservice in async mode. Skeleton is, class class1: System.Web.UI.Page { private int test=0; protected void Page_PreRenderComplete(Object sender, EventArgs e) { test++; div1.InnerHtml +=...more >>

Working in a subdirectory when using ASP.NET & Visual Studio .NET 2005
Posted by Nathan Sokalski at 12/22/2006 6:41:19 PM
I am creating an ASP.NET application in a subdirectory of what IIS uses as the root directory (C:\Inetpub\wwwroot\). I am using the version of IIS that comes with Windows XP Pro SP2. Some of my code in my ASP.NET application uses root-relative URLs, such as /images/background.gif. However, bec...more >>

question about sorting field in gridview and ajax
Posted by CH. at 12/22/2006 6:13:18 PM
Hi, i read a lot of ajax stuff and i was asking myself this: when clicking on the fieldname in a gridview (sorting enabled), the whole database is sorted according to that field. Is the whole html- page refreshed when doing that or only the data in the gridview, and in that last case, can w...more >>

Web Developer Express vs. VB Express vs. Frontpage
Posted by brooksr at 12/22/2006 2:48:29 PM
I've created a shareware product and need a website to sell it and tie into various payment services. Can someone explain the purpose of WDE, VBE and FP, and when you would use one over the other? Thanks, Brooks ...more >>

Dynamic TreeView loses PopulateOnDemand
Posted by doemon NO[at]SPAM gmail.com at 12/22/2006 2:39:23 PM
Hi, I'm working on a pagination control and I need to dynamically rerender a treeview to display the next set of nodes depending on which page we're on. For example, page 1 will dispaly only nodes 1 to 10, but when the user clicks [next], the tree will display nodes 11 to 20. Page 1 will i...more >>

Trying to use FindControl
Posted by Mike Collins at 12/22/2006 2:33:00 PM
I am trying to get the text of an item in a GridView, but am doing something wrong. Can someone help me with the correct C# statement I need? Below is my GridView and my attempt to get the control. Thank you. string option = ((TextBox)dgDropDownMenus.Items[e.Item.ItemIndex].FindControl("txt...more >>

gridview in a gridview
Posted by WebBuilder451 at 12/22/2006 2:10:01 PM
i'd like to have a gridview of detail items in the selected item row of a gridview. Such that: gv1 row1 row2 row3 (selected) gv2 row1 row2 row3 row4 row4 row5 There has to be a good artical out there some place.... Thanks KES -- thanks (as always) some day i...more >>

data access question in asp.net 2.0
Posted by weiwei at 12/22/2006 1:25:44 PM
Hi, I have a question regarding data access, here is my scenario, when a user create username, that username is check against username table, if new request username is existed already, then return it to user who originally requested. if that username is not existed previously, then added it in...more >>

File Extension
Posted by Just D. at 12/22/2006 12:08:10 PM
All, Who knows how can we make the IE open the file with some non-standard extension? I have a new file type, say .MOX, I corrected the association on my computer for this file extension, when I click on it it opens me my own program and the program takes this file as a command line argu...more >>

Why does my WebService not working ?
Posted by ShayHk at 12/22/2006 12:07:45 PM
Hi I wrote a WebService : http://www.sharonhak.somee.com/SmsWebServiceRecevier.asmx but when trying to add the webRefernace to another applicate I Cant Do So !! why? Thanks S.H ...more >>

impossible or not: dynamically embedding a user control in the middle of a string?
Posted by kenfine NO[at]SPAM nospam.nospam at 12/22/2006 12:03:57 PM
I'm thinking of a content management scenario in which you have a news article, and then a photograph and caption that you want to appear in the middle of the article text. The text of the article is a string pulled from a database -- let's call it ArticleText. I'm wondering if it is possib...more >>


DevelopmentNow Blog