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 > april 2004 > threads for thursday april 8

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

dll security
Posted by nicholas at 4/8/2004 7:58:02 PM
I have a website designed in ASP.NET In my BIN-folder I have several .NET dll-files: DreamweaverCtrls.dll FreeTextBox.dll WebXelMail.dll Now, for "security" reason my hoster told me it is prohibited to put .dll files on the webspace. So, right now they deleted all the dll files and blocke...more >>


Cant get rid off viewstate
Posted by Mariano Drago at 4/8/2004 7:45:18 PM
Hi there Im having problems with some checkbox generated at runtime. In a form, i draw some html checkboxes, each chekbox represents a kinda "department" the user is linked to. The problems is that when a postback is generated and the page reloads, the old state (checked) of the checkboxes rema...more >>

Validation control Question....
Posted by Filippo at 4/8/2004 6:56:35 PM
Ciao! I've been developing my application for a while and after testing under Mozilla, I've noticed that validation controls are not rendered at all! Any ideas or/and suggestions? thanks, Filippo ...more >>

Is this OK?
Posted by Stevie_mac at 4/8/2004 6:31:38 PM
Hi all, quick question - I need a bit of clarity. If I have a public class with only Public Shared functions in it, in an APS.NET web app (for common procedures) is it safe (since multiple web pages, can at any time access the code within) The reason for a Shared class like this is that, it w...more >>

User Impresonation in Global.asax OnStart
Posted by Alex Maghen at 4/8/2004 6:01:07 PM
It looks as if user imporsonation doesn't work in the Global.asax OnStart event. What this means is that if I have application configured to use "AlexUser" as the user for all ASP.NET stuff, that works for everything within my application EXCEPT that code executed in the OnStart in global.asax goes ...more >>

Casting Performance and Pattern Question
Posted by Remco at 4/8/2004 5:54:15 PM
Hi, Let me try to simply explain my questions. I've created a portal site with different types of users, e.g. Portal Administrators and Normal Users. One base class SessionUser (has a enum field UserType) and for each type of user a inherited class like SessionMasterUser and SessionNormal...more >>

How do I convert from Unit Width and Height?
Posted by Ken Varn at 4/8/2004 5:30:00 PM
This is probably a common question, but bear with me. I am new to this stuff. I want to convert a Unit Width and/or Height to an actual pixel Int32 Width and Height. I was just using the Value attribute of the Unit, but was not sure if this is how it should be done. Not knowing what would h...more >>

Newbie questions on Visual Studio .Net
Posted by Danny Ni at 4/8/2004 5:06:20 PM
Hi, I have the following questions: (1) How do I add an user control into a aspx file using web form designer? I have to switch to HTML mode and add <%@ Register.... manually, then switch back to Design mode. (2) Tab orders are out of control, every aspx I created using designer has focus s...more >>



How can I make a Paging on DataReader?
Posted by Quentin Huo at 4/8/2004 4:46:42 PM
Hi, There is a page in my project which is just to list the all article titles by paging (20 titles per page). So I think it might be more efficient using SqlDataReader instead of DataSet. But How can I make paging on DataReader? Can I do this? If yes, can you show me a short example? Thank...more >>

controls sharing one OleDbDataReader
Posted by Steven K at 4/8/2004 4:21:29 PM
Hello, I am using the following code which works. My question is does the OleDbDataReader need to be closed and then re-executed for every control? Is there a more effecient way of doing this other than using a loop? Thanks in advance, Steven Dim spTermType As OleDb.OleDbDataReader Di...more >>

can control call parent & have value returned to it?
Posted by Jason Shohet at 4/8/2004 4:08:52 PM
I have an ascx control, and it needs a value called 'orgID' which the parent page will have. I want to avoid the parent page setting values in fields on the ascx control since this violates encapsulation principles, SO... I want to know if InvokeMember can be used to return a value from the par...more >>

Loading .Net Framework
Posted by Jim Heavey at 4/8/2004 4:07:37 PM
Hello, I have convinced my company to give ASP.Net a try. I have never loaded anything to a server (Windows 2000) and am looking for some pointers. Specifically I am looking for advise on the following: 1. Framework software - I see that the framework software can be downloaded from "Win...more >>

Frames
Posted by Sueffel at 4/8/2004 4:02:11 PM
I have a page with 3 frames, _main, _menu, and _header I need to be able to, in code-behind, change the source of _main frame from _menu frame by using a button. Thanks, Sueffel ...more >>

