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 > december 2003 > threads for wednesday december 24

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

Repeater and Custom HTML Question
Posted by Arsen V. at 12/24/2003 9:21:55 PM
Hello, How to control the structure of the HTML inside of the ItemTemplate of the Repeater? For example, if a certain data column value is empty (or contains some specific string or number), I want to be able to "hide" a part of the HTML of the ItemTemplate. Say a customer has phone numb...more >>


ASP Hyperlink with absolute NavigateURL? is it possible
Posted by Amir Eshterayeh at 12/24/2003 8:53:06 PM
Dear Friends My asp hyperlink goes to relative address instead of absolute. I like navigate url goes to outsite link like www.asp.net but now, it goes to www.mysite/www.asp.net please help. I create the navigatURL from database dynamically. I see the same question mentioned here but the re...more >>

Programmer job - C#, ASP.NET, VC++, SQL, developer
Posted by Steven Asherman at 12/24/2003 6:15:27 PM
Seasoned, experienced, expert developer with excellent written and oral communication skills needed for on-going development of a new, commercial, statistical research system. Candidate should have serious VC++ database programming experience and recent C# ASP.Net experience. Any MFC, statistics...more >>

multiple rows into one row: manipulating the data
Posted by Brian at 12/24/2003 4:49:01 PM
I'm not sure if this is best done in SQL or .NET but I'm betting .NET (hence the post here). I've got data looking like this... ProductID PriceGroup Price 1 List 1.00 1 Jobber 0.90 1 ...more >>

Usage of "Request.UrlReferrer"
Posted by anonymous NO[at]SPAM discussions.microsoft.com at 12/24/2003 4:34:08 PM
I've got \\root\folder\Page2.aspx that I want to controll access to, by establishing a rule that says "previous URL must be '\\root\folder\Page1.aspx' (which did password validation). The code snippet below does 1) allow valid Page_Load if referring URL was 'Page1', and 2) disallows Page_...more >>

Opening Project Gives An Error
Posted by JJY at 12/24/2003 4:11:59 PM
Hi. I created a project a few days ago. Now, when I try to open the project, it gives me the following error. Unable to open Web project 'KB'. The file path 'C:\Inetpub\wwwroot\KB' does not correspond to the URL 'http://LocalHost:/KB'. The two need to map to the same server location. HT...more >>

how to: Deploy a web service
Posted by John Spiegel at 12/24/2003 4:08:27 PM
Hi all, I'm attempting to deploy a pretty simple web service to a shared web server that was built w/ Visual Studio. According to MSDN, I should be able to just copy the asmx and bin folder (w/ contents) and it's ready to go. Of course, in practice this fails. When attempting to add access ...more >>

ViewState general question
Posted by Vlad at 12/24/2003 2:42:34 PM
Hi all. I use ViewState on most of my pages. Sometimes heavily. Works great, I love it. But most of the asp.net sites I visit seem to ignore it. They don't even include form tag in html and use other ways to navigate/collect information. Or use form and regular buttons withour runat at...more >>



cookies readonly !!!!!
Posted by Frank at 12/24/2003 2:26:19 PM
In a aspx page i want to update a cookie-value as follows: Response.Cookies("show")="123" While debugging this page in Visual Studio i received the error: Compiler Error Message: BC30526: Property 'Item' is 'ReadOnly'. Source Error: Line 166:Response.Cookies("show")="123" ...more >>

