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 > april 2007 > threads for tuesday april 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 29 30

TextBox Control Font Size
Posted by Toty Santana at 4/17/2007 11:48:00 PM
I am using textboxes, buttons labels and drop down lists on a web page, but i noticed that textboxes and buttons font size doesn't change when i change the font size in IE ( from IE menu: View>>Text Size>>) though the size is changing for lables and drop down lists, i am using skin for these c...more >>

using window.showModalDialog
Posted by ruthie at 4/17/2007 11:41:42 PM
Hi, In my aspx page(parent) I put an html button and I use window.showModalDialog to open another aspx page(child). When I press the html button the first time, I can access all child page events in debugger mode. However, if I close the new created page and press again the html button,...more >>

Converting SQL Server "money" datatype to double????
Posted by Randy Smith at 4/17/2007 9:27:20 PM
Hi, Does anyone have any good techniques on how to convert an SQL Server 2005 "money" datatype into the ASP.Net "double" datatype? OR, should we be using "decimal" at both ends? TIA, Randy Smith ...more >>

FormView/Insert template / DropdownList / DataBinding
Posted by Just Me at 4/17/2007 8:31:57 PM
Hi, I have successfully createda table and datasource which I have bound to the FormView. I can create a record in the table OK. The problem is that I want to bind a DropDownList selected value to the datasource. here is my code, I it simply does not work as the table field ends upo with ...more >>

RegularExpressionValidator - how to detect strings you dont want?
Posted by Samuel at 4/17/2007 7:58:01 PM
Hi, I am setting up RegularExpressionValidators for my form elements and found no way of doing the following: 1) to validate so that Textbox.text does not contain certain phrases. e.g. I don't want user to enter any of the following phrases (regex syntax): (asp|php|zip) 2) to validat...more >>

Both DataSource and DataSourceID are defined
Posted by byrd48 at 4/17/2007 7:21:18 PM
Hi I have a really strange problem, I'm working with a project in C# with many dropdownlists and all are databound programmatically using datasource (not datasourceid). Suddenly I am getting the error that both datasource and datasourceid are defined for all my dropdownlists. If I comment one...more >>

Error Rendering Control if nullable property is used
Posted by Benton at 4/17/2007 5:50:13 PM
Hi there, I'm creating a custom server control, inheriting from TextBox. It has this AsDateTime property that returns the textbox contents converted to the nullable DateTime data type, as follows: public class TextBoxWeb : System.Web.UI.WebControls.TextBox { [Browsable(fa...more >>

trying to run executable on server
Posted by Kevin O'Brien at 4/17/2007 5:46:41 PM
Hey guys, I am trying to run an exe on the server with the following line and it is not working. Any help would be greatly appreciated! Thanks, Kevin Dim myProcess As Diagnostics.Process = System.Diagnostics.Process.Start("d:\bin\discover.exe -r server01 -7 wxpmis01 -v 9") ...more >>



HTML White Space from Hidden Controls
Posted by Don Miller at 4/17/2007 5:38:25 PM
When an ASP.NET 2.0 web page is rendered with multiple web controls hidden from view (.visible=false) there is a noticeable gap between a rendered element (like a table) and the next visible element (e.g. a button). When I look at the HTML source code there is nothing there except white space ...more >>

How to troubleshoot HTTP 404
Posted by StanB at 4/17/2007 4:50:28 PM
It sounds simple but I am stuck: I published ASP.NET to the brand new Win2003 R2 through Publish Web in VS.NET. Publish creates virtual folder (Front Page Server extension subweb) and copies all files. When I try to locally browse default.aspx I get HTTP 404 File Not Found. I can browse ....more >>

ASP.Net 2.0 and Force Post Back ?
Posted by Luqman at 4/17/2007 3:18:55 PM
I have created a page1.aspx with a button, when I click on button, page2.aspx is opened on top of page1.aspx as a New Popup Window using Javascript Window.Open. Now, when I select the data on page2.aspx and close it with Javascript.window.close(), the page1.aspx does not postback ? Any idea...more >>

