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 2006 > threads for monday march 6

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

calling a dll function from asp
Posted by Bryan Valencia at 3/6/2006 8:17:00 PM
I am using ASP (not even .net) and I need to call a function in a DLL from a third party. How can I do this? ...more >>


asp.net & Windows2003
Posted by SJ at 3/6/2006 5:32:27 PM
I want asp.net to be able to write to files and restart windows services. I know that making the username="SYSTEM" in machine.config gives asp.net admin rights on a computer in windows 2000. This does not seem to be working in Windows2003 however. Does anybody know a workaround? Or why this...more >>

DropDownList SelectedItem Javascript
Posted by Alper ÖZGÜR at 3/6/2006 4:19:55 PM
Hi; I can read the selectedvalue of dropdownlist by javascript using this.value... How can i get the selectedItem.text by javascript? ...more >>

how to convert xls format to csv in aspnet
Posted by kitkat at 3/6/2006 4:12:21 PM
Is it possible to convert excel file format to csv format through asp dotnet. I need to select a file through browse button that select an excel file and once selected, would convert it into comma delimiter file. Thanks in advance for your help! Amit ...more >>

Optimising a web page
Posted by BobLaughland at 3/6/2006 4:08:26 PM
Hi All, I have a web page that loads data out of a database, and then displays it on the screen. There is a lot of logic behind the displaying, some times fields are made invisible, and sometimes they are hidden. The page is slow to load, but I must admit that the database query to load ...more >>

