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 > june 2005 > threads for monday june 20

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

html table doubt
Posted by thomson at 6/20/2005 11:59:23 PM
Hi all, I do have a table with a single row, and i do have 6 td element inside that, In each td i have placed a Button server control. based upon some settings i make some buttons visible false or true, when i make some button visible= false, the td is still there blank, i dont want...more >>


How to mail current open Page
Posted by Kuldeep at 6/20/2005 11:41:59 PM
Hi All, How can i mail the current open page? The open page contains some data (which vary every time page is opened), textbox to enter email id and send button. When the send button is clicked i want to mail this page as it is to the given email id. regards -- Sent via .NET Newsgro...more >>

Redirecting to login page from a popup window.
Posted by Kalyani at 6/20/2005 11:10:02 PM
Hi, I have a page with a button.On click of this button a popup window opens.Now if this window is kept open until session timeout then login page opens in the same window. Now I want that the popup window should be closed on session timeout and login page should be opened in its...more >>

Reading Fax and email content
Posted by Paraki at 6/20/2005 11:06:01 PM
Hi, Anyone knows how to read the Fax and email content from an ASP page using the framework classes? Any help will be appreciated. Thanks in advance. -- K_...more >>

How to have a image column in a datagrid?
Posted by Shapper at 6/20/2005 10:41:27 PM
Hello, I am adding columns to a datagrid from my aspx.vb code? How to add a column where a thumbnail image is displayed? The url of this image is I the "imageURL" field of the dataset. Thanks, Miguel ...more >>

Issue with HttpContext and HttpHandlers with Server.Transfer
Posted by Steve Lutz at 6/20/2005 9:53:04 PM
Hello All, I have an ASPX page whose class inherits from a company global base page. The company base page has a property call PageTitle (string) that is assigned by all the pages. The base class also includes a class that is used for logging. This logging class uses HttpContext.Current.H...more >>

Reuse code on multiple pages of project
Posted by Sandy at 6/20/2005 9:44:03 PM
Hello - I am using Visual Studio .Net. I need an example of how to construct a class that can be used throughout a project where I can include its subs and functions in various pages in the project. I googled this and either I didn't use the correct words, or there doesn't seem to be mu...more >>

Navigate in a Repeater?
Posted by Shapper at 6/20/2005 9:30:46 PM
Hello, Does anyone know a way to navigate in a repeater? Just like a datagrid forward and backward buttons and page number. Thanks, Miguel ...more >>



Duplicate FORM tag error?
Posted by Brett at 6/20/2005 8:47:54 PM
I am doing a postback to the same page. The page has only one FORM tag but I get this error after the submit button is pressed: A page can have only one server-side Form tag. If there is only one FORM tag, why is the above error being thrown? Thanks, Brett ...more >>

How can I install the File System Editor?
Posted by Tom C. at 6/20/2005 7:07:39 PM
Does anyone know how to add the File System Editor to a Visual Studio 2003 installation? Thanks! ...more >>

How do I convert a string to a char?
Posted by Alan Silver at 6/20/2005 6:46:35 PM
Hello, <dumb question> I am trying to do something similar to the following... string str = "Hello"; char c = (char)str.Substring(2,1); but the compiler complains that it cannot convert a string to a char. How do I do this? I know that c will only be one character long, so it can b...more >>

HyperLinkColumn problem
Posted by Franck Diastein at 6/20/2005 6:33:47 PM
Hi, I create from my CS code an HyperLinkColumn, and add it to a DataGrid before binding data... Then, I need to use text from that Column in ItemDataBound... I do this: e.Item.Cells[2].Text = e.Item.Cells[0].Text + "MyStuff"; the problem is that my Cell 2 only shows MyStuff instead ...more >>

HyperLinkColumn
Posted by Franck Diastein at 6/20/2005 6:21:25 PM
Hi, I create from my CS code an HyperLinkColumn, and add it to a DataGrid before binding data... Then, I need to use text from that Column in ItemDataBound... I do this: e.Item.Cells[2].Text = e.Item.Cells[0].Text + "MyStuff"; the problem is that my Cell 2 only shows MyStuff instead ...more >>

Datagrid columns?
Posted by Shapper at 6/20/2005 6:17:32 PM
Hello, I have a datagrid in my aspx page which is already bind to a dataset. How can I create custom columns in the datagrid from my aspx.vb code? Basically I need to create 3 columns with no title in the datagrid: 1. Image (It has an image which url is in the database field IMAGE) 2. Nam...more >>

