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 > february 2005 > threads for wednesday february 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

Solution file in VS.NET not loading my Project arg!!!!!!!!!!!!!!!!!!!!!
Posted by Patrick Olurotimi Ige at 2/16/2005 10:47:27 PM
I have a sln file that i have been using to load my C# PROJECT. And now it just stopped loading..(I mean when i click on existing projects files which is the solution file it just doesn't load anything!!!!!!) And i when i use the C# project file it load but i can't build or rebuild my PROJECT! ...more >>


TextBox Question
Posted by John De Young at 2/16/2005 9:33:39 PM
Why do textboxes turn yellow for no reason even when set to a different color?...more >>

Project in VS.NET stopped loading
Posted by Patrick Olurotimi Ige at 2/16/2005 9:22:29 PM
I have a sln file that i have been using to load my C# PROJECT. And now it just stopped loading.. Any ideas whats wrong!!! *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!...more >>

Chart control for ASP.Net
Posted by Sergey Poberezovskiy at 2/16/2005 9:19:30 PM
hi, Looking for a reliable-easy to use Chart control. never used one before, so any advice / experience is greatly appreciated. ...more >>

How to send email
Posted by Yoshitha at 2/16/2005 7:54:46 PM
Hi, In my webform i've some text boxes and one button control. in one of the text boxes i'll enter email id then i'll click on submit button then the system(application) will generate some string randomly which is used as password. so when i ckick on submit button after generating random string...more >>

setting selecteditem item on databound radiobuttonlist in a repeater
Posted by Rod Snyder at 2/16/2005 7:32:38 PM
I'm trying to figure out how to set the selected item of databound radiolistbutton once they are in a repeater (i.e. I want one item pre-selected instead of nothing selected). In the html there is a property for selecteditem but it generates an error saying it can only be set at runtime. Hav...more >>

File Deletion Problem
Posted by BlueFrog at 2/16/2005 7:29:56 PM
Hi all, I'd appreciate some ideas on this as I've just spent the last 2 hours trying to solve it to no avail. I'm am building a web application which includes the functionality to upload images which are then resized to two thumbnail sizes and the original file is then deleted - works fi...more >>

Unable to Start Debugging Error
Posted by Dave Y at 2/16/2005 6:49:02 PM
Hello, When I try to run my aspx web page using Start>Debug I receive the following error: "Error while trying to run project : Unable to start debugging on the web server. Would you like to disable future attempts to debug ASP.NET pages for this project?" I have found some KB Articles that...more >>



Access a Control from Another Page
Posted by Sandy at 2/16/2005 6:05:02 PM
Hello - I have a registration page that could be altered slightly for different kinds of registrations if I was able to access the show/hide, enable/disable features from a page where people select the type of registration they would like. They select it with a radiobuttonlist, click submi...more >>

FormsAuthentication.RedirectFromLoginPage
Posted by Andy Sutorius at 2/16/2005 5:32:43 PM
Hi, For some reason the login.aspx webpage redirects to itself after a successful login and not to the url in the address bar. I have stepped through this with debug and it behaves as it is supposed to. What am I overlooking? Try it. http://www.sutorius.com/psyche click the Administration ...more >>

how do I access control I added programmatically?
Posted by RN at 2/16/2005 4:44:31 PM
In certain situations, I add a datagrid and a button beneath it. All programmatically added in the "code behind". I add them to a cell with cell.add(datagrid) and cell.add(button). Take the button for example. Usually, if the button were there statically, in the ASPX "html" code, I would s...more >>

What's the best way to handle showing/editing this data?
Posted by Alan Silver at 2/16/2005 4:32:14 PM
hello, I have a database table that stores names of schools, and I want o write a page that allows someone to change the list. I was wondering about showing the schools in a table, with existing school names being in textboxes, each with a "delete" checkbox. Modifying a school name would...more >>

Thread time out
Posted by lekshmi at 2/16/2005 4:05:36 PM
Hi, I have a thread which has to be alive for more than 2 hours. I had given the "<httpRuntime executionTimeout=14400"> in the web.config But still the thread is aborted after 1 hour. But the same thread is running for 4 hours in some other server. so in the first server i guess there is...more >>

