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 > october 2006 > threads for monday october 23

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

Displaying rich text in asp.net 1.1 page
Posted by maglev_now NO[at]SPAM yahoo.com at 10/23/2006 9:48:31 PM
Any suggestions on what to use for dispalying a .rtf file in a webpage? ...more >>


register css style sheet
Posted by Lukas Kurka at 10/23/2006 9:36:54 PM
I know about registerclientscript, but is there something for stylesheet in ASP.NET 2.0 Lukas ...more >>

Can access web page but not web service
Posted by ad at 10/23/2006 8:45:37 PM
I can use my pc to access any web page, but can't access web service. Can it due to firewall? Which setting can block web servcie but not web page? ...more >>

Global.aspx in VS 2005
Posted by Samuel Shulman at 10/23/2006 8:42:15 PM
I need to add some code to the Global.aspx file in the ASP.Net 2.0 project but I don't find and adding a module with such name doesn't give me the events that I need Thank you, Samuel ...more >>

ASP.NET Configuration throws 404 error looking for loign.aspx
Posted by JpMaxMan at 10/23/2006 7:39:02 PM
Greetings. I'm having a strange problem on a Win 2003 server machine with VS 2005 installed. When I go to web site --> asp.net configuration it loads the browswer window but instead of loading it gives me a 404 looking for login.aspx. Any help is appreciated. Server Error in '/asp.netweb...more >>

membership; roles
Posted by JP.Gantlin at 10/23/2006 5:40:23 PM
I want to have a login page where the new user self-registers, giving some simple info like Real Estate Agent #. Do I need to used the membershiop/roles thing, or profiles? Are profiles part of the membership thing, or how are they tied together? Thanks ...more >>

Executescalar, the right approach
Posted by Morten Snedker at 10/23/2006 4:29:09 PM
On a web-form the user enters basic data (company name, phone, areacode etc). Many we have already registrered and some not. For those we have we wish to make the enter of data easier by looking them up. This looks up 1 value: Sub LookUpVVS() Dim sqlCon As New SqlConnection ...more >>

Switching between Source and Design
Posted by David Lozzi at 10/23/2006 3:57:28 PM
Howdy, I'm using Visual Studio 2005 and am having a few issues. For example, when adding a SqlDataSource to a page it won't save, I just get unexpected error. Also, while in a aspx page, when I switch from Design to Source and try to go back to Design it won't switch back, then it won't let...more >>



gridview with childnodes
Posted by jeff.dupont NO[at]SPAM gmail.com at 10/23/2006 3:45:51 PM
Ok, I've been all around the web looking for code on how to do this on ..net 2.0 and have not found exactly what I'm looking for. And for the few examples that I did happen to come across I was unable to get them to work. So here it is: I have a webservice that returns a dataset with 3 datatab...more >>

Session state issues
Posted by RahulBose at 10/23/2006 3:42:27 PM
Hi, I am getting the exception "Unable to connect to SQL Server session database." many a times in my web app. I am dotNet 2 and Sql Server 2005. (1) I use StateServer, and everything is working fine. sqlConnectionString="data source=abc_db\abc1;user id=abcd;password=1234" I get the foll...more >>

JavaScript Array Values
Posted by Barry at 10/23/2006 3:22:18 PM
Hi i have the following class Public Class ShipmentClass Public RatedShipment As RatedShipmentClass() Public Class RatedShipmentClass Public GuaranteedDaysToDelivery As String Public ScheduledDeliveryTime As String Public Code As String Public Mone...more >>

Unexpected error on save page
Posted by David Lozzi at 10/23/2006 2:44:48 PM
Howdy, I've decided to try and use the gridview and a sqldatasource. When I add the sqldatasource connection (to MSDE 2000) and press save, I get "Visual Studio has encountered an unexpected error." and it then makes me save it as a different file name. When I save it as a different name, a...more >>

Server side viewstate
Posted by emde at 10/23/2006 2:21:14 PM
In looking for a way to trim down viewstate, I came across the following articles to store viewstate in session: http://aspalliance.com/72 http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html/PgStPrst.asp It appears as if the first link is actually better as it al...more >>

TRACE doesn't work on the remote box
Posted by Jay at 10/23/2006 2:00:09 PM
I have an ASP.NET app that works on my box. When I deployed it to the server, it doesn't work It calls a webmethod, and looks like that call doesn't work.There is no exception thrown. So, I wanted to look at the trace. But nothing gets logged there too. Although, On my box, the logging works, ...more >>

browser detection and redirection
Posted by jaydev at 10/23/2006 1:28:02 PM
Hi, I am looking for code to detect and redirect to the corresponding browser download page if the clients uses old version, could anyone have a sample code for this? I want to use the following version browser only, if they are other types I need to redirect to there download page. Internet...more >>

Help: Insert record into database
Posted by david at 10/23/2006 1:21:01 PM
I have following code, but I do not know where the problem is. Thank you for any help. David ----Code--- 'connection conn = New SqlConnection _ ("data source=localhost;integrated security=true;initial catalog=DemoCRQdatabase") 'command ...more >>

