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 > august 2003 > threads for thursday august 14

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

Cant make intillisense to work on ascx files (User controls)
Posted by Flare at 8/14/2003 10:32:54 PM
Im I doing something wrong or is this not possible?. I have worked alot in PHP and is used to seperate content into serval files. I guess they to do this in ASP.NET is by using User controls...right? But if i cant use the Intelisense some of the magic is disappearing... Regards Anders, Denm...more >>

bitmap onto a webpage
Posted by Microsoft at 8/14/2003 9:02:41 PM
I have a need to display a bitmap (chart) that has been created in code. In the Windows I just place it in a picturebox. But no luck with a Web page and I would like to be able to do it without writing the bmp to a file and then putting it back into the web page. Does anyone have an idea aro...more >>

(onetime) Form Submission
Posted by Leon Shaw at 8/14/2003 8:42:00 PM
How to make code aa form so that a user can only submit a form onetime? ...more >>

Best overall reporting package?
Posted by Paul Ritchie at 8/14/2003 8:30:26 PM
We are writing a web application for sale to clients to deploy on their own web server. Is there a good reference available comparing the various .NET compatible reporting packages? Cost of deployment and overall functionality would be the main factors. I guess the obvious candidate would ...more >>

Basic Javascript Question
Posted by Mark Fox at 8/14/2003 8:28:23 PM
Hello, I am attempting to do something very simple. I have a page MainPage.aspx and a popup window Popup.aspx. When users click on the linkbutton in the popup window I am looking to do some server side processing in Popup.aspx, then have the popup window close, and have the MainP...more >>

