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 > january 2004 > threads for saturday january 17

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

Adding dynamic script to HTML with VB.Net
Posted by Greg Park at 1/17/2004 10:11:05 PM
I'm creating javascript code in VB Code and need it to be in my HTML code. How can I do this? I've tried "RegisterClientScriptBlock" from VB, but that doesn't seem to work....more >>

Dot Net performance
Posted by bbeasley NO[at]SPAM compasseduc-dot-com.no-spam.invalid at 1/17/2004 8:18:02 PM
Anyone know any studies where Dot Net was run against another language for performance testing? Posted Via Usenet.com Premium Usenet Newsgroup Services ---------------------------------------------------------- ** SPEED ** RETENTION ** COMPLETION ** ANONYMITY ** -----------------------...more >>

URL Encoding
Posted by Larry at 1/17/2004 7:41:12 PM
I send a parameter via a hyperlink in an anchor tag. The URl may contain things like "xyz=123 # 3". In this scenario, the value being returned in Request.Params["ParmName"] is "123". The remaining " # 3" is being lost. I figure there is some way to handle with encoding. Is this correct? Any in...more >>

Set DataList SelectedIndex to data record
Posted by David D. McCrory at 1/17/2004 6:21:52 PM
I want to set the SelectedIndex of a DataList control to equal a specific record in the database. What is the easiest way to accomplish this?? Thanks, David D. McCrory ...more >>

Easiest way to bind a grid datasource to a datatable
Posted by Kenneth at 1/17/2004 6:01:12 PM
Hi, I want to make sure I got the easiest way on how to bind a grid's datasource to a datatable. I've made an in-memory datatable Dim dtTotal As DataTable Dim drow As DataRow dtTotal = New DataTable("Total") ' Add two columns dcol = dtTotal.Columns.Add("Str1", System.Type.GetType("Syste...more >>

Resizing Image control in DataList ItemTemplate
Posted by David W. Simmonds at 1/17/2004 5:30:41 PM
I have a DataList control that has an Image control in the ItemTemplate. I would like to resize the image that goes into that control. I have a series of jpg files that are full size, full resolution (ie. large). I have a database that contains references to the pictures. Currently I have to res...more >>

session state in ASP.NET
Posted by Alexander Kaplunov at 1/17/2004 5:13:17 PM
Hello, I'm trying to use session state but get a runtime error. Here is what I'm trying to do in my code-behind file: Account acct = (Account) Session["login.account"]; in the aspx file the Page directive looks like the following: <%@ Page language="c#" Codebehind="login.aspx.cs" AutoEv...more >>

Browser compatability
Posted by bbeasley NO[at]SPAM compasseduc-dot-com.no-spam.invalid at 1/17/2004 4:18:14 PM
I've written severl dot net applications for users who use IE only. Now I'm developing one for a netscape user. My text boxes and lables resize in Netscape. Any ideas? Posted Via Usenet.com Premium Usenet Newsgroup Services ---------------------------------------------------------- ** ...more >>



ASP.NET with conventional technologies
Posted by Mark Goldin at 1/17/2004 3:44:45 PM
I'd like to build a .NET app. that will be a mixture .NET and conventional technologies. Here how I see it. 1. HTML pages are static (predesigned) pages. They use JavaScript to handle user interface. The user interface with data (tables, combos) is result of XSLT transformation. 2. The user s...more >>

Numbers in the rows in a grid
Posted by Kenneth at 1/17/2004 3:41:19 PM
Hi, In a grid I'd like to show a column with incremented numbers from 1 upwards. Like this: 1 MyName 2 Yourname 3 Hisname 4 Hername Any ideas? TIA /Kenneth...more >>

Allow write to folder with web.config
Posted by Ryan at 1/17/2004 3:29:37 PM
How can I set the write permissions for a certian folder within a virtual directory using the web.config file? Essentially, I want to give the ASP.NET user write permissions to the "uploads" folder so I can upload files to my site. Thanx ...more >>

Custom control and toolbox tabs
Posted by Erik Cruz at 1/17/2004 3:27:06 PM
Hi. I wrote two simple custom controls to help me learn asp.net. Each control is his own project, I didn't put them on the same assembly. The first control derives from BaseValidator and the second derives from Textbox. I created a new web application and selected my controls on the Tools - Ad...more >>

Custom Validator
Posted by Evgueni at 1/17/2004 3:26:17 PM
Hello, I am new to .NET, and a custom validator is giving me a lot of grief. I want to use a Custom Validation control and for some reasons it's not firing the validation procedure. I am using .NET framework 1.0 Here is the declaration of the control <asp:CustomValidator id="CustomValid...more >>

What's wrong here.
Posted by Mark Goldin at 1/17/2004 3:15:02 PM
Here is an ASP page: <%@ Register TagPrefix="mytree" Namespace="Microsoft.Web.UI.WebControls" Assembly="Microsoft.Web.UI.WebControls" %> <%@ import namespace="Microsoft.Web.UI.WebControls"%> <html> <head> </head> <body> <form runat="server"> <mytree:treeview runat="server" id="oTree" treeno...more >>

Control modifications and AutoPostBack
Posted by Pete Davis at 1/17/2004 3:07:39 PM
First of all, I'm more or less a novice at web stuff, not just ASP.NET but JavaScript and VBScript as well. I've got a page for doing reservations for a hotel. They want to do two things that are causing a problem: 1: Ability to book multiple rooms 2: The ability to modify the number of chi...more >>

Add WebControls to VS toolbar
Posted by Mark Goldin at 1/17/2004 2:19:38 PM
How can I do that? ...more >>