Filtered output disappears after browser back/forward
Posted by Brad at 12/24/2003 1:46:15 PM
I created a base page class which sets a response filter and the filter injects additional html into the response output stream. The filter works fine and everything works as expected except for the following quirk: When I navigate my browser to another url (a link in the page, a browser favo...more >>

Abstract code from HTML
Posted by Michael at 12/24/2003 1:46:06 PM
I'm going through some samples in a book of mine about Data controls. Some of the examples though contain code embedded within the html, something I'd like to avoid. Can someone look at this and tell me how I could do this from a codebehind page, not the HTML <asp:datalist id="test" runat=...more >>

How do I do this.
Posted by Peter at 12/24/2003 1:43:47 PM
I have a Windows application which has a combo box and a button, when = user clicks on the button another window pups up with a data grid = containing the data for the combo box. The datagrid allows the user to = modify / add / delete data for the combo box. When the user closes the = update w...more >>

aspnet_wp.exe Repeatedly stopping and being recycled unexpectedly
Posted by Jarrod Hermer at 12/24/2003 12:38:41 PM
Hi All, I am trying to debug a strange problem of duplicate entries in my database when I came across the following errors in the event log (see bottom of mail). The web server runs the database as well but it is not hit very hard, I would say there are about 20 request/sec constantly tho...more >>

URGENT!!!!!!!!!!!!!
Posted by Ravindra at 12/24/2003 12:29:53 PM
Hi All I generate several HtmlInputText controls at runtime (could be any number of HtmlInputTexts,depending on database value). I can view them without any problem by adding them to the html table on my aspx page. On postback,I need to collect data from the HtmlInputTexts to submit to the...more >>

.Net features for web deployment of applications?
Posted by Greg Linwood at 12/24/2003 12:22:29 PM
We're building applications which we intend on delivering via our website - basically apps that our clients can download, install etc. We'd like to control download via a registration process, so that clients cannot simply email the .exe's url around & side-step the registration process. Ou...more >>

Custom Paging
Posted by Mo at 12/24/2003 12:09:52 PM
Hi, I am new to .NET and I would like to use custom paging on a Datagrid. Currently, myDatagrid has PagerStyle Mode="NextPrev". and a Label that says: Showing Page X of X. I would like to change it to the following: Ex: Label displaying info: Showing 1-10 of XXX Resuts and Navigatio...more >>

PlaceHolders
Posted by Colin Basterfield at 12/24/2003 12:09:47 PM
Hi, I have some placeholders in my .aspx file, and when I add my controls to them at runtime I want them to appear in specific positions on the web form, however there are already some controls that appear statically, but the run time created controls overwrite them, so is there a way to force...more >>

Cast from type 'DBNull' to type 'String' is not valid.
Posted by Elmo Watson at 12/24/2003 11:54:05 AM
I've got a 'helper' function created, to modify the showing of database results: Function FixLegal(sItem as String, sPrefix as String) if sItem is System.DBNull.Value or sItem = "" then FixLegal="" else FixLegal="<i>" & sPrefix & ":</i> " & sItem End If End Func...more >>

ASP.NET and Customer HTML
Posted by Arsen Vladimirskiy at 12/24/2003 11:17:10 AM
Hello, What is the proper way to implement the following: 1) We have a list of customers 2) Customers can have some optional fields. For example, second phone number, comments, and others. 3) We need to display the customers in a list, but in a nicely formatted way. In other words, if the ...more >>

Postback issues
Posted by Paul at 12/24/2003 11:08:24 AM
I've created a simple vb.net (2003) asp page with a button. On a collegues machine it works fine, you press the button and a response.write is fired. On my machine when you click the button I get a "Page not found" I'm guessing maybe it's my IIS server but not sure what to look for Help ...more >>

who know what leftpane in asp.net is ?
Posted by kevin at 12/24/2003 10:54:19 AM
who know what leftpane is ? and assembly is right because this project come from asp.net named portal.but I can't run it rightly. help me/ following is the error: Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please revi...more >>

Detect if Fonts are installed on web client
Posted by anonymous NO[at]SPAM discussions.microsoft.com at 12/24/2003 10:52:46 AM
Hi all, developing a multilingual app in .net and relying on the .NET cultures. There is a need to determine programmatically whether or not the browser client-side supports a particular font, for example "Are asian fonts installed? If yes, display simplified chinese as a viable option....more >>

ASP and Access
Posted by Stefanie Gardner at 12/24/2003 10:51:17 AM
I am a programmer, new to ASP.NET. I am modifying a clients existing web site that has been written strictly in .net. I have created a database in Access and have created an .asp file that successfully creates a dropdown box from a specific column in the table. I would like to cut/paste the v...more >>

selectedindexchanged and user controls
Posted by Brent Burkart at 12/24/2003 10:44:39 AM
Has anyone experienced any problems with their selectedindexchanged not firing when there are user controls present on the page? I have 4 controls on a page and only once I remove all 4 does my dropdownbox selectedindexchanged work. Any ideas? ...more >>

No data in data grid
Posted by Dave at 12/24/2003 10:14:26 AM
Hi, I am using the following code to display some test data but the data is not visible in the grid, only the headers appear. Not really sure what else to do, I looked at examples on the web and I don't really see a difference. Thanks for any help! SqlDataAdapter1.SelectCommand.CommandTex...more >>

Web Forms Toolbox is disabled in HTML view?
Posted by Michael at 12/24/2003 9:20:43 AM
Can someone help me figure this out, I'm using the Visual Studio.NET 2003 IDE to develop asp.net pages, I've got the toolbox open to display all the "Web Forms" elements Here is my problem, on the design view of my page, they are enabled, but on the HTML view, they are disabled! ?? I can s...more >>

What framework version am I running?
Posted by jib at 12/24/2003 9:11:58 AM
In any of my projects, reviewing the properties of say the System.Web reference, reveals that its path points to C:\WINNT\Microsoft.NET\Framework\v1.0.3705\System.Web.dll. (suggesting Framework V1.0) However, when I look at how my IIS is configured for .ASPX files, it points to C:\WINNT\...more >>

Security Attributes without Try-Finally?
Posted by localhost at 12/24/2003 7:51:57 AM
I have decorated several classes and methods in an ASP.NET appliation with declarative security attributes for roles. For example: [System.Security.Permissions.PrincipalPermission (System.Security.Permissions.SecurityAction.Demand , Role="SomeRole")] I currently use a Try...Finally b...more >>

Beware of scorpion53061(theft)
Posted by IAmIronMan at 12/24/2003 7:45:23 AM
This individual is stealing other peoples code and claiming it as his own. The proof is when I asked him to explain his code he would not. For proof view these threads in dotnet.languages.vb Giving Back(Thank You) scorpion53061 Straighten This Out.... This is the forged code he won'...more >>

how to password protect site
Posted by Tim Zych at 12/24/2003 7:14:13 AM
How do I password protect my asp.net site, or a folder within it? ...more >>

Generate PDF from ASP.NET
Posted by medhanush NO[at]SPAM yahoo.com at 12/24/2003 5:20:06 AM
Hi Guys, Can anyone pl direct me on how to generate a PDF document from ASP.NET. I know it can be done using Crystal Reports. I'm looking for any other alternative approaches. First of all, can it be done without using any third party component ? If not what are best components ? Thanks f...more >>

Double 'open' downloading a file in an ASP.NET page
Posted by keith_j_fowler NO[at]SPAM hotmail.com at 12/24/2003 4:49:36 AM
I have a minor problem with a piece of code I have written to download a CSV file in an ASP.NET application. It works fine except that if the user presses the Open button on the IE6 download dialogue, then the dialogue is presented a second time. Pressing the Open button again works fine. Pressi...more >>

Timers
Posted by Senthil Kumar at 12/24/2003 1:34:27 AM
Hi, I have a ASP.NET WebApplication. I want to do a certain task every monday say 8.00 AM. Is there any schedulder controls or any other controls like it that I can use? Thanks, Senthil...more >>

SessionState
Posted by Kenny at 12/24/2003 1:23:57 AM
Hi , I have created two Web Application - WebApplication1 and WebApplication2 in same machine for testing purpose. e.g http://localhost/WebApplication1.aspx http://localhost/WebApplication2.aspx I have this setup for both WebApplication's Web.Config <sessionState mode="SQLServer" stateCon...more >>

data set- scroll
Posted by abc at 12/24/2003 12:45:45 AM
hi, How to add scroll bar in a data set object? Thanks,...more >>

New Session Creation
Posted by Naina Mohamed at 12/24/2003 12:25:34 AM
I have abandon a session in my page and navigate to some other page thro' Redirect method, but i am getting old session id in the navigated page. How to get new session variable in navigated page...more >>


DevelopmentNow Blog