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 > may 2005 > threads for thursday may 5

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

web menu in every page
Posted by dollar at 5/5/2005 11:33:08 PM
I need to make some web pages with no frames , but need to has a menu bar at the top of each pages, how can I share the menu bar between each pages? -- dollar ------------------------------------------------------------------------ Posted via http://www.codecomments.com --------------...more >>


Insert data in datagrid
Posted by dollar at 5/5/2005 11:30:06 PM
how can i insert a row in the datagrid for data input ? -- dollar ------------------------------------------------------------------------ Posted via http://www.codecomments.com ------------------------------------------------------------------------ ...more >>

2 buttons, one form
Posted by Fernando Chilvarguer at 5/5/2005 11:06:24 PM
Hi I have a page that contains 2 buttons. The form for this page has validator controls and I use the "Page.IsValid" to check if everything is fine once button #1 is clicked. When button #2 is clicked I don't want the validation to take place, but it does! Is there a way to disable the...more >>

ASP.NET 2.0 B2: Howto change web reference?
Posted by Olav Tollefsen at 5/5/2005 10:22:27 PM
When using Web Services from ASP.NET 1.1, you got a "Web References" folder in your project containing an entry for the web service references you added. The property page for this entry contained the URL to the web service and you could change this URL if you wanted to point to another web servi...more >>

too logn viewstate
Posted by guoqi zheng at 5/5/2005 10:01:52 PM
Viewstate is nice, but you know viewstate data counts 1/3 of my page size. I need viewstate because I have button control inside my repeater control, but any idea how can I reduce the viewstate site, it sounds horrible to have so big viewstate. regards, Guoqi Zheng http://www.ureade...more >>

<%= variable does not substitute in user control
Posted by Steve Richter at 5/5/2005 9:30:53 PM
I have a public variable ( "mZipServiceUrl" ) in my code behind class that I am able to substitute into the HTML of the .aspx file: <span onclick="WindowOpen('<%=mZipServiceUrl%>')" style="text-decoration:underline;cursor:hand;color:red;"> <%=mZipServiceUrl%> </span> but in the same page, ...more >>

ASP.Net Form Question.
Posted by Shapper at 5/5/2005 9:02:32 PM
Hello, I am building a contact form in ASP.NET. Can someone indicate me some link or information of how to use Label and Input tags in a properly in ASP.NET? Thanks, Miguel ...more >>

Create Printer Friendly Version
Posted by Sandy at 5/5/2005 6:35:14 PM
Hello - I tried to google this, but got back every page on the whole entire web that has printer friendly versions . . . I have a panel containing text from a repeater that also contains text in a multi-line textbox. How do I create a printer friendly version for this? Any help you can...more >>



HELP!
Posted by Mike Trebilcock at 5/5/2005 5:53:43 PM
Can anybody tell me when this code: Select Case Mode Case "TCM" Trace.Write("TIGER.MainPage.PageLoad", "Calling TCMScreen") TCMScreen() Case "TIGER" Trace.Write("TIGER.MainPage.PageLoad", "Calling TIGERScreen") Case "AD...more >>

Application specific server-side variables
Posted by jamal NO[at]SPAM docUSA.com.nospam at 5/5/2005 5:26:19 PM
I use user session to store user-specific data, but how can I store server-side data for the entire web-application? My current solution is to define static fields - or something like that - in a class. Does have ASP.NET a mechanism to store such data? Thanks, Jamal ...more >>

How do I get browser print page margins?
Posted by Ken Varn at 5/5/2005 5:16:13 PM
Is there any way to get the margin settings for page print of the client browser? I would prefer server side code, but if there is some JavaScript that I can use to obtain it, that will be ok as well. -- ----------------------------------- Ken Varn Senior Software Engineer Diebold Inc. ...more >>

SMTPMail.Send
Posted by Music Lover at 5/5/2005 5:07:38 PM
I use the method myMail.Send but receive the following error message: The server rejected one or more recipient addresses. The server response was: 550 5.7.1 Unable to relay for testing@mail.com Many thanks for any insight. ...more >>

Read values of dynamically generated checkboxes during postback
Posted by epigram at 5/5/2005 4:30:53 PM
I've got a page that has a Panel object that I am dynamically adding CheckBox controls to. The number of CheckBox controls and the name of each control is based on a database query. I would like to know how I can query for all the CheckBox controls on the page during postback and check their...more >>