Dynamic Controls
Posted by Dave at 4/8/2004 3:35:12 PM
hi I need to create some controls[text box and drop down list] on the fly . How can i positions these controls in the web form. Also how can i track the state when i am doing the post back. Any refrence or examples? Any help will be appreciated Thanks Dave ...more >>

User Controls
Posted by Murphy at 4/8/2004 3:33:06 PM
If an aspx page is passed a value via a query string is it possible for a user control on that page to read the value passed to the parent aspx ? Thanks Murphy ...more >>

Services running
Posted by Brian at 4/8/2004 2:56:05 PM
I'm not sure if I have selected the correct newsgroups here but is there a simple was to test which servers are running? I have apache and IIS installed and if I run http://localhost I am not sure which it is using or if they can both run simultaneously. Any ideas? ...more >>

Security Warning Message in ASP.Net with SSL
Posted by Mark at 4/8/2004 2:21:02 PM
Hello all - I'm not sure if this is an ASP.Net issue or a Crystal Reports issue but I built a web reporting website that runs under SSL. The way the reports are displayed to the user has it where the report data is exported into PDF format on the local webserver and then flush to the browser for ...more >>

How can I add image in a datagrid?
Posted by Trint Smith at 4/8/2004 2:09:36 PM
In my code, I would like to add an image to a datagrid...how can I do that to this code: dt = New DataTable dt.Columns.Add(New DataColumn("Image", GetType(String))) dt.Columns.Add(New DataColumn("Description", GetType(String))) dr = dt.NewRow() Image = dtrSQL.Item("item_image").ToStr...more >>

best book?
Posted by Jerome at 4/8/2004 1:53:51 PM
Hi, What's the best book to learn asp.net? I've got some ASP knowledge and now want to expand to asp.net I'm not looking for a reference book, rather and How-To with step-by-step examples perhaps. Any recommendations? Thanks, Jerome...more >>

validators stop working on 2003 server
Posted by Jason Shohet at 4/8/2004 1:49:22 PM
We coppied our site up to a 2003 remote server, and our validators stopped working. I read on another posting, that the validation mechanism works by examining some validation.js file in the web root folder, and the path to this folder is in the web.config file?? I'm looking at the web.config...more >>

URGENT!!!!!!!!!! how to open a new window of certain size from server side
Posted by Sileesh at 4/8/2004 1:41:04 PM
H Hopw some helps me with this. Code wld be even bette I have a table with 4 colmns of which 2nd column is a hyperlink. I dynamically fill this table. I am able to add hyper link to the 2nd column but cldnot open anew window. Now if i click 2nd column it shld a new window with specified height n...more >>

Programmatically binding datagrid
Posted by Niclas Lindblom at 4/8/2004 1:39:58 PM
Hi, I have a datagrid that contains a checkbox template column. I have followed the sample in Q306227, but I have a problem evaluating the content of the datagrid columns to decide a value for the checkboxes check property. According to the sample I should use this statement in the BindChe...more >>

Dot Net Nuke
Posted by Philip Townsend at 4/8/2004 1:39:05 PM
Does anybody know of a good discussion group on DotNetNuke? *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!...more >>

is CreateChildControls automatically called within an object OnInit?
Posted by dx at 4/8/2004 1:34:10 PM
If not is it appropriate to place an EnsureChildControls within an objects OnInit method? TIA ...more >>

Using one instance of SqlConnection in an ASP.NET page
Posted by Bob at 4/8/2004 1:25:58 PM
In our new .NET web applications, we try to limit the use of SqlConnection to just one instance per page, even if there are multiple accesses to various queries. The thinking behind is that this reduces the need to getting and returning connections to the pool repeatedly if a page has multiple ...more >>

public fields in webforms
Posted by at 4/8/2004 12:55:49 PM
All the fields in webforms are automatically declared as protected. If I change them to public, they are converted back to protected. Why is this happening ? Thanks ...more >>

Building a PDF for printing
Posted by DaveF at 4/8/2004 12:41:33 PM
I need to run a report and then dynamically make a PDF to print. I am looking for examples. Is there any free ways to do this -- David Fetrow Helixpoint LLC. davef@helixpoint.com ...more >>

Automatic login
Posted by A.M at 4/8/2004 12:40:55 PM
Hi, I have implemented forms authentication on my application, but I have to fill the login form every time i run the web app during debugging phases. I know that i can change the code to automatically login on development machine, but i prefer to not to have such setting in the code. Are t...more >>