Reading a value from XMLDatasource
Posted by Joe at 4/17/2007 3:11:53 PM
I have a ComboBox which is bound to a XmlDatasource. The XML has 3 attributes: name, location, value. I have name and location bound to the ComboBox. Now what I want to do is get the name/location for the node with value = 9. It doesn't seem like the XmlDatasource has any methods for itera...more >>

IIS configuration issue?
Posted by Carlos at 4/17/2007 2:43:32 PM
Hi all, I recently upgraded a sample app from .net 1.0 to 2.0 in VS2005. When I browse the app from the ide, I obtain the page. (i.e. provided by cassini as the localhost). However, when I try to use my local IIS I get this. In IIS I made sure that ASP >Net was running version 2.0. Can an...more >>

Breakpoint on a session variable
Posted by uneboite NO[at]SPAM hotmail.com at 4/17/2007 1:50:11 PM
Hi! I'm new to .net so please don't be too hard on me if my question is not appropriate... In debug execution, is there a way to make an application stop when a session variable's value changes? ...more >>

Display Active Directory DNS on a webpage?
Posted by Izu at 4/17/2007 1:42:04 PM
Is it possible to display the DNS entries on a Domain controller on a webpage? ...more >>

Splitting to subprojects
Posted by jb at 4/17/2007 12:26:15 PM
Am using the 'Web Application Project' model for an asp.net web app. Sections of this now need to be reusable. Is it possible to split into sub projects? What happens with /bin directory if so - are there bins in each subproject? What happens with sessions? Thanks JB...more >>

How to kill a web page?
Posted by Steve Kershaw at 4/17/2007 12:24:31 PM
Hi, I have an ASP.Net web page that has a timer that needs to be killed when the timer fires off. How can I do this from the master.page? Thanks Steve ...more >>

ASP.net 1.1 debugging on IIS with .net 2.0
Posted by Karim mohamed at 4/17/2007 11:39:28 AM
Hello , I have an Application developed using ASP.net 1.1 and i want to debug it under the pool of the Moss 2007 which using .net 2.0 ? Is there is a solution for this situaiton ? Regards, Karim Mohamed ...more >>

crystal reports toolbar not shown in firefox!
Posted by patrickdrd at 4/17/2007 11:36:00 AM
Hi everyone! Crystal reports toolbar not shown in firefox! Does anyone know why? Am I doing sth wrong? Thanks in advance!...more >>

asp error
Posted by Cgf39 at 4/17/2007 11:32:11 AM
We've noticed some strange errors on our production servers running IIS Event Type: Warning Event Source: ASP.NET 2.0.50727.0 Event Category: Web Event Event ID: 1309 Date: 17-04-2007 Time: 11:21:51 User: N/A Computer: VM_CTX_AAC Description: Event code: 3005 Event message: An unhan...more >>

Prevent pasting into custom textbox control.
Posted by AjitGoel at 4/17/2007 11:01:47 AM
Hi; I need to create a custom textbox control which will not allow a user to paste text from the clipboard. The user has to always type the text into the textbox. I tried searching on the internet since I guessed someone would have faced this problem before but of no avail. Do we have point...more >>

