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 > march 2007 > threads for thursday march 22

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

GridView - ToolTip
Posted by Raj at 3/22/2007 11:54:15 PM
I have a very unique requirement, I have to add a tooltip in a grid view control, the tooltip should be similar to this link: http://web-graphics.com/mtarchive/BubbleTooltips.html ...(hover at the link) Do you have any suggestion on this.. Thanks ASP.NET 2.0 / C# ...more >>


Gridview and bound field hidden
Posted by Chris Botha at 3/22/2007 11:45:40 PM
I have a gridview with bound columns as well as auto select turned on and everything works well. The 1st column is the record ID and as seeing this does not help the user, I want to hide it, so I set the visible property of the column to false. Now on post-back when selecting a record, the cel...more >>

GridView, Hyperlink and binding the url
Posted by arun NO[at]SPAM greettech.com at 3/22/2007 11:21:36 PM
Hi, I have an sql statement that returns some urls. eg:- select 'http://localhost:1000/Sample/Default.aspx?cd=' + dbo.GetIDForObject( 'Test') as TestCasesInTestRunLink from Table When bind this to a gridview through an SQLDataSource I can print the urls in grid..But I want them to be li...more >>

Word Mail Merging
Posted by Badis at 3/22/2007 9:55:03 PM
Hi, I'm trying to follow a mail merging example in C#.Net that I got from: http://support.microsoft.com/default.aspx/kb/301659 and in one the methods: Word.Application wrdApp; Word._Document wrdDoc; Object oMissing = System.Reflection.Missing.Value; Object oFalse = false; private void ...more >>

Different names for file folder and the solution/project
Posted by Jeffrey at 3/22/2007 9:51:19 PM
I made a typo on a Project name (e.g. Wong, instead of Wang). Later on I renamed the Soution, Project, WebForm., etc, except the file folder name, back to Wang. Then after I closed the VS.net and went back to the Windows Explorer, I found out the file folder name was Wong, so I changed it t...more >>

Load testing
Posted by Chris at 3/22/2007 8:03:58 PM
As someone fairly new to high performance applications can someone recomend load testing software. Preferably something not too expensive that someone new will find easy to understand. Regards, Chris. ...more >>

Application Response Times
Posted by Chris at 3/22/2007 7:59:27 PM
I have been asked to design my first fairly complex asp.net application. One thing I have been asked to look at is application response time. What is the application response time and how do I measure it. I appreciate this may be a little OT. Is 500 ms a realistic application response time? Re...more >>

ASP.Net tabel nested in another ASP.Net table
Posted by JimQ at 3/22/2007 7:19:08 PM
Ok, hopefully I have a simple question that someone can assist me with. I have a native ASP page I’m converting to ASP.Net and have a table nested inside anther table like below <table border="1" width="780" align="center" > <tr> <td align="center">Test</td> </tr> <tr> <td> ...more >>



AJAX
Posted by chix23 at 3/22/2007 6:45:00 PM
Hi!!! I am having a hard time processing 20,000 records using AJAX. AJAX threw an internet connection timeout. Is there any way that I can increase the internet connection timeout by using web.config? I am using ASP.NET 1.1. Thanks!!!...more >>

asp.net: Change .NET version in Web.config
Posted by meo at 3/22/2007 5:15:56 PM
Can I select version of .NET compiler to run my ASP.NET web application? I thought I can select version of compiler by config in Web.config when I need to change between 1.0 or 1.1 But in ASP.NET 2.0, Can I choose? I see the way to change only in IIS but in Web.config, I cannot see at thi...more >>

Deploying Web Services
Posted by Peter Bradley at 3/22/2007 4:30:00 PM
I've written a Web service. It runs fine from Visual Studio 2005 on my local machine. Seems to be running in some kind of internal Web server or something, because I have a funny icon in the system tray and can't run the service by typing a url in my browser. But VS doesn't seem to have a ...more >>

Write an encoded zip file
Posted by tshad at 3/22/2007 4:23:35 PM
Is there a way to write out a file and cause it to be an encoded zip file from an asp.net page? At the moment, I am writing out a csv file that a user can download from my site. But the problem is that the file will be clear text and I am going to be putting in some personal information th...more >>