Get image to bytearray
Posted by RichardF at 2/16/2005 3:59:44 PM
Can anyone tell me what is wrong with this code? I want to get the ocntents of the JPEG image into a byte array. After the theStream.read call, the theBytes array is still filled with all nulls. and iCount is zero. I used this article (http://msdn.microsoft.com/library/default.asp?url=/lib...more >>

How to perform page refresh after HttpResponse.BinaryWrite
Posted by webbertsolutions NO[at]SPAM newsgroups.nospam at 2/16/2005 3:59:21 PM
I have an ASP.NET page that does Response.AppendHeader(HeaderName, HeaderValue); Response.ContentType = MimeType; Response.BufferOutput = false; Response.WriteFile(file); Response.Flush(); The problem is that I would like to update/refresh the current page after / during this download...more >>

Editable Repeater
Posted by Jack at 2/16/2005 3:59:03 PM
Hi, I have a repeater in which all rows are editable together (there is one Save button at the top of the page). When the page loads with the repeater populated, I change the value in one of the textboxes and click on save. Instead of taking the newly entered value I record the original v...more >>

getting LOGON USER in C#
Posted by Patrick Olurotimi Ige at 2/16/2005 3:42:32 PM
To get the logon user i use in VB.NET and it works:= <%= User.Identity.Name %> But when i use the same in C# it doesn't work why? Am i doing something wrong!!!!!!!!!! *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!...more >>

Counting lines of text.
Posted by Brent at 2/16/2005 3:41:10 PM
Say that I have a text box that holds 5 lines of text. If the user enters ten text lines, I want the first four lines of text displayed, followed by a "More" hyperlink. The link will pop up another page to display the rest of the text. The problem is that I don't know how to count lines. I ...more >>

Header in ASP.Net?
Posted by Sam at 2/16/2005 3:41:05 PM
I want to create header whereby I could reuse whenever new aspx. However, it is display nothing and please find my coding: index.aspx ========== <%@ Page Language="VB" %> <%@ Register TagPrefix="AJIMALERPFINANCE" TagName="Header" Src="header.ascx" %> <script runat="server"> My...more >>

server controls vs traditional
Posted by (rbutch NO[at]SPAM coair.com) at 2/16/2005 3:26:04 PM
guys im building an application, that franky is pretty huge when it comes to controls. about 320 total dropdown list boxes will be populating the same amt of textboxes. and going to the server really isnt necessary until it's time to write to the database. my question is, for performance, would...more >>

Anyone had any experience with IX .NET version?
Posted by LP at 2/16/2005 3:00:16 PM
Hello, I am in process evaluating different reporting tools. I did use CR 9 product in the past, but I can't say that I had good experience with it. I am just curious if anyone has tried the latest version IX from BusinessObjects. What do you think of it? I am specifically interested to know i...more >>

Chinese characters don't display on excel using asp.net
Posted by c.verma NO[at]SPAM gmail.com at 2/16/2005 2:57:53 PM
I have a web application. There is a page which has a datagrid on it.The datagrid displays the data that comes from SAP. SAP sends the chinese characters to this grid. Before I display CHinese charactes, I have to use the following code to let it display on the web page: Public Function ToSCUn...more >>

XslTransform
Posted by TomislaW at 2/16/2005 2:46:59 PM
I am using XslTransform.Transform method to transform xml to html. In html I get: <?xml version="1.0" encoding="utf-8"?> tag before transformed html, how to get rid of this tag? Also I have message in VS: 'You should pass XmlResolver to Transform() method' why do I need that? ...more >>

Force PostBack
Posted by Amirallia at 2/16/2005 2:45:08 PM
Hello I want to force the Page.IsPostBack to false when I click an "asp:button" Is it possible ? -- Ceci est une signature automatique de MesNews. Site : http://www.mesnews.net ...more >>

Web site hosted using ASP.Net .... And AdSense
Posted by Faruk Malik at 2/16/2005 2:15:23 PM
My apologies for asking non technical question here. My web site (hosted using ASP.Net applications and pages) has been approved by google for Google AdSense ads. 1. Since there are so many experts who host their own web site may have some idea about how difficult or easy to get this app...more >>

How do I get a page to maintain control states?
Posted by Tom wilson at 2/16/2005 1:46:39 PM
This is the same topic as the thread above, "Dealing with the Back button". I'm getting nowhere. The closest I've come is a sample left for me: <%@ Page Language="vb" %> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> </head> <body> <form runat="server" ...more >>

CodeBehind vs traditional html with javascript
Posted by Opa at 2/16/2005 1:45:02 PM
Hi, I'm new to ASP.NET and I am not sure if I should start using the code behind paradigm or if I should just go with traditional HTML, CSS, and JavaScript. Although Code Behind seems nice, the .NET Studio IDE is not very good at building templates and such as is Dreamweaver. Furthermore,...more >>

Hashtable
Posted by SK at 2/16/2005 1:42:24 PM
Hey, i have a hashtable, where I am adding some values. Now when I iterate through them then they start in reverse order, why is that happening and how can I get rid of it? Thanks...more >>

User information.
Posted by Fabrizio at 2/16/2005 1:18:57 PM
When an user get connect with my web application can I know from which location or which language he speaks? ...more >>

Service Unavailable with ASP.NET 2.0
Posted by Casper Hornstrup at 2/16/2005 1:11:42 PM
I decided to try out VS.NET 2005 Beta 1 refresh and ASP.NET 2.0. I built a simple page and published it to a virtual directory in C:\Inetpub\wwwroot\WebSite1. VS.NET 2005 precompiled it. I get a Service Unavailable error message from IIS6. Now I uninstalled the ASP.NET 1.1 and ASP.NET 2.0 is...more >>

Visual Studio.NET loosing it..
Posted by Irfan Akram at 2/16/2005 12:51:03 PM
Hey, This Visual Studio.NET keeps playing up. It is acting strange. It keeps loosing the colors of the fonts, and sometimes it doesnt even add events like these.. this.btnAssignTeam.Click += new System.EventHandler(this.btnAssignTeam_Click); Has anyone encountered a similar problem befo...more >>

showModalDialog - Page_load
Posted by Amirallia at 2/16/2005 12:44:17 PM
Hello I have a datagrid, and a hyperlink for each row in my datagrid, i create the link of the hyperlink in code in the DataGrid1_ItemDataBound event. SO the link is :"javascript:calendar_window=window.showModalDialog('Calendar.aspx','toto','toolbar=0; location=0; directories=0; menuba...more >>

Q: launch IE
Posted by JIM.H. at 2/16/2005 12:13:02 PM
when I click a button I wan to launch another window, how can I do that? ...more >>

DHTML Date Picker Recommendations
Posted by Norman at 2/16/2005 12:02:21 PM
Just looking for recommendations for a free DHTML date picker. I just need a client-side popup calendar that fills in an <input> tag with the date selected (e.g., 02/16/2005). I found a bunch through Google and most look unprofessional or have no online demo (and I'm not going to write a bunch...more >>

System Exception
Posted by Todd Bright at 2/16/2005 11:17:03 AM
Is there a way to get to the last exception in .Net from outside a catch block? I've inherited someone else's ASP.Net app that's having problems. He is calling a method to log his errors but is only passing his custom error messages so there is no way to know what is really happening. What ...more >>

ASP .net bug when changing stae of radio button..?
Posted by Carlos at 2/16/2005 11:09:44 AM
Hi all, I just came across the following situation. I have three radio buttons within the same group name, next to each of them I do have a textbox (total 3 radiobuttons, 3 textboxes). I start with one Textbox with its ReadOnly property to be true next to the defaulted radiobutton that is ch...more >>

Latest Security and 404 errors for Web Services
Posted by Cedric at 2/16/2005 11:07:00 AM
Hello, We have set up the latest security update on our servers (February 2005). Though after this update none of our .NET web services keep working, they send the HTTP 404 error message. We even tried to create the simpliest Hello World .NET web service and deployed it to the server wit...more >>

datagrid
Posted by Vic at 2/16/2005 11:03:03 AM
I have a Datagrid on the aspx page. and the first column is a template column with the aspLink. But I want to activate or show it as a link only if the value in the second column is "true". How can I do this. Please suggest. The sample code is below. <asp:datagrid id="DGVisits" runat="ser...more >>

Urgent question about machine key for webserver in web farm
Posted by Leo Muller at 2/16/2005 10:58:44 AM
I am running webservers in a web farm (multiple servers), and I want to use the viewstate. I do not want to disable the viewstate encryption check. I also run multiple sites on the same webservers. Therefore I want to add a fixed machine key to each site seperately. I know this can be done ...more >>

Issue with DataFormatString...
Posted by Roy at 2/16/2005 10:57:06 AM
Hey all, Ok, I have a boundcolumn in a datagrid which displays a smalldatetime field from a table. Behold: <asp:BoundColumn DataField="final_appvl_dt" SortExpression="final_appvl_dt" DataFormatString="{0:MMM-dd-yyyy}" ReadOnly="True" HeaderText="Final Apprvl Date" ItemStyle-Wrap="false"></...more >>

Team work questions
Posted by Sammy at 2/16/2005 10:17:02 AM
I have a development team working on a web application. I have a development server with VS 2003 installed. Each developer checks out a copy of the source code via source safe and edits/compiles/debugs it on their machine. However, we always need to debug this code on the server itself, since,...more >>

Loading image on to asp.net page
Posted by Irfan Akram at 2/16/2005 10:11:02 AM
Hi Guys, I asked this question yesterday, but have not yet received a suitable answer. I hope you guys can help me out. I want to load an image on to a web-page. The image is alreday stored in my database. Currently when I load the image on to the page it loads on to the full page using ...more >>

Using a Link Button to redirect to another page by using data from
Posted by GTDriver at 2/16/2005 10:09:10 AM
I'm trying to determine how to create a page with data from the database and I want to use the link button to have the user click on. Once the user clicks on the link button I want to transfer them to another page, passing, for example, the customer id from my database. How to I create a u...more >>

Common Login page across multiple web applications on the same domain
Posted by ngodugu NO[at]SPAM gmail.com at 2/16/2005 10:08:38 AM
Hi All, Is there any way to use a common login page across multiple web applications? I have tried couple of things that were suggested on MSDN but they did not work. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconformsauthenticationacrossapplications.asp...more >>

Browsing with other browsers
Posted by Denise at 2/16/2005 9:57:01 AM
I am working with VS Enterprise and the BrowseWith and Browse Using option are greyed out. Does anyone know how to turn this in? Also, I want to test browsing and debugging pages using Mozilla FireFox. Is this possible? Thanks, dh...more >>

Dealing with the Back button
Posted by Tom wilson at 2/16/2005 9:50:00 AM
I can't believe this is such an impossibility... I have an asp.net page. It accepts data through on form fields and includes a submit button. The page loads up and you fill out some stuff. The submit button posts the page back to the server. The button code detects an entry error and sends...more >>

propagating variable value through out web site pages.
Posted by Carlos at 2/16/2005 9:42:57 AM
Hi again all, this question probably has more to do with the .net language specification (VB or C#), than with ASP .Net, but I am learning along the way, and now I am faced with the need to make the value of a variable that I capture in my start-up page, available in pages that the user will ...more >>

How do u make IE uncache basic authentication information???
Posted by Chris Newby at 2/16/2005 9:37:30 AM
I have a site that is using Basic authentication to validate users against an NT domain. The site has a "log off" feature, however without forcing the browser window to close, I don't know how to make the browser "uncache" the user's credentials. Ideally, the process flow would work as follows: ...more >>

Coding global.asax eventhandlers
Posted by Timo at 2/16/2005 9:30:59 AM
I haven't tried coding eventhandlers in Global.asax yet -- any "gotchas" I should be aware of? Do programming errors there require bouncing IIS? Will handlers in Global.asax be able to access custom name/value pairs established in web.config (e.g. <add key="foo" value="bar" /> ) using Configurat...more >>

best way to populate dropdown Lists
Posted by (rbutch NO[at]SPAM coair.com) at 2/16/2005 9:29:26 AM
guys, ive got an application. that (when all is said and done) have over 320 dropdown listboxes. i was loading these dynamically at page.Load. i.e. == cboR1.Items.Add("somecode") etc would it be better to just hard code this in? they all have the same info, they just populate different textB...more >>

How to pass Chinese characters from XML to a web page control
Posted by wtistang NO[at]SPAM yahoo.com at 2/16/2005 9:10:56 AM
I need some suggestions regarding a problem I am facing. I have a web page (asp.net and C#) which containing Chinese characters. In my web.config file I have: <globalization requestEncoding="iso-8859-1" responseEncoding="iso-8859-1" fileEncoding="iso-8859-1" /> and ...more >>

Resolution problem changing from 1024 X 768 to 800 X 600
Posted by okaminer at 2/16/2005 8:21:11 AM
Hi I designed my page in 1024 X 768 resoution when I open the page in 800 X 600 resolution the page is bigger than the scean, which irritats the users Can anyone please let me know how to fix this problem and keep the Web page in the size of the screan for all the resolutions? Thanks ...more >>

Set default Tag Prefix and CSS?
Posted by SK at 2/16/2005 8:16:52 AM
Hello, I am creating a web server control derived from datagrid for the first time. Now I would like to set the prefix of my control by default to SK instead of CC1. Is that possible? The other question is that my datagrid should use a default stylesheet. I have set the cssclass pro...more >>

fail to get Application object???
Posted by haiwen at 2/16/2005 7:55:02 AM
Hello, sir/madam: If I add a webForm, there is not problem to access the Applicaton and Session object; but if I add a class and then inherit Page object, I can access Session object but NOT Application object, I always get NULL reference exception for Application even the class has the s...more >>

encrypted URL, e.g.: (ry2rvt55anmz1afokhkm21rw)
Posted by Timo at 2/16/2005 7:47:39 AM
Our ASP.NET pages have an encrypted chunk added to each URL by IIS, e.g. http://www.ourdomain.com/(ry2rvt55anmz1afokhkm21rw)/ourpage.aspx What is the name of this feature so I can look it up and read about it? And is there a setting that hides the encrypted chunk? Thanks Timo ...more >>

DataGrid having ListBox and Hyperlink
Posted by Raja at 2/16/2005 7:47:01 AM
I have a datagrid, it has dropdown box as a column and i have one more column that has hyperlink. The NavigateURL for the hyperlink is to open a new window with a query stirng parameter as the selected value of the drop down... here is how it looks like <asp:datagrid....> .... <asp:Temp...more >>

Access User Control DataGrid Controls from parent page
Posted by Raed Sawalha at 2/16/2005 7:41:03 AM
i have aspx page with user control containing a datagrid , the datagrid has TempleteColumn with checkbox in header and item ( doing multiselect task) I wondering how Can get the checkboxes status from aspx page this is my datagrid in the user control <asp:datagrid id="dgFoldersInfo" runat="se...more >>

individual row link
Posted by ram at 2/16/2005 6:51:49 AM
helo how can i give links to individual row in datagrid in aspdotnet From http://www.developmentnow.com/g/8_2004_12_0_29_0/dotnet_framework_aspnet.htm Posted via DevelopmentNow Groups www.developmentnow.com/g www.developmentnow.com...more >>

Unable to debug in DLL
Posted by Vadim at 2/16/2005 6:43:03 AM
Hi, everybody I have ASP.NET Solution with two projects. I made reference from main project to the other project. When application runs it debugs main project, but cannot debug second project. It executes its methods, but I cannot see what is going on inside. I removed reference, th...more >>

Finding Controls
Posted by b.jithendra NO[at]SPAM gmail.com at 2/16/2005 5:20:28 AM
hi, I have a dropdownlist and a button in my web page. Both controls fire the page_load event on postback. I want to find out which control does the postback? I have a function in the page_load event which should be executed only when the button is clicked and not on the selectedindexChan...more >>

Runat
Posted by Malinmore at 2/16/2005 5:08:15 AM
I'm migrating from cold fusion to asp.net and there's some logic that has so far eluded me. I prefer forms not resolving to themselves so I can keep logic in order. If I add runat = "server" within the form tag, it dismisses the action="mychoiceofpages.aspx" My question is - what does the r...more >>

Loop the loop...
Posted by Tim::.. at 2/16/2005 3:23:06 AM
I have an error on one of my loops and am not completely sure why I keep getting the following error message! Insertion index was out of range. Must be non-negative and less than or equal to size. Parameter name: index Would appritiate any input... Thanks ...CODE Private Sub Populat...more >>

Problem with loop!
Posted by Tim::.. at 2/16/2005 3:03:01 AM
Private Sub PopulateDDLNoMobAccounts() 'assuming you have a button named ForLoop Dim i As Integer For i = 1 To 10 v_intNoMobilePhoneNumbers.Items.Insert(i, "i") v_intNoMobilePhoneNumbers.Items.FindByText("i").Value = i Next i ...more >>

Best Way to design a website ?
Posted by Arsalan at 2/16/2005 1:48:49 AM
Which softwares do pros recommend on making ASP.NET website ? Which software do you prefer ? I think Visual Studio is not that good at making a website, so what combination of softwares do u guys use to make a website ? ...more >>

Drived Control From Calendar
Posted by Islam Elkhayat at 2/16/2005 12:47:31 AM
I'm try to Develop a Calender control which display hijri date from database... But the Calender control Don't allow binding data so i try to use onDayRender() method but i still see the two dates in each cell also i can't change years & monthes.. I Don't wanna display the hijrii Calendar (fro...more >>


DevelopmentNow Blog