Display different when calling from localhost(internally) and externally
Posted by Shawn T at 4/17/2007 10:58:47 AM
I have an application with a page that has a web user control When I call that page that has this user control, locally (http:// localhost/ApplicationX/default.aspx) and also externally ie (http:// <webserver>/ApplicationX/default.aspx), the display is all different. For example, a text box ...more >>

how to ping several different ip address from an application
Posted by Paul at 4/17/2007 10:28:03 AM
Hi I need to ping 6 different IP addresses and am currently just opening 6 dos comand prompts and typing in the commands. Just wondering is there a way to do this with a .net windows application or possibly just a batch file? thanks -- Paul G Software engineer....more >>

Prepaid shipping label.
Posted by nesster13 NO[at]SPAM yahoo.com at 4/17/2007 9:29:42 AM
Hi All, Does anybody have experience in implementing the functionality of printing prepaid shipping label into a current application? I have an e-commerce site and would like to allow my buyer the ability to do this. I have looked through the UPS site but came up with nothing. I would like to...more >>

How to connect into remote server
Posted by MSK at 4/17/2007 9:10:04 AM
Hi, I am a newbie to .NET/Networking if I develop a project in 1. VB.NET + SQL server database 2. ASP.NET + SQL server database 3. .NET ( vb or asp) + Access database Which one is advisable, in terms of hardware, security, cost...? one more thing, my user has just internet connection ...more >>

ASPNETDB.MDF
Posted by GaryDean at 4/17/2007 8:57:09 AM
I noticed that my asp.net project contains a 10 meg ASPNETDB.MDF database in the App_data folder. I never intentionally put it there, have never ran regsql.exe. Reading back on my logs it got there on March 7th the day I was adding some web references. How might this have gotten added t...more >>

File upload - Progress bar
Posted by Raj at 4/17/2007 8:54:10 AM
I am implementing file upload - progess bar using IHttpModule When uploading file, the web page starts uploading file after some delay depending upon the size of the file selected. If the file size is small page may do it faster and if the file size is big the process will take some time, ...more >>

Malformed URL by using Page.Request.Url.ToString() - why?
Posted by Axel Dahmen at 4/17/2007 6:56:00 AM
Hi, one of my .aspx pages is called using a URL like: http://localhost/Test.aspx?returnUrl=http%3a%2f%2flocalhost%2fBackPage.aspx%3fmyParam%3dtest But when I call Page.Request.Url.ToString() I get: http://localhost/Test.aspx?returnUrl=http://localhost/BackPage.aspx?myParam=test ...more >>

Bulk insert - error: Unexpected end-of-file (EOF) encountered in data file.
Posted by AB NO[at]SPAM at 4/17/2007 6:05:22 AM
Hi to all, I have a problem about a importation of a file *.csv with SQL Server, through a bulk insert, called in a store procedure that a c# sw calls. This is the description of the error: ----- System.Data.SqlClient.SqlException =E8 stata individuata Message=3D"Bulk Insert: Unexpected end...more >>

GridView(ASP.NET 2.0)
Posted by Umeshnath at 4/17/2007 5:56:04 AM
I have a aspx page and my data to display like excel sheet (we can consider data in a grid view), the last column in the grid is a check box. The users have option for editing the data in grid view by enabling the check box. User should be able to edit number of rows finally a button to save a...more >>

Access DB to XML for Treeview
Posted by TF at 4/17/2007 4:45:02 AM
All, I have tried to implement reading my Access db table into a treeview with zero success. I gave up and resorted to stuffing all the records into an XML file which now works well for the datasource. Is there a quick way to export my Access data into an already properly formated XML file ...more >>

Loading page
Posted by Alhambra Eidos Kiquenet at 4/17/2007 4:02:03 AM
Hello misters and miss, I have an application web in asp.net 2.0. I have an Main.aspx page that include javascript code like this: window.location.href = 'anotherpage.aspx'; I want do this: while IExplorer do request to anotherpage.aspx page and anotherpage.aspx is loading, I want to sh...more >>

Dates
Posted by Jon at 4/17/2007 1:42:01 AM
Hello all, we have an app with works across the globe, and therefore dates are displayed in a number of formats, such as dd/MM/yyyy (uk) and MM/dd/yyyy (usa). When our app has it's language set to ENGLISH everything works fine, but when it's set to AMERICAN the dates fail as we're trying to...more >>

close all open windows/pop-up at once
Posted by richakarve NO[at]SPAM gmail.com at 4/17/2007 1:26:55 AM
hey can anybody please help me. In my application after session time out i've display'd a message and after that i redirect the current window to login page (that is in master page) but i want to close all other windows from that page itself(i.e the master page where i have set the timer) tha...more >>

Http file upload
Posted by Paul Wardle at 4/17/2007 12:19:20 AM
Hi I have written a program to upload files using ftp/http. So far, so good, I have coded my solution. Now I need to test it. I have access to an ftp site and the ftp upload works OK. I now need to test the http upload. I have Windows Vista x64 installed with IIS 7.0. How do I configur...more >>

How to do data paging in a web service, like asp page
Posted by Donald Adams at 4/17/2007 12:00:00 AM
Hi, I will have both web and win clients and would like to page my data. I could not find out how the datagrid control does it's paging though I did find some sample code that says they do it this way, but I can't see these methods as public. BookmarksDataSetTableAdapters.BookmarksTable...more >>


DevelopmentNow Blog