Confirm box on Page_load
Posted by tshad at 3/22/2007 3:56:59 PM
Is there a way to do a Javascript confirm box when an aspx page initially loads (not postback)? I can make the confirm box come up by doing the following: *************************************************** <script type="text/javascript"> function CheckForProfile() { confirm("Do you w...more >>

AJAX Update Pannel
Posted by Andrew Robinson at 3/22/2007 3:35:12 PM
I need to update a value outside of an update pannel from within code that originates inside of an update panel. Any way to make this happen? Specifically I have a status bar inside of a master page that needs to get updated after certain operations that are currently wrapped inside of an u...more >>

converted project won't intellisense!
Posted by musosdev at 3/22/2007 3:35:00 PM
Hi guys I've just opened an old web project in VS2005 for the first time, and it went through the conversion wizard with 0 errors. However, I can't seem to get intellisense to work in the C# cs files. Example, I edited a page, added an asp:DropDownList with id and runat properties, and...more >>

File Path
Posted by news.microsoft.com at 3/22/2007 3:33:24 PM
Hi, I have an ASP.NET web site and another project (a class library) which is referenced in the web site. I want to send the relative path from the web site to the dll (the class library), because I generate a file with dll project. How can I do this? Regards, Mystique ...more >>

Problems exporting to CSV on the server
Posted by Radu at 3/22/2007 3:11:49 PM
Hi. I have the following problem: The user needs to setup a request on a website, by deciding on a lot of questions. I want the website to dump an excel (CSV) file into a shared folder somewhere on the network, so that other tools can read these request files and act on them. So on my confirm...more >>

disable session at runtime
Posted by phil at 3/22/2007 2:27:51 PM
Is there a way to disable session on certain page requests at runtime? What I want to do is avoid the session cookie write in certain situations... say, for example, based on the user agent string. I don't want to disable the session for the page permanently. ...more >>

ASP.Net 2.0 Menu Slow
Posted by GroupReader at 3/22/2007 2:23:43 PM
Has anyone had any luck using the ASP.net 2.0 Menu control asp:menu? It seems to work great for small pages, but when there is a lot of data on the page, it renders really slowly. Like when you have a Gridview with 1000 rows. The menu hover event takes a couple *seconds* to respond. I found...more >>

Deny users access to assembly DLLs
Posted by Chris Johnson at 3/22/2007 2:05:04 PM
Hi all, I have a brief (hopefully quick) question regarding (ASP).NET security... We have an ASP.NET application (running in W2k3, IIS6) that calls a couple of other assembly DLLs that contain helper and data-access classes. For security, we'd like to be able to lock down these DLLs so tha...more >>

Login Issues with IE
Posted by Kiran Kumar Pinjala at 3/22/2007 1:28:05 PM
Hi, I have an SSL Web site that is developed and deployed using in .NET 2.0. Most of the clients are able to login to my website without any issues. Some clients can never login to my web site. At first, I thought they were entering wrong passwords, but that was not the case, because when ...more >>

Updating Disconnected DataSets with GridView
Posted by ist at 3/22/2007 12:32:50 PM
Hi, I am trying to create a Session-Wide, Disconnected, Updatable DataTable (or DataSet) object and use it through an ASP.NET GridView. The scenario is this: 1. When the page is first loaded, connect to DB, get data, fill DataTable. 2. Bind DataTable to GridView. Set DataTable as a Session...more >>

ASP.NET AJAX Date serialization and timezones
Posted by Stu at 3/22/2007 12:15:03 PM
I have a ASP.NET Ajax app (using client library) calling ASP.NET Ajax-enabled web services. We are making use of the javascript proxies generated by ASP.NET Ajax. The problem we have is that the UTC dates sent by the browser are being adjusted for timezones by the server, but we do not want...more >>

Directory.GetFiles() / DirectoryInfo.GetFiles() on a remote server
Posted by Daniel Corrêa at 3/22/2007 11:52:13 AM
Hi, I've been trying to use Directory.GetFiles() and also DirectoryInfo.GetFiles() to list files on a remote server using "\\server_name\dir_name" like paths. It works fine on a test windows app, but I get an access error message when the code is running on a asp.net app. First I thought...more >>

asp:Login and registering user with Membership
Posted by MarcG at 3/22/2007 11:36:16 AM
I have a Server.Transfer in my asp:Login LoggedIn event handler. I am forcing transfer to a specific page since I do not want to use the ReturnURL that is in Request.Params (i.e., the user addressed some particular page and was redirected to the login form and would be returned there.). Th...more >>

Transparent Menu
Posted by Joe at 3/22/2007 11:30:03 AM
Hello All, I am using the ASP.NET 2.0 menu control and would like to make its background transparent, so that the page's background image can be seen through it. I haven't found an obvious way to do this. Does anyone have any ideas? TIA, -- Joe...more >>

LinkButton Client side code firing before server side code
Posted by alexmac262 NO[at]SPAM hotmail.com at 3/22/2007 10:06:11 AM
Please forgive as I have never posted to a group before and this is my first attempt at getting help on the internet. Inside an update panel I have a linkButton in a Gridview control template field. I need to pass several control values from the grid to a popup window. The solution that I ca...more >>

Object Timeouts
Posted by robin9876 NO[at]SPAM hotmail.com at 3/22/2007 9:39:24 AM
After an object is declared, how long will that object be available until it time's out? ...more >>

Handling Object Null Reference Errors
Posted by robin9876 NO[at]SPAM hotmail.com at 3/22/2007 9:37:45 AM
Instead of .Net showing an Object reference not set to an instance of an object error message. Is their a method of handling these messages and displaying a more user friendly message and recording this information for further investigation? ...more >>

DataView?
Posted by JimHeavey at 3/22/2007 8:52:13 AM
I have an 2 HTML pages which list a "code" and it's "description". One page is sorted in Code order and the other is sorted in Description order. I was thinking that I could use the Dataview control and allow all of the entries to be keyed in the HTML, so if new ones were added or removed,...more >>

Class question
Posted by shapper at 3/22/2007 8:03:50 AM
Hello, I have various classes in a project and all them use a few common properties. So I created a new class, named Config, with all those properties so I don't need to define those properties in all classes. My problem is how to make the Config properties accessible in my other classes. ...more >>

how to let an embedded .NET winform usercontrol fire an event (via javascript) in webpage
Posted by jyanmin.fang NO[at]SPAM gmail.com at 3/22/2007 8:02:21 AM
Hi, In my current project, I need to embed an .NET winform usercontrol in the aspx page (via <Object> tag). This winform usercontrol has an event called DoEvent (void DoEvent()). This winform usercontrol will fire this event upon certain action by the user. I tried to let the aspx page subscr...more >>

Bulleted List question
Posted by nina297 at 3/22/2007 7:43:08 AM
My bulleted list is grabbing the correct text and value. I'm doing a response.redirect to Bookcategories.aspx but want to use the deafultvaluefield on the other page called classificationid, to pull info from the database that equals classifictionid. It's not catching the classificationid. Wh...more >>

where does the o/p of userControl cached?
Posted by ABCL at 3/22/2007 7:30:49 AM
Hi all Can any one tell me if I want to cache the User control, Where does it cached? I am not able to it in "Cache" object Thanks ...more >>

Difficulty disabling the read-only attribute on an ASP.net working
Posted by JeffDotNet at 3/22/2007 7:20:26 AM
I have an asp.net application using a multi-page wizard control that grabs user selected files from a database and allows the user to configure parameters using controls on the wizard pages. The resultant files are then submitted for simulations. When I attempt to navigate through the wiz...more >>

Hyperlink control in user control
Posted by cgambino at 3/22/2007 7:20:13 AM
Hello, I am having what I think is a problem with hyperlinks in user controls. My usercontrol is in my Controls/NavControls directory. The page that I have consuming the control is in my Pages/PageInfo/ directory. My control, PageNav.ascx has an asp:hyperlink control on it that sets t...more >>

DirectoryServices classes not being recognized
Posted by aamirghanchi NO[at]SPAM gmail.com at 3/22/2007 6:38:53 AM
Hi, I had .Net 1.1 app that worked fine. I recently migrated it to 2.0 but am getting compilation errors, among which DirectoryServices classes are not being recognized by the VS 2005 at build time. I can clearly see the reference to System.DirectoryServices 2.0.0 GAC in the reference list an...more >>

How to use a messagebox in asp.net
Posted by Arvid at 3/22/2007 6:32:00 AM
Hi, I made a small ASP.net web page and in it I used a messagebox to confirm first before an execution would take place. It worked fine while testing it locally, but when i published it on a server it didn't work anymore. I understand why, but still have the problem that I would like the...more >>

user name in database!
Posted by rcoco at 3/22/2007 6:31:53 AM
Hi, I'm wondering how to do this, I'm working on the on a datagrid and I'm using windows authentication. I managed to get username on to a login form, but I want it to be stored into the database.The code of web config looks like: authentication mode="Windows" identity impersonate="true" And ...more >>

GridView Next / Previous buttons
Posted by shapper at 3/22/2007 4:45:02 AM
Hello, Is it possible to use images as Next / Previous buttons on an Asp.Net 2.0 GridView? Thanks, Miguel ...more >>

Connection String
Posted by shapper at 3/22/2007 4:43:58 AM
Hello, I need to check, from my VB.NET / C# code, if there is any connection string defined in my Web.Config file which name starts with "Control". If there is then I want to use it. How can I do this? Thanks, Miguel ...more >>

Email sending problem from asp.net application
Posted by Santosh at 3/22/2007 3:45:51 AM
Dear all, i am wrtiing following code for the sending email from the my asp application when i am working on the local machine i will work fine ans send email on the mentioned address. but when i deploy it on the server it doen not work. and also does not give any error. MailMessage newMessag...more >>

Code Refactor - Include Namespace in existing files
Posted by Augustin Prasanna at 3/22/2007 12:00:00 AM
Is there any simpler way to add 'Namespace' to existing classes? I have around 6000+ classes for which i need to add 'namespace'. Regards, Augustin ...more >>

same code, different providers => different behaviours??
Posted by Bart at 3/22/2007 12:00:00 AM
Hi, I ran the same code with two different providers (oledb abd sqlclient), and i got two different behaviours. The code with OLEDB runs perfect without error. The same code with SQLClient gives an error at line: "dtreader = comd.ExecuteReader" (the second) "There is already an open DataRe...more >>


DevelopmentNow Blog