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 > november 2003 > threads for friday november 28

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

Active X control reference
Posted by Do at 11/28/2003 9:08:47 PM
Hi: I am using an MS Office Automation Active X control in my ASP.NET web application. I've added the reference and noticed that the .dll file gets copied into the \bin folder. All my code works fine on my development server. However, when I copy everything to the production server v...more >>


Accessing ViewState from image rendering aspx page
Posted by Jeronimo Bertran at 11/28/2003 8:47:02 PM
I have an aspx page that saves some information using the ViewState. This page has an IMG META that uses a second aspx page to render the image. <IMG src= "ImageRender.aspx"> I noticed that in the ImageRender.aspx, the "sender" parameter in the Page_Load referes to the page that has...more >>

Web form validation vs object validation
Posted by Colin Basterfield at 11/28/2003 5:34:49 PM
Hi, I have a web form which takes daily sales totals, both counts and monetary value and is done on a weekly basis, so on a Monday morning the User would enter these totals. Each total has a range, which at the lower end is >= 0 and the upper limit is configurable, these totals are then submi...more >>

[OT] Trouble with an asp
Posted by Alberto at 11/28/2003 4:49:55 PM
I have in a server W2000 an asp page (not aspx) but when I try to see it with the IE I only see text. If I try to read the page from another computer, it works fine. Any idea about what's happenig? Thank you ...more >>

Simulation of Button click
Posted by mg at 11/28/2003 4:41:02 PM
I have a WebForm with C# and JavaScript functions - The aspx file holds two buttons: Button1 and Button2 In Page_Load (code behind), I have Button2.Attributes.Add ("onclick", "func()"); My program works if I first press Button1 with the mouse and then press Button2 with the mouse. I'...more >>

Reading SqlDataReader or DataRow
Posted by Michael Carr at 11/28/2003 4:16:33 PM
I have a function that populates a class with values from a database. I'd like to pass into the function either a SqlDataReader or a DataRow, depending on which mechanism I'm using to retrieve data from the database. However, the two classes don't appear to have any common interfaces that would ...more >>

ASP x ASP.NET Sessions
Posted by Fabiano at 11/28/2003 3:53:44 PM
Please, i've a website that works on ASP. Now i'm creating some new pages on ASP.NET. But when i hyperlink from my ASP page to my ASP.NET i loose all session. The same i get when i need to go frmo ASP.NET to ASP. how can i solve it? Tks Fabiano ...more >>

Defining classes in jscript
Posted by Henke at 11/28/2003 3:50:21 PM
I know it's possible to define my own classes in jscript, but where should I define them. If I define them inside a script section I get syntax error when executing the page. Thanks! /Henke ...more >>



System.Web.UI.Page?
Posted by Jean-Francois Lord at 11/28/2003 3:29:30 PM
Hello, Can anyone tell me if it is possible to build a System.Web.UI.Page object from raw data coming over a socket? I need to build this object, and populate the WebRequest object from the raw request data coming from a browser. Does anyone know if this is possible? Thanks, Jean Lord ...more >>

Acces Excel file using .Net
Posted by Reddy at 11/28/2003 3:28:57 PM
Hi, How to access an excel document using ASP.NET and get all the rows of data from the excel file into a datagrid. Any pointers to an example code would be great. Thanks, Reddy ...more >>

Call event handler programatically
Posted by mg at 11/28/2003 3:19:03 PM
How can I call an event handler (e.g., Button1_Click) programmatically. That is, without having to click on the button with the mouse....more >>

Datetimepicker in ASP.NET-datagrid ???
Posted by Koen Vanherk at 11/28/2003 3:10:42 PM
Can I use a datetimepicker control in a datagrid column in asp.net page.If it's for win forms only, is there any way I can provide similar functionality to the user for picking a date in my web form?Regards, Koen ...more >>

How to Invoke IExplorer from aspx page
Posted by kapila Wijethilaka at 11/28/2003 2:49:44 PM
Hello, I want to invoke clients iExplorer from my axpx page. I did a some cod eto dot this.but it gave me below error. can anybody help me with this thanks Access is denied. Description: An unhandled exception occurred during the execution of the current web request. Please review the...more >>

Temporary File Names
Posted by Bob Morris at 11/28/2003 2:40:37 PM
I need to be able to create unique new filenames in a directory set by me, with an extension that I set. The two commands I need are:- Path.SetTempFilePath(string path); and Path.GetTempFile(string extension); Unfortunately MS haven't provided them. Any ideas? Bob ...more >>