Listcontrol on placeholder does not maintain state
Posted by chak at 8/14/2003 6:10:24 PM
I have developed a form which dynamically builds textbox, radiobuttonlist, checkboxlist controls from parameters in a table, and somehow manages to maintain state (of data keyed in by user). However, the listbox that i invoke on click of a help button does not maintain state (i am not re-loading...more >>

accessing subnodes in TreeView from javascript
Posted by Johan Åhlén at 8/14/2003 5:13:39 PM
Hi, Does anybody have any idea how to access child nodes in a TreeView without using postbacks? For example: in the subtree below I want to disable nodes B, C and D when A is checked (and enable them again when A is unchecked): Subtree: [ ]A---[ ]B |----[ ]C |----[ ]D I want...more >>

Creating diretories on Application_Start
Posted by Leonardo Gangemi at 8/14/2003 5:10:38 PM
I defined some diretories in the Web.config that can be changed without recompiling. This should be directories relative to the application directory. e.g: <!-- for log files --> <add key="RelativeLogDir" value="log\" /> <!--for files generated for other applications --> <add key="Relat...more >>



Server.mappath not functions
Posted by Alexandre Martins at 8/14/2003 5:03:49 PM
Hi people, My server.mappath not functions in my class page... why ? Alexandre ...more >>

If i am changing aspx file will i loose session?
Posted by George Ter-Saakov at 8/14/2003 4:59:11 PM
Hi. If I am changing an ASPX file will App restart itself and I loose session? Thanks. George. ...more >>

User Agent
Posted by LIN at 8/14/2003 4:53:03 PM
Hi, In my log files I often simple 'Mozilla' as UserAgent. In that case what may be the browser type. If Mozilla/4.0 is the UserAgent can we take it as a Netscape Browser. LIN ...more >>

Unfamiliar behaviour with webforms
Posted by Sean at 8/14/2003 3:50:56 PM
hi,=20 i have a webform using VB.NET.=20 I have a couple of methods which fire on a few events.=20 now, i have noticed one particular behaviour which is strange. On a Btn.Click event, i validate the fields and then pass to another = method which adds those entries into xml file.=20 t...more >>

Required Field Validator Client side popup
Posted by Jinsong Liu at 8/14/2003 3:34:12 PM
I am using a RequiredFieldValidator to validate a text box at client side. but when I click the submit button without typing anything into the text box. I get a popup box saying "There were problems with ...", a error message also displayed beside the text box. how can I disable the popup? ...more >>

Pixel Width of Char in Web App
Posted by sangeeta_parikh NO[at]SPAM hotmail.com at 8/14/2003 3:30:51 PM
Hi, I have a datagrid where columns are of some fixed pixel size. If any column text increases the width of column, the plan is to truncate it till its pixel width becomes less than the coloumn width. Is there a way to find the size of a char in pixel given the font name and size. I have tr...more >>

New to .NET - If Then Else condition against database results
Posted by Troy Stanley - CyberWarehouse.com at 8/14/2003 3:26:10 PM
How does one evaluate if a field is null to display it in the datalist or repeater? I have tried a number of different things... Would anyone know how to do this? <asp:Repeater id="customers" runat="server"><HeaderTemplate> <table border="1" width="100%"> </HeaderTemplate><ItemTemplate> ...more >>

adding a search capability
Posted by bj daniels at 8/14/2003 3:12:03 PM
I have a sql server (2000) and I want to add a search capability to my asp.net page. It will search an Articles table - in particular the 'Article' field (ntext). I started with the following statement: sql = "Select * from [articles] where article like '%" & tbquery.text & "%' " order by da...more >>

Parser Error: Could not load type
Posted by BW at 8/14/2003 2:44:19 PM
When entering web site I get the following error in the Default.aspx page: Server Error in '/' Application. ---------------------------------------------------------------------------- ---- Parser Error Description: An error occurred during the parsing of a resource required to service t...more >>

error when making a project in asp.net web application
Posted by BK Kim at 8/14/2003 2:12:06 PM
Hello. I have installed .net frameworks as well as visual studio. I am able to make projects in windows application but I cannot make web application. Wheneve i try to create a new web application, "Visual studio .NET has detected that the specified Web server is not running ASP.NET versi...more >>

Strange Event Behavior
Posted by Dave Swersky at 8/14/2003 1:34:29 PM
Scenario: Class A has a method that returns an instantiated object of Class B. Class A has a Public Event called "DataUpdated". When the Class A method is called to return an instance of Class B, Class A hands to Class B a pointer to itself. Therefore, Class B can reference the i...more >>

Multipage Tif viewer
Posted by SF at 8/14/2003 1:09:19 PM
Folks, I've been running into problems with a multipage Tif viewer that I wrote to display fax images in an ASP.Net app. I've been basically following the standard examples on how to do this: - Read the image from a file - set the current frame - write the frame data to an output stream ...more >>

Preventing jump to top of screen during postback
Posted by Stephen Walch at 8/14/2003 12:58:00 PM
This seems like it should be a FAQ, but I have searched around a bit and have not been able to find the answer: Everytime I do a post back to the server (for example during a checkbox click) the screen redraws and jumps to the top of the page. This is quite a pain in some cases because it cau...more >>

VS.NET major bug or bad luck?
Posted by Barry at 8/14/2003 12:54:14 PM
I haven't read about this bug before, but I might not be alone. As I'm working in the IDE, at some point, when I do a Build and Browse I get an error that a page object has not been instantiated. When I go to the designer, all the objects on my page are gone. When I go to the HTML, the entir...more >>

Listbox item need spaces
Posted by Manan at 8/14/2003 12:43:59 PM
hello All, I have a simple question..I'm creating a tempString that contains my values then i'm adding to a ListItemCollection (). In my tempString i'm adding a spaces between each values it works fine..when I add to a ListBox the HTML doesn't render the spaces..Anyhelp is appreciated... ...more >>

Checking for existence of DataTable.Rows
Posted by Adam at 8/14/2003 12:41:09 PM
Hello- I am attempting to determine if a DataTable has Rows, or if it is empty. I am using this code: If isDBNull(MyDataTable.Rows) Then .... And it is returning false whether or not there are any rows. Is there another way to check for this property? Thanks, Adam...more >>

please wait.. page
Posted by joe kenney at 8/14/2003 11:59:09 AM
I have a question on designing a please wait aspx page. Currently I have a test.aspx page with codebehind page and page_onload contains my stored procedure calls. I've create something similar in old asp so I've try similiar method and I sort of got it work however my please wait messa...more >>

Whats wrong with this provider ??
Posted by Alexandre Martins at 8/14/2003 11:44:00 AM
Provider=Microsoft.Jet.OLEDB.4.0;UserId=Admin;Password=teste;Data Source=C:\Inetpub\wwwroot\inktoner\dados\db_inktoner.mdb;Persist Security Info=True I can't connect in my database ! whats wrong ?? tks ...more >>

Download file option
Posted by narla_anil NO[at]SPAM hotmail.com at 8/14/2003 11:38:43 AM
Hi, I want the users to dowload files( it will be txt , doc, zip formats) and this files are located on some other external web servers. but we have a link on our application to those files to download those documents, so when the user clicks on the link, we want the system able download the f...more >>

What am I doing wrong
Posted by J at 8/14/2003 11:34:12 AM
Hi, I've a problem with a page I've developed, and I can't see where I'm going wrong. I've created a dataset called "Recipients", and in this dataset, I've created two tables, one called "DistList", the other "Members". In my InitialisePage section, I'm running a routine that populates ea...more >>

SavePageStateToPersistenceMedium still sends viewstate variable to client
Posted by JCardinal at 8/14/2003 11:22:34 AM
I am saving the viewstate at the server for pocket pc clients to get around the old Invalid Viewstate error. This works perfectly, however when I look at the html source of the page served up to the client, it still contains the hidden viewstate variable and data. It's not being used and it's...more >>

ERROR... Please....
Posted by Blood... at 8/14/2003 11:21:40 AM
Error while trying project: Unable to start debugging on the web server. The server does nort support debuggþng ASP.NET or ATL Server Application. ...more >>

HELP! How to handle Session Restart on Logon
Posted by Harry Simpson at 8/14/2003 10:47:34 AM
Got a web app with a Log on screen. Right now I'm using cookieless session state with a timeout of 20 minutes. How can i avoid a situation where the user comes to a logon screen after the session times out (back from lunch etc) and doesn't really understand why after they enter their id and p...more >>

validator client side and navigators ?
Posted by Christophe at 8/14/2003 10:42:19 AM
is it normal that my required and range validator work on then client side only with IE 6 (maybe IE5) and not opera 7, netscape 4.7x, netscape 7 ? in the generated pages, validation.js is inserted in the code only with IE why? it's only javascript stuff... the other navigator should be abble to...more >>

ASHX File Question
Posted by Nick at 8/14/2003 10:32:31 AM
I know that the ASHX file is a HttpHandler but, but could somebody point me to some information on it nad maybe tell me what the advantages are to using that? ...more >>

typesafe session recomendation
Posted by adam at 8/14/2003 10:11:34 AM
Having spent nearly 2 years in win forms land the inevitable request came for me to "do some web pages". So being new to this bit of .net and having had a look around I can't see where the best way to store session data. 1) use the (string)Session["MyValue"] approach Obviously bad for mainten...more >>

c#/aspx error handling
Posted by suzy at 8/14/2003 10:11:15 AM
i am trying to write aspx login system and the login process requires a validity check of username and password. i have been told that raising exception is costly, but i want a custom error message to be displayed depending on what error occurred (let's say: invalid username, invalid password,...more >>

ASP.NET Write-access problems with IIS in Worker Process Isolation Mode
Posted by jesper NO[at]SPAM jollerbarn.dk at 8/14/2003 9:55:25 AM
Im running Windows Server 2003 trying to get my ASP.NET applications to access the file system. My Web application needs to have write access to some folders in the virtual directory from which it runs. The server is a domain controller, so I don't have the ASPNET user to assign rights to. ...more >>

Events in IE
Posted by Julian Schmidt at 8/14/2003 9:25:12 AM
Hello, I discovered a mysterious bug that occures when visiting an asp.net page, using Internet Explorer. Sometimes the browser simply ignores clicks on controls that I have connected to an event: There's nothing happening - not even a post back. I reviewed the sourcecode of the html post...more >>

URL rewriting
Posted by Juha Borenius at 8/14/2003 9:14:08 AM
I read Robert Chartier's article from 15 seconds (http://www.15seconds.com/issue/030522.htm) and tried it myself. URL rewriting seems to work fine as long as original file exists. For example: redirecting from /mysample/default.html to /mynewsample/default.html works when original file exists. B...more >>

speed up page
Posted by Max at 8/14/2003 9:08:15 AM
We want to implement assigning permissions to web pages using a tree like view. The text below illustrates what the page would look like. Each of the items in the boxes are types of permissions (i.e. A = Add, M = Modify). If a user has permissions the box is green, if not red. When an admi...more >>

simple C# question
Posted by Will at 8/14/2003 8:39:17 AM
what is the equivalent in C# to VB's Is Nothing? Check out the following code snippet: private SqlConnection objConn; if (objConn Is Nothing) { objConn = new SqlConnection(strConnection); } I'm converting my coded from vb to C# and I want to replace objConn Is Nothing with the ...more >>

Here's one for you ASP.NET experts...REVISITED
Posted by brandowagner NO[at]SPAM hotmail.com at 8/14/2003 8:11:19 AM
This message was posted (not by me) in July and never saw any responses...I'm having the same exact issue and then some...first the original post (can also be seen here: http://groups.google.com/groups?q=Exception+in+configuration+section+handler.+web.config&start=10&hl=en&lr=&ie=UTF-8&oe=UTF-8&s...more >>

Changing sessionState
Posted by MDB at 8/14/2003 7:56:52 AM
Hello, Is it possible to change the sessionState cookieless value to true dynamically if you detect that a user disabled their cookies in their browser? ...more >>

button focus and pressing enter
Posted by Philip Townsend at 8/14/2003 7:54:06 AM
I have an aspx page that contains 2 user controls, each containing a seperate textbox and button. I would like to specify that one of the buttons recieve focus when the page loads. Also, I would like that same button to fire its event when the user presses enter. Can anybody help with this? ...more >>

Sending Cookies on a WebRequest object, times out
Posted by Andres at 8/14/2003 6:32:39 AM
I am creating a web request (HttpWebRequest) from a web page in order to retrieve the Html from another page and embed it in the calling page. When you create a HttpWebRequest the request is created empty, so I need to populate its headers in order to send cookies for authentication pur...more >>

Urgent Please Help!!!!!!!!!!!
Posted by Sinu M Koshy at 8/14/2003 12:01:21 AM
System.Diagnostics.Process process = new System.Diagnostics.Process(); process.EnableRaisingEvents = false; process.StartInfo.FileName = "c:/MacroTemp/makfile.exe"; process.StartInfo.Arguments = headerFile +" "+ outputFile; process.Start(); process.WaitForExit(); The above code is not work...more >>


DevelopmentNow Blog