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 > august 2007 > threads for wednesday august 29

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

Custom Object Friendly ASP.NET controls
Posted by at 8/29/2007 10:32:28 PM
I'm using domain driven design on my projects which means most of the time I'm not using datasets for anything. Does anyone know of Asp.net 2.0 server controls and data source contorls that are more custom object friendly? Cheers, Aend ...more >>

loading a flash into a page from a folder outside of the IIS
Posted by pelegk1 at 8/29/2007 9:00:01 PM
is it possible to load some how a flash into a webpage which has an embed object and that the flash will be outside of the IS folder? thnaks in advance peleg...more >>

Need Some Help With Query Processing
Posted by pbd22 at 8/29/2007 8:38:04 PM
Hi. I need some help with structuring my query strings. I have a form with a search bar and some links. Each link is a search type (such as "community"). The HREF for the link's anchor looks like the following: <a href="?searchtype=2">Community</a> When the user clicks on the Community...more >>

How do I modify the built-in templates in VS2005?
Posted by Alan Silver at 8/29/2007 6:44:01 PM
Hello, Is it possible to modify the templates that come with VS2005? I have searched all over the place, but can't find them anywhere. I know I can make my own, but I would like to know if I can modify the ones that are already there. TIA -- Alan Silver (anything added below this l...more >>

Session Timeout :- difference between Pressing F5 and selecting another page
Posted by Astrix at 8/29/2007 6:25:20 PM
I have been working on session timeout for an application and I got a lot of help from this discussion Board. My Thanks to all of you. For e.g If i have a website which has multiple pages, I open the first page and then log to the second page and so forth.. Don't session timeout value get r...more >>

GridView special character problem
Posted by GaryDean at 8/29/2007 5:31:39 PM
I have a 1.1 utility program that prints any DataGrid in a Crystal Report and it works just fine. I'm in the process of final testing of a new 2.0 version that does the same for GridViews. When testing my new version I notice that my reports don't print some types of punctuation correctly. ...more >>

changing the content of a table row in JavaScript
Posted by PJ6 at 8/29/2007 4:39:49 PM
I know this isn't exactly the correct forum to ask, but I've had such bad luck looking everywhere else I thought I'd try here. I want to update the content of a table row using JavaScript, but IE throws exceptions when I try to change the innerHTML property, or use Prototype's Replace funct...more >>

Progress bar
Posted by Paulo at 8/29/2007 3:32:00 PM
Hi, while the user is uploading a file, is possible to show a progress bar? Using VS 2005 Asp.net 2.0 C# Thanks! ...more >>