Save file dialog in asp.net
Posted by Kapil at 4/8/2004 12:23:10 PM
Hi All can u tell me how to save dynamically generated file in asp.net. like save file dialog in asp.net. kapil ...more >>

Populating fields from Active Directory in asp.net -- Urgent!
Posted by Jay at 4/8/2004 11:44:32 AM
I have an asp.net application that needs to fill a series of checkboxes with usernames from a particular group in Active Directory. Could someone please point me in the right direction in regards to a snippet of code or a link to where I might info on this? I've checked msdn and can find noth...more >>

Equiv of a CRON job?
Posted by Andrew Banks at 4/8/2004 11:35:06 AM
When I've developed PHP sites before we've had a server facility called a CRON job to set a certain page to run at pre-defined periods (schedule it) Is there an equvalent for ASP.NET/IIS? I've got some scripts which I could do with running daily and wondered the best way to do this? ...more >>

Accessing Web.Config from design mode in VS.NET
Posted by Patrik Löwendahl at 4/8/2004 10:59:30 AM
Hi, I'm trying to build a server control with a custom designer. I would like it to get information from the web.config file when working with the control in design time in Visual Studio.NET. Specifically, I've registrerd a custom web.config section with information used to render the serve...more >>

Tooltip question
Posted by me NO[at]SPAM privacy.net at 4/8/2004 10:58:01 AM
Is there a way to give different messages in a tooltip property depending on what a user's access level might be? Say I have user1 who's restricted to seeing only a single account, but user2 has a larger group of items to see, of which user1's account is a part of. I'd like to say something ...more >>

Unable to run asp.net application, it raises error
Posted by sudheer at 4/8/2004 10:36:05 AM
Hi anybody knows the solution for below problem, if anyone knows about it, please let me kno Error while trying to run project: Unable to start debugging on the web server. Server-side error occurred on sending debug HTTP request Make sure the server is operating correctly. Verify there are no s...more >>

File save dialog
Posted by Ryan Moore at 4/8/2004 10:02:20 AM
I'm trying to make a page that, when opened, displays a file save dialog, then closes itself (essentially just leaving the file save dialog). Is this possible? I've tried this: Response.ContentType="image/JPEG"; //Response.AddHeader ("Content-Length", FileSize.ToString()); Response.AppendHead...more >>

Integrating ASP.NET Web Projects to share session variables
Posted by .NET Follower at 4/8/2004 9:59:34 AM
hi, i want to session state among different webprojects in my solution... any one has the solution...... -- Thanks and Regards, Amit Agarwal Software Programmer(.NET) ...more >>

Writing to a log file with in an aspx file.
Posted by h_griffith0902 NO[at]SPAM yahoo.com at 4/8/2004 9:37:08 AM
Hello, I have been digging into writing into a file with the dot net framework. There is a lot of information on it. I have a web application and I want to write to a log file when an exception is encountered. Writing to this file is not mission critical. Therefore it seems like synchrono...more >>

