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 > november 2007 > threads for thursday november 8

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

ObjectDataSource method parameters
Posted by J055 at 11/8/2007 11:50:03 PM
Hi I've got an update business object method which takes about 80 parameters. I'm getting the 'could not find a non-generic method' error. I know that the ObjectDataSource UpdateParameters matches the business object method signiture. I ran the code below to discover that the InputParameter...more >>

RegularExpressionValidator and Int'l characters
Posted by Tomasz J at 11/8/2007 11:12:49 PM
Hello Developers, Is there any easy way of validating user input, like last name, using RegularExpressionValidator which would allow for international characters? Apprently ValidationExpression="^[\w\s']+$" is not the right way to do it. Thank you for any hints. Tomasz J ...more >>

Understanding Page Caching
Posted by Jonathan Wood at 11/8/2007 6:50:25 PM
I have a question about caching a page. What if my master page displays information specific to the current user? For example, I will create a navigation menu that is different, depending on the role of the current user. Does that mean users will see the menu for other users if the page is...more >>

confused noob about ASP, DataSets, and DropDown Lists
Posted by Stephen D Cook at 11/8/2007 5:30:52 PM
I am trying to tie a column in a database to a dropdown list, but having very little luck. The table is bound to the .aspx page via oledbadapter1 and oleconnection1, but when I try to create a dataset from it and use one column of the table, it doesnt work. Either I get an error saying the type...more >>

delete directory and file busy
Posted by Steph at 11/8/2007 5:05:29 PM
hello, i ve a probleme when deleting a directory and when i want create file immediatly after. 1) Directory.Delete(myPath, true); 2) TextWriter sw = new StreamWriter(myPath +"test.aspx"); i obtain Exception Details: System.UnauthorizedAccessException: Access to the path '***' is denied...more >>

How to make page dispay regardless of file extension
Posted by CSINVA at 11/8/2007 4:34:06 PM
All my pages are .aspx, I want to be able to have people just type in the page name without having to type in .aspx, I know I can do this, I jst can't remember where I configure the default extensions. I have a hsoted account on GoDaddy, so it's not local. ...more >>

Downloading generated files
Posted by Paulo at 11/8/2007 3:51:43 PM
Hi, the system generates a text file on a server folder called "remessa", how do I do to user downloads the generated file to his machine? VS 2005 asp.net C# 2.0 Thanks ...more >>

Loop in SQL
Posted by Guilherme Grillo at 11/8/2007 3:47:58 PM
Hi... I need to create a SELECT with a variable in WHERE... Example: SELECT * FROM ANSWERS WHERE id = 1 >>> then return the results and execute SELECT * FROM ANSWERS WHERE id = 2 .... ... ... It's possible? Thanks and sorry my english. Grillo ...more >>



receiving post information
Posted by whiggins@noemail.noemail at 11/8/2007 3:25:00 PM
Hello My company has a java based application that can post a log file to a url and I am trying to develop an ASP.Net web page to receive it and then store the information in a SQL database. I am not sure how to do this and I have ran across a couple of samples but they do not seem to work...more >>

Tedious Login During Development
Posted by Jonathan Wood at 11/8/2007 3:20:28 PM
I'm working on a site that requires all users to login using ASP.NET membership and forms authentication. That's working find but it's a hassle to have to manually log in every time I run the app. I can avoid this using Windows authentication, but then I'm not associated with any membership...more >>

capturing HTML of the same page during a postback
Posted by Carlos at 11/8/2007 3:03:04 PM
Hi all, I need to capture all the html that is generated after the user fills all the controls on a page. This needs to be captured at the moment the user hits the submit button. I tried doing it wit a server.execute, but it raises an exception. It complains about 'infinite loop or infinite ...more >>

VB.net(v.1.1) mixed with C# (2.0)
Posted by tzwanzig@gmail.com at 11/8/2007 2:33:17 PM
Greetings, I have an application written,by someone else, with VB.net (v1) in a subfolder, (./Editing ) I need to add to the application ASPx pages written in C# and ASP.net 2.0 Can anyone please tell me how to do that? Combining both versions? I tried adding the DLLs and aspx pages from the...more >>

Cache object.
Posted by Mufasa at 11/8/2007 2:25:15 PM
When you create a cache object in a web site, where is actually stored? In memory? Does that mean if you have cluster and it switches node you lose your cache? TIA - Jeff. ...more >>

Page p = new Page();
Posted by Steph at 11/8/2007 2:08:16 PM
i will post on the bad ng... : hello, i want create a aspx object page for manipulate it. like : Page p = new Page(); p.LoadPage("~/mypage.aspx"); and after i can modify manually all control, header etc.. and save it. how do ? thancks...more >>