Is there a codebehind page for the content page in Master pages?
Posted by Learner at 3/6/2006 4:04:10 PM
Hello, This is first time I have started using Master Pages. I am using ASP.NET 2.0 (VB) in Visual Studion 2005. This is how I am doing it... I have created a master page and placed a ContentPlaceHolder. And then by right cliking on the project I added a content page (by leaving the master...more >>

validation strategy?
Posted by Dabbler at 3/6/2006 3:58:29 PM
I need to insure that at least one of three phone number fields has a value (requiredfield) but I'm not sure of a way to implement this without server side logic. Is there a way to use the validation controls to do this? Thanks. ...more >>

Profile in global.asax
Posted by Saber at 3/6/2006 3:50:13 PM
I get an error message when using Profile object in global.asax : Sub Session_Start(ByVal sender As Object, ByVal e As EventArgs) Dim browser As String = "test" Profile.Browser = browser 'line 25 End Sub Error message: Object reference not set to an instance of an object. (it points to ...more >>



vs.net 2005 regular expression infinite loop...
Posted by jojobar at 3/6/2006 3:41:27 PM
I have a aspx file (snippet shown below): ======= <td class="light-m1" id="rwCompleteButton" runat="server"><br/> <asp:ImageButton CssClass="clear-m1" runat="server" CommandName="Complete" ID="btnComplete" /> <asp:ImageButton CssClass="clear-m1" runat="server" CommandName="Delete" ID="...more >>

asp .net 2.0 parser error
Posted by Carlos at 3/6/2006 3:19:53 PM
Hi all, A friend of mine just gave me his project from a 1.1 .net app, and I converted it 'successfully' into a 2.0 app in my environment, then rebuild it. I did not get any errors. However, when I try to view the initial page in the browser I get a parser error: Could not load type <appna...more >>

2.0, Namespaces, Me.<controlname>
Posted by Jim Andersen at 3/6/2006 3:18:52 PM
Could someone clarify this behaviour ? In .Net 1.1 (Vis Stu 2003), I could make a Class module, a .vb file, with a bunch of global functions. In my aspx-pages I could then call those functions. The "old" 1.1 project had name A, and the vb-file started with Namespace A Public module Modu...more >>

NewB Insert Question
Posted by jsugamele NO[at]SPAM gmail.com at 3/6/2006 3:00:22 PM
This is my first shot at .net. This is a website and I am trying to create a comments form. Simply I want the user to hit the submit button and have the data stored into a database and a copy emailed to me. All this new data stuff has me stumped. I have watch tutorials and read a few article...more >>

Binding an arraylist to a datalist
Posted by npverni NO[at]SPAM gmail.com at 3/6/2006 1:53:37 PM
I have datalist binding to an arraylist of custom objects (defined in a class "PageItem"). What I am trying to do is access the source PageItem object in an ItemCommand event handler of the DataList. For example, I would like to do something like the following: protected void dlPages_It...more >>

TreeView question for ASP.NET 2.0
Posted by Eric at 3/6/2006 1:45:38 PM
I'm using the TreeView control in Selection mode. However, leaf nodes that have been selected show in the browser as a different color than ones that have not been selected just like HTML links are displayed differently if they are in your cache/history. Is there a way to stop this? I want ...more >>

Table stretching excessively in IE
Posted by Arthur Dent at 3/6/2006 1:37:38 PM
Hello all... i have a really frsutrating problem here... This is only happening in IE (6 & 7b2), Mozilla and Netscape are both OK. I have a top-level table with a width of 760px, so it should be 760 minimum and stretching wider as needed to fit content (such as bound datagrids). In the top TR...more >>

Embed Outlook (Calendar part) into ASP NET Application
Posted by irfankhan5 NO[at]SPAM gmail.com at 3/6/2006 1:25:45 PM
Hi, I have an email account on 2003 Exchange Server. Now, I have to make available the Calendar part of this account available on my ASP.NET web application. Is there a way to embed Outlook into ASP.NET Application? If not, then is there a way to communicate with the Exchange Server and dis...more >>

gridview select command question
Posted by Tammy B at 3/6/2006 12:55:34 PM
Hi! I have the following select command: SelectCommand="SELECT [id], [Name], [Address1], [Address2], [CITY], [STATE], [ZIP], [COUNTRY] from [MyTable] WHERE ([Address1] = @txtAddress1)" I would like to be able to use a LIKE operator rather than EQUALS I can't figure it. Can you help? ...more >>

Use VS2005 with Sql Server 2005 and attach a .mdf (ASP 2.0)
Posted by Greg P at 3/6/2006 12:15:29 PM
I know this is a long post, please bear with me. I have been working on this all weekend to no avail although I have done a good amount of research (see most pertinent links that I've looked at below). Please help me get through this!!! I'm having some serious problems attaching a .mdf fil...more >>

Postback and return view
Posted by blackstaronline.net at 3/6/2006 12:14:51 PM
Hi, I have a several buttons that when clicked makes a postback and executes some code. My page has a lot of data on it so the user will work their way down the page having to use the scroll bar to view it all. But when a post back happens the screen returns to the top. This can get very an...more >>

Deploying and inheritance
Posted by Laura K at 3/6/2006 12:01:25 PM
I have no idea what to do here. I have an application I developed on my local machine and I need to upload it to the remote host. All works fine locally but on deployment inheritance is not working. I really do not understand deployment and I am sure that is my problem. Here is the error:...more >>

Will 2.0 allow a webservice without VS2005 or IIS
Posted by Michael E Baltic at 3/6/2006 11:45:35 AM
VS 2005 allows for web sites and services to be run without installing IIS. What if I want to create a SOA application for a non-internet connected environment? For example: I have a pc running a local, lightweight database. I want my pocket pc to be able to synch and run live off of the...more >>

How to cancel strong password limitation in ASP 2.0
Posted by Henry Lee at 3/6/2006 11:30:26 AM
Hi, Our user complain about the strong password setting makes them hard to remember for ASP 2.0 web. Is there anyway to disable the setting which requires users must use strong password like #$% character ? Thanks, Henry ...more >>

Dataset, how to set hyperlink?
Posted by Edwin Knoppert at 3/6/2006 11:22:56 AM
I want to fill a dataset, one of the columns is hyperlink. At the end i want to set a full href, thus url + name. System.String results in interpreted html, not useful. How would i modify the following lines? ' Create the column oCol = New DataColumn("File", System.Type.GetType("System.Stri...more >>

AddHandler question
Posted by Joe at 3/6/2006 11:20:29 AM
Hello All: I have coded the following in a webform: Dim btn As New Button btn.ID = "btnDynamicCarbonCopies" btn.Text = " More " AddHandler btn.Click, AddressOf AddDynamicCarbonCopy plcContent.Controls.Add(New LiteralControl("<br/>")) plcContent.Controls.Add(btn) along with: Pr...more >>

Is Delta Publish & Deploy for ASP.NET 2.0 Possible?
Posted by Douglas J. Badin at 3/6/2006 10:59:38 AM
I am using VS 2005 to Publish my ASP.NET 2.0 Website with the following: - Not allowing this precompiled site to be updatable - Use fixed naming and single page assemblies - Not Enable strong naming on precompiled assemblies As it is, I get around 300 files in the bin directory and it takes ...more >>

How to cause a page to poatback automatically without user interfering?
Posted by charles at 3/6/2006 10:48:35 AM
Hi: I created a thread from Page_Load to start an infinite loop to monitor the arrived data (a customized event). When the data arrives, I set a flag to true to break the loop and join the thread to the Page thread in order to display the data on a textbox. Then I want to continue monitorin...more >>

execute exe from asp.net
Posted by CsharpGuy at 3/6/2006 10:30:30 AM
Is it possible to call and execute an EXE file on a server from a asp.net web form? The exe file does some process like a batch file. I have a windows form that calls it and executes it correctly but I need it to be a web form instead...more >>

"Back" button and ViewState
Posted by Diffident at 3/6/2006 10:05:30 AM
Hello All, Most of you might be familiar with this problem i.e, viewstate is lost whenever we navigate from the one page to another. Does anyone have a remedy for this problem? On Page A, I have a datalist which has a "select" link for each row(I have 1000's of such rows). When a user cl...more >>

page load event not triggered
Posted by samuelberthelot NO[at]SPAM googlemail.com at 3/6/2006 8:31:48 AM
Hi, I'm struggling there. My page load event is called the first time the page is loaded. Then I move to another page using Response.Redirect, and when I click the back button of the browser I get back to my formal page, but this time the load event is NOT triggerred... Any idea why ?? ...more >>

Setting GridVIew column widths at runtime
Posted by Steve Bugden at 3/6/2006 7:52:31 AM
Hi, I would like to set the column widths in the ASP.NET GridView control at runtime I have tried the following: http://msdn2.microsoft.com/en-us/library/ms178296.aspx Which uses the following code on a button: Protected Sub Button1_Click(ByVal sender As Object, _ ByVal e As Sy...more >>

What is Server-Side Jscript (not Jscript.NET)?
Posted by Maxwell2006 at 3/6/2006 7:47:31 AM
Hi, I have a requirement to develop an application component using only Server-Side Jscript (not Jscript.NET). What is Server-Side Jscript? Thank you, Max ...more >>

sending email confirmations
Posted by somersbar NO[at]SPAM yahoo.com at 3/6/2006 7:43:02 AM
hey, im doing an ASP.NET project that acts as an online booking system for cinemas. when a user books a film with their credit card i need to send them an email confirmation of their booking. how do i go about doing this please? ...more >>

PKZIP - PK Ware - .NET Example
Posted by RaviChikka at 3/6/2006 7:41:27 AM
Hi, My project requirement is to use the PKZip/PkWare compression/de-compression methods for files. Can any one of you, pls help me in getting the .net code example (links) for implementing the same. Thanks in advance for your help. With best Regards, Ravikanth Chikka mail: ravikant...more >>

Web Deployment Project - .net version
Posted by gerry at 3/6/2006 7:35:31 AM
I am using a Web Deployment Project to create a web app installation package. Everything work peachy with one exception - the installed site is always configured to use .net 1.1 instead of .net 2.0 I am assuming that the site is actually just defaulting to the default version Anyone know how...more >>

web.config inheritance
Posted by gerry at 3/6/2006 7:35:08 AM
Is there any way to prevent web.config inheritance in nested web applications ? Here is the scenario, a 3rd party asp.net web application installed on an asp.net intranet site : http://intranet.company.org http://intranet.company.org/3rdPartApp both are configured as applications in IIS. th...more >>

Can an asp:textbox produce HTML?
Posted by needin4mation NO[at]SPAM gmail.com at 3/6/2006 7:18:01 AM
Hi, I have this in my asp.net 1.1 page: <asp:textbox id="Comment" tabIndex="4" runat="server"></asp:textbox> Inside the tags, say I have: <b>I am bold.</b> When I run the page I get the tags, the HTML, with the sentence. But how can I get it to render the sentence bold using the tags? ...more >>

ViewState for Datalists
Posted by Diffident at 3/6/2006 6:31:30 AM
Hello All, I have a question on datalists. I have 5 datalists on a page and when I try to view the "ViewSource", the value for the __VIEWSTATE is empty. How do datalists persist their values? I am not binding the datalist each and every time. Strangely whenever I try to access datalist e...more >>

XML Data and ASP.NET
Posted by asad at 3/6/2006 4:46:26 AM
Hello friends, how ru all, i have a question about xml data displaying in ASP.NET, for example i build an xml file which have some predefined error messages then i want to access these predefined error messages in my ASP.NET pages for example on registration page or on user login page, pls ...more >>

Developing with client and server machine
Posted by יוני גולדברג at 3/6/2006 4:20:28 AM
Hi, I have visual studio 2005 on client machine and another server machine (with sql server 2000 and IIS). Also i have .sln (visual studio solution) file with some asp.net project i have to change and upgrade. Where should i put the .sln file (visual studio solution)? How do i connect with V...more >>

problem in querystring
Posted by murali.trichy at 3/6/2006 3:13:57 AM
hi, according to browser Querystring values are vary, for eg. IE - 2,083 Characters. In my application I'm transfering data from Javascript to Asp.Net through Query string. Eg: var http = new ActiveXObject("Msxml2.XMLHTTP"); http.open("POST","Server.aspx?tname="+rowno +"&value=...more >>

Stripping html tags from text
Posted by Spondishy at 3/6/2006 2:06:01 AM
Hi, I'm looking for help with a regular expression and c#. I want to remove all tags from a piece of html except the following. <a> <b> <h1> <h2> <h3> Also, <a> could be <a href="aa">aaa</a> etc. Help would be appreciated, along with an explanation of the reg expression created. ...more >>

Roles/Groups in ASP.NET 2.0
Posted by Chris at 3/6/2006 2:02:46 AM
I'm looking to protect some pages using the Membership provider (ADS) built into .NET 2.0. In order to protect these pages, whose details are stored inside a SQL Server table with columns id,name,url,parentid etc. I need to link them into some roles, or groups. So only certain groups from our ...more >>

Problem with symbols in DbgCLR
Posted by wylbur via DotNetMonster.com at 3/6/2006 12:45:38 AM
I'm having a problem with establishing breakpoints in DbgCLR Version 2.0. I've set breakpoints for statements in Page_Init, and they were never triggered when I loaded the webpage. In the code window of the debugger, I place my cursor over the breakpoint symbols in the left column, and I get ...more >>

The asp:LoginStatus
Posted by Progman at 3/6/2006 12:16:15 AM
I can display the login status using the <asp:LoginStatus> tag. Unfortunatelly, the object LoginStatus seems not to provide an attribute to test it. How can you read from the code (VB script) the login status? ...more >>

How to get the installed WebSite in VS2005 WebSetup installer customAction?
Posted by jacky kwok at 3/6/2006 12:00:00 AM
Dear All: In VS2005 WebSetup installer InstallAddress dialog, there is field to let user to select which website to install the webapp (if there are more than one WebSite in the IIS). I want to know how can I get the WebStie info in the customAction. I can use "/VDIR=[TARGETVDIR]" i...more >>

Disabling the print screen option
Posted by Ravindra at 3/6/2006 12:00:00 AM
Hi all I want to disable the print screen option for my web page. can anyone help to solve this problem.It is urgent.please regards ravindra ...more >>

Static Method!!
Posted by Mr Ideas Man at 3/6/2006 12:00:00 AM
Hi all, I am trying to create the following class: My problem is i can't seem to use this static function (VB) The error i am getting is "methods can not be declared static" Can anyone enlighten me? Imports System.IO Public Class Stationery : Inherits Page Public Static Fun...more >>


DevelopmentNow Blog