Psst! Did you know DevelopmentNow is a mobile web site design agency?

Contact us for help mobilizing your site, or to sign up for our beta Mobile Web SDK!


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 2007

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

Floating Div Position
Posted by Just Me at 12/31/2007 7:55:05 PM
Hi have a div on my form which contains controls. I normally have this rendered "hidden" and then make it "visible" from a css point of view when i need it. I need to make it appear in the centre of the screen when the user invokes it. However, the window may be resized and scrolled, so ...more >>


Need to check if the propery of an object exits.
Posted by JoeP at 12/31/2007 6:17:28 PM
Hi All, Need to check if the propery of an object exits. oMyObject.Message In some cases the Message property may not exists. I know the GetType() can do it. How would you check it? Thanks, Joe ...more >>

Problem with ambiguous classes in my project
Posted by Nathan Sokalski at 12/31/2007 5:40:25 PM
I have several CustomControls that I have written for my project. However, when I try to compile I recieve the following warning & errors: Warning 32 Could not resolve this reference. Could not locate the assembly "nathansokalski_com_test, Version=1.0.0.0, Culture=neutral, processorArchitec...more >>

Need Suggestion
Posted by Jonathan Wood at 12/31/2007 4:08:24 PM
Greetings, My app displays users in a GridView control. I'd like to have the name field shown in each row of this control a link that displays another page with information about that user. But I'm not sure how to approach this. How would I tell the target page which user to display? I'd...more >>

Throw in Catch - how can I tell
Posted by Elmo Watson at 12/31/2007 1:36:53 PM
I've got one main method, with a Try Catch block. In that, I catch the error and put it on a label. However, inside the Try portion, I also run another method. I have a Try/Catch block there, also, except I just have 'Throw' in the Catch portion. How can I send something from this 'inter...more >>

web parts not showing verbs
Posted by barry at 12/31/2007 1:15:00 PM
1. The following works fine on my local host http://www.webdevup.net/default.aspx 2. The above url shows that there is no verb list for the minimum number of verbs for a web part namely close and minimize. 3. I can not get any help from the web host nor its community board 4. It would seem to ...more >>

How to read from data list it value into a label?
Posted by Ed Dror at 12/31/2007 12:54:00 PM
Hi there, I'm using asp.net 2.0 with SQL Server 2005 I created a datalist control and I would like to read the results into a lable So I wrote Partial Class ProductDetails Inherits System.Web.UI.Page Public test_bar As String Protected Sub DataList1_ItemDataBound(ByVal sender ...more >>

gridview
Posted by Roger at 12/31/2007 10:38:52 AM
Hi All hope you can help here Is it possiable to change the colour of a row in a gridview depending on the content of one cell ? Hope that makes sense Happy New year to all Roger ...more >>



