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 monday march 26

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

problem downloading word documents
Posted by cyusman NO[at]SPAM gmail.com at 3/26/2007 11:28:54 PM
Hi, We have just moved our application to a new webfarm server environment which utilizing hardware load balancing, SSL off-loading and HTTP compression off-loading.My application is running on .NET 1.1, IIS 6, Win2003. Now we are having problem when trying to download word documents locat...more >>

SQL Server Express Integration in VS 2005
Posted by pmclinn at 3/26/2007 9:41:30 PM
I have create some user accounts in a local SQL 2005 db, created by visual studio. I should note I'm developing on windows vista 64 bit ed. In order to get this database to work on my web server do I have to create it outside of VS? Every time I push the SQL Express DB's to my remote web serv...more >>

Report Maker
Posted by Paulo at 3/26/2007 8:43:09 PM
Hi everybody, can you say if exists any automatic report maker in asp.net? I have a lot of report demands that is almost the same thing, so what I need is a default tool on the web wich I inform the connection string, the tables, fields, joins, aggregate functions, etc, like some products, an...more >>

Postback issues with ShowModalDialog
Posted by Satya at 3/26/2007 8:23:12 PM
Hello, I am using ShowModalDialog to display modal dialog in our application. I am displaying modal dialog (WebForm1.aspx - DropdownList's ,TextBox's and Ok and Cancel buttons placed on it) from default.aspx. Everything looks to be working fine until I tried handling "OK" and "Cancel" eve...more >>

Web server Cluster and SESSION.
Posted by Eric Layman at 3/26/2007 7:17:07 PM
Hi everyone, Will clustering of webservers affect SESSION states? Is there a dotnet term for the above mentioned scenario? Pls advise. Thanks. Posted Via Usenet.com Premium Usenet Newsgroup Services ---------------------------------------------------------- ** SPEED ** RET...more >>

compile errors when converting web site project to web application project
Posted by nospam NO[at]SPAM nospam.sss at 3/26/2007 5:53:35 PM
I converted a working web site project to a web application project and I am getting a bunch of warnings and compile errors. All code using .NET's profile class is giving an error. example line: txtName.Text = Profile.FirstName gives an error: ... FirstName' is not a member of 'Profile...more >>

Web Setup Project
Posted by dev648237923 at 3/26/2007 5:47:16 PM
I create a simple web application project. I then add a Web Setup project to the solution In the Web Setup project I only add Primary and Content files from my web app project. I do not opt to add Source files. When I run the .msi it installs fine but the aspx source files are there with all...more >>

IIS Virtual Directory on-the-fly
Posted by John Haycock at 3/26/2007 5:46:35 PM
Hi All I've managed to create a virtual directory on the fly but I want it to redirect to a url. If you are doing it manually you just go to the properties of the folder click on the "redirection to a url" radio button and then type the url you want it to point at in the textbox. Is t...more >>



Persistent Cookies
Posted by sanchita at 3/26/2007 5:16:25 PM
Hello everyone, I didn't get any response in "Security" forum hence posting here again. I am having problem with persistent cookies. Even after setting "CreatePersistentCookie" to true in "FormsAuthentication.SetAuthCookie" I'm being logged out after the specifed timeout provided in "forms" ...more >>

How to tell if web.config item is/is not inherited
Posted by Brad at 3/26/2007 4:37:43 PM
Probably a very basic questions here: When using code to look at a web.config item, how can I tell if the value is/is not inherited? I have some common code that needs to iterate through settings like appsettings and connectionstrings but I only want to look at settings for the current web a...more >>

Ajax error: there was an error in the callback.376
Posted by marco at 3/26/2007 4:34:15 PM
My web site worked perfectly and then this error occured (followed by a long string like a hash). Now the site still works but not the ajax functions Thank-you for your help ...more >>

Confusion in testing dynamic loading of controls
Posted by Lloyd Sheen at 3/26/2007 4:24:43 PM
Ok I have created a small testbed site for testing and I am have a problem with the terms Usercontrol, Webcontrol, etc. What I need to do in the long run is have a page using AJAX and having dynamically loaded controls on the page. So what I did was first create a page with two buttons. F...more >>

@Register - Assembly Parameter
Posted by Mythran at 3/26/2007 3:02:34 PM
This is an extension of a post I made in microsoft.public.dotnet.general. In my aspx file, there when I need to use a web control on the page and the web control is in an assembly which in turn is in the Global Assembly Cache, the Assembly attribute of the @Register directive is automatically...more >>

Javascript event for Atlas page load
Posted by Surya Vellanki at 3/26/2007 2:53:46 PM
Hi all, I have been struggling with this problem from a few days. I hope I will get some help here. I am developing an online quiz portal with ASP.NET 2.0 and I am using Atlas framework for rich UI. I was in need of a timer control which keeps track of the quiz time and sends a post back...more >>

