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 > october 2006 > threads for monday october 16

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

DLL Replacing Question
Posted by thomson at 10/16/2006 10:41:25 PM
Hi All, I do have one solution in a machine and i have taken the aspx and the dll files and deployed in server, This works perfectly for me I copied the same solution to a different machine, and i have done few changes in my business logic and i have compiled the solution , and...more >>

Toggle Breakpoint
Posted by Badis at 10/16/2006 10:37:01 PM
Hi, I'm trying to debug my project using Toggle Breakpoint (F9) in my asp.net project but it doesn't stop where I set my breakpoint like in windows applications!!!!? Thanks ...more >>

Need suggestions on Online Appointments/Calendar
Posted by VB Programmer at 10/16/2006 10:16:16 PM
Here's the scenario: 3 different pcs in a doctors office. 2 doctors with 2 seperate appointment calendars. All 3 pcs need to be able to see, real time, both doctors calendars and add, remove, edit appointments. Any suggestions on how to do this? I was thinking of a web based solution wh...more >>

.tmp files in asp.net 2.0 project
Posted by Jeff at 10/16/2006 9:38:45 PM
Hey I have a asp.net 2.0 project which I'm creating in visual studio 2005... now I see that the several .tmp files has been added to the project. I see the files in "Solution Explorer".. I would like to remove these files, but I don't know how to do it? I think this is related to compiling ...more >>

Login not carried over to another browser window?
Posted by Moss at 10/16/2006 9:22:58 PM
Hi, Sorry if this really is a newbie question, but hey, I'm a newbie, porting from a coldfusion background. I have been using the built in login feature however notice that it does appear to expire the login if the browser window is closed. Is this normal behaviour? Is it something that i...more >>

MCPD exam
Posted by Patrick.O.Ige at 10/16/2006 8:57:12 PM
I'm about to take the Exam 70-551: UPGRADE: MCAD Skills to MCPD: Web Developer by Using the Microsoft .NET Framework. As anybody here given the test and any idea and guides? Thx in Advance ...more >>

How to grant value to a html form hidden field
Posted by David Jia at 10/16/2006 8:34:53 PM
I have a html form in aspx pages, so how can I grant value to the hidden field in this form? For Example: <body> <script language="C#" runat="server"> string strTest = "test"; </script> <form name="try" action="post" > <input name="test1" type="hidden" /> </form> How to make tes...more >>

Web Controls Question
Posted by Hunter at 10/16/2006 8:29:02 PM
Hi, Is there an equivelent in ASP.Net WebForm controls property to WinForm controls tag property? I need to hold a value for each control and it cannot be in the id. Thanks ...more >>



Newbie Question (repost)
Posted by Jack at 10/16/2006 8:23:56 PM
Hello, Sorry for the repost however the post never showed up the newsgroup or Outlook Express is retrieving it. Either way I apologize. I have a web form that has alot of event handlers (checkboxes, dropdownlists). I need to handle certain events for certain controls before other control...more >>

can I disable a user control in a web page
Posted by ron at 10/16/2006 8:19:01 PM
1. Can I disable a user control in a web page? 2. Can I disable the 'close' function on the top-right corner of a popup window, so I can use code-behind function to close the browser?...more >>

Session variables getting lost frequently
Posted by maxkumar at 10/16/2006 8:09:02 PM
Hi, I am running a ASP.NET 1.1 site on Win Server 2003 with IIS 6.0. The website has been running for about 1.5 years now. In the past, we used to have random cases of session variables getting lost, but not frequently. However, since the past 2 weeks, I am noticing an alarming increase of su...more >>

File Upload
Posted by Vishal at 10/16/2006 8:06:34 PM
Hello, I am developing a web application with AJAX. How can in upload a file using AJAX? I tried ATLAS but it is not supporting file upload object. Can anyone help? Regards, Vishal ...more >>

Property Default Value
Posted by shapper at 10/16/2006 6:02:04 PM
Hello, I have a property which type is Mail.MailAddress. I need to set a default value. This is what I tried: Private _From As Mail.MailAddress <DefaultValue(New Mail.MailAddress("mail@domain.com", "Name"))> _ Public Property From() As Mail.MailAddress Get Ret...more >>

Detect the files exist or not
Posted by Agnes at 10/16/2006 5:52:32 PM
My asp.net web page will allow user to d/l the invoice and PO . there are two buttons. (invoice and PO) in the datagrid ( i use repeater) however, not every invoice got the PO , so I need to detect whether the PO (pdf exists or not ), if the files doesn't exit, I need to make the button 's vis...more >>