Checkbox Column Not Appearing
Posted by Ben at 12/31/2007 9:07:48 AM
Hi, I'm designing a c# page and trying to add a checkbox column to a GridView, I've added a Template Row (as described at: http://aspnet.4guysfromrolla.com/articles/052406-1.aspx) and in the Edit Templates dragged a Checkbox into the Item Template. The new column shows up, but it's empty......more >>

How to create MS Outlook message from ASP.NET?
Posted by Yash at 12/31/2007 8:35:25 AM
In our application, we need to show a grid with each row having an icon. When the user clicks on the icon, an Oulook email message should get downloaded on the user's PC and should open if MS outlook is installed. I believe, I'll have to do Response.Write to achieve this. Is there any standard ...more >>

Make Money working Online. I Make $850 in 7 Days....
Posted by Mehak at 12/31/2007 6:00:53 AM
Make Money working Online. I Make $850 in 7 Days.... Only because of http://cashplus.freehostia.com The Only Source where i can make money without investment. http://cashplus.freehostia.com...more >>

How to read data from resource .rex file in java script?
Posted by chandan at 12/31/2007 1:47:31 AM
Hi, How can I show that message in alert code ( in java script) that pick the data form resouse .rex file . Thanks in advance. Chandan...more >>

Navigating on click event
Posted by Tor Inge Rislaa at 12/31/2007 1:35:31 AM
I am sure it is basic nowledge but I simply need the VB code to put into the click event of a button to navigate to a new web page. TIRislaa ...more >>

Sending email (ASP.NET 2.0)
Posted by Jack at 12/30/2007 8:36:34 PM
Hi, I am still new to .NET so, i'm sorry if my question is a bit too simple :-) I would like to know what is the "best-practice-way" of sending email from asp.net (VbScript). I want to make a "contact us" page for my website. Tnx. ...more >>

Centralizing Code Question
Posted by DK at 12/30/2007 5:54:01 PM
I have an asp.net web site which has GridViews on many pages. They are different except they all have a common Pager Template. On the DataBound event, I customize this template based on the number of records, etc. This is exactly the same for every grid so rather than copy and paste this code ...more >>

Update interface after requesting input from a postback event hand
Posted by Ken Adeniji at 12/30/2007 4:09:01 PM
I read, How can I update my user interface from a thread that did not create it? http://blogs.msdn.com/csharpfaq/archive/2004/03/17/91685.aspx I have a postback event handler, that requests user input via JavaScript confirm methods to process conditional steps. After completing asynchrono...more >>

SMTP troubles and odd fix...why does this work?
Posted by Darrel at 12/30/2007 3:18:39 PM
I'm trying to send email from my application. I've been getting a "The server rejected one or more recipient addresses." error. After some googling, the fix I found was to make sure to NOT state a mail server for SmtpMail.SmtpServer Instead, do this: SmtpMail.SmtpServer = "" And, sure...more >>

workflow question
Posted by maa at 12/30/2007 8:14:02 AM
When a user clicks on "Processing" button I want to display a processing message on page. Do processing and allow user to cancel processing which can take several minutes. Is there a way with javascript to display a message on the page but still do server side hit for the processing. T...more >>

Render the whole page on client side in asp.net web application.
Posted by Nitin Verma at 12/30/2007 2:38:50 AM
Hi all, Plz help me out immediately. I am developing a web application in Asp.Net 2.0 with C#. I want my aspx pages to be such that once the page has been redered on the client side. And then the connectivity is lost.Even then the page is still there , ie. Page Not Found message is not d...more >>

Control Property.
Posted by shapper at 12/29/2007 6:10:19 PM
Hello, I am creating a Composite Control, named Form, which contains a TextBox. Form control has a property named Value which define the TextBox text property. When I define it as follows it does not work: Public Property Value() As String Get Return ViewState("Valu...more >>

RegularExpressionValidator question
Posted by Frank Rizzo at 12/29/2007 12:23:52 PM
Hello, Trying to setup RegularExpressionValidator to validate a textbox. I am trying to make sure that the user enters the word Green. The case does not matter. However, i am totally new to Regex. Could I get some help? Thanks....more >>

How can i create new users without utilizing the create user wizar
Posted by prady at 12/29/2007 10:34:00 AM
Hi, Is it possible for me to create new users without using the wizard? I am using a custom membership as i want to capture more data other than the ones which are available in the wizard. Is it possible for me to use the custom membeship create user method? If yes how can i call it ? What sh...more >>

Using .NET 2.0/3.0 component in ASP.NET 1.1
Posted by Rasheed at 12/29/2007 7:10:00 AM
Hi, We have an ASP.NET 1.1 application which uses .NET framework 1.1. The application is hosted in IIS 5.0 win 2000. We want to write a .NET 2.0 component (which leverages .NET 2.0 Framework, Ex: Dataset Bulk Update feature) and access it from ASP.NET 1.1. Is this possible? If so, please ...more >>

Popup Window Location
Posted by John Kotuby at 12/29/2007 1:42:19 AM
Hi all, How do I get a popup window to appear within the boundaries of the parent window? I am using JavaScript Window.Open and setting top=1 and left=1 but that causes it to show up in the top left corner of the screen itself. Setting the location attribute to either 1 or 0 doesn't seem to ...more >>

Dynamic ASPX Style Sheet not Render in FireFox?
Posted by coconet at 12/29/2007 1:34:26 AM
Server is Win2K3/IIS6. I have an ASPX page with this in the <head> tag: <link rel="stylesheet" type="text/css" href="<% Response.Write( "http://" + Request.ServerVariables["SERVER_NAME"].ToString() + this.ResolveUrl("~") + "styles/styledefault.aspx"); %>" /> The style.aspx page l...more >>

An exception of type 'System.Threading.ThreadAbortException'
Posted by JoeP at 12/28/2007 10:35:08 PM
Hi All, 1) I am using code like the below outside of the Try.. Catch... Endtry and = getting this message=20 Within the Immediate Window. An exception of type 'System.Threading.ThreadAbortException' occurred in = mscorlib.dll but was not handled in user code What can be done to avoid ...more >>

Disable submit button once it is clicked.
Posted by zlf at 12/28/2007 8:28:59 PM
How to disable button once it is clicked on the page? The codes in click event of submit button is time-costing(about 4-5 secs), in this period, user maybe do a re-submit, that is not expected. Thanks zlf ...more >>

Sorting and Paging a Custom Gridview
Posted by mmorrison93@gmail.com at 12/28/2007 8:27:36 PM
I've created my own custom gridview that derives from the System.Web.UI.WebControls.GridView class and am trying to implement my own sorting and paging mechanisms. The GridView class has two private variables SortExpressionInternal, SortDirectionInternal tat I'd like to set to specific values, h...more >>

Calendar control
Posted by Sems at 12/28/2007 6:20:37 PM
Can anyone recommend a good Calendar/Date Picker control that I can use (instead of the standard asp one). I need one that runs client side. I'd like a AJAX one if possible. Any suggestions?...more >>

Identifying Rows
Posted by Ben at 12/28/2007 3:16:31 PM
In C#, I have a GridView that bounds to a DataView. When the user click a certain button, I want it to go through the gridview rows and update some object based on an ID. The ID should be invisible... so I put a <LABEL> in one of the cells and trying to access it via FindControl... but it's al...more >>

Adding click event to linkbutton
Posted by Jack at 12/28/2007 12:16:18 PM
Hi, I am new to .NET and need help with adding click event on LinkButton programatically. Please see the code below. I would like to add a click event on LinkButton returned from "Function EditLink". This LinkButton should fire "Sub EditNav" when clicked. ===============================...more >>

Me.Context.Request.Cookies value doesn't match what's in cookies file
Posted by Eric at 12/28/2007 12:03:33 PM
Hello, My ASP.NET 2.0 / Classic ASP app is using cookies, and I'm trying to figure out a why I'm not seeing a cookie value being initialized in my ASP.NET side. I'm using IE 7 and running my app locally using IIS 5.1/ Win XP Pro SP2, I deleted my cookie file and then was trying to test some ...more >>

Id and CssClass not defined
Posted by shapper at 12/28/2007 10:27:46 AM
Hello, I created a custom control that inherits CompositeControl: Public Class MySection Inherits CompositeControl ... Protected Overrides Sub CreateChildControls() ... MyBase.CreateChildControls() Me.ChildControlsCreated = True End Sub End Class...more >>

Ajax 1.0 Update Panels
Posted by Microsoft Newsserver at 12/28/2007 9:26:18 AM
HI Im developing a solution in vs2005 with ajex extensions. Essentially I have three custom controls which render tables a representation as shown below. The problem is that when any of those buttons get clicked all three tables are updated. ( Buttons 1 2 and 3 are outside the panels ). ...more >>

WebUIValidation.js -- undefined is null or not an object
Posted by siddhath at 12/28/2007 9:22:03 AM
Hi All, my asp.net applications is using validations controls and it throws 'undefined is null or not an object' error in WebUIValidation.js Error only happens on few machines if i move the same applications to a different machine error does not happen. i tried copying aspnet_client folde...more >>

Again: Console-ish output in a browser?
Posted by gnewsgroup at 12/28/2007 7:39:26 AM
Well, I initiated this discussion a few days ago at: http://groups.google.com/group/microsoft.public.dotnet.framework.aspnet/browse_thread/thread/33b7f1153825d6fd/501325ee69224a8c?hl=en&lnk=gst&q=console-ish#501325ee69224a8c I tried the suggested approach and created a page like this: Respo...more >>

Reading text from another application
Posted by zool at 12/28/2007 7:34:32 AM
Hi Can somebody please tell me how I can read text from another running application. From a textbox in that application for example...more >>

1.1 vs 2.0 Textbox Control Text on Postback
Posted by John Walker at 12/28/2007 5:59:03 AM
Hi, In asp.net 1.1 I use this bit of code to get the text from a textbox in a datagrid on postback: txtComments = CType(dgi.FindControl("txtComments"), System.Web.UI.WebControls.TextBox) We recently upgraded our application to the 2.0 .net framework and this code no longer seems to work...more >>

web.config conflicts in virtual directories
Posted by Bill E. at 12/28/2007 5:42:46 AM
In IIS, I have two web applications configured as follows: Website 1 (fixed IP) Application A page1.aspx web.config Application B page1.aspx web.config each of the web.config files contain a connection strings block with one connecti...more >>

datagrid row color change
Posted by Ganesh at 12/28/2007 1:50:47 AM
Hi There, I've a datagrid in the left hand side menu, depends user selection i want to highlight the row. It works but if user navigated any page inside that page then it won't highlight. The pageid is not in the menu grid. I try to storing last selected page in the session, then want to hig...more >>

Server side variables (e.g. $_SERVER['REMOTE_ADDR']) - dotNet equivalent?
Posted by Frank Moyles at 12/27/2007 11:59:34 PM
What is the equivalent for retrieving server side variables? For example in PHP, one such predefined variable is: $_SERVER['REMOTE_ADDR']...more >>

I am getting network printer when running my web project through IIS
Posted by jawaid alam at 12/27/2007 9:58:16 PM
Hi all forum Member, I am facing very tropical type of problem. I devoloped a intranet web project. I want to print crystal report by selecting network printer. I accessed all network printer in dropdownlist in crystal report page. when i run crystal report page directly by set as star...more >>

301 redirect HTML to ASPX. options?
Posted by Darrel at 12/27/2007 6:03:36 PM
I'm helping convert a 300+ page .html site into an ASP.net site. The client wants to set up 301 redirects for all of the old html pages. I've used ISAPI for this type of thing in the past, as it works great and is easy to set up, but at this point, the client (which is my client, who's workin...more >>

ASP.NET Membership
Posted by Tem at 12/27/2007 1:39:49 PM
Im making a photo gallery application where users can only see their own photos. My photos table looks like this Id, PhotoName, PhotoURL, PhotoUser I need to know how I can integrate this with ASP.NET's membership provider Can someone points me to the right direction Thanks Tem ...more >>

Javascript error for a required field validator
Posted by onseats.ky@gmail.com at 12/27/2007 12:48:15 PM
I have a strange problem with a required field validator when I have EnableClientScript set to true. When the client side validation fires I get a javascript exception inside the .net javascript. The exact error is "targetedControl has no properties". Looking at the .net script it looks like the...more >>

connecting to a cifs or windows share on a nas device using a specific username and password
Posted by Carl at 12/27/2007 12:33:30 PM
In ASP.Net, how can we connect to a nas that uses cifs for its file sharing protocol. Currently we should be able to provide the ip address or hostname of the nas, the sharename along with any directories to go directly into that sharename, and the username and password. This username and ...more >>

Dataset from XML file
Posted by tshad at 12/27/2007 12:28:47 PM
I have a table I am getting from an outside program that I am trying to read to build some Sql Tables and insert data from. The problem is that the following table puts all the tags together, instead of separting them by the different forms. **************************************************...more >>

ASP.NET 2.0 - a newbie question
Posted by grubas8@gazeta.pl at 12/27/2007 12:19:22 PM
Hi everybody! Is there some experienced ASP.NET 2.0 developer, who could answer some newbie questions? I am a complete newbie to ASP.NET 2.0 and Web programming, trying to take my first steps. For this, I have bought a couple of books ("ASP.NET 2.0 for Dummies", "ASP.NET 2.0 Everyday Appsf...more >>

VS2005 web not displaying properly in IE7
Posted by Steve at 12/27/2007 11:09:38 AM
Hi All I have a website www.osmonttechnologies.com and the content pages are not displaying properly on IE7 The master page footer is being overlapped by the contents pages on the products page and others I have run the pages on validator.w3.org and all pass OK 'View source' code bel...more >>

Insert Javascript
Posted by MDB at 12/27/2007 10:45:50 AM
Hello all, I have a web user control that displays a single image from javascript. In order to insert the javascript into the webcontrol, I use the page.registrer script call in the code behind since the images are dynamically created. This works however, I can not figure out how to get it ...more >>


DevelopmentNow Blog