I get aspnet_wp.exe (PID: 3396) stopped unexpectedly when I run my asp.net app
Posted by Ray5531 at 6/20/2005 6:06:17 PM
Hi All, I got the following Error when I try to run my ASP.NET app ,hosted by IIS 5.1 in windows xp. Event Type: Error Event Source: ASP.NET 1.1.4322.0 Event Category: None Event ID: 1000 Date: 6/20/2005 Time: 5:21:02 PM User: N/A Computer: MYBENQ Description: aspnet_wp.exe (PID...more >>

HTTP Automatic Refresh
Posted by Fabiano at 6/20/2005 4:45:26 PM
Please, I need refresh automatically my asp.net page into an interval of 30 seconds. But i need that this refresh fires a postback event so i could manage it. Any idea? tks in adv. Fabiano ...more >>

Creating an Affiliate Program - Need Some Help
Posted by wrecker at 6/20/2005 4:36:05 PM
Hello All, I've been asked to create an affiiliate program. I've already written code to track clicks from affiliate links and log the information in a database. I am now about to create the interface that will allow the stats to be reported. I guess what I'd like to know, before I get too ...more >>

Session ID and Cluster / Network Load Balancing
Posted by Andrew Robinson at 6/20/2005 4:33:05 PM
I am running two servers with a hardware network load balancing device. I know that to share session information between the two servers I need to implement some type of SQL based session information, but I would simply like to share the SessionID. Mainly for some logging applications. The Ses...more >>

Wich control fired the postback action
Posted by Fabiano at 6/20/2005 4:24:46 PM
Please, i have a webpage and i need to know each of my controls fired the postback action. I know i can use the event of each control but i need to know at a PageLoad level. tks in adv. Fabiano ...more >>

Validator disabled
Posted by tshad at 6/20/2005 3:47:06 PM
I have a RequiredValidator on my page. I only want it to be required in some instances. Can I control this with the enabled attribute? Thanks, Tom ...more >>

URL parameters end up in form action
Posted by Anthony at 6/20/2005 3:42:07 PM
Here is my problem... User clicks on http://foo.bar.com/default.aspx?id=12345 and gets a report about that object. Now at the top of the page there is a text box and a button, if they want to query another object. The problem is that in the html.... <form action="http://foo.bar.com/default....more >>

DropDownList problem
Posted by Chumley Walrus at 6/20/2005 3:20:22 PM
I'm trying to build a querystring from a button click carrying over two variables (one from a textbox, the other from a dropdownlist),but for some reason, the error I'm getting is:'System.Web.UI.WebControls.DropDownList' does not contain a definition for 'selecteditem' The query string works wi...more >>

HTMLInputFile not settable
Posted by UJ at 6/20/2005 3:03:34 PM
Guys, I know this isn't the appropriate place to post this because it's HTML not ASP.Net but I need some guidance. I have a web page with an HTMLInputFile on it. The person enters the stuff, that's all great. They go to the next page and I allow them to click a button to go back a page to cha...more >>

Running an asp.net application on a remote share (UNC) - parser er
Posted by pj_servadmin at 6/20/2005 1:36:23 PM
Server Error in '/<applicationName>' Application -------------------------------------------------------------------------------- Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error de...more >>

Sleeping a thread in ASP.NET?
Posted by cmay at 6/20/2005 12:46:23 PM
Can someone give me some guidance on this? I am implementing a system where if a user fails the login, I am doing a thread.sleep(random number). If I returned the page right away, you could write a script to try many username/password combos per second. Using this, it will slow down the pe...more >>

Validator messages
Posted by tshad at 6/20/2005 12:35:58 PM
I have a page that is very long so I have set it up to page using <div> to display or hide the different pages. When I get to the last page the user submits the page. This works great, except that if one of the validators finds an error and it isn't on the last page, the user won't see it...more >>

special needs with Stongly-typed collections?
Posted by ECathell at 6/20/2005 12:35:27 PM
I have several collections that I have been using with Windows forms = which work very well. However now that I am trying to use them in = asp.net I am getting Object Reference errors. Is there something special = I need to be aware of as far as instancing differences between winforms = and webf...more >>

control next object navigation
Posted by tshad at 6/20/2005 12:30:35 PM
Is there an easy way to control navigation from one textbox to another? I have 3 textboxes that happen to be in the same cell, but they are on the page vertically. There are 4 cells next to each other this way. When you tab, it goes to the textbox below it (unless it is the last box, then...more >>

Site Traffic Reporting
Posted by Frankie at 6/20/2005 12:13:22 PM
I need to provide reports for number of page requests, etc made to an internal company Web site (available only on our Intranet). I have seen various hosting providers making available reports that summarize traffic on a hosted Web sites (number of page requests - graphs, summary stats, etc). ...more >>

Change onClick event
Posted by tshad at 6/20/2005 12:03:42 PM
Is there a way to change the onClick event of a LinkButton? At the moment, I am using 2 buttons that I toggle the visibility on and off. I would like to use just one button, if possible and just change the onClick event as well as the ImageUrl during postback. I tried it but got the messag...more >>

ASP.NET 2.0 reading material...
Posted by abcd at 6/20/2005 11:19:05 AM
I am looking for ASP.NET 2.0 reading materials...may be any evaluation Free e-books....[here, I am not asking for any copy right material...]... If anybody knows pls post the links... Thanks [sending copy righted material in electronic form is a crime, so send only that material which h...more >>

Slideshow
Posted by Chris Jones at 6/20/2005 10:46:03 AM
Hi, I need to give my boss a level-of-effort estimate for an ASP.NET project. The customer wants to display pictures of their church's activities in a slide-show type format on their web site. They also want to have various different types of wipes and fades between images. Can an...more >>

Decimal in SQLServer
Posted by Paperback Writer at 6/20/2005 10:36:58 AM
Hi, i have in my application a field that is percentual, that means...can have comma...my property that receive this data is a decimal and in my SQLServer is also a decimal, but when i type, for example: 56.98, it's ignoring the dot and saving 5698 in my SQLServer...how can i solve this ? Wi...more >>

remove script registered using RegisterClientScriptBlock
Posted by Steve Powell at 6/20/2005 10:33:25 AM
Hi, Can anyone help me with this one? How can I remove script registered by RegisterClientScriptBlock ? If I add another script with the same name, is the first one overwritten or it's just skipped? -- Steve Powell ...more >>

Generating a "virtual file"
Posted by Mark Rendle at 6/20/2005 10:33:16 AM
Hi I'm writing a page which outputs CSV data for download. It's all working fine, setting ContentType to "text/csv", except when the "Open/Save" dialog appears, the filename shown is "ExportRun.aspx". Is there any way I can change this to, e.g., "mydata.csv" without having to generate a tem...more >>

keyboard problem?
Posted by JV at 6/20/2005 10:28:09 AM
I have an ASP.NET web page where IE keyboard navigation does not appear to work as it should. Normally you can tab through hyperlinks on a web page, and press <ENTER> to activate the current hyperlink. On my page, you cannot tab to some of the hyperlinks and pressing <ENTER> does nothing. T...more >>

ASP.NET not delivering HTML
Posted by MattC at 6/20/2005 10:27:44 AM
Hi, I have a site that occasionally will not deliver certain sections of ASP.net code from a page. The header and footer controls both load correctly but the images sometimes do not appear. I can't find any reason why ASP.NET would not deliver this almost generic html. More oddly is it ...more >>

Posting from HTML form to WebForm
Posted by ChainsawDude at 6/20/2005 10:20:03 AM
I am posting from a HTML form (below) to a aspx webform. This works OK but I notice the £ character (pound sign) is dropped! i.e. not picked up by a Request.Form["X"] in the webform e.g. input = 12£34, output = 1234 Please would anyone say why this is? <body> <form name="Form1" method...more >>

Only Half Page is shown.......Strange
Posted by thomson at 6/20/2005 9:50:20 AM
Hi all, I did a Server.Transfer from a page to another page, but surprisingly i could only view the quarter of the page , Only that much is rendered , the rest is the first page itself What Could be the problem Thanks in Advance thomson ...more >>

Loading controls
Posted by Amir Ghezelbash at 6/20/2005 9:22:03 AM
Can somebody show me how to load a control that has properties programmically... in asp.net 2.0 i know how to do it in asp.net 1.1 but asp.net 2.0 uses partial classes so casting doesnot take in effect ....what can i do ? thank you in advance ! --- Best Regards Amir *** Sent via Deve...more >>

Reading Active Directory
Posted by Zean Smith at 6/20/2005 9:19:49 AM
Anyone knows how to read the Active Directory information from ASP.NET? I want to get all the people in my company as the phone directory for Intranet. Thanks.. ...more >>

Reading Active Directory
Posted by Zean Smith at 6/20/2005 9:19:31 AM
Anyone knows how to read the Active Directory information from ASP.NET? I want to get all the people in my company as the phone directory for Intranet. Thanks.. ...more >>

MIME type detection
Posted by Michael Loughry at 6/20/2005 9:10:03 AM
I'm writing a web application that fetches documents from the server and sends them to the client. I do this using the Response.BinaryWrite method. However, is there any way to detect the MIME type of a given file? Or a catch-all MIME type I could use? These files will likely mainly be wor...more >>

Locale / DateTime Problem
Posted by dotnettester at 6/20/2005 9:07:26 AM
Hi, I have a simple page which reads date from a datetime column in database. Date stored in the database is in 'mmddyyy' format ('7/27/2005 07:30:00 AM') but the asp.net displays it as '27/07/2005 7:30:00 AM'. I have checked and corrected locales to US - English, but I still get this pr...more >>

New Window Question
Posted by Luis Esteban Valencia at 6/20/2005 9:00:24 AM
I hope this is an easy question, but I'm not sure. I want to open a new window using code behind. I have no problem doing this. I just push javascript and make it open a new window. Now heres the hard part. HOW do I open a new window with a diffrent session. Let me give you an example of my prob...more >>

How to get Week Day from Date using VB.Net
Posted by Kiran at 6/20/2005 8:39:19 AM
Hi, DateVal.DayOfWeek returns an integer value(0-6) that represents days = from sun-sat. Is there a way to get the Day(like sunday, monday) from a Date Variable = using VB.Net without using a switch case after getting the integer value = from DateVal.DayOfWeek, some sort of direct way. ...more >>

XML Escape Code Question for entering Ampersand
Posted by needin4mation NO[at]SPAM gmail.com at 6/20/2005 8:30:08 AM
Hi, string filename = "Directions2.xml"; XmlDocument doc = new XmlDocument(); doc.Load(Server.MapPath("Directions2.xml")); XmlElement root = doc.DocumentElement; XmlNode oldLoc; oldLoc = root.SelectSingleNode("/NewDataSet/Locations[LocID='mainstreetD']"); XmlElement newLoc = doc.CreateElem...more >>

Question on distributing ASP.NET
Posted by Terry Olsen at 6/20/2005 8:16:00 AM
This questions has probably been asked & answered somewhere, but I've not been able to find anything. When distributing an ASP.NET application, is there any way to NOT include the CodeBehind files (*.vb)? Or are they required for the app to function? *** Sent via Developersdex http://www.d...more >>

windows Authentication - windows login screen
Posted by raagz at 6/20/2005 6:08:03 AM
Hi, I am developing an intranet portal and i have used Windows Authentication. The application is hosted on a windows 2003 server with .NET Framework 1.1. I have set the session timeout to 20 minutes in the web.config. The application is a reporting tool and at times there are some long runnin...more >>

allowDefinition='MachineToApplication'
Posted by Boonaap at 6/20/2005 5:52:02 AM
I have been looking around on different sites and fora, and i have a similar problem than some people had before... it is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured...more >>

Adobe WorkFlow
Posted by Danilo Sq at 6/20/2005 5:07:03 AM
Where I can find a API to work with workflow of adobe in net. Danilo Brazil...more >>

Difference between Session["var"] and Session("var")
Posted by thomson at 6/20/2005 3:54:29 AM
Hi, i create a session variable in C# as follows Session["var"] , but iam not able to access the variable in VB.net like intmode=Session("var"); Why is that ? Regards thomson ...more >>

root directory
Posted by
at 6/20/2005 12:00:00 AM
Hi How do I refer to the root of the IIS installation in code please? TIA -- ...more >>

connections
Posted by TomislaW at 6/20/2005 12:00:00 AM
I have 10 stored procedures for one aspx page I execute one after another Should I use one connection for all, or open and close connection for every stored procedure ...more >>


DevelopmentNow Blog