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 > march 2004 > threads for monday march 1

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

application crash in try catch
Posted by Nileshw at 3/1/2004 11:31:07 PM
I am using try catch in my application. If I use response.redirect in try catch and suppose any error occur in response.redirect line , that error is not catched but crash my application For exampl private sub subRedirectTo( tr response.redirect("wr...more >>

Modify Web.Config Programmatically?
Posted by Stewart Armbrecht at 3/1/2004 11:26:49 PM
Does anyone know of a good example for modifying the web.config file programmitically. I would like to update the web.config file's connection string when I deploy the web application using a web set up project. ...more >>

Rewrite URL without using .aspx?
Posted by DDK at 3/1/2004 11:19:29 PM
How would you go about rewriting a URL such as: http://www.mysite.com/folder/page.aspx?query=WordnotNumber to: http://www.mysite.com/folder/WordnotNumber In other words I would like to put the querystring at the end of the URL without using (.aspx) I have seen some examples of rewriting ...more >>

VB.Net Syntax...
Posted by Jimmy at 3/1/2004 11:12:29 PM
I have C# code as follows. //create instance of source web form WebForm1 wf1; //get reference to current handler instance wf1=(WebForm1)Context.Handler; Label1.Text=wf1.Name; Label2.Text=wf1.EMail; What is the equivavlent code in VB.Net ? I am writing application in ASP.Net. Thanks,...more >>

Please help DEPERATE page randomly stops loading
Posted by SamIAm at 3/1/2004 10:59:46 PM
Hi I am getting pretty frustrated here. I have a simple page architecture that consists of a header web user control, the main page content and a footer web user control Every so often that page loads the header content and just stops. If I click view source, I see that all the content has ...more >>

Calling VBA Script...
Posted by Nelson Smith at 3/1/2004 10:50:53 PM
Is it possible to launch VBA Script located in local hadrdisk using ASP.Net application ? Thanks, Nelson ...more >>

Remove column from a DataGrid?
Posted by Bruce W.1 at 3/1/2004 10:42:25 PM
I've got a dataset with a couple of table columns that I don't want to show in a DataGrid. But I want to leave the columns in the dataset. I passed the DataSet thru a DataView, but I can't figure out how this might work. There are tons of examples out there on how to filter rows out of th...more >>

SmallDateTime and NULL Values
Posted by Fred Nelson at 3/1/2004 10:19:44 PM
Hi: I'm a relative Newby writing my first vb.net web application that uses SQL SmallDateTime fields. I have some records that contain null values in the datetime fields and they return #12:00:00 AM# rather than blanks as I would like them to - even if I set them = nothing. Is there a sim...more >>



How to add my own Method to existing class?
Posted by Matt Doggie at 3/1/2004 10:04:47 PM
In C#, the String class has a lot of Methods, such as "mystring".Trim(); I want to add my own Method so that the whole web application can use it. What I want is: "mystring".GetIt(); How do I do it? How do I override the String class so that the whole application knows about the change? ...more >>

IIS Caching of .NET components
Posted by timasmith NO[at]SPAM hotmail.com at 3/1/2004 9:59:37 PM
Our ASP.NET application, using the .NET 1.0 framework servers up .aspx pages to the browser. Each GET and POST request should never be cached - and never is. However there is a number of javascript, cascading styles sheet and image files that are being sent to the browser with every page requ...more >>

Deploy ASP.Net application to a virtual directory
Posted by Stewart Armbrecht at 3/1/2004 9:49:36 PM
Is it possible to create a deployment project that deploys your asp.net application to a virtual directory? I don't want the application to install in the wwwroot folder. If so how? ...more >>

Creating a custom .Config file
Posted by Jarod_24 at 3/1/2004 9:12:16 PM
I Created a .config file for my Web application and named it "Settings.config" The file contains some settings for the application, including a connection string to a database. But i don't see how a System.Configuration. class finds the file. I expected to be doing something like this: ...more >>

Tracing issue
Posted by STom at 3/1/2004 9:06:17 PM
If I have the following setting in my machine.config file: <trace enabled="true" pageOutput="false"> and in my web.config <trace enabled="true" pageOutput="false"/> are these the same thing? for example if in my web.config file I have: <trace enabled="true" pageOutput="true" /> Doesn't t...more >>

Secure some pages and not other
Posted by Shimon Sim at 3/1/2004 9:02:51 PM
I am creating application that is mostly is used by registered user. I am using Form security to let user in. I also need to create registration for users. This of cause has to be accessible to everyone. Can I do everything in one ASP.NET application or I have to create two applications for each...more >>

Application_Error function is not invoked when an System.Web.HttpException: Request timed out occurs
Posted by sunil NO[at]SPAM volcanomail.com at 3/1/2004 8:11:27 PM
Dear All, I have a web Application "http://localhost/Web/WebForm1.aspx" that calls a WebService from "http://localhost/webserviceapp/service1.asmx"...I have set the executionTimeout to 10 secs in Web.Config where my WebService is installed. <httpRuntime executionTimeout="10" appRequestQueue...more >>

Carriage Return
Posted by LaLaBoy at 3/1/2004 7:36:05 PM
I have a textbox to contain a user input text How can I detect the carriage return characte in the text Thank You...more >>

Form Authentication with Remote Login.aspx
Posted by Beginner at 3/1/2004 7:16:27 PM
I know this is an old question, but searching all over the internet plus several MS security conferences, still haven't got a straight anwser. Basically, the login.aspx is on one dedicated server in the domain using AD. ASP.NET applications run on other servers (not neccessary in domain) and t...more >>

DateTime Substract
Posted by CBN Media at 3/1/2004 7:06:33 PM
Hi, I need to calculate a date which is current date (Now) minus x days. I looked at DateTime, it has a fairly large number of methods to add something to a date, but for substracting is just Substract which takes as a param a TimeSpan. Am I looking at the wrong method here? It should be as...more >>

Same DataGrid Issue
Posted by Arvind P Rangan at 3/1/2004 6:45:48 PM
Hi all, Case: DataGrid is having alternative colors. on Edit Item Select can i change the background color of the edit item template to the same color it had during the alternative item? If so just help me out. Thanks aRvind. ...more >>

Upgrading .net framewrok
Posted by SOS at 3/1/2004 6:40:56 PM
Hi guys ! i use of Visual Studio 2002 and .Net Framework 1.0 , how can i upgrade my ..Net Framework version to 1.1 ? i installed .Net Framework 1.1 , but visual studio still use of version 1.0 Thanx ! ...more >>

die(reason) equivalent in ASP.NET?
Posted by Ted at 3/1/2004 5:50:56 PM
Hello, Is there an equivalent to die(reason) in ASP.NET? I have a ValidateData() function that returns a boolean, so instead of If condition Then Response.Writeline(reason): Return False I want If condition Then die(reason) -Ted ...more >>

More info on PDF issue
Posted by PatLaf at 3/1/2004 5:36:06 PM
I am trying to open pdf docs using IE via an ASP.NET application written in VB.net. Here is the simple sample I'm trying to use.. 'Set the appropriate ContentType Response.ContentType = "Application/pdf 'Get the physical path to the file Dim sFilePath As String = Configur...more >>

popup date picker
Posted by luna at 3/1/2004 4:53:12 PM
ive read a few tutorials but im still not getting anywhere (most code ive seen is code inline - im using codebehind VB and aspx) im creating a link button that opens a popup calendar that once a date is picked it posts back and populates the form i think i know where the error lies im just uns...more >>

Binding Individual DataGrid columns
Posted by Dan at 3/1/2004 4:22:03 PM
I'd like to create a datagrid in which the first column is a boolean (a checkbox), and the remaining 4 columns are bound to columns in a Dataset. Is there a way to do this? Thanks, Dan ...more >>

Access Windows Forms Control in IE from code behind
Posted by Eric at 3/1/2004 4:02:45 PM
If I have a windows form control declared in my aspx page: <OBJECT id="wcControl" classid="http:MyControl.dll#MyControls.wcControl" height="100%" width="100%" VIEWASTEXT> </OBJECT> Can I not access it through code behind? Declaring a variable of the controls type does not initialize it an...more >>

Forcing system(ISS) locks to be removed folders and files
Posted by Earl Teigrob at 3/1/2004 3:54:22 PM
I want to create a web based file manager for my web site that allows me to move/copy/rename/delete files and directories in my web site. Just from my experience with FTP software, this can be a problem if the system has locked a folder or file because it is in use. Is there any way to use code ...more >>

postback and refresh problem
Posted by francois at 3/1/2004 3:54:16 PM
I have a ASPX form with a dropdownlist that makes a post back (to the same page of course, just a normal asp.net postback) That page also has an auto refresh javascript as it needs to refresh its data automatically. The problem is that when i click on the dropdownlist, i post back informati...more >>

get information from the request
Posted by francois at 3/1/2004 3:52:48 PM
Hi everyone, When I do some postback I need to discover some information like what aspx form or even the relative url to the project that the postback is orginated from. For exemple if I have projectRoot/folder1/folder2/page.aspx when i do the postback from that page, i want to get som...more >>

Run ASP .Net on Windows 2K
Posted by Steven K at 3/1/2004 3:09:16 PM
Hello, I am currently running ASP on my desktop and will be in the process of upgrading my site to ASP .Net. I installed the .Net Framework. Then I tried running a simple .net "Hello Page", but got an application server error page. Are there instructions on how to set up ASP .Net or activat...more >>

asp:RegularExpressionValidator
Posted by amessimon NO[at]SPAM hotmail.com at 3/1/2004 2:57:54 PM
Im using the <asp:RegularExpressionValidator/> server control to validate an email address The problem i'm having is that some of the charecters in the expression seem to be causing a problem (<> for example) which obviously start and close tags. The error message i'm getting is Parser Error...more >>

Browser Control and TAPI
Posted by Kris at 3/1/2004 2:56:05 PM
We have a custom ASP.NET based CRM application. We are planning to integrate the ASP.NET application with Telephony so that it can receive phone call notifications. In order to do this we need to have a Java Applet kind of model/functionality. We are planning to use J# . Does anybody have any advice...more >>

HttpWorkerRequest.ReadEntityBody returns 0 bytes
Posted by Bjorn at 3/1/2004 2:33:48 PM
Hi, I'm experiencing the following problem, I have a request which i read in chunks. I'm doing this on my local machine and sometimes it works fine and other times it fails and return 0 bytes as a result. I check if the client is connected before reading the next chunk of data from the requ...more >>

ASP:HyperLink control and client-side scripting
Posted by Brian W at 3/1/2004 2:30:50 PM
Hi All, I know this is a dumb question, but I'll ask it anyway... How do you do client-side scripting with an ASP control? For example I have: <asp:hyperlink id="Hyperlink1" runat="server" NavigateUrl="~/" onclick="return false;">Home</asp:hyperlink> When I run this it works as e...more >>

failed to embed resource
Posted by Graham at 3/1/2004 2:26:08 PM
H I have two resource files: strings.resx and strings.fr.res Both files have the build action property set to Embedded Resource When I build my project, the dll is placed under the bin/debug directory, but I also get a subdirectory under the bin/debug directory called 'fr' and a file in that di...more >>

flashing text in ASP.NET
Posted by DzemoT. at 3/1/2004 2:17:13 PM
how to make flashing label (or other text control) depending of label's text example: if label.text="Hello" then 'flash else 'dont flash end if tnx ...more >>

Trying to read DataSet that is stored in Session
Posted by Guadala Harry at 3/1/2004 2:11:11 PM
This has to be easy... I have a DataSet stored in the Session object. I simply need to read it later and get the following error: Cannot implicitly convert type 'object' to 'System.Data.DataSet' From a code-behind module of an ASPX page, how do I read the contents of a DataSet that is store...more >>

Web Listbox and Selected in C#
Posted by David at 3/1/2004 2:11:06 PM
I have a problem with the Listbox Web control in C#. It works fine in VB but in C#, the .Selected property always returns false for some reason. I have the Listbox Selectionmode set to Multiple. Can anyone tell me why? This is in Visual Studio.NET 2002 Code foreach ( ListItem oItem in ls...more >>

Error in from clause
Posted by Roel Van den Brande at 3/1/2004 2:10:58 PM
Hello I try to fill a dataset. This is my code string myConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data source= C:\\Inetpub\\wwwroot\\Notenhof\\data\\notenhof.mdb;"; OleDbConnection myConnection = new OleDbConnection(myConnectionString); myConnection.Open(); DataSet...more >>

What is Cassini?
Posted by VB Programmer at 3/1/2004 2:02:39 PM
Just downloaded a web starter kit for ASP.NET. It says if I'm using XP Home OS I have to have Cassini installed. What is this? Where can I download it? It is ISM for XP? ...more >>

pre-process click event?
Posted by shland at 3/1/2004 2:02:22 PM
This is related to my previous post on "fire click event from serverside code?" Alternately, is there a way to intercept a click event on a control from a referenced .dll, and do some pre-processing prior to allowing the click event processing to occur in the .dll? Background - I'm using a ...more >>

How run ASP.NET app on XP
Posted by VB Programmer at 3/1/2004 2:01:29 PM
I have XP Home at home. How can I run/debug an ASP.NET app? I don't have ISM. Thanks, Robert ...more >>

fire click event from serverside code?
Posted by shland at 3/1/2004 1:46:54 PM
Is there a way I can trigger the click event of a button while I'm processing (server-side) the click of another button? I know this is available in Windows forms, but what about ASP.NET? Thanks, Sheryl ...more >>

Best methods to INSERT and UPDATE?
Posted by Max at 3/1/2004 1:39:49 PM
I'm looking for best methods in terms of performance and simplicity to do an INSERT and UPDATE. Using Microsoft's Application Blocks and SQL Server stored procedures, this is simple: Insert: iNewCustomerID = Convert.ToInt32(SqlHelper.ExecuteScalar(strConn, _ "myStoredProc", _ param1, _ para...more >>

how can I get tthe referring page?
Posted by buran at 3/1/2004 1:32:38 PM
Dear ASP.NET Programmers, I want to store the referring page of an .aspx page so that I can redirect the user back to the referring page if needed. I am using the following code snippet but receiving Object reference not set to an instance of an object error. The code is as follows: If Not ...more >>

How do I access frames in .net?
Posted by john_20_28_2000 NO[at]SPAM yahoo.com at 3/1/2004 1:28:44 PM
I have a master framesetpage that calls two .aspx pages. Each page needs parameters passed to it. The left side is a treeview. The right side is the detail. I cannot find an asp:frame or the like. I need to be able to have the master frameset so that when it initially pulls up the two so...more >>

Event doesn't fire
Posted by Alberto at 3/1/2004 1:14:02 PM
In a ascx control there is a button called LoginBtn. In the InitializeComponent method I have this line: this.LoginBtn.Click += new System.EventHandler(this.LoginBtn_Click); The problem is that it doesn't respond to the click event. I checked it with a breakpoint. If I delete the button...more >>

A question on ASP.net localization
Posted by JollyK at 3/1/2004 1:12:05 PM
Hi everyone... I am creating a web app that will support english and french languages. My code is fairly simple and it working fine. In my global.asax file I have the following code in the Application_BeginRequest event. try { Thread.CurrentThread.CurrentCulture = new CultureInfo(Re...more >>

Switching to ssl and back
Posted by MattB at 3/1/2004 1:11:22 PM
I've seen some different suggestions about this, and I'm wondering if there's a common way to do it. I have an app I'll be distributing, so we can't hardcode a absolute URL in it. I've seen an add-in for doing this, but I'd like to have this all be our code if possible. Is there a consensus on...more >>

Disabled controls in Web Forms tab
Posted by ara99 at 3/1/2004 12:41:08 PM
I'm sure I'm missing something simple -- when I create an .aspx file in .Net studio and try to add some web forms controls (runat server) - all the controls (label, textbox, etc.,) are disabled. How do I enable them so I can drag them to an aspx design view thanks!...more >>

Selecting DataGrid rows
Posted by Dan at 3/1/2004 12:37:40 PM
I'd like to let a user select multiple rows from a Web Form datagrid, and then perform actions on the selected rows when I get a postback. How would I do that? Dan ...more >>

Monitor system
Posted by Mark at 3/1/2004 12:26:08 PM
I am working on a monitor system - web page that will show what processes are running on different computers. How would I get such information? All I need is a name of a process (title on a taskbar is fine) and whether it's running or not Am I way of a target? Will appreciate ay idea Thank ...more >>

Embed an html page into a placeholder?
Posted by John at 3/1/2004 12:17:01 PM
Hi all, My web app uses 3 different placeholders on one page and dynamically load usercontrols into them. That's all fine but now I have two situations which puzzle me: 1. I have a sub-folder of html pages from my site and I need to show one of these pages at a time within a specific placeh...more >>

DataGrid Doesn't Display
Posted by Dan at 3/1/2004 12:08:42 PM
Hi. I've put a DataGrid onto my web form. In the Page_Load event, I assign a datasource to it (a DataSet containing a 1500 table). However, the DataGrid doesn't appear when I request the page. Any ideas why? Dan ...more >>

Changing the default page class for web projects
Posted by tranx7400 NO[at]SPAM hotmail.com at 3/1/2004 11:56:45 AM
I've written a custom class that inherits from System.Web.UI.Page, and I'd like VS.NET 2003 to use it as the default class in my codebehind pages. I didn't see any way to set this in the GUI. I did a text search, and found references to System.Web.UI.Page in EnterpriseFrameworks\Policy\DAP.TDL a...more >>

how do to do this in asp.net?
Posted by Lasse Edsvik at 3/1/2004 11:49:17 AM
Hello ive tried to do the following in asp.net using C# but ive looked at articles and they have according to me so many lines of code it makes no sense. could you guys help me with following? i need it as ole-db <% set conn=server.createobject("adodb.connection") conn.open "Provider=SQ...more >>

Startup Kit
Posted by VB Programmer at 3/1/2004 11:19:16 AM
Has anyone heard of the .NET "Startup Kit"? I guess it's like building blocks or something to make developing easier. ...more >>

TemplateColumn of DataGrid
Posted by Steve R at 3/1/2004 11:11:07 AM
I have a Datagrid with several TemplateColumns. I am creating ALL (BoundColumn & TemplateColumn) of the columns for the DataGrid during the PAGE_INIT. One TemplateColumn is a checkbox that allows the user to select the row/datagriditem to carry forward in a wizard. The other TemplateColumns conta...more >>

<TR> custom property
Posted by Gigi at 3/1/2004 11:06:06 AM
I'm trying to add a custom property to each row of a table. So I created an HtmlTable called tblClass, I created a new class myRow inherited from HtmlTableRow, to which I added a new member myRow public class myRow : System.Web.UI.HtmlControls.HtmlTableRow private string _myCustomProp public...more >>

Run process as another user
Posted by Sorin Dolha [MCSD .NET] at 3/1/2004 11:02:57 AM
I would like to start a process from C# code as another user. The C# = code is executed as the ASPNET user because it relies in a Web Page = class, and I would like that the process will run as another user to = gain the required rights for execution (the external process needs to = create a mai...more >>

ASP.NET / SQL / Japanische Zeichen
Posted by Patrick at 3/1/2004 10:58:27 AM
Hallo Zusammen Ich hab eine simples ASP.NET Formular, in welche ich einen Text eingeben kann. Beim klicken von speichern wird dieser in die Datenbank gespeichert und danach kann dieser über eine andere Seite angezeigt werden. Ich möchte jetzt auch Japanische Zeichen speichern können. Ich kann ...more >>

Isolated Development model problems
Posted by John Tacke at 3/1/2004 10:51:05 AM
When developing ASP.NET apps using Microsoft's recommended isolated model (develop on your local iis), there are deployement reference problems because the local website is generally one level deeper than the production website. For example, the local website (running XP Pro) is: http://localhost/...more >>

Opening Files On Other Server ?
Posted by Bob Allen at 3/1/2004 10:27:17 AM
I am trying to open an image file or any file for that matter on a second server but i am getting security issues. I have usernames and passwords for this server and they are sitting side by side (not that that matters) but no matter what i do i cannot read from a web page to the other server fil...more >>

Export datagrids to Excel
Posted by me NO[at]SPAM privacy.net at 3/1/2004 10:04:57 AM
I have a web page written in asp.net that has multiple datagrids on it that would need to be exported to Excel. Each of the datagrids would be a subset of what the datagrid above it was. Thus far, I've had no luck in finding anything to work reliably. Some of the files I've saved (using a ra...more >>

ASP, multipart/form-data encoding
Posted by Jon Petrak at 3/1/2004 9:59:40 AM
I'm sorry if this is the wrong newsgroup, but the ASP ones seem to be devoid of any talk about ASP (and rather filled with spam). I have a very simple form here that loops back into upon submission: All I'm trying to do is test that the hidden field is passing properly (it's not). It works f...more >>

Client side validation in asp.net forms
Posted by amessimon NO[at]SPAM hotmail.com at 3/1/2004 9:48:51 AM
Hi Has anyone any experience using client side validation with asp.net forms. Specifically I'd like to know... 1. How do you attach client side code web controls (a button), like a JavaScript 'onclick' event for example? 2. Any issues anyone has experienced using client side validation wi...more >>

Calendar control (WEB)
Posted by slawek xxxxx at 3/1/2004 9:48:49 AM
Hello everyone, I have a terrible with Calendar control and I hope someone of you can help me. The problem is following. I have to display a calendar to select date. I have prepared page with calendar control I and open it when user click a button. The problem is that I need this “Calendar pa...more >>

Please Wait Functionality ?
Posted by localhost at 3/1/2004 9:45:28 AM
I have a page that takes a long time to process. I would like to display a <div> for the client at the beginning of the page load, and then when processing is complete get rid of the div and display my page. In my Page_Load: HttpContext.Current.Response.Write( "<div id=\"divSmartRem...more >>

How Do I Combine the Cleint & Server Script?
Posted by Prodip Saha at 3/1/2004 9:44:34 AM
Dear ASP.NET Gurus, I have a TextBox control with AutoPostBack set to true to execute the server scripts. I also, added some client script for validation.What I want is--execute the client script and if the cleint script returns true only then I want to execute the server scripts. Am I asking to...more >>

Handling quotes in a textbox?
Posted by REB at 3/1/2004 9:42:59 AM
I have a button that executes this sql query: sqlcmdInsertPhysicalNote.CommandText = "INSERT INTO DriverPhysicalNotes (DriverInformationID, PhysicalNoteDate, PhysicalNote) VALUES ('" + ddlDriverName.SelectedValue + "','" + DateTime.Now.ToShortDateString() + "','" + txtNotes.Text + "')"; I am ...more >>

Event handling for dynamically generated controls
Posted by Steve Caliendo at 3/1/2004 9:11:34 AM
Hi, I am dynamically generating check boxes in the Panel control based on a database field, and I've set the AutoPostBack property to True. How can I determine which CheckBox caused the post back ? Thank you, Steve ...more >>

What Ver HTML does ASP.NET Create
Posted by Kenneth Keeley at 3/1/2004 8:48:29 AM
Hi All, I would like to know what html version ASP.Net pages create as I like to make sure that all my pages are html certified. They don't appear to be HTML 4 Thanks Guys Kenneth ...more >>

Where is best place to put DB connection string?
Posted by Charlie NO[at]SPAM CBFC at 3/1/2004 8:43:00 AM
Hi: My ASP.NET app opens and closes database connection in several pages. Rather than hard coding string into every page, is there a place I can put it where all pages will be able to access it. In days of fat client programming, I put in INI file. Looking for similar solution. Thanks, C...more >>

Please tell me if I am doing this treeview correctly. Thank you.
Posted by john_20_28_2000 NO[at]SPAM yahoo.com at 3/1/2004 8:14:06 AM
<%@ Page Language="c#" autoeventwireup="false" %> <%@ Register TagPrefix="iewc" Namespace="Microsoft.Web.UI.WebControls" Assembly="Microsoft.Web.UI.WebControls" %> <script runat="server"> void Page_load(object sender, EventArgs e) { // Create the first TreeNode TreeNode tvFirst = new...more >>

Getting DataItem from a RepeaterItem
Posted by ric carrasquilla at 3/1/2004 7:50:01 AM
first, thx to martin for helping me with my initial post. im a newbie and appreciate the help. if someone can help me with another question, please do. i have a repeater pulling job information from a database. each repeater itemtemplate has with a linkbutton and a row with a label (for now)...more >>

Calling Javascript Function from within VB Procedure?
Posted by theintrepidfox NO[at]SPAM hotmail.com at 3/1/2004 7:43:14 AM
Dear Group I'm using VB to write an aspnet application. I would like to call a javascript function from within a VB Sub or VB Function, is it possible? My code is something like this: VB Code: Public Sub VBProcedure() .. .. Run some VB Code... .. .. Now call the javascript function ...more >>

HOW TO: Create a single DataSet bound object used by 50 DropDownList box controls in the same web form. CSHARP
Posted by Bill at 3/1/2004 7:14:17 AM
I have a seating chart web form that has over 50 entry field controls (tables/booths) where I use a DropDownList box to select a single company name from a single large list of organizations (200 plus conference attendees). All web form datavalues will be one of the same 200 organizations in t...more >>

Need Advice on Viewstate
Posted by jenn at 3/1/2004 6:41:10 AM
Hi I was using Sessionto persist datatables, but now I don't think it's good idea to do so as Session can cause overhead on the server (as the number of users grow), so I use ViewState to store the datatables instead. I'm wondering what are the disadvantages of using ViewState against Session, b...more >>

How to embed dynamic generated image into HTML?
Posted by Olav Tollefsen at 3/1/2004 6:33:30 AM
I have som code that dynamically generates an image and writes it back to the browser from an .aspx codebehind file like this: System.Drawing.Image image; image = GenerateImage(); Response.ContentType = "image/jpeg"; image.Save(Response.OutputStream, System.Drawing.Imaging.ImageFormat.Jpeg); ...more >>

Date Picker Custom Format
Posted by Jim Heavey at 3/1/2004 6:23:24 AM
Hello, I am trying to alter the default date format shown in the date picker control. I am using the "Custom Format" property and setting this value to "ddd M/d/yy", but this has no effect. What am I doing wrong? Thanks in advance for your assistance!!!!...more >>

Button click with keyboard
Posted by Joy at 3/1/2004 6:21:06 AM
Hi all can I use shortcuts like Alt + E etc. instead of clicking a button with the mouse? How can I do it in ASP.NET Thank you Joy...more >>

visual studio 2002 not recognizing framework 1.1
Posted by usenet_daughter NO[at]SPAM yahoo.com at 3/1/2004 6:08:43 AM
I have an ASP.NET project developed on one machine in Vis. Studio 2003, and moved it to an older machine that has Vis. Studio 2002. This older machine has been upgraded with the 1.1 framework, as well as all the latest MS service XP and .NET service packs. I created a new ASP.NET project on the ...more >>

Looking for Good book for JScript.net
Posted by Chris at 3/1/2004 5:01:06 AM
I need recommendations for a good source for jScript.net. I have no javascript background and would like to start with jscript. Does anyone have essam ahmed's book that they would like to sell Thank ...more >>

Windows media player and asp.net
Posted by johng1492 at 3/1/2004 4:51:07 AM
Does anyone have any code as to how to display a dynamically generated media player control in asp.net?...more >>

Strange problem with validation
Posted by Marius Traelnes at 3/1/2004 4:09:10 AM
Hello! My problem is that i have validation controls on my webform but they are not "fired" because there is no "onclick" event being made on the button that should "fire" off the validation controls. I have tried to add the onclick event by myself by adding: LoginBtn.Attributes.Add("oncl...more >>

Preserve value in HTML File Control
Posted by Amit Pandya at 3/1/2004 3:06:06 AM
Hello I have three control on page. One is HTML File Control and other two is Web Control Button. Now when i click on first button the page is posted and i want the file path that was previously selected get displayed in the HTML File Control. After this i click on second button and file...more >>

Open popup aspx page
Posted by Alessandro Rossi at 3/1/2004 2:36:05 AM
Hi, I have a usercontrol with a button. In the button's click event I have to open an instance of an aspx page, passing some values to some public variables of the page. How can I call the instance of the right page? The code is the follow: //this is the webpage LookUpWebForm LUWF = new LookU...more >>


DevelopmentNow Blog