responseEncoding
Posted by James T. at 5/5/2005 4:21:31 PM
Hello! I am building a russian web site. I set encoding to windows-1251 in web.config file <globalization requestEncoding="windows-1251" responseEncoding="windows-1251" fileEncoding="windows-1251" culture="ru-RU" uiCulture="ru-RU" /> The problem is that every time I submit a form, I g...more >>

dropdownlist with customvaliation
Posted by gane kol at 5/5/2005 4:20:25 PM
Hi I have a custom validator that validates a dropdownlist with a listitem value as "". But the clientvalidation function is never called. but if i use value = "0" and check it in javascript, it works fine. It might be silly, but it is eating my time. Any Ideas? for eg: <asp:DropDownList i...more >>

Why i get invalid view state exception
Posted by Hope Paka at 5/5/2005 4:07:15 PM
My web page, has an average of 1500 hits every day. Every day, i get invalid view state exception, average of 10 times. The exception message in at the bottom. When i try to parse the view state in the exception message, it is really not well formatted. I do not think that, my customers, chan...more >>

Event Fires twice for dynamic RadioButtonList
Posted by Mike Salter at 5/5/2005 3:53:22 PM
I created a page that reads a DB for questions and possible answers (usuallyYes/No). I create a panel for each group of questions, and add a panel for each question to the Group panel. To the Question panel I add a label with the question text, and a radiobuttonlist with the answers. I ha...more >>

Is it possible to determine if Back Button enabled?
Posted by H. Williams at 5/5/2005 3:52:43 PM
Is it possible to determine if the Back Button on the browser is enabled? I need to know if the page was called in a new window (for example with HREF target='_blank' or by clicking 'Open in New Window') In these cases the Back Button would be disabled. Thanks. ...more >>

How do I get code to fire on the HTML page instead of the code behind?
Posted by aaa at 5/5/2005 3:27:39 PM
I fail to see the connection between the code behind and the raw HTML of the ASPX page how do you get variables and functions to communicate with each other? I cannot get this to even fire: <script Language=C# runat=Server> public int myfunc() { int blah = 1; if(blah != 0) ...more >>

Meta Refresh Tag (turn on and off)
Posted by aaa at 5/5/2005 3:11:08 PM
How can I turn a Meta Refresh Tag on and off? ...more >>

How do I unzip a zip file
Posted by Green at 5/5/2005 3:11:07 PM
Hi, I am using Asp.Net, I want to upload a zip file, and unzip it. Any idea to complish? Thanks alot! ...more >>

SPREAD NODE THE TREEVIEW
Posted by Roberto Sandro Alvarez at 5/5/2005 2:49:06 PM
SOMEONE KNOWS HOW TO SPREAD NODE THE TREEVIEW ...more >>

access to the path dynamic_images denied
Posted by Matt Tapia at 5/5/2005 2:44:52 PM
I get the following error when displaying crystal reports on a Windows Server 2003 machine: access to the path dynamic_images denied I have given permission on: C:\Program Files\Microsoft Visual Studio .NET\CrystalReports to IUSER_MACHINENAME, ASPNET, NETWORK SERVICE for all child o...more >>

Unable to create ASP.NET Project in VS.NET 2003
Posted by Thom at 5/5/2005 2:35:32 PM
I am trying to create a new asp.net web application in VS.NET 2003. When I select the type of project I want to create I get the following error and have no idea how to fix it. I am new to this as am I a DBA trying to get some other knowledge. I am working through Jeff Prosis book. This ...more >>

How to get ASP.Net 2.0 IIS mmc snap-in (plug-in)?
Posted by Jayant Sane at 5/5/2005 2:28:02 PM
I have W2K3, IIS6. With IIS6 already in placed I installed the latest VS2005 Beta2 (v2.0.50215). There we no errors during the setup. However I dont see the ASP.Net tab in the properties of any new web sites I create in IIS. I need to resort to manually updating IIS scriptmaps using the ...more >>