GridView EditButton: Automatically scroll down to row?
Posted by alonzo at 3/26/2007 2:30:26 PM
Hi; I'm implementing a fairly simple database table editting form in ASP.NET 2.0 using the gridview. I enabled AutoGenerateEditButton to add row editting functionality. One little quirk I'd like to iron out: when I click the edit button, the page is reloaded at the _top_ of the page, instead of ...more >>

export data to excel creating multiple worksheets
Posted by hal at 3/26/2007 12:43:26 PM
Hello all, I've been searching all day for an article or tutorial on how to get data from a SQL Server 2000 database and export the data to excel 2003 so that multiple worksheets are created, and information is displayed in these worksheets. Data will be coming from multiple tables, and I'm ...more >>

disabling viewstate
Posted by PJ6 at 3/26/2007 12:42:43 PM
Apparently ASP.NET completely ignores base.EnableViewState = false. Overriding SaveViewState does nothing, and I get an exception if I override LoadViewState. OK, I give up. How do I make a control that does NOT preserve a ViewState, for itself, or any of its child controls? Paul ...more >>

Maintain div display between pages
Posted by Evan M. at 3/26/2007 12:32:14 PM
Hello there, I have an interesting problem to takle. I'm creating a website that's going to be run in a local Intranet. The site uses a MasterPage / content page scheme, with the Master page defining a "sidebar" area that contains links to pages, and the content for those pages being displaye...more >>

Downloading a .doc stored in SQL Server from an ASP.net page
Posted by Jeppe Dige Jespersen at 3/26/2007 12:28:01 PM
I am building a page that takes a single parameter: documentId. I have documents stored in a SQL Server 2005 database. Storing and retrieving these from a WinForms application works fine. No problemo there. But, when retrieving the docs from my asp.net page, the docs are somehow corrupted, ...more >>

asp.net to 2.0
Posted by JJ at 3/26/2007 12:25:23 PM
Right now, I have visual studio 2005 installed on my development server. Currently the production asp.net application is running with 1.1 model. I would like to convert my application to 2.0 in my development server and deploy it to production (production server will have .net 2.0 installed b...more >>

How to pass a collection of data from VB6 to C#.NET
Posted by elaine at 3/26/2007 12:06:20 PM
Hi, We are going to create a C#.NET project to be a service layer to support 2 existing web products, one is using .net, the other is using VB6. I wonder is there a better way to pass a collection of data like array from VB6 to C# instead of using XML? thanks, Elaine ...more >>

how to add unique meta tags to each content page/
Posted by bashetty NO[at]SPAM gmail.com at 3/26/2007 11:48:52 AM
Well its a strange problem i have, some of you might already faced it and have a solution. I have to maintain a set of unique "search key words" in meta tags for each content page in my site. With master paging , i guess i can only have <head> tag in my MasterPage. Can any one let me know how t...more >>

how to add unique meta tags to each content page/
Posted by bashetty NO[at]SPAM gmail.com at 3/26/2007 11:43:17 AM
Well its a strange problem i have, some of you might already faced it and have a solution. I have to maintain a set of unique "search key words" in meta tags for each content page in my site. With master paging , i guess i can only have <head> tag in my MasterPage. Can any one let me know how t...more >>

nested controls in a custom control.
Posted by Peter Rilling at 3/26/2007 10:52:15 AM
Hi. I would like to create some controls that allow control elements. For instance, <foo:MyControl ...> <foo:SomeNestedControl .../> </foo:MyControl> The questions are, 1) How can I build a control that supports such control nesting? 2) How can I get the IDE to display the nest...more >>

Calling Array in App_Code section
Posted by sck10 at 3/26/2007 10:16:31 AM
Hello, How do you reference an array in the App_Code section? I tried using SystemColors[i], but got the error: 'System.Drawing.SystemColors' is a 'type' but is used like a 'variable'. Thanks, sck10 CodeFile ------------------ for(int i = 0; i < dtSearch.Rows.Count; i++) ...more >>

Is it possible to client-side validate a calendar?
Posted by Tony Girgenti at 3/26/2007 9:55:09 AM
Hello. Developing a VS2005, SP4, VB, .NET 2.0, ASP.NET 2.0, web site program using a calendar. I tried using the validators to see if i can validate dates using a calendar control. It does not allow me to select the calendar control in the drop-down list for the ControlToValidate proper...more >>

