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 > february 2006 > threads for thursday february 16

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

How to do this???
Posted by Jon at 2/16/2006 11:07:27 PM
Does anyone know how, or where i can learn how to make pages like the ones found on msn.com with videos? I am specifically interested in when you view a video, the content to the right changes depending on which video is playing (without clicking on new videos, the change is automatic) and so...more >>


Dynamic Menu
Posted by aroraamit81 NO[at]SPAM gmail.com at 2/16/2006 11:07:04 PM
Is there any way by which I can create a dynamic database driven Menu using ASP.NET/C#...... Thanks Amit Arora ...more >>

asp.net 2.0 membership error
Posted by SAVVAS GOUNARIS at 2/16/2006 7:56:38 PM
I am trying to code a membership website on an ISP server but when I try = to login, I get the following error: Procedure 'aspnet_Membership_GetPasswordWithFormat' expects parameter = '@UpdateLastLoginActivityDate', which was not supplied.=20 I have no idea why I get this error or how to beg...more >>

Caveats associated with dual processor systems
Posted by Ben Fidge at 2/16/2006 7:38:11 PM
My client has upgraded their server to dual-Xeon and we're getting some strange symptoms. Mostly this is happening in static classes where static properties and members aren't protected, but also strange things like a booking has been created by User A but the record was saved with User B's ...more >>

Membership Provider
Posted by DenniLi at 2/16/2006 7:35:04 PM
I have a perfectly working aspnet v2 website on my local machine with the following connection strings: <connectionStrings> <add name="ClubSiteDB" connectionString="Data Source=.\SQLExpress;Integrated Security=true; AttachDBFileName=|DataDirectory|Club.mdf; ...more >>

ASP.NET in Firefox
Posted by WebMatrix at 2/16/2006 7:22:54 PM
I've been developing ASP.NET 1.1 application, testing it in IE 6.0 on my development machine. Of course, everything looks normal in IE as it should. Well, since it's going to be released to cross-browser user base, I wanted to see what it would look like in Firefox... well I am terrified how...more >>

Asp.net 2.0 and Dreamweaver
Posted by tshad at 2/16/2006 7:04:13 PM
Can you use Dreamweaver and VS.Net together now? I have a site that was built with DW code inside (therefore you could not use VS.Net 2003 with it). Is this still the case? Apparently, you can use code inside with the new version version of VS, but do you have to run the site as a total...more >>

Maybe I should just use Safari to do the testings...
Posted by Lau Lei Cheong at 2/16/2006 6:22:08 PM
This is to be refered to my many-months-ago previous most on "mercyful browers". It just seems that both IE and Firefox are "too merciful" to web development testing. There's a sample code to be run on "onclick" event of checkbox that has been hidden in our code 1 year, and go pass the Q...more >>



ASP.NET - Beginner question
Posted by Marc Llenas at 2/16/2006 6:19:03 PM
Hello all, I just started a minor web project and decided to do it with ASP.NET just to get a hang of it. So far all is good except that I'm a bit confused on how to perform the following: I placed a Repeater on a page. Inside the repeater I placed an HTML table. This table will be used...more >>

Hosting an ASP .NET web site
Posted by BobLaughland at 2/16/2006 5:54:08 PM
Hi There, New to ASP .NET. Just wondering if I create an ASP .NET website will someone running windows 95 or 98 be able to use it? I am aware that ASP .NET only works on windows 2000 or XP, but is that only referring to the hosting computer needing to be that spec, or the client computer to...more >>

Setting Width in code
Posted by Tina at 2/16/2006 5:22:14 PM
I can't set a textbox or label .width = 441 because of a type error. How can I set a width in code? My larger task is to make some headings in textboxes always the same width as the datagrid below them. but I also find that the datagrid width is always zero. Is there a way to find the wi...more >>

Customize WebParts
Posted by Rachel at 2/16/2006 3:56:27 PM
Hi All, I have customized the Membership API and was able to create and validate users using my own database tables in SQL Server 2000. I would like to customize the WebParts and save the user customization of these WebParts to my own database tables but could not find any samples in t...more >>