Cant get webadmin.axd to work in Asp.Net 2.0 Beta2
Posted by Jayant Sane at 5/5/2005 2:22:02 PM
I just upgraded to the latest 2.0 Beta2. Created a web app - created a virtual folder in IIS, made it use .net 2.0 scriptmaps. However I cannot get the web based admin to work. When I type in: http://localhost/MySite/webadmin.axd I get 404 - this url was not found. I checked that the...more >>

Random number/letter generator
Posted by tshad at 5/5/2005 2:17:55 PM
Is there a good random number/letter generator out there? I just want to be able to generate a password that has letters and or numbers about 10 characters long. Thanks, Tom ...more >>

XMLHttp from Server
Posted by Dave H at 5/5/2005 2:07:23 PM
I want to use XMLHTTP or something like it from my server code. I'm trying to call a web page, and I want the results back into a string. ideas? Thanks, Dave ...more >>

What am i doing wrong with this variable?
Posted by Shapper at 5/5/2005 1:50:44 PM
Hello, Why this doesn't work: Thread.CurrentThread.CurrentCulture = New CultureInfo(Session("culture")) Thanks, Miguel ...more >>

Running External Programs through ASP.NET
Posted by Matt at 5/5/2005 1:46:04 PM
I have a requirement where a user upload a CSV file to the server through an ASP.NET page. After the file is uploaded the ASP.NET page then has to upload the contents of this file into an Oracle table. After the upload is complete the ASP.NET page has to call an Oracle stored procedure to proc...more >>

Exclude from Project not available for VS2005 web projects
Posted by Brad at 5/5/2005 1:42:57 PM
I'm not one to rant or flame....so please excuse me while I do so for this once. I've now spent a bit of time working with VS2005 beta 2 to see how it functions for web development, especially how our current extensive number of .Net 1.1 web apps convert to it. After a week's time I dont's m...more >>

How to change Date Format?
Posted by Shapper at 5/5/2005 1:06:20 PM
Hello, I have this code line: <%# DataBinder.Eval(Container.DataItem, "publication_date") %> Which displays the date and time as follows: 02-04-2005 0:00:00 How can I change the date format to text? Thanks, Miguel ...more >>

ADO recordset problem
Posted by Khurram Hanif at 5/5/2005 12:56:23 PM
I've a pre-written application using ASP with ADO. Recordset used in the application to update database. When i try to add a record it shows error like "Microsoft JET Database Engine (0x80040E09) Cannot update. Database or object is read-only." Any suggestions will be appriciated. *** S...more >>

Update unable to find TableMapping .. or Datatable
Posted by xaime at 5/5/2005 12:41:09 PM
Hi all, I have the code below. This is doing what I want, but always has the following exception: Update unable to find TableMapping ['mytable'] or Datatable 'mytable' The code I'm using is: Try Dim aDispuesto As Single, aDisponible As Single aDispuesto = Session("dispuesto") + APa...more >>

Special Characters in URL, how to handle?
Posted by SMG at 5/5/2005 12:35:29 PM
Hi All, I have created an application which is working fine and is in about to launch, now suddenly my mgmt says there are chances that Scrip ID( a particular id and not prim key) may have special characters like '&,*,) or /' This data(field/key) I am passing this value as a querystring....more >>

COM Identities in ASP.NET
Posted by Corey Ellsworth at 5/5/2005 12:26:23 PM
I have an out-of-process COM component referenced in a ASP.NET Web service application. I am trying to access files with this COM object on a network share that has limited user access. I am finding that the COM component cannot access these files, even when I set the ASP.NET application to run...more >>

How to get the ip address of a system using asp.net
Posted by Raghu Raman at 5/5/2005 11:58:11 AM
Hi, could u please tell me , How to get the ip address of a system using asp.net in c#. Regrads Raghu *** Sent via Developersdex http://www.developersdex.com ***...more >>

Why a statement often lost in my user controls?
Posted by Quentin Huo at 5/5/2005 11:50:11 AM
Hi: When create a new user control from VS.NET 2003 IDE, there is a private method created automatically: private void InitializeComponent() { this.Load += new System.EventHandler(this.Page_Load); } But I don't know why sometimes the statement this.Load += new System.E...more >>

how to fill a dataset using something OTHER than a SQL query?
Posted by darrel at 5/5/2005 11:40:12 AM
I have this: Dim aFiles as FileInfo() = dirInfo.GetFiles("*.*") Does this create an array? I'd like to walk through each item and then render out some text. My initial thought was to attach the data to a dataset, walk through it, and then grab the info as needed. I haven't done much wi...more >>