How to hide and show a button after executing javascript function
Posted by Mic at 8/29/2007 3:26:37 PM
Hi, How can I hide a button before executing a javascript function and make it visible again after execution of the javascript function? What I need to do is: VB Page_Load: 1) Hide Button1: Button1.Visible = False 2) Execute JavaScript (I'm using Page.ClientScript.RegisterStartupScript)...more >>

Creating TemplateColumns dynamically
Posted by tshad at 8/29/2007 3:02:04 PM
I found I can create Template columns dynamically - as long as I don't use objects that need onclick events, such as a LinkButton. Textboxes and Labels work fine. I create the Template columns like so: Dim column as TemplateColumn = new TemplateColumn() column.HeaderText = "Templat...more >>

Where does ASPNET come from?
Posted by David C at 8/29/2007 2:55:10 PM
Our windows 2003 server has a user named ASPNET and it is referenced in the security logins on our SQL Server 2005 box (different server). is this something .Net framework creates or did our network admin create for accessing SQL 2005 databases on a different server? Any ideas? Thanks. D...more >>

Storing/Displaying images
Posted by Paulo at 8/29/2007 2:10:53 PM
Hi, how are you ? Can you send me any examples about storing images on bd and showing them on gridview? Im using VS2005 asp.net 2.0 C# Thanks a lot! ...more >>

Client Chatting th a server.
Posted by Arne at 8/29/2007 2:02:02 PM
I am trying to create a chat application in the browser. I need to find a way for the client to call back every 15 seconds. I tried <meta id="meta" http-equiv="refresh" content="15" /> But I am not getting any viewstate with the above trick. Does anyone have any good ideas? -- Arne Garvan...more >>

check for if a gridview is empty
Posted by WebBuilder451 at 8/29/2007 2:00:03 PM
What is a good way to check for a gridview or a datasource not having any rows? If my gridview does not have any rows i want to display a message saying the recordset is empty. I'm doing it now by setting the message visible = true on page load and set it to false on if (e.Row.RowType == ...more >>

Requiring login - enforce for individual pages instead of folder?
Posted by Homer J. Simpson at 8/29/2007 1:58:55 PM
I've been toying with ASP.NET 2.0 for a few weeks now, and have only recently started looking at the login controls. The ASP.NET web site admin tool lets you create access/deny rules that apply to individual folders. Is it possible to extend that to individual pages? For example, I have th...more >>

REG EXPRESSION
Posted by Ken at 8/29/2007 1:55:20 PM
How can I insert into validationExpression for "any word within 50 any character long"? ...more >>

ASP.NET AJAX Toolkit Reference Material
Posted by SR at 8/29/2007 1:02:51 PM
Does anyone know of a good reference site or document? I have been out of the javascript world for quite some time and I would like to know what the properties and methods are for the different controls in the toolkit in reference to the javascript side. TIA SR ...more >>

CheckVirtualFileExists
Posted by Chuck P at 8/29/2007 12:56:02 PM
I have an asp.net application with a HttpModules in it. It looks at: AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(OnUhe); //UHE on threads application.Error += new EventHandler(OnError); //regular UHE When I put in a URL with a bad location I get an...more >>

Table Height 100%
Posted by Kevin at 8/29/2007 12:04:01 PM
Hi! I'm using VS 2005 and I can't desing a table with height="100%". With the width=100% works ok, but the height always fit the controls inside the table. This is an example: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional...more >>

Thumbnail control does not update after images added/removed.
Posted by RB at 8/29/2007 11:51:43 AM
Hi there, I'm having a problem with an ASP.NET/VB.NET Control I am writing. The control is a simple gallery control, which shows a set of thumbnails (using a DataList), and a main image of the selected thumbnail. It also has "Add Picture" and "Delete Picture" buttons. "Add Picture" will a...more >>

Dynamically Loading User Controls
Posted by Rick Mavrovik at 8/29/2007 11:41:05 AM
Hi, I am trying to generate a number of Web User Controls (WUC) based on user input. This WUC has got 2 drop down controls in it. The WUC works fine when created in the usual manner but when I try to create it dynamically a null reference exception is thrown when trying to refering any of ...more >>

Creating richtext in asp + formatting
Posted by daz NO[at]SPAM rayneressex.com at 8/29/2007 11:40:34 AM
hey guys I'm not asp literate, and tried many search terms on google to try and work the solution out, but gave up :( Below is a bit of code in our system that has a button assigned to it, once clicked this lil dude creates a richtext email in outlook and fills it in. What I would like t...more >>

Session is not letting me remove keys
Posted by Nathan Sokalski at 8/29/2007 10:43:48 AM
I have an application that is using Session state. On one page, I use the Session.Add() method to create the Key/Value pair for the first time. I am then sent to another page using Response.Redirect(). On the page I am sent to, I can view the Session's value using Session("mykey"), but it will...more >>

Setting the width of a datagridColumn
Posted by tshad at 8/29/2007 10:42:26 AM
I am building my DataGrid dynamically and am trying to set the width but am having a problem with it. If I do: DataGrid1.Columns(0).Width = New Unit("65px") I get the error: 'Width' is not a member of 'System.Web.UI.WebControls.DataGridColumn'. Or Dim column as BoundColumn = n...more >>

Querystring not working
Posted by JJ297 at 8/29/2007 10:02:16 AM
Could someone take a look at this code and tell me if this code is valid? Thanks! If Request.QueryString("quesid") <> "" Then Response.Redirect("CDPadmineditpage.aspx?quesid = """) End If ...more >>

Bring window to top
Posted by Al at 8/29/2007 9:35:59 AM
Good Morning All: We have an issue when we are using "target = 'new'" in an anchor. The first time when it opens the new window the window comes to the top of the stack but on subsequent openings it remains in the stack where it was left. We need it to come to the top of the stack. Does ...more >>

Articles on Pros/Cons of Session Object
Posted by Doogie at 8/29/2007 9:22:34 AM
I'm looking for some good reading material on the pros/cons of using the Session object and was wondering if anyone could point me in the right direction? ...more >>

web service running issue
Posted by Steve at 8/29/2007 8:42:54 AM
I have to move my web services to our QA server for testing. All of the = existing web services are configured under a parent web site such as=20 web sites --> default web site --> webservices -- all web services The web service directory is configured for .NET 1.1, my new web = services are...more >>

Hyperlink List XML File Data Source
Posted by at 8/29/2007 8:10:12 AM
Want to create a "frequently asked question" type page on a ASP.NET 2.0 site. The page will have two columns, one displaying a list of hyperlinked questions that will be bookmarked to answers below, and the navigation system will be similar, displaying some hyperlinked navigation choices for th...more >>

User identity
Posted by gsauns at 8/29/2007 8:10:03 AM
I have an ASP.NET intranet site running off one of our servers. The app, in the Session_Start event, logs a user's currently logged-in Windows username to a session variable. In the dev. environment, it's no problem - it gets a proper username. However, when I go to the URL for the site, it ac...more >>

C# Convert question.
Posted by WebBuilder451 at 8/29/2007 7:42:08 AM
I seem to be ding this a lot, td1.Text = Convert.ToString(HtmlTextWriter.SpaceChar); In VB you don't need to convert and i makes me wonder if this is the correct way to assign an htmltextwriter item to a cell? (i'll be asking a lot of these, but I find C# totally way cooler than vb and it's...more >>

string into DateTime?
Posted by Yin99 at 8/29/2007 7:37:57 AM
I have the string "8/2/2007 12:00:00 AM" I'd like to get this in DateTime variable so I can manipulate (e.g. use TimeSpan to find difference). However, when I look at the DateTime constructors, everything seems to be int, long, etc. So my question is, what would be the easiest way to get th...more >>

multiple DataGrid headers with paging
Posted by Dennis at 8/29/2007 7:32:02 AM
I have a datagrid that has two headers... one that has the column titles, and one above it that spans multiple columns as a grouping display ... example: Members Dates Types Name Address Phone Start ...more >>

WebService\JS
Posted by gh at 8/29/2007 7:20:06 AM
I am designing a web service in asp.net. What I would like to do is have a function that has an address past into it. Then have the function call google to get the lat\lon for the address and pass it back to the ASP.NET or WinForm app. I am not sure where I put the javascript, to call the...more >>

Slightly OT: Resume Advice
Posted by rowe_newsgroups at 8/29/2007 7:19:21 AM
I'm working on improving my desirability to possible employers and was hoping to get some advice from the industry experts (thats you guys) on what I should do. First off, I'm working on getting MS certified in order to make it through the Human Resources department - which apparently toss any...more >>

Date string problem in query string when posting back
Posted by Julia B at 8/29/2007 6:44:00 AM
Hi, I posted last week about a problem I've got and didn't get any responses, but I've managed to come up with a workaround and a possible cause (guessing). I was wondering if someone could confirm my theories and give me some information on the proper way to handle this. I have a search...more >>

ASP.NET Gridview - Edit (Update)
Posted by at 8/29/2007 5:45:11 AM
When I try and update using the gridview edit option, all of the records in the entire Access database get changed. Is this normal in gridview? Is there a way to change this behavior? Or should I be using a different control? Thanks Page Code is as follows: <%@ Page Language="VB" %> ...more >>

export dataset to excel
Posted by Lamis at 8/29/2007 5:04:01 AM
Hello, I have a dataset that has information written in Swedish language, that means alot of stranch chars like 'Å, Ä, Ö' etc and my code void Export(datagrid myDataGrid){ Response.Clear(); Response.AddHeader("content-disposition","attachment;filename=FileName.xls"); Response.Ch...more >>

Get Value From Something Other Than The Index In DropDownList
Posted by Cindy at 8/29/2007 1:19:59 AM
Hi. Say a the query behind a dropdown list lists various fields -- i.e., ID, State, City. The dropdownlist will display the state and store the ID. How do I retrieve the associated city? Thanks! Cindy ...more >>

ASP.NET Web Hosting and Ajax question
Posted by Sir Psycho at 8/29/2007 12:48:08 AM
Hi, I've installed the AJAX 2.0 extensions for VS. Does my webhosting company have to install this as well for me to take advantage of these controls/extensions? Thanks ...more >>


DevelopmentNow Blog