2.0 : built-in browser opens half-size
Posted by John A Grandy at 2/16/2006 3:23:12 PM
ASP.NET 2.0 : debug mode : the built-in browser always opens in a horizontally half-size window .... kind of centered in the middle of the screen ... ...more >>

Grid View from Heaven
Posted by Mayte at 2/16/2006 3:17:01 PM
`I need a GridView that lets you edit any part of it , without having to click "Edit" for each individual row. Like a spreadsheet. Thanks What do I do? ...more >>

aspnet_state.exe Application Error
Posted by Mehdi at 2/16/2006 3:15:50 PM
Hi, Since I've installed asp.net 2 or (Visual Web Developer express edition), I am getting aspnet_state.exe Application error Memory...., while shutting down XP Pro (sp2). There is nothing in the event log which I think maybe OS cannot write to log file during shut-down. Does anyone hav...more >>

Long process in ASP.NET
Posted by Albert Pascual at 2/16/2006 2:47:09 PM
What's the best system for a process that could take a long time, minutes, hours a) Creating a webservice that calls a Thread? b) Creatinga webservice with [SoapDocumentMethod(OneWay=true)] c) Any better way? without using an external program? Thanks Al ...more >>

system.web.management
Posted by russell.lane at 2/16/2006 2:29:29 PM
I'm working in Visual Studio '05, with ASP.Net 2.0 v2.0.50525.42 on board. I'd like to use the new web event monitoring framework found in system.web.management, but that namespace does not show up in my development environment. Is there something special I need to do to pull it in? Do I ...more >>

Simple Dynamic Control Access Question
Posted by gwhite1 NO[at]SPAM kc.rr.com at 2/16/2006 2:16:10 PM
I can't find this answer. I have a label1, label2 and label3. I want to be able to do something like this: worklabel = "label1" worklabel.text = "this is label 1" worklabel = "label2" worklabel.text = "this is label 2" Is there a way to access controls with string variables? I don;t ...more >>

view state in previous page using cross page postback
Posted by bill at 2/16/2006 2:02:36 PM
Is there a way to retrieve values from the viewstate in the previouspage using cross page postback? Thanks! Bill ...more >>

Accessing Web User Control from class in App_code Folder
Posted by hummh at 2/16/2006 1:51:55 PM
Hello out there, I=B4m making my first steps with ASP.NET 2.0 and have he following problem: I=B4ve implemented a Web User Control that sits in the root of my ASP.NET Website. I want to use the Type of the control in a class that=B4s under the App_code folder. As with ASP.NET 1.x, I tried t...more >>

How To Change A Web Page
Posted by peter.mcclymont NO[at]SPAM gmail.com at 2/16/2006 1:46:56 PM
Hi All, I am new to ASP .NET, and have managed to add an asp:login control onto my web page which hooks into a MSSQL database. I can enter user names and passwords into the login control (this will be the first page of my web site to authenticate the user), but then I am a bit stuck. All...more >>

Drop-down-list- use to update database
Posted by Mayte at 2/16/2006 1:23:06 PM
How can I do this? Choices are Monkey Banana Gilligan How do I get the control to update the database with the user's choice. *NOTE: I may have to use different items than Monkey, Banana, Gilligan- so work with me here. ...more >>

Control Position
Posted by Alper OZGUR at 2/16/2006 1:00:31 PM
Is there a way to change the postion of a control without postingback? ...more >>

ASPX form submites twice with ENTER key
Posted by tanya at 2/16/2006 12:41:01 PM
I have a page with one form. I have one textbox in the page. I call a client-side function on the OnKeyUp event of the textbox. This function looks at the keycode of the keyup event on the textbox and checks for 13 which is the keycode for enter key. If I detect this keycode then I do 2 things ...more >>

GridView paging when using object arrays
Posted by Kevin Lawrence at 2/16/2006 12:00:35 PM
Hi all Got a GridView, I've enabled paging, I have 12 objects in an array with only 10 to display on each page, when I DataBind() for the first time it says there are 2 pages, however when I click to go the 2nd page it just displays the 1st page, unless I click it again, here is my event ha...more >>

2.0 : write handlers
Posted by John A Grandy at 2/16/2006 11:41:28 AM
ASP.NET 2.0 : C# : How do you code the handlers for control events ? I read that explicitly adding delegates pointing to a handler method is no longer necessary. So what is the new way ? ...more >>

Is possible to rename my aspx to htm
Posted by Gordowey at 2/16/2006 11:38:16 AM
Hi all, I would like to know if is possible to rename my aspx .pages to .html (or to a different extension..for example .mjk)..and continue running the code behind, everything......as normal aspx pages is that possible? thanks all.. Alberto ...more >>

Passport authentication
Posted by Lukasz Glaz at 2/16/2006 11:28:18 AM
The company I work in is switching to ASP.NET 2.0. We have seen that there is built-in support for Microsoft Passport authentication and we're considering it as an optional way of authenticating users of our web product. I was unable to find on Microsoft site any information regarding fees f...more >>

Web User Controls
Posted by Jonathan Wood at 2/16/2006 11:28:02 AM
Okay, as evidenced by other questions, I am an experienced programmer very new to ASP.NET. I have a vertical navigation bar. It is all one color with several panels inside it with a different color. It looks okay but I'm wondering if each of these several panels should be Web User Controls ...more >>

Setting Anchor Style
Posted by Jonathan Wood at 2/16/2006 11:22:44 AM
I'm pretty new to ASP.NET. I have some panels with text in them. These panels also include hyperlinks. I created a stylesheet and the panel's CssStyle property is set to the corresponding style. The text appears using the expected styles. However, the hyperlinks do not. Is there an easy ...more >>

Design Considerations
Posted by Jonathan Wood at 2/16/2006 11:19:24 AM
I have an idea for several Web sites that would involve articles that can be read. Article lengths will vary from short to a little longer, but nothing really long. I'm wondering at what point does it make sense to include the articles as data in a database, and at what point does it make s...more >>

Could not load file or assembly 'App_Web_xxxxxxxx'...
Posted by ddelaney at 2/16/2006 10:47:27 AM
I've seen this posted before in many places, but have yet to find a real fix. I have a web application on dev server right now, and randomly, hours or days, it returns the expception posted below. If I copy the incHeader.ascx.vb over to the server again, it appears to recompile and works f...more >>

Parser error running Website from NAS remote drive
Posted by Paul Buxton at 2/16/2006 10:39:53 AM
Hi, Platform is Windows 2003 SP1. I've been asked to set up a website where the website files are all sourced from a NAS box. However if I do this, and tell IIS that it is a remote share for the home directory, I immediately get a Parser error. Setup IIS I've configured Impersonate=tr...more >>

UPLOAD IMAGE from Asp.net
Posted by german at 2/16/2006 10:28:33 AM
Hi ! Any body knows how to obtain the height and width from an image that I am trying to upload ? I am using the clasic <input type=file......> object from html. Thank you very much. ...more >>

Anyone heard of validatorhookupcontrol?
Posted by Alan Silver at 2/16/2006 10:26:39 AM
Hello, I was reading an MSDN article on validation, and it mentioned the validatorhookupcontrol client side API as enabling you to hook up more than one control to a validator. I just checked the SDK, and couldn't find such an API. I then searched MSDN and MSDN2 and only found one refere...more >>

URGENT: A Compiled site cannot change the stylesheetTheme????
Posted by Jéjé at 2/16/2006 10:23:09 AM
Hi, I have a web site with 3 themes. once the site is compiled I changing the stylesheetTheme option in the web.config has no effect!!!!! I continue to see the theme used at the compilation time instead of the requested theme. what's appends????? I have compiled the web site to allow ...more >>

2.0 book recommendation
Posted by John A Grandy at 2/16/2006 10:15:49 AM
Recommendations on the best advanced 2.0 book for ASP.NET / WinForms , C# ........ that IS NOT based on the author having only worked with a beta or ctp copy of the product. (Or least the chance is small that the book contains errors or missing incorrectly explained features.) I've heard...more >>

what's the secure way to post the jobs on the etranet?
Posted by asdf at 2/16/2006 9:39:12 AM
Hi, I have the scenario where I have one database and need to post jobs on the intranet and then the same jobs on the extranet. I wonder what is the most feasible and secure way of doing it without buying second license of MS SQL to duplicate the data. So far I am leaning towards Web Servic...more >>

FaxDoc on 2000 vs XP
Posted by ma81x at 2/16/2006 8:51:47 AM
I'm trying to send a fax from a web page using the following code. On development machine with WindowsXP sp2 this works correctly. On the test machine (Windows 2000 server sp4) this code throws a "UnauthorizedAccessException: Access is denied." on the doc.Send() line. The CreateObject(...) ...more >>

Formview Control - Identifying if a change has been made
Posted by Neil at 2/16/2006 8:35:58 AM
I need to be able to determine if a user has actually made a change when on either the edititem or insertitem templates of a formview control. Is there a standard way of handling this to prevent the user from moving off the page. I haven't seen this topic mentioned in any books I've looked ...more >>

How to span columns using <asp:TableRow>
Posted by keithb at 2/16/2006 8:32:24 AM
I'm just learning ASP.NET 2.0, so I apologize for asking a question which probably has an obvious answer. The Standard toolbox in VS2K5 has a control called Table. Placing the control on a web page results in a control that has an <asp:Table> tag. this tag contains <asp:TableRow> tags. The <asp:...more >>

trouble with web forms
Posted by somersbar NO[at]SPAM yahoo.com at 2/16/2006 8:20:59 AM
im trying to get a table from a microsoft access database on a simple web form using visual basic.net. ive set up the database as a file dsn. this is my connection string: DBQ=C:\Program Files\Microsoft Office\OFFICE11\SAMPLES\Northwind.mdb;DefaultDir=C:\Program Files\Microsoft Office\OFF...more >>

DateTime Parse and Regional Settings
Posted by Harold Crump at 2/16/2006 8:19:38 AM
Greetings, This is not strictly a ASP.NET question, but I am hoping someone can help. I have an ASP.NET web app that used the DateTime.Parse and Compare methods a lot. As expected, the Regional Settings/Culture on the server (Windows Server 2003), affects the behaviour of those DateTime ...more >>

.jpg watermarking
Posted by Bob at 2/16/2006 8:19:33 AM
I have some JPG files on my website. I'd like to know if there is a way to dynamically watermark these images before I display them on the website. I'm running ASP.NET 2.0 C#. Thank you very much. ...more >>

Web User Control
Posted by mazdotnet at 2/16/2006 8:18:44 AM
Hi everyone, I have the following web user control. I like to set the properties dynamically without using page.databind. <uc1:partnerdownloads id="Partnerdownloads1" PropDomain="<%= Domain %>" PropPartnerUserGroupID="<%= PartnerUserGroupID %>" runat="server"></uc1:partnerdownloads> Howe...more >>

windows like tab control in asp.net
Posted by Sridhar at 2/16/2006 7:54:29 AM
Hi, I am looking for a tab control that has same functionality as in windows tab control. In that way I can load the pages inside the tab control based on the tab selected. Is there any control like that in ASP.NET 2.0 or 1.1? If we need to buy those from third party which one would be...more >>

object reference not set to an instance of an object
Posted by KenLee at 2/16/2006 7:48:27 AM
Dim Override As TextBox = CType(uxTimeEntry.FindControl("uxOverride"), TextBox) Override.Attributes.Add("onblur", "Override();") why do I get the message like "object reference not set to an instance of an object"? how can I fix? ...more >>

How to set value of some parameter in select command in ObjectDataSource?
Posted by misiek at 2/16/2006 7:19:51 AM
Hi all. I have a problem with setting value of some parameter in select command in ObjectDataSource. This is what I did: 1. I created DataSet in designer using some stored procedure, which expects exactly one parameter. Also there was a "Return a data table" method created. 2. I dragged Obj...more >>

How can I create a HTMLTable class from and HTML string.
Posted by chambersdon NO[at]SPAM hotmail.com at 2/16/2006 6:59:34 AM
I have an XMLReader loaded the HTML from a web page. I want to pull a Table out of this XMLReader and use it to create an HTMLControls.HTMLTable object. How can I do this? I should be able to do it without parsing the sting and explicitly creating every row and column. This should work as i...more >>

In repeater modify value of a control at runtime
Posted by Priya at 2/16/2006 6:48:26 AM
Hi, I'm using a repeater control. I'm binding data to repeater dynamically. I need to modify the value of a label at runtime. I modified the text in the ItemDataBound event. But while displaying the page the modified value is not reflected. How can I set the value of a control at runtime i...more >>

DataGrid dynamic columns
Posted by Jon at 2/16/2006 6:31:27 AM
Hello all, If I have a datagird with a number of columns, say 3, and then I add another one dynamically, obviously it will have no data, what's the best way to get the data, do I have to rebind? Thanks all, Jon...more >>

Running spawned worker thread as impersonated user
Posted by Patrick at 2/16/2006 6:13:24 AM
I have an ASP.NET web service whose Web.Config is set to use impersonation <authentication mode="Windows" /> <identity impersonate="true" /> Within a Web Method, I want to use Multi-threading to spawn off an asynchronous process, as it takes quite long to return. How could I get...more >>

Calendar control - limit possible months?
Posted by lanem at 2/16/2006 5:50:03 AM
How can I limit the possible months a user can navigate to in the calendar control? I only want users to be able to select dates from the current year and the previous year. Is that possible?...more >>

Threading & Impersonation
Posted by Patrick at 2/16/2006 4:51:28 AM
I have an ASP.NET web service whose Web.Config is set to use impersonation <authentication mode="Windows" /> <identity impersonate="true" /> Within a Web Method, I want to use Multi-threading to spawn off an asynchronous process, as it takes quite long to return. How could I get...more >>

Thread safety advice
Posted by Ben Fidge at 2/16/2006 3:57:28 AM
My application uses a singleton static class for writing entries to a log file. The location and name of the log-file is read from web.config each time an entry is written, but has the current date inserted into its name. For example, the string: c:\inetpub\wwwroot\myapp\log.txt will be...more >>

create a Popup
Posted by Helter Skelter at 2/16/2006 3:55:28 AM
hey everybody... (hey dr. nick!), i have a large form and i want people to be able to reset it. i dont, however, want people to accidentally click the reset button. is it possible for a very small popup to open and ask if they want to clear the form? is this possible without being blocked b...more >>

HELP! Error loading DLL
Posted by Bryan Gan at 2/16/2006 3:49:26 AM
Hi all, I have problem in running the application after rename one of my referenced DLL filename. (Original FileName: MapSuiteRTree.dll , changed: MapRTree.dll) Anyway, I tried to re-reference the dll to MapRTree but still fail. Any idea? Below is the error message I get: The located ass...more >>

HTML Server Control Bandwidth Q
Posted by acb at 2/16/2006 3:48:22 AM
Hi, If one ignores the fact that web controls are rich when compared to HTML Server controls, are there any other issues that make Web Controls more bandwidth hungry when compared to HTML Server Controls? Thank You Al ...more >>

tips for new resource planning system?
Posted by NH at 2/16/2006 2:16:29 AM
I am building a project resource planning system. It will basically allow Project managers to allocate resources\people to certain projects and the main benefit will be the ability to look at a calendar and see where resources and under or over utilised. Does anyone have any suggestions for...more >>

ASP.NET 2.0. Real time screen scraping, is it possible???
Posted by alan.aylett NO[at]SPAM conocophillips.com at 2/16/2006 1:10:35 AM
Hi, I am new to ASP.NET 2.0 but am a competent programmer. I am writing a screen scrapper to aggregate data from several different pages. This seems straight forward but what I would really like is for my page to react to changes in the source (page being scrapped), automatically update if ...more >>

Macromedia Flash and ASP.Net communication
Posted by Saber at 2/16/2006 12:00:00 AM
How can I connect Macromedia Flash MX and ASP.Net? For example passing variables from an ASP page to Flash. ...more >>

Help with a trace..
Posted by Rob Meade at 2/16/2006 12:00:00 AM
Hi all, I've written a small Index Server class library which will me to make simple lookups...I've just tied this in to a .aspx page and for a one word search was working nicely. I then added some code to enable multiple words to be used, ie, breaking the criteria up, plonking it into a...more >>

I'm lost, comming from VB to c#
Posted by Edwin Knoppert at 2/16/2006 12:00:00 AM
I'm doing some c# in VWD. In VB-mode i can select a page event and VWD inserts the call for me. Why isn't this in c# ? What's the best way to do this? ...more >>


DevelopmentNow Blog