simple chart in ASP.net 2.0
Posted by ra294 at 10/23/2006 1:11:45 PM
I am working with ASP.net 2.0. I would like to create very simple charts on my site. Is there a solution for that in ASP.net 2.0 ? If not, can someone recommand a simple 3rd party tool ? Thanks ra294 ...more >>

Dynamically Populate DataGrid Using SqlDataReader
Posted by rn5a NO[at]SPAM rediffmail.com at 10/23/2006 1:02:37 PM
A SqlDataReader is populated with the records from a SQL Server 2005 DB table. The records retrieved depends upon 2 conditions (the conditions depend on what a user selects in an ASPX page). If condition1 is true, then the SqlDataReader will be populated with the records existing in table1 & wil...more >>

Problem with ObjectDataSource and Update
Posted by Norbert Ruessmann at 10/23/2006 1:01:58 PM
Hello group, I have a business object, which contains Orders. Each Order has a list of OrderItems. Orders are collected in a list List<Order>, OrderItems for each order are of type v<OrderItems>. From a database view this is a one to many relation. I define two GridView controls: one for...more >>

How do I change the top: and left: StyleSheet locations on a <div>?
Posted by Steve Kershaw at 10/23/2006 12:55:45 PM
Hello, I need to dynamically change the location of a <div> from C# code. How can I do this. the <div> is set to runat="server" so I can see the id of the <div> but I don't see a way to change the top: and left: parameters. Thanks Steve ...more >>

IFrame and credentials
Posted by Claus Konrad at 10/23/2006 12:00:02 PM
Hi How do I (in code) provide credentials in the form of user/pwd to a webapplication I expect to host inside an IFrame tag. From a scan of the properties of an Iframe, I do only see the src attribute allowing my to set the source... Thanks in advance! -- rgds. /Claus Konrad...more >>

ASP.NET and Page Navigation
Posted by Raj at 10/23/2006 11:37:54 AM
Hi, I am struggling with this for quite some time and thought will seek your help on it. What I am doing is, I have Page1.aspx where user inputs text into text boxes and also has a link to Page2.aspx. On Page2.aspx user will input some more info and has two buttons 'Save' and 'Cancel'. Both t...more >>

Javascript and vb.net web form (pop up)
Posted by Christina at 10/23/2006 11:14:44 AM
Hello !! I want a link on my vb.net web application, which when clicked, popUp's up and shows a msg. AFAIK, Javascript is the best way to go. So I created an asp:hyperlink, and on its 'on click' event, I have something like: Page.RegisterStartupScript("myWinName", showAPopUp(messageString...more >>

Masterpages problem
Posted by Pitaridis Aristotelis at 10/23/2006 10:59:24 AM
I have a masterpage which shows some images. When I create a content page which is placed in the same folder with the masterpage, everything works fine. When I put the content page in a subfolder, the URL of the picture is invalid. The url of the content page which is in the same directory ...more >>

Worker process and Session state
Posted by Diffident at 10/23/2006 10:58:02 AM
Hello All, I have a question about worker processes and session state. If I set-up a web farm architecture by having multiple worker processes serving a single application, how will the session state be affected? For example, let's consider that a user A requested for page A and after some ...more >>

Noobie question: best way to maintain a list?
Posted by Todd at 10/23/2006 10:41:01 AM
On an Asp.Net webpage, what's the best way to go about managing a list of items? When editing a library title I display a DataGrid of authors to which I'd like to be able to add and remove. Ideally, I'd like to be able to work with the list within a single page and not save the list until ...more >>

Large (over 1 meg) website takes long time to post back W/O Viewst
Posted by William Sullivan at 10/23/2006 10:11:02 AM
I've got a website that may, on occasion, display a large list of items in a bulletedlist control. On the client side, it takes about 4 seconds to get a response that weighs in at over 1mb. It takes less than a second to display those nodes. That part is fine The problem is that when the...more >>

Back button and Focus
Posted by dgk at 10/23/2006 10:10:18 AM
The last thing I do in the page load of a page is to use the focus method (txtLastName.Focus) and, usually, the focus ends up on that textbox. It's a bit easier than using the javascript though I assume it does the same thing. The oddity is that, if folks use a button on another page that exe...more >>

Is it possible to get scope_identity without a stored procedure?
Posted by jm at 10/23/2006 9:55:25 AM
I am using the generated SQL from VS using the DAL. After my INSERT it has the select...scope_identity(). Is there any way to get the value of my new id field from this select after the insert? I thought it might be using the iteminserted even or the iteminserting event, but I can't figure...more >>

Looping code that i cant seem to work out!
Posted by Luke - eat.lemons NO[at]SPAM gmail.com at 10/23/2006 9:42:56 AM
Sorry for the post in this NG but im short on time to get this working and i haven't seem to of got a response anywhere else. Im pretty new to asp so all light on this question would be great. Basically i need to test to see what value is set (where to retrieve the data from) so ive done i...more >>