control won't "hide"
Posted by me NO[at]SPAM privacy.net at 4/8/2004 9:22:36 AM
I have a page where I have 3 combo boxes listed in a column. sort of like: combo1 combo2 combo3 Based on which one is clicked, the others are supposed to hide (i.e. combobox.visible = false). However, when I have the bottom one in that column to be the one to be used (selectedindex > ...more >>

Asp.NET and SSL
Posted by Sachin_Doshi NO[at]SPAM cch-lis.com at 4/8/2004 9:02:43 AM
I have a very wiered problem when I turn on SSL on my ASP.NET appication through a firewall. I am using SonicWall(Firewall) software Firewall towards my ASP.NET applications. Everthing works fine when SSL is off. But if I turn on SSL then and make request for the particular page then fir...more >>

Problems accessing a MySQL database using an Access linked table
Posted by James Bird at 4/8/2004 9:01:58 AM
Hello In order to perform a hetrogeneous join (I think that's what they're called) between MySQL and another database, I've created an Access database containing linked tables from each datasource. I create the linked tables without any problems, clicking on "save password" before selecting...more >>

Multiple user controls on Page
Posted by Michał Januszczyk at 4/8/2004 8:46:07 AM
I have the following code on my aspx page <%if(user_status==1){%><ctl:state1 runat="server" id="aaa"></ctl:state1><%}else if(user_status==2){%><ctl:state2 runat="server" id="bbb"></ctl:state2><%}else if(user_status==3){%><ctl:state3 runat="server" id="ccc"></ctl:state3><%}else if(user_status==4){%...more >>

Namespaces - broad question
Posted by Random at 4/8/2004 8:28:57 AM
I'm confused about the proper use and usefulness of namespaces. I beleive I understand the purpose is so the developer can put classes within namespaces to essentially organize your code. And I understand that you declare your intention to use a namespace within a page through the "Inherits" at...more >>

javascript in popup calling some function in main web form
Posted by cakewalkr7 NO[at]SPAM hotmail.com at 4/8/2004 7:56:27 AM
I've got an add form with a link that opens a pop up window. The main add form has a drop down menu with items populated from a db. In the popup window, you can add additional items to the db, so when you do, what I'd like to do is somehow refresh the main screen to show the updates, but at th...more >>

How to get back my user account ASP.NET Machine
Posted by Raymond at 4/8/2004 7:06:06 AM
Dear reader I accidently deleted my my user account ASP.NET Machine. Can I get it back? By the way, The microsoft .NET framework 1.1 is still installed Regards Raymond...more >>

changing hyperlinks within item templates at runtime
Posted by Paul at 4/8/2004 6:45:33 AM
There are a number of places in my app where I want the user to work with an item (a real physical item referred to by its stock number) If such an item hasn't been selected, I redirect the user to a page to select one. Then having selected one, want to redirect them back from where they ...more >>

Global.asax and Page_onload
Posted by big Man at 4/8/2004 5:21:02 AM
hi, I have the following code in my global.asax <%@ Application Codebehind="Global.asax.cs" Inherits="FrontOfficeDotNet.Global" %><OBJECT RUNAT="SERVER" SCOPE="SESSION" ID="SessionManager" CLASS="NGFOSession.SessionManager"></OBJECT> how do I reference hte SessionManager object in ...more >>

The SqlParameter with ParameterName 'xxxxx' is already contained by this SqlParameterCollection.
Posted by sbussing NO[at]SPAM xs4all.nl at 4/8/2004 2:20:40 AM
Hi, I'm experiencing the problem mentioned in the title above. Briefly, I build a page in which I include a class. This class contains a procedure to add a value to an ArrayList. The value is hold by a structure. So all elements in the arraylist are in fact a structure. As you can see in the ...more >>

ListBox, ActiveXObject
Posted by Oren at 4/8/2004 1:56:02 AM
Hi I have 2 simple questions and hope someone can help me 1) I have an aspx page with the Control: HTML ListBox on it (runat=server). I'm adding options in JavaScript .... mySelect = document.addFiles.lis var myI = mySelect.selectedIndex + mySelect.options[myI] = new Option(sFile,"2"...more >>

Access to the fileserver from webserver
Posted by Adam aku at 4/8/2004 1:51:07 AM
Hi! I suppose this is an easy problem but despite searching through manuals I have not as yet been able to solve it I have a asp .net web form which needs to access files from our fileserver. The problem is that the IIS and web app are on a different server than the fileserver (both are win2003 s...more >>

Can we use Unix server?
Posted by jonathan at 4/8/2004 1:01:06 AM
Hi In using .Net environment to develop application, can we use Unix as the server, and use unix based database at server side Thanks in advance Jonathan...more >>

Requesting a web page from asp.net code
Posted by Homayoon at 4/8/2004 12:56:02 AM
Can anyone help me with this problem? I want to request a web page in an asp.net page. To be clearer, I want to retreive the HTML code for, let's say the URL: http://www.foobar.com Can anyone help. thnx Homayoo ...more >>

Error message: Could not find installable ISAM
Posted by JP Lacasse at 4/8/2004 12:11:04 AM
I translate a web application from ASP to ASP.NET and I keep getting the following error: Could not find installable ISA I used the same ConnectString ("DBQ=" & Server.MapPath("Database\Icsdata.mdb") & ";Driver={Microsoft Access Driver (*.mdb)};Provider=Microsoft.Jet.OLEDB.4.0;" to point to my A...more >>

Any special considerations for making printable version of page?
Posted by moondaddy at 4/8/2004 12:10:05 AM
I'm going to use an aspx page to display an invoice that customers can print from. Sometimes when I go to a site and navigate to a page I want to print, they will have a button that says something like "Show Printable Version". Other than taking out all of the gui stuff and making a simple clean...more >>


DevelopmentNow Blog