File corruption when retrieving files from a SQL 2005 database
Posted by djhexx NO[at]SPAM gmail.com at 3/26/2007 8:54:53 AM
Hello. I have an ASP.NET application (C#) that I allow users to upload files. Files get stored in a SQL2005 database. The file data is stored in a varbinary(max) column. When the user uploads the file, I store it in a database. When a user requests to download a file, the file is retrieved...more >>

DropDownList inside GridView won't fire any longer! aka - I moved a page to another web-site and now it's broke!
Posted by mark4asp at 3/26/2007 8:34:42 AM
I moved a page to another web-site and now it's broke! I had 5 pages in their own web-site. These pages have now been moved to another web-site. Everything is fine except that one of the pages, which I had trouble with in the past (i.e. same problem), is now partly broke. The paging no longer ...more >>

Any way to access child controls of server control?
Posted by Seth Petry-Johnson at 3/26/2007 7:54:26 AM
Is there a way to compile a user control into a redistributable assembly [i.e. server control], but still have access to its child controls using the .Controls property? Here's what I mean: I have a user control that contains some child controls, mostly custom text boxes and such. If I load...more >>

button click
Posted by Aleks Kleyn at 3/26/2007 7:50:53 AM
In asp.net I can put code for button click event. However I come to this event twice. What is the reason and how to prevent or check second entry to this event. I need to make sure that i do not run the same code twice. Aleks Kleyn ...more >>

From Login to username!
Posted by rcoco at 3/26/2007 7:23:54 AM
Oh! here comes Another problem I'm Not supposed to use Loginname anymore I'm supposed to use username is there anyway I can Do it in widows Authentic? Thanks ...more >>

Sorting the Gridview Columns via Code behind
Posted by sivagururaja NO[at]SPAM gmail.com at 3/26/2007 6:56:41 AM
Hi All, How can i sorting the Gridview Columns via the code behind. When i tried to sorting the column it doesn't work. SqlConnection con = new SqlConnection("Connection string"); con.Open(); SqlCommand cmd = new SqlCommand(str, con); SqlDat...more >>

help
Posted by karthik at 3/26/2007 6:35:42 AM
hi to all i am creating a website in asp.net , i want to upload a file and submit that file .i want to do as a carrer page like a job portal . please help me to do this task.any source code is avaliable?plz guide me regards karthisena ...more >>

Dynamically bound column in Gridview
Posted by sivagururaja NO[at]SPAM gmail.com at 3/26/2007 6:11:29 AM
Hi All, How can i bound the column in the gridview dynamically. When i tried to bound the column using the Code behind, it won't work. Here is my code. BoundColumn bc = new BoundColumn(); bc.HeaderText = "Names"; bc.DataField = "Name"; ...more >>

Rounded Corners
Posted by Stuart Ferguson at 3/26/2007 4:03:07 AM
I am looking to create the effect shown in the image (http://img291.imageshack.us/img291/4476/effectuc6.jpg) this is taken from www.asp.net. I was wondering if there is a specific technique to creating this rounded corner effect (e.g. a css class or server side ASP.Net component) or is this as s...more >>

ASP.NET multiple pages with very similiar layout and logic
Posted by Greg at 3/26/2007 3:07:01 AM
I have a complex page (with 8 complex user controls, and many other asp.net controls.) I have 2 very similiar pages to create, each page differing only from the others in one control. What is the best way to achieve this? I would guess that I have 3 alternatives. 1.) Visual and Logic inherita...more >>

username!
Posted by rcoco at 3/26/2007 2:58:52 AM
Hi all, I'm working with website and I'm using Authentication. This code makes it work: Page.User.Identity.Name; But my problem is that it comes in this format: Domain/Loginname, yet I only wanted Loginname. What should I do? Thanks. ...more >>

DefaultButton of html form
Posted by Veerle at 3/26/2007 12:30:27 AM
Hi, When you use multiple asp:Buttons on one Form, then asp.net generates html submit buttons for all of them. When you put your cursor in one of the textfields of the form, the default submit button is the first submit button of the form. So if you press enter, then the form is submitted as ...more >>

Controls.Add() for a Web User Control doesn't instansiate its child controls
Posted by Ofer Zelig at 3/26/2007 12:00:00 AM
I'll describe the simplest situation of the problem. I have a simple Web User Control which only contains a: <div id="bla" runat="server" /> . I dynamically add it to a page, by performing: SomeCtl ctl = new SomeCtl(); this.Controls.Add(ctl); and of course apply a <% @ Register %> tag i...more >>

Microsoft Reporting
Posted by Stefan Mähr at 3/26/2007 12:00:00 AM
Hello NG, i want to use the ReportViewer Component to display Reports with ASP.NET 2.0. Loacally all works perfect, but when I copy the code to the server I get the errormessage Request failed. An empty Datatable is positioned in the Reports Subdirectory The Testreport.rdlc File is in th...more >>


DevelopmentNow Blog