Editable Dropdown list control in ASP.NET 2.0
Posted by Amit.NET at 10/16/2006 5:23:01 PM
Hi, The canned ASP.NET DropDownList control does not allow the user to enter arbitrary text and the user must select one of the available options. What is the easiest way to get the ASP.NET DropDownList control to behave like the Windows Forms ComboBox control? Thanks, Amit...more >>

Simple Regex to Require start with http:// or https://
Posted by Phillip Vong at 10/16/2006 5:16:58 PM
Can someone help me write a simple regex that require a textbox start with http:// or https:// ? I don't know how to write regex. I usually rely on http://regexlib.com but I couldn't find anything good. The closest one I found was this one, but it requires a www also and not all my sites ...more >>

Retrieve Record Count
Posted by rn5a NO[at]SPAM rediffmail.com at 10/16/2006 5:16:13 PM
A SQL Server 2005 stored procedure expects a parameter 'UserID' depending upon which it retrieves the no. of records & OrderIDs corresponding to the 'UserID' from a DB table (note that OrderID & UserID are two of the columns in the DB table). So for e.g. consider a user whose UserID=6 & the DB t...more >>

Correct way of handling exceptions?
Posted by VMI at 10/16/2006 4:11:02 PM
What's the correct way of using try...catch in my web application? For example, if I catch a connection error or something with the DB, how am I supposed to bubble it up to the web interface? Is there a correct way? Thanks for the help. ...more >>

Common Login Problem
Posted by Samuel Shulman at 10/16/2006 4:08:33 PM
During the login process users may have to visit a number of pages typically for registration (new users) and then they expect to be in the same page where they started the process What is the method to remember that page and then redirect them back there? Thank you, Samuel ...more >>

What to use for application deployment?
Posted by bep NO[at]SPAM 10.10.10.10 at 10/16/2006 4:02:02 PM
I have a couple of web sites, some web services and some windows services that I need to deploy to our production servers. We used to use NANT with the VS 2003 applications. Now that we are using VS 2005, I am looking at all available deployment options. So far, I see: 1) NANT 2) MSBuild ...more >>

Returning Object From Webservice
Posted by Asim Qazi at 10/16/2006 3:58:45 PM
Hi All public class MyResponse { public bool m_bStatus; public string m_szErrorCode; public string m_szMessage; } i m returning this object from Webservice WebMethod, if i test this service from its Service description its returning me <MyResponse xmlns:xsd="http://w...more >>

Newbie Question
Posted by Jack at 10/16/2006 3:35:17 PM
Hello, I have a web form that has alot of event handlers. What specifies which event handler gets called first when submitting the form and can I modify it? Thanks ...more >>

Read Word File with ASP
Posted by SJ at 10/16/2006 3:18:02 PM
Dear Friends, In my Asp file I have the binary for a Microsoft Word document that I read from an email attachement. Does anyone know how I can get the text out of the binary format? Do I have to save it as a .doc on the server then open it with Microsofts OLE? Thanks for your help, -...more >>

is there a way to raise this event
Posted by rodchar at 10/16/2006 2:39:02 PM
hey all, i have an add button inside the EmptyDataTemplate of my gridView. Is there any way to run that event manually in the code-behind? instead of the user actually clicking on the button itself thanks, rodchar...more >>

Master Page Question
Posted by Samuel Shulman at 10/16/2006 1:46:47 PM
I set the title of the master Page but I still get the Untitled header Thank you, Samuel ...more >>

update the value of a databound column within a datagrid
Posted by KerryL at 10/16/2006 1:30:01 PM
How do I update the value of a databound column within my datagrid from within the SelectedIndexChanged event of a dropdownlist, also found within my datagrid? I believe I need to determine the row I'm on but I don't know how to get that....more >>

Gridview ButtonFields - disabling based on same row data contion?
Posted by jobs at 10/16/2006 1:06:26 PM
Say I have Gridview with some Buttonfields I want to enable or disable based on the values of other bound data? Here I want I only want to enable button Rate only if field lastAction = "Export Completed" If this can't be done at the time I first bind, and I must use Findcontrol and by value, ...more >>

Div section does not dispaly
Posted by Ted Ngo at 10/16/2006 12:51:13 PM
protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) { txtSource.Focus(); frmMain.Visible = true; divWait.Visible = false; btnsubmit.Visible = true; } else ...more >>