Cookie. Urgent. Thank You.
Posted by Shapper at 5/5/2005 11:40:04 AM
Hello, I have a Cookie which can have one or many values. One of this values is "Culture". How can I change the "Culture" value which in inside the cookie? This is what I have: Dim cookie As HttpCookie = Request.Cookies("MyWebSite") If Not cookie Is Nothing Then ' Cookie MyWebSite exi...more >>

Reading columns in a datagrid that is nested in a repeater
Posted by Maziar Aflatoun at 5/5/2005 11:26:15 AM
Hi everyone, I have a datagrid that I create inside a Repeater at runtime. I have defined a checkbox beside each row so that users can select multiple rows. <asp:datagrid id="dgProducts" HorizontalAlign="Center" AutoGenerateColumns="false" CellPadding="2" runat="server" > .......more >>

Why are these tables not adding
Posted by Chris at 5/5/2005 11:13:13 AM
Hi, I am trying to load 3 xml files into one dataset like dsXML.ReadXml(Server.MapPath("file1.xml") dsXML.ReadXml(Server.MapPath("file2.xml")) dsXML.ReadXml(Server.MapPath("file3.xml")) I am then trying to display each files in separate datagrid datagrid1.datasource = dsXml.tables(0) da...more >>

Urgent help pls.Session_onend does'nt fire
Posted by Raghu Raman at 5/5/2005 11:04:12 AM
Hi , am storing the session id in my database when the user signs in.The session_on start is firing nice & am doing my DB operations there & quite working good. But when the user closes the web browser(by clicking the x button) suddenly , i need to delete the particular session id from...more >>

How to build a slide show?
Posted by Rudy at 5/5/2005 10:59:42 AM
Hello All! After working in the television industry, moving to a developing career has been interesting to say the least. 3 years of developing with books, and the help of you fine folks on this forum, I have learned quite a bit. But that doesn't mean anything when your looking for your fi...more >>

TabStrip control help
Posted by Chris Kettenbach at 5/5/2005 10:38:59 AM
Can anyone point me in the right direction here? I want to provide a tab strip of the alphabet "A - Z". I have a stored procedure to look up company records in an SQL 2000 database. My vision is to have a datagrid on each tab, and when the user clicks the tab, it populates the datagrid with...more >>

How to show a .pdf file in asp.net?
Posted by Kenneth P at 5/5/2005 10:28:03 AM
Hi, I have an asp.net app where I want to include the manual in .pdf format on a page. What´s the easy way to accomplish this? Could it be the combination of FileStream and BinaryRedader class? TIA Kenneth P...more >>

Multi-Solution Model
Posted by csl at 5/5/2005 10:27:19 AM
Does anyone know how to setup a multi-solution model? ...more >>

Multiple File upload or download
Posted by Shawn H. Mesiatowsky at 5/5/2005 9:40:08 AM
I am creating an intranet App that is a document management system, and now I have been told they wan't the ebilty to version control directories, not just files. So I have the file upload and download working great, but I have no idea where to start on how to upload or download an entire dire...more >>

question
Posted by abcd at 5/5/2005 9:22:49 AM
Can you access the HTML server controls from the Web Server control's event handler? I have declared HTML server control (Table control) and I want to access that from the DropDownlist Web server control's SelectedIndexChanged event handler... How can I do this..whats the syntax.... t...more >>

Display XML in Datagrid or table
Posted by csgraham74 NO[at]SPAM hotmail.com at 5/5/2005 8:50:48 AM
Hi guys, just wondering if someone could help me a little. i have a piece of xml being returned to my page. This xml can vary depending on criteria that i select and submit. my issue is that when the data is returned i wish to display the result in a table. Im not sure what the best way i...more >>

General Question
Posted by Manny Chohan at 5/5/2005 8:41:31 AM
Hi Guys, When i print the webpage, the URL of the page is displayed at the bottom of page. Is there any way this can be supressed so that it can be hidden programatically? Thanks Manny...more >>

How can I read the events handlers of a UI object?
Posted by johngilmer NO[at]SPAM yahoo.com at 5/5/2005 8:15:40 AM
I posted this question a couple days ago on , but didn't get any answers, so I will try here. My issue: there is a link button with an event handler for a Click event. I want to create another link button that will act exactly like the first. So I want to set its Click event handler to be the ...more >>

Accessing control in nested datalist
Posted by Derek at 5/5/2005 8:14:02 AM
I have a nested datalist with a dropdownlist. I need to capture the selectedvalue of the dropdownlist so I can update a database table. My question then is...how do I get the value from the nested datalist? Thanks for any help....more >>

DateTime Null Question
Posted by hecsan07 at 5/5/2005 8:12:13 AM
How do I set a date field to null in C#? HS...more >>

Memory question
Posted by zdrakec NO[at]SPAM yahoo.com at 5/5/2005 7:43:51 AM
Hello all: I have an aspx page which, when a remote machine opens it via IE, I see a new entry in the Windows Task Manager on the server called w3wp.exe. When I close the IE window on the remote machine that called up the Web page, however, this process does not terminate. Is there an explici...more >>

never ending progress bar
Posted by coldfact NO[at]SPAM gmail.com at 5/5/2005 5:21:54 AM
Hi, I found this thread http://groups-beta.google.com/group/microsoft.public.dotnet.framework.aspnet/browse_thread/thread/e3bba7966c55fd20 from 2003 and like Sunil found that my document.getElementById('element').src; line was likely the culprit. Does anyone know why that may be? My very cheese...more >>

Window Minimizing
Posted by Jawahar at 5/5/2005 5:10:02 AM
All, I have an ASP.net application from which I allow users to run reports that are crystal reports and exported to PDF format, in addition there are other static documents that users can view in pdf format. Each time a PDF document is opened, it is opened in a new window (this fine) but ...more >>

Selecting a Printer for Mailmerge in ASP.NET
Posted by michael.esposito NO[at]SPAM gmail.com at 5/5/2005 4:47:02 AM
I am using the code below to create a document through mailmerge and then print it. It is running through ASP.Net, which automatically uses the default printer for the server. I want to be able to have the user select which printer to use before the process begins....is there any way I can do th...more >>

"Load Report Failed." error... cryptic and evasive...
Posted by Roy at 5/5/2005 4:06:21 AM
Hey all, I have a VB App which uses the bundled version of Crystal Reports for VS.NET 2003. It works fine in when I run it using VS *but* when I deploy it anywhere (including the development PC itself) it won't load a report and displays the cryptic "Load Report Failed" error. It's frustratin...more >>

Changing the user account of aspnet_wp, stops the programme from running?
Posted by chortler NO[at]SPAM fetchmail.co.uk at 5/5/2005 3:56:20 AM
I've changed bit in the processmodel section in the machine.config file, so that the aspnet_wp process runs under this new account (See below) I've run IISREST and now visual studio wouldn't allow me to run the programme?? Is says something about not being able to debug. (Note: The user account ...more >>

Help manipulating MousePointers over server controls
Posted by Neal at 5/5/2005 2:46:03 AM
Hi I need to change my mousepointer when the mouse moves over certain populated controls on my aspx page. I've tried the following but without success (after visiting a site recommended from this forum, ie css cursors tutorial) I have, in the HTML defined this <Head> <style type="te...more >>

Google search result like site search!! How?
Posted by Lakshmi Narayanan.R at 5/5/2005 1:55:26 AM
Hi Experts, I need a great Help!!. Yes, need to do a site search for dynamic pages. Expecting Google like search results. Separate tables are there with the detail [Ex: Artilces,News,Forums like]. If any one experienced or having the logic with the same, pls let me know them ASAP. L...more >>

Multiple select DropDownList
Posted by dhnriverside at 5/5/2005 1:05:27 AM
Hi, Does anyone know how (if you can) make a DropDownList allow multiple selections? Failing that, of any FREE controls that allow that functionality? Cheers Dan...more >>

Need Help with DataReader. Thanks.
Posted by Shapper at 5/5/2005 12:11:46 AM
Hello, I created a code in VB which fills div's in HTML with content stored in a database using a dataset: ' Populate Dynamic Content Div's For Each row As DataRow In dsContent("index").Tables(0).Rows Dim div As HtmlGenericControl = CType(Page.FindControl("d" & row("name").To...more >>


DevelopmentNow Blog