Q about static members in asp.net (C#)
Posted by Flare at 11/28/2003 1:38:49 PM
Hi im trying to prevent people from useing more than one browser to view my page. But first i need to know excatly how static members of a form class is behaving. When is the IntanceCounter (see ***) desctructet?(reset) When the IIS server is restaret? Then Browser close? Im getting diffren...more >>

writing to Excel using ASP.Net
Posted by Jeff Hamilton at 11/28/2003 1:30:22 PM
I have several ASP.Net pages which allow the user to view the content in Excel. To do this I am using the line 'Response.ContentType = "application/vnd.ms-excel"' in the Page_Load event. For Win 2K machines running IE 5.0 this does not cause a problem, however for machines running Win XP and IE...more >>

Open a file from URL.
Posted by Brian Binnerup at 11/28/2003 12:50:52 PM
Hya. I have looked trough my classes, and I can't see any way to open a file from a http url. File.Open cannot take a url as parameter, but how can it be done then? Thanks, Brian Binnerup ...more >>

Programmatically Generate a POST to Log Into Site and Screen Scrape
Posted by Tony Pino at 11/28/2003 12:18:33 PM
Hi, Lets say there's a web site with simple authentication. It asks you to type a uname/password into a couple text boxes, and then it gives you a cookie and you're logged in for 20 minutes or so. What I need to do is automate that. In other words, in my code behind, how can I generate...more >>

Message Box Works with Validators
Posted by cksj at 11/28/2003 12:08:14 PM
I have a button that will trigger validators. In one special case, I have to show a message box when the button is clicked. In the code behind, I added the following: cmdAccept.Attributes.Add("onclick", "javascript:checkPayment();") The message box will not show because of the validators. It...more >>

.ascx files
Posted by Rob Meade at 11/28/2003 11:32:00 AM
Hi all, I have just put together our organisations 'template' for our web applications and have created 7 .ascx files which when dropped into my template file work perfectly...however, I have a question... As our team develops several applications I wanted these generic .ascx's to be able t...more >>

Evaluate contenttype
Posted by John Boghossian at 11/28/2003 11:16:14 AM
Does anyone know what really happens when you call the method contenttype on the object httpPostedFile that returns the mime-type for the uploaded file. Is it so that the post request includes the mimetype as a string that has benn evaluated in the client and is attached to the post to the serv...more >>

Custom Role Based Security
Posted by Boris Condarco at 11/28/2003 11:13:19 AM
Hi gurus, I was reading some documentation about security in .NET Framework, it mention that it is possible to make custom Role Based security for example: check the authentication with Windows Integrated and once do that, create a Generic Identity in orde to create a Generic Principal with cu...more >>

Language Confusion
Posted by John Carnahan at 11/28/2003 10:38:51 AM
What direction to look into? I'm using VB.net for the ASP.net main language, with some Web server controls, and some HTML server controls, and want to add some Client side functionality to the UI, for example, a mouseover event on a gizmo to light up or something, but don't want a roundtrip t...more >>

Web Controls and the Back button
Posted by Jeremy at 11/28/2003 10:38:04 AM
A web control event is executed on the server and the form is posted back to the browser, thus automatically adding the previous state of the page (before the web control event is fired) to the browser's history. Is there any way to prevent this ? ...more >>

Opening Word app from Web Page
Posted by Elizabeth Harmon at 11/28/2003 10:29:47 AM
Hi All I am attempting to open a Word App from a web page and so far everything works (After reconfig of dcomcnfg for Microsoft Word Document). I have one minor problem, i cannot get the application to become visible **********What am i doing wrong? is there something else that needs to be do...more >>

How to get OK CANCEL values
Posted by Chuck Traywick at 11/28/2003 10:26:59 AM
We have a webform that we would like to wire up with btn1.attribute("ONCLICK") = "javascript; confirm('Delete this record? );" How do I find out in a server side button which button the user picked? Thanks Chuck ...more >>

datagrid as reusable datasource?
Posted by Richard K Bethell at 11/28/2003 8:39:07 AM
I have a page that does some complex calculations in order to serve up a datatable that is then bound to a datagrid. I want to add sort to this datagrid. Now I know that to prevent a recalc, I could throw the DataTable in the viewstate and rebind at every hit. However, I am wondering if I hav...more >>

Form tag with runat=server
Posted by ola at 11/28/2003 8:07:07 AM
Please Help. I get this error in one of my files Control 'AdminTabControl1_lnk0' of type 'LinkButton' must be placed inside a form tag with runat=server. ...more >>

Maintaining Datagrid State on manipulated columns
Posted by jason NO[at]SPAM yoursolution.com at 11/28/2003 6:40:40 AM
I have a datagrid inside a user control. I use the itemcreated event to manipulate column values. I then add those values up and place the total in the footer of the datagrid. I have wrapped the function used to obtain the data for this datagrid in a page.ispostback=false condition. Everything d...more >>

AssemblyInfo
Posted by C at 11/28/2003 6:37:23 AM
Hi, I have a project with a number of assembly's. (a) How do I version these assembly's? (b) Is there an option to get the compiler to set the version in the Assembly.info file? Thanks, C....more >>

Using a licensing control in ASPX without compilation?
Posted by willgart NO[at]SPAM hotmail.com at 11/28/2003 5:35:46 AM
Hi, I'm creating a website in aspx with notepad. I want to used a licensed control on my site, but I received a liceense error. If the code is used in VS.NET, then there is no problems. What can I do??? How to used a licensed control in a simple ASPX page without VS.NET? thanks. Jerom...more >>

using System.Web.UI.Design;
Posted by C at 11/28/2003 4:29:29 AM
Hi, I have a C# Web Application. I am Referencing System.Web In teh code behind of one of my pages I have below imports- using System.Web.UI; using System.Web.UI.Design; When I try to compile my app it complains about System.Web.UI.Design saying that Design does not exist in t...more >>

How to implement : IHttpHandler on Windows server 2003 standard
Posted by jean.cadeau NO[at]SPAM w4global.com at 11/28/2003 2:48:09 AM
I want to implement this method on a windows server 2003. I'm using system.web, but the type or the namespace IHttpHandler is missing?? any suggestion?...more >>

Master / Detail datagrids
Posted by Marcel at 11/28/2003 1:38:25 AM
Hi, I'm new to VS and ASP.NET and have a question about master/detail datagrids. I have a master datagrid filled with data via a component that contains a SQL adapter. Now I would like to fill a detail datagrid (which will contain a number of detail records) based on the selected master....more >>

DLL version information
Posted by Jenny at 11/28/2003 12:55:20 AM
Hi all how can I show information about the used DLLs on my aspx page? Thanks for help Jenny...more >>

where can I get the prefix name of each object ?
Posted by Tee at 11/28/2003 12:09:26 AM
Hi, Anyone know where to get the list of prefix name in .NET ? like label = lbl, textbox = txt ... etc. etc. does microsoft officialy have a list for it ? Thanks, Tee ...more >>


DevelopmentNow Blog