Progress bar on composite control
Posted by eladla at 10/16/2006 12:47:02 PM
Hi! I am creating a composite control the does some of it`s own data access. I want to display a progress bar between the time the page is loaded and the control place holder is displayed and final display of the data from the database. I was thinking of manually opening a second thread in th...more >>

Webservice WebMethod
Posted by Asim Qazi at 10/16/2006 12:32:12 PM
Hi All i want to get the IP address of the client (calling application) in the WebMethod of my Webservice, in ASP i used to get this by this command "Request.ServerVariables["REMOTE_ADDR"].ToString()" Please Help. aSIM. ...more >>

Override existing list of master pages?
Posted by Greg Collins [Microsoft MVP] at 10/16/2006 12:22:13 PM
I have a situation where a particular error page is being redirected to = (Server.Transfer) and in most cases it works correctly loading the = correct master page and rendering as it should. In another case, this page is being called as a result of an asp:Xml = failure, but the Server.Transfer...more >>

Remove Control from Gridview Row
Posted by AG at 10/16/2006 11:47:42 AM
I have a gridview with a template column containing an imagebutton to delete the row. Under some condition I don't want the row to be deleted, so would like to remove the button. In the RowDataBound event, I can find the button, but can't seem to remove it. The code below does not throw a...more >>

subheaders with totals for each
Posted by igotyourdotnet at 10/16/2006 11:39:02 AM
I'm using a gridview and I have it formatted using sub headings. now I need to get totals for each sub heading. Is this possible? example: BMW (sub heading) 25,000 14,252 25,000 total: 64...more >>

RegularExpressionValidator Question
Posted by Samuel Shulman at 10/16/2006 11:20:08 AM
I want to use the control so users will have to input a string which is at least 6 characters long How can I achieve that? Thank you, Samuel ...more >>

No Intellisense in VS.NET 2005's global.asax
Posted by deathtospam NO[at]SPAM gmail.com at 10/16/2006 10:19:54 AM
In Visual Studio.NET 2005, I've created a new website ("New Web Site...") and added global.asax to the root directory by right-clicking on the top-level object and selecting "Add New Item... > Global Application Class". Here's what I see: =============================================== <%@ A...more >>

showModalDialog window does not close
Posted by Stan B at 10/16/2006 10:04:19 AM
I create a popup window by calling window.showModalDialog Popup window has Ok button with this code attached: === string Script = "<script language=JavaScript>" + "{" + "window.close();" + "}" + "</script>...more >>

EmptyData Template
Posted by rodchar at 10/16/2006 9:49:05 AM
hey all, how can i test if this template is currently active in the code-behind? thanks, rodchar...more >>

Collapsible Nested Datalists ? Findcontrol by Value?
Posted by jobs at 10/16/2006 9:46:37 AM
I have two Nested repeating Datalists with different data sources. Currently the second Datalist is set to visible=false I have an oncommand button on the first, that when selected I would like to make it's sub datalist visible. I'm a bit confused about how to refrence the instance of the ...more >>

convert/format
Posted by Guy Cohen at 10/16/2006 9:45:49 AM
Hi all I have an integer column with currency information in cents. How do I select x/100 correctly ? currently the result truncates the cents. "SELECT mycolumn/100 from mytable" Please advise Guy ...more >>

How to create a PDF file from a BLOB
Posted by tofu.captain at 10/16/2006 9:27:05 AM
I have PDFs saved in a SQL 2005 server as BLOBs. I would like to extract the BLOBs and either: 1. create a PDF file on the hard disk or 2. open/stream the PDF into the application I am using a VB.net winform (not a web form). How would I go about doing this? I use CutePDF to initially ...more >>

Runtime in Asp.Net 2.0
Posted by shapper at 10/16/2006 9:21:51 AM
Hello, When I create a web site I usually create an .aspx and an .aspx.vb file for each page. However, I create all my page code in my VB code at runtime. What I would like to know is: Is there a development model where the Aspx pages (.aspx files) are also created at runtime. If yes co...more >>

WebResource not cached in IE
Posted by Oleg Ogurok at 10/16/2006 9:18:48 AM
Hi there, I have an embeded resource which I'm serving to users. The assembly has the following attribute: [assembly: WebResourceAttribute("MyNameSpace.Resources.MyImage.gif", "image/gif")] The image shows w/o any problems. However, it is requested every time I hit the page in IE. When I ...more >>

GridView Edit Mode in ASP.NET 2.0
Posted by Sridhar.Ammula NO[at]SPAM gmail.com at 10/16/2006 7:57:46 AM
Hi I am new to this post, I am working on this project where i need to bind the data to the Grid View, which by default shows all the columns with textboxes (using item templates). Now when the user changes the values in those text boxes, how do i raise the Grid View Row Editing or infact Obj...more >>

Can't access Class when published
Posted by Herb at 10/16/2006 7:51:01 AM
In my design environment this works fine, but when I deploy it I get an error. I have a class "MessageBox" defined in my "App_Code" folder. My aspx file contains the line "Imports MessageBox" at the top. When I deploy and run the website I get the following error. Server Error in '/' App...more >>

Response.TransmitFile: Browser freeze
Posted by ucmueller at 10/16/2006 7:50:48 AM
Hi, i am a newbie on web development... i have developed a little file download app (asp.net fw 1.1 Sp1). I us Response.TranmitFile to send files to the client. On my win2000 serve (iis5) everything works fine. Now on the win2003 server (iis6) the browser window freezes when start a do...more >>

Server Error in '/mates' Application.
Posted by James at 10/16/2006 7:21:01 AM
Hello, I have written a simple logon page that redirects to another page when successful. All works fine on my computer but when I upload it I get the error message below. I have written it in ASP.net v2, and have put it on IIS v6 on windows server 2003. I think it may be something to...more >>

Dotnet under Apple Safari browser
Posted by Edward at 10/16/2006 7:20:03 AM
Hi All, I am having huge problems with a very simple dotnet framework web page (www.gbab.net/ztest3.aspx) , it does NOT render correctly under Apple's Safari. The DIV's do not align amd float as they should, and do in Dotnet. The page is really, really simple, and it has a CSS and with NO m...more >>

ATLAS - Official Release
Posted by C at 10/16/2006 7:13:02 AM
Hi, I have downloaded the beta version. When is it officially available? Is it free?...more >>

Session Issue
Posted by Lav KG at 10/16/2006 6:39:09 AM
Hi , I'm initializing a Session variable when I navigate from Page A to Page B. I want it to be reinitialized when the user navigates from B--> A by pressing "Back" navigation button/link. Can anyone tell me how I should go about it? Regards Lav KG ...more >>

ASP and ASP.NET
Posted by Jo Goos at 10/16/2006 6:17:02 AM
Hello, Is it possible to allow ASP pages to access or use information from the web.config file in some way of interop? I have to host an existing ASP site on a IIS6 server without migrating the site to ASP.NET, but I already would like to put use a web.config file for future use... --...more >>

add "spacers to gridview"
Posted by igotyourdotnet at 10/16/2006 6:04:01 AM
How can I add a empty row to my gridview? example: column 1 column2 row 1 row2 row3 row4 empty row across the grid row5 row6 row7 row8 empty row across the grid and so on...more >>

Access to the path is denied.
Posted by Santosh at 10/16/2006 5:19:43 AM
Hii i am writting following code for attaching file to the emails it runs well on the local server but when i run it on domain servert then it gives an error Access to the path is denied. can any one tell me what is the problem in it. public void AttachFilesToEmail(object sender, System.Event...more >>

include an external page or what? And how?
Posted by Darko at 10/16/2006 3:12:34 AM
I'm having a problem that follows: I'm building an internal network site. The main page should be customizable, i.e its main part. That main part (in the middle of the main page) should be made in such way that responsible people can upload Word, HTML, MHT or whatever file (or, I can force the...more >>

Page_Validators is Undefined
Posted by Charleees at 10/16/2006 3:08:34 AM
Hi all.. I have a Page ... there are butttons namely button1.. button2.... as it... each redirect to different page... when i click button1 , and while the redirected page starts loading......i click buutton2.. then i get the following error.. "Page_Validators is Undefined" i h...more >>

Server Side Time Out in c#
Posted by Jared at 10/16/2006 2:55:41 AM
Hi I have an ASP.NET site that uses web services for security. I have two servers running the same service. Provided the servers are running I am able to run a check script and swap servers depending on whether the service is running properly. This works fine if just IIS has fallen over. T...more >>

Default Web Browser in Visual Studio.NET 2005
Posted by jediknight at 10/16/2006 2:37:16 AM
I have just uninstalled FireFox webbrowser and when I try to run an asp.net web application using Visual Studio I get the error message Unable to start program 'C:\PROGRA~1\MOZILL~1\FIREFOX.EXE'. The system cannot find the file specified. How do I make Internet Explorer my default web brow...more >>

Web Form Events
Posted by Randy at 10/16/2006 12:59:19 AM
Hi, I am fairly new to ASP.Net, I have a client (WinForm) background. I am running into a issue with some controls. On my web form, I have some drop down boxes that contain the same data (Color, Weight) but for different products. I need to store this input into an object so I need to un...more >>

Converted ASP.NET project: Refactor pages
Posted by Steven Nagy at 10/16/2006 12:38:56 AM
Howdy folks. So I have an App from 1.1 that I converted to 2.0. I now want to refactor a bit. One of the things I want to do is create master page for the header, footer and menu that exists on EVERY page in this application. Currently those 3 items are individually controls on each form. Wh...more >>


DevelopmentNow Blog