FXCop for 2.0?
Posted by dgk at 10/23/2006 9:37:49 AM
A previous post mentioned that code analysis is part of the Team Edition of VS, but since I'm not using TEVS, is there some way to run FXCop on my app? There's nothing in BIN to run it against....more >>

Dynamically Generating a File for Download
Posted by rlrcstr NO[at]SPAM newsgroups.nospam at 10/23/2006 9:06:00 AM
I have some sensitive data encrypted in a database. I need to allow the = authorized people to produce a report (obviously, unencrypted) that they = can send to the appropriate partners. Can I set it up so they can = download a .csv of the data without actually producing the csv and = saving i...more >>

the meaning of life and gridview's e.newValue
Posted by rodchar at 10/23/2006 9:04:01 AM
hey all, what is the purpose of e.NewValues inside the GridView1_RowUpdating routine? i've seen examples where you findControl then assign that value to e.NewValues, but that seems like an extra step. thanks, rodchar...more >>

Detecting JavaScript problem
Posted by ron at 10/23/2006 8:50:02 AM
Hi, I working on a .net web project which need to check javascript disabled or enabled. I use the code below: If Request.Browser.JavaScript = True Then .... end if The problem is 'Request.Browser.JavaScript' always return 'true' . I don't know how to fix the problems. Does anybod...more >>

EnableSortingandPagingCallback when
Posted by jobs at 10/23/2006 7:53:38 AM
I have a gridview that is refreshes when a dropdown is selected outside of it. Sorting is enabled on the gridview but not working. I read that I should set EnableSortingandPagingCallback to true to fix the error: The GridView 'GridView1' fired event Sorting which wasn't handled However,...more >>

New at this nothing works
Posted by ampeloso NO[at]SPAM gmail.com at 10/23/2006 7:44:57 AM
Hello, I have a simple app which I am testing. Contains: Default.aspx:This has a label...thats it. Default.aspx.cs:This has: protected void Page_Load(object sender, EventArgs e) { Label1.Text = "testing"; } and a web. config that I have <customErrors mode="Off"/> Thes...more >>

ModalPopup ContentPlaceHolder bug
Posted by tfsmag at 10/23/2006 6:29:33 AM
This question is in reference to the posted issue at codeplex... http://www.codeplex.com/WorkItem/View.aspx?ProjectName=AtlasControlToolkit&WorkItemId=4652 Has anyone else ran into this issue and been able to resolve it? I'm beating my head against the wall on this one, any help would be app...more >>

datagrid question
Posted by igotyourdotnet at 10/23/2006 5:59:02 AM
I want to select/highlight a row in my datagrid, then click a button (not in the grid) to update. When I click that update button its then going to show my update panel with the data for that selected row. I forget the syntax to highlight/select a row with the SELECT button/link hidden in the ...more >>

MasterPages - Dynamically Created Menus Disappearing
Posted by LvBohemian at 10/23/2006 5:40:02 AM
I am playing around with creating some menus dynamically, and they create fine and show up ok when I want them to; but when I select a menu NavigateUrl at run time, the applicable url shows up as anticipated in the content place holder but the menu disappears... the menu is part of the mas...more >>

Calling SQLviews ???
Posted by serge calderara at 10/23/2006 4:49:02 AM
Dear all, In a similar way we can call strore procedure from .NEt, Is tehre a way to call an SQL view by passing parameters ?? Thanks for help regards serge...more >>

how to play a vedio file in asp.net appln.
Posted by chinna at 10/23/2006 3:18:00 AM
HI all, I have to list of vedio files in a page and when selected should play the selected file in the .aspx page. please do the needful as soon as possible. prashant software engineer. ...more >>

Converting string to currency/formatting in thousands.aspx (.NET)
Posted by pebelund at 10/23/2006 3:09:34 AM
Hi I got an .aspx that got the following code (example) <td width="120"> <% = row["valueinString"] %> </td> row["string"] takes a value from a SQL db, that is a string of numbers. On the webbsite I want this to show as value formatted in thousands (example: I get the value 12345678, and I...more >>

Newbie Q about base classes and where to put them
Posted by google NO[at]SPAM bigsmoke.com at 10/23/2006 2:16:19 AM
Struggling a bit with some newbie questions regarding base classes, header files and the like in ASP.NET/C#. (Using VS2005, C# and ASP.NET 2, and new to them all...) I'm going to be creating about 200 web services that will share some similar features. I want to abstract out this common fun...more >>

Controls in Page
Posted by dawid.greyvenstein NO[at]SPAM gmail.com at 10/23/2006 1:25:16 AM
I have a Page with master page and a couple of server side controls in the ContentPlaceHolder. I want to iterate through all the controls on the page. I try to do this in the Page.Load event, but the only control I get in this.Controls is the master page. How can I get access to the other contro...more >>


DevelopmentNow Blog