Reading the session information that is stored in SQL server.
Posted by Mufasa at 11/8/2007 1:59:45 PM
We store session info in a SQL database. I looked at the table the stuff is being stored in (it's in the tempdb db) and notice that the session info is stored in an image field. Does anybody know the format of it? I might have a situation where I am running an external program that may want to...more >>

streaming mp3 files without allowing download
Posted by Sunfire at 11/8/2007 1:01:36 PM
I need to be able to stream mp3 files, but refuse to let the visiter be able to download them or get to them except from the page they are hosted at. Any ideas how I would get started doing this? ...more >>

Accessing DataSource on GridView RowDataBound
Posted by David W at 11/8/2007 12:03:08 PM
I have a pretty standard bound GridView control with TemplateFields. Now I need to be able to control the properties of some of the columns based on values in the recordset that I am NOT displaying. Is there a way to access the current row of the DataSource in the RowDataBound event? ...more >>

For each statement
Posted by JJ297 at 11/8/2007 11:55:13 AM
How do I read through the database to get the items that are checked to appear on my page? I have a checkboxlist on the page. I wrote this but it brings back all items checked... For Each l As ListItem In CheckBoxList1.Items l.Selected = True Next Any suggestions? Thanks! ...more >>

Tracing problems with Custom Role Provider
Posted by James Crosswell at 11/8/2007 11:36:49 AM
I have a custom role provider and custom membership provider in my ASP.NET app. These work fine on my local box. When deploying the app I'm getting the following error: Description: An error occurred during the processing of a configuration file required to service this request. Please revi...more >>

Tree View. Is this possible?
Posted by shapper at 11/8/2007 11:29:04 AM
Hello, Is it possible to remove the plus and minus icons from an ASP.NET Tree View? Thanks, Miguel ...more >>

Public Shared Property in a DLL
Posted by Michael G. Schneider at 11/8/2007 10:44:04 AM
Suppose there is a ASP dot.net web application and a dot.net class library (written with vb dot.net). The web application references the class library. The class library contains a ... Public Class test Public Shared Property() As String ... End Property End Class Of course, t...more >>

On TransactionScope and Table Adapter
Posted by Ajit at 11/8/2007 10:10:02 AM
Hi, We are developing a WCF service using .NET 3.0. The target platform : Win XP,SP 2.0 In the data access layer, we use ADO .NET to connect to the SQL Express database.Data access layer is implemented as typed datasets with tableadapter for each table.The service implementation at t...more >>

Export aspx/vb .net to multi-tabbed Excel?
Posted by bill at 11/8/2007 9:59:30 AM
I have been searching everywhere AND am a bit new to vb .net/aspx, but can't seem to find anything that works. Specifically, I need to export a dataset from a webapp written in vb .net to a new excel spreadsheet with multiple tabs (each tab would contain different rows from the dataset). Doe...more >>

positioning a layout table and making it invisible
Posted by Sunfire at 11/8/2007 9:36:00 AM
I need to know how to position a layout table in code next to (to the right of) another table on the page? I also then need to know how to make it invisible in code. How would you do this? ...more >>

Javascrpt and User Controls. Help!
Posted by eric at 11/8/2007 8:44:01 AM
Hello, I'm trying to change a links href with javascript. I know that asp.net will change the controls ids to protect against multiple controls on a page. So I use the following code. var buttonId = <%= this.FindControl("imgLinkRead").ClientID %>; The problem is that imgLinkRead is a ...more >>

Anybody have a slick way to tell if people are on the system?
Posted by Mufasa at 11/8/2007 8:17:54 AM
Does anybody have a slick way to tell if people are on the system. I have a login so I can tell if a user is authenticated. What I've done now is make a dataset that I store in the application variable and everytime somebody loads a page, I update that dataset ( based on sessionid ) with the t...more >>

HTML file from database to user interface
Posted by JIM.H. at 11/8/2007 8:01:02 AM
HTML file from database to user interface I have a html document in a sql server table with tags and elements. I need to read it from table field and show it in a web page. Is there any component that I can use to show this html file in the browsed with interpreting the html tags. ...more >>

Session data and Control-N issue
Posted by Amir Tohidi at 11/8/2007 7:39:02 AM
Hi Our application was using Session variables to store business object for our Web Forms successfully until someone opened a cloned IE window using Control-N key press. The cloned window ends up sharing the same business object as the original window which results in interesting behavio...more >>

UpdatePanel trigger in different usercontrol.
Posted by zb at 11/8/2007 7:18:53 AM
Scenarion: In an ASPX page I have a user control embedded (actually embedded in MasterPage), based on completion of a AJAX call in the user control it needs to update a Grid view which is actually another user control. I have been able to do this by keeping the grid view user control inside a...more >>

variable parameters
Posted by rodchar at 11/8/2007 7:07:01 AM
hey all, if i have a function that i'm passing the name of a stored procedure to and i don't know if the stored procedure is going to have parameters or not what's the perferred way to handle this or pass this? thanks, rodchar...more >>

Login event handler in 2.0
Posted by kpg* at 11/8/2007 6:41:49 AM
Hi all, asp.net 2.0 I'm using the login control with no frills to authenticate users. I want to add a value to the user's profile when the user successfully logs in, but I want to do this only once, and I want to do it each time the user logs in (because it may change over time). The...more >>

Application Variable and Cookie Container
Posted by Paul at 11/8/2007 6:34:01 AM
Does anyone know if you can store a Net.CookieContainer object in an Application variable?...more >>

Search is busted, can't index PDFs, fullcrawlstart too?
Posted by David Lozzi at 11/8/2007 6:23:03 AM
Howdy, A brief history. Customer running SBS 2003, I upgraded them to WSS3 by installing along side WSS2, moved the DB over and everything has been working great for the last month. Users could search and get PDFs back and everything. All of a sudden, PDF search stopped working. I unins...more >>

Friend class scope - what am I missing?
Posted by Rbrt at 11/8/2007 4:47:01 AM
Sorry if this is a question that has been answered elsewhere. I did a search and didn't find the answer I am looking for. I am writing an ASP.NET app in VB.NET and am defining some classes in the App_Code folder. I do not want the classes to be accessible from outside the assembly, so I wou...more >>

CheckBoxList
Posted by shapper at 11/8/2007 4:06:35 AM
Hello, I created a CheckBoxList at runtime and added a few items. How can I define when a item is selected or not by default? Thanks, Miguel ...more >>


DevelopmentNow Blog