How to make the smatest dynamic menu
Posted by peter NO[at]SPAM pnr-dot-dk.no-spam.invalid at 1/17/2004 2:18:15 PM
I am makeing a system where every user have there ovn menu, they can chose between about 20 different sides they want in there menu. Eache side contains that menu, the user logs in with username and password. Schall i put the list of the menu items that the user have the rights to see in an s...more >>

Problems with button in a repeater
Posted by peter NO[at]SPAM pnr-dot-dk.no-spam.invalid at 1/17/2004 2:18:14 PM
I have an repeater that contains data witch it schould be possible to delete, I have placed a delete button in each row, but i can't make it work :-( This is my repeater (just a little bit of it): <asp:repeater id="Repeater1" runat="server" OnItemCommand="testKnap_Click"> <ItemTemplate> ...more >>

Ideas on design - Restated
Posted by Nick at 1/17/2004 1:29:41 PM
Hi, I have asked this question in a few guises recently, and not had much response. But I dont think what I am asking is too obscure, so I am hoping I just need to rephrase. When a view is rendering itself (say Foo.aspx/Foo.aspx.cs), during rendering it realises it needs a secondary view t...more >>

Best way to check IP address in a lot of pages
Posted by Andrew Banks at 1/17/2004 1:26:57 PM
I'm going to have an admin section to a site I'm developing using ASP.NET C# I want to restrict access to this directory based on username and password (I've got that bit done) but also upon the IP address of the user accessing it. I only want my IP to get access to this directory but my IP may...more >>

Browser doesn't show controls. (New in .NET)
Posted by Jim at 1/17/2004 1:17:37 PM
My browser doesn't show text boxes, labels etc. It seems that it doesn't read the script at all (C#). I use the following program (from a wrox book): <---------------------------------------- <script language="c#" runat="server"> void Page_Load() { time.Text=DateTime.Now.Hour.ToString()...more >>

Change BgColor of aspx page in code
Posted by Cliff Cavin at 1/17/2004 1:15:20 PM
How do I programatically change the background color of an aspx page in code? Is there something like Page.BgColor = "#FFFFFF" ? For that matter, how do I access any of the DOCUMENT properties in code? I am using Visual Studio 2003, building an ASP.NET web application using VB.NET. ...more >>

Memory leak
Posted by Chris NO[at]SPAM yahoo.com at 1/17/2004 12:47:43 PM
Hi, I have an asp.net site that receives a medium amount of traffic (500-1k users per day). I'm having massive trouble at the moment with a memory leak that I just cannot isolate. The server is w2k, with 1GB ram, but the asp.net process is recycling 2-3 times daily! I've run perfmon over t...more >>

Prompt out alert box in ASP.NET
Posted by Grey at 1/17/2004 12:15:44 PM
I need to prompt out an alert box when I finished some server = programming in ASP.NET. But I don't know how. Please advise me the way. Million Thanks...more >>

setting up general app path for DLLs and avoiding Could not load type '<project>.<class>' error
Posted by Wolfgang Kaml at 1/17/2004 12:13:26 PM
I am not sure if this is more of an expert question, but I am sure that they are out there. I'd like to setup a general application or bin directory on my Win2003.Net Server that will hold some useful utils that more pages on that server can use. As an example, I have created a Page Counter c...more >>

Errors, errors, errors
Posted by Mark Goldin at 1/17/2004 12:05:21 PM
Can someone, please tell me what is that: Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: The located assemb...more >>

new ASP.NET application
Posted by Mark Goldin at 1/17/2004 11:40:17 AM
I am trying to create a new ASP.NET application. By default it has name "webapplications1". How can I name it differently and also point to a folder of my choice? Thanks ...more >>

How to detect the existance of a private member from inside the class itself
Posted by Bob at 1/17/2004 11:13:54 AM
I want to find a way to detect the existance of the private member of a particular type in the derived class from inside the base class itself and call its Dispose() method. Reflection GetFields() only returns public members and I would like to avoid using reflection due to its performance impa...more >>

How to detect that my library is being used under ASP.NET
Posted by Stephen Walch at 1/17/2004 9:04:21 AM
I have a managed library that needs to behave differently when used in an ASP.NET web page as apposed to a WinForms app. What is the most efficient way to detect this at run time? (Bonus question: is there a way to detect this at design time?) Thanks, Steve ...more >>

What happen if I use static member in asp.net?
Posted by Yok at 1/17/2004 8:58:46 AM
Can I create a singleton class and put a SqlConnection in it and keep it open? ...more >>

Tabs in WebForm
Posted by mg at 1/17/2004 7:16:05 AM
How can I place tabs in a WebForm (C#). On each of the several tabs, I'd place what is now a seperate page (WebForm)....more >>

Unable to upload file on server
Posted by paras11177 NO[at]SPAM yahoo-dot-com.no-spam.invalid at 1/17/2004 4:17:56 AM
I am using File Upload Control to upload file on server. If size of the file exceeds maxRequestLength property in httpRuntime section of my configuration file, then DNS error is thrown. how can i restrict the user from selecting a file of specific size. Best solution would be if i can restric...more >>

QueryString encryption
Posted by Arjen at 1/17/2004 12:13:51 AM
Hello, Can somebody tell my if it is posible to create a QueryString encryption/decryption that works from a higher level then the code view... For example: I have an URL like www.mysite.com/index.aspx?id=123&print=no Must be changed to: www.mysite.com/index.aspx?2342342375675675676756 ...more >>


DevelopmentNow Blog