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 2008 > threads for tuesday march 25

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

determining the log-on
Posted by Ned White at 3/25/2008 11:48:26 PM
Hi, There is a LoginView control on my aspx page and the users will use this control to login and i will check the some cookies when the user logged on. But i can not find any events for LoginView control if user successfully logged on or not .. Is it poosibe to determine the successfully...more >>

Menus Vs Ajax Conundrum
Posted by Just Me at 3/25/2008 9:29:25 PM
OK, Heres the deal. VS2005, AJAX 1.1, Menu With Child Items Inside UpdatePanel. Why, because Im using ajax and need to dynamically update the enabled state of one of the menu options. Problem, if I cause an async request anywhere on the page then quickly hover over the memu item with ...more >>

WebPart
Posted by Arnab das at 3/25/2008 9:13:32 PM
I am working in asp.net webpart.I want to show the delete warning message in a modal popup. How can I achieve this?...more >>

Write To Floppy Drive From Web Site
Posted by Andrew Hayes at 3/25/2008 8:19:34 PM
In our old ASP web site we have an ActiveX control written in VB6 that writes a structured file to the users floppy disk drive. Now that we are updating the site to ASP.NET, I want to rewrite the ActiveX control in C#.NET. I created a solution with a ASP.NET Web App project and a Windows C...more >>

Validators & ICallbackEventHandler
Posted by Nathan Sokalski at 3/25/2008 7:59:24 PM
I have been attempting to create a Validator that checks whether a value entered into a TextBox is unique from the values in a specified field in a database. Doing this validation is quite simple when using postbacks, but I would like to do it using client callbacks by implementing the ICall...more >>

SmtpClient How to detect if its a valid email or not
Posted by Edgard Guilherme at 3/25/2008 5:32:53 PM
Hello all, b4 anything, i am using iis smtp to send the emails.. is there anyway to detect if the "To" email is a valid one ? Like for eg. To = sadjwqewe@askjqw.com (so this email of course doesnt exist, but is there anyway to detect that ?, or if the email exist but the inbox is full e...more >>

updating Membershipuser.Email
Posted by Jeff at 3/25/2008 5:24:41 PM
hey ..net 3.5 I want to update the email of the user, so I was trying this code, but it doesn't update the email address. TextBox text; text = (TextBox)tblUserInfo.FindControl("Email"); MembershipUser user = Membership.GetUser(Profile.UserName); user.Email = text.Text; any suggestions...more >>

tabbed interface using ajax : bookmarks and back-button
Posted by John A Grandy at 3/25/2008 5:21:44 PM
For a tabbed interface implemented with ajax ( tab contents located inside an UpdatePanel ) , a well-known problem is the inability to bookmark a specific tab and the inability to use the back button to return to tabs previously viewed. Does anyone have any ideas / solutions / alternate des...more >>



2 data adapters, 1 dataset
Posted by J at 3/25/2008 5:19:11 PM
I want to read a .csv file into a dataset using an OleDbDataAdapter, then update a SQL table from these rows. Is there any easier or more efficient way to do this instead of spinning through the dataset rows and firing off an INSERT for each of these rows? It seems to me that after I'd fille...more >>

Visual Studio 2008 TableAdapters and Transactions
Posted by Andrew Jocelyn at 3/25/2008 5:15:05 PM
Hi I've just discovered that the typed DataSet tool now adds a Transaction property to each TableAdapter. The modifier is internal. It seems to be undocumented. Are there any examples/best practices on how to use it? Thanks Andrew ...more >>

vs2008 problems
Posted by GaryDean at 3/25/2008 4:46:07 PM
We are having a lot of problems with visual studio 2008. It clobbers aspx pages randomly. For instance we had a three step wizard and it rearranged much of the html source and completely mangled the page. This has happened several times. Is anyone else having these kinds of problems? Th...more >>

Intercepting All Ajax Calls ?
Posted by Microsoft Newsserver at 3/25/2008 3:02:13 PM
Hi, I am using VS2005/.Ajax 1.1 . I need to mask the screen during async calls back to the server. I can do this by surrounding the whole screen with a filtered div to prevent click throughs to controls. The issue is how or when to turn the filter on the div on. Basically, I need to kno...more >>

Disabling <%= %>?
Posted by Josh Valino at 3/25/2008 2:30:56 PM
Hi, I have a client that has our product and in one of the aspx files, there is code like this: <%= SomePublicProperty %> where the public property returns a string. In the test environment at the client's site, the value is being REsponse.Written as expected. In their production en...more >>

Menus in update panels
Posted by Microsoft Newsserver at 3/25/2008 2:30:52 PM
Hi. I know they are not supported as such but I have got them working, with one little exception. If I have an option with several children, and I click somewhere else on the form, then hover over the static item, the child items appear, if I mouseout before the asych call comes back, th...more >>

getting Page.User
Posted by Ned White at 3/25/2008 1:15:31 PM
Hi All, In C# web projects , i can get some current user info with "this.Page.User.Identity" in aspx pages and can use them like that; this.Page.User.Identity.IsAuthenticated this.Page.User.Identity.Name etc. But in a separate .cs class file how can i get this current user info ? which ...more >>

Change column width during Excel export
Posted by Lester Mosley at 3/25/2008 11:25:10 AM
I am having trouble adjusting the column width when exporting from an ASP.net web page. I don't really want to have a sotred formated excel page and prefer to do it by code within the display page. (When user enters the data and requests report to run, it brings back a new page, then the user ...more >>

Calling event handler using Master Pages
Posted by H F at 3/25/2008 10:31:46 AM
Hi all I created a user control that has a button and have added it to the Master page. When I click on the button, the onClick event handler in the user control is not fired. How do I reference the onClick event handler? thanks Harry...more >>

Interesting problem with session state...help?
Posted by Marcus at 3/25/2008 10:23:14 AM
We have a third party application built for us that utilizes Sql Server Reporting Services to produces various reports for our business. Normally one would access the various reports directly through their asp.net application. However, I am trying to build a link directly to a specific report wi...more >>

Adding path info to an GridView asp:Image bound column
Posted by musosdev at 3/25/2008 9:38:06 AM
Hi I need to add the path to my images directory to the DataUrlField of a bound ImageField in a GridView, but I can't work out how to do this. Is there a a Path property I'm missing? Or can I append to each column as it is inserted (by over-riding some sort of Populate method)? Thanks, ...more >>

Focus in asp.net with javascript
Posted by psion at 3/25/2008 8:21:27 AM
Hi, I am trying to set focus to a specific button in a server form when typing in a specific text box and pressing enter. For example, pressing enter in the search box at the top of the page is to activate the submit search button next to it. The login text box below it is to submit the login b...more >>

Passing filename from a hyperlink
Posted by David C at 3/25/2008 8:20:46 AM
I have a DataGrid that displays file names from a directory and places them in a HyperLinkColumn as shown below. <asp:HyperLinkColumn DataNavigateUrlField="Name" DataTextField="Name" HeaderText="File Name" DataNavigateUrlFormatString="ShowDo...more >>

Space problems: impacts
Posted by Luigi at 3/25/2008 8:17:02 AM
Hi all, sorry for my strange question. An ASP.NET C# (2.0) application may run into runtime problems (or other kinds of malfunctions) when running on a machine with very low free space on disk (for example, only 5 MB free space on 220 GB total)? Thanks a lot. -- Luigi ...more >>

Can you validate a usercontrol property with a CompareValidator?
Posted by Dave at 3/25/2008 7:37:06 AM
Is there a way to validate a usercontrol's property from the page hosting the control using a comparevalidator control? such as? <asp:CompareValidator id="cvStartDate" runat="server" ControlToValidate="how to reference a usercontrol's property here??" Operator="DataTypeCheck" Type="Date" Err...more >>

Transparent png images in IE6
Posted by Greg Peters at 3/25/2008 6:34:01 AM
I use png images with transparent backgrounds for the following ASP.NET server controls: Image, ImageButton, ImageMap, Panel (BackImageUrl for Panel). The images display correctly in IE7, but not IE6. What is the preferred solution to make all of these display correctly in IE6?...more >>

Binding certain rows to certain columns in GridView?
Posted by bernard.oflynn@gmail.com at 3/25/2008 5:43:33 AM
I'm not sure if there is a way to do this...I have data coming back in rows for various currencies. I need to split out the data in a GridView so that all the rows for one currency appears in that currency's column, i.e. item 1 through 4 are EUR, item 5 through 8 are GBP, etc. etc. E...more >>

Cannot Copy Assembly 'Foo' to file '\\server\dir\Foo.dll'. Access is denied
Posted by JB at 3/25/2008 5:42:09 AM
I am trying to compile a dll to a remote server but keep getting the above error message. The problem is not with the actual assembly I am building (because that doesnt yet exist), it is with all the referenced dll's. They are all currently in the directory \\server\dir which I am building th...more >>

How to set width of menuitem
Posted by Julia B at 3/25/2008 3:41:01 AM
Hi I've got an menu control on a webpage which I've managed to work out how to populate with menuitems dynamically through code depending on user rights. However I can't seem to be able to set the menuitems widths. The menu control width is set to 100%, but the items are not horizontally eq...more >>

pagination in dynamic datagrid
Posted by AVL at 3/25/2008 2:20:00 AM
Hi, I've a requirement wherein I need to create datagrid dynamically along with the pagiantion implementation in aspx page. I've created the grid dynamically but i've problem with the paging event.. This dynamcially binded event isn't firing...when I click on the page number.. Any articles o...more >>

Events & postbacks
Posted by Ant at 3/25/2008 2:17:01 AM
Hi, I am using a sqlCommand object to run a SP. The SP returns an output parameter that I retrieve the value of, & display. I want to use the StatementCompleted event of the command obj. to handle this output param through the sender object after the command completes. When I try to acce...more >>

Updating the datagrid values
Posted by Murali at 3/25/2008 2:12:02 AM
Hi All, I have an asp.net datagrid and it contains six rows. I want to update those values into the database but i dont want to use for each in the datagriditem collection. How I can do that ? ...more >>

Refreshing the cache in web farming environment
Posted by Harsh Trivedi at 3/25/2008 12:11:31 AM
I have some confusion over refreshing the cache in web farming environment. We have two sites: 1) Admin site 2) Client Site We are maintaining many things in cache. Out of which one is say for example for 'Top-5 Item' Control we are maintaining. When admin site updates the price of any it...more >>


DevelopmentNow Blog