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 2005 > threads for tuesday april 12

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

Looking for different XML Feeds
Posted by Patrick Olurotimi Ige at 4/12/2005 11:55:13 PM
I wanto to incorporate some feeds like weather,news and humor(funny stuff) Any links where i can get related feeds on the WEB? Thx *** Sent via Developersdex http://www.developersdex.com ***...more >>


.mresource attribute
Posted by thomson at 4/12/2005 10:22:05 PM
Hi all, Can anybody give an insight to what the .mresource attribute does in the assembly manifest. Detail explanation also welcome Thanks in Advance thomson ...more >>

IssueTracker (VB) Starter Kit
Posted by David Pendleton at 4/12/2005 10:09:41 PM
Hello all. I've installed the IssueTracker starter kit on my IIS machine, and I am able to use the application from there. I've copied the source to my workstation, which is not running IIS, or SQL Server (other machines are doing that), and when I attempt to open the project, I receive ...more >>

How can i get data from dynamically added html controls?
Posted by Jeff H. at 4/12/2005 8:27:08 PM
I created a survey page with dynamically added html controls, as below. However, now that I have the page, is there a way to reference the fields to get the data out? while (drResultList.Read()) { ... // Survey question text System.Web.UI.HtmlControls.HtmlGenericControl hQ...more >>

Convert csproj to vbproj
Posted by Walden Peters at 4/12/2005 8:08:28 PM
Hi Anyone know of a utility or an easy way to convert C# projects to VB.NET? -w ...more >>

Using uncompiled .cs files
Posted by Hevuss at 4/12/2005 8:03:01 PM
Im develping on a hosting company does not support .dll files. Normally i create a base page that extends from System.Web.UI.Page and compile it to a ..dll then extend all my code-behind pages from this base class to share functions and constants. Is there any way to extend my code behind pa...more >>

Help: Checkbox in datalist - checked status = ALWAYS FALSE!
Posted by VB Programmer at 4/12/2005 6:35:44 PM
Simple: I have a datalist that is holding a bunch of job opportunities. Beside each opp (in the item template) there's a checkbox that says "apply". After the datalist there's a button that say's "process". I want to LOOP through each datalist entry and see if the user checked the check box...more >>

Restart a dll Build Number and Revision
Posted by Pietro at 4/12/2005 5:27:41 PM
Thanks for the last answer, but now how can i restart the count of the Build and Revision numbers of a dll in VS.Net. Thanks Pietro...more >>



EnableViewStateMAC=True
Posted by John Grandy at 4/12/2005 4:58:13 PM
Could someone please provide the exact modification I need to make to web.config to set EnableViewStateMAC=True Thanks. ...more >>

Good Books?
Posted by Davey P at 4/12/2005 4:33:02 PM
Can anyone give me a list of essential ASP.NET books? (also ADO.NET) I've heard ASP.NET Unleashed by Stephen Walther is one of the best around, but I have seen the numerous Microsoft Press titles in this area too, and am unsure as to which ones would really benefit me. I am a competent .NET p...more >>

Browser Compatiablity
Posted by vinay at 4/12/2005 2:57:04 PM
How to ensure the application can run with different browsers?? Are there any known issue list and how to avoid them ?? Any links please. Thanks vinay -- http://pathidotnet.blogspot.com ===== vInAypAtHi o__ ---_,>/'_------ (_) \(_) ---------------...more >>

ASP.NET recycles a lot of times after software deployment
Posted by Eduardo Crivelli via DotNetMonster.com at 4/12/2005 2:34:18 PM
Hi everybody, I'm new to this site and regarding the quality of the threads I'm confident that I will get some help here. Here is the case: We have a huge asp.net c# (101 bins and more than 4.000 aspx)(.net framework 1.0, latest sp) internet site in W2K plataform. And since last week, every...more >>

Getting Request URL in Session_Start
Posted by wrecker at 4/12/2005 1:24:52 PM
Hi all, I am trying to set up an affiliate program so I've been adding code to the Session_Start in global.asax. I am passing an affiliate ID via the query string so would like to parse this value out when a user gets redirected to our site and then do some database work. The problem is tha...more >>

ASP 2.0 backward compatibility to 1.0
Posted by Maziar Aflatoun at 4/12/2005 1:07:35 PM
Hi, Does anyone know how well ASP.NET 2.0 is backwards compatible to ASP.NET 1? We have so much code written in ASP.NET 1. Thanks Maz. ...more >>

Change dll version
Posted by Pietro at 4/12/2005 12:39:20 PM
How can i change the version number of a dll in VS.Net. Thanks Pietro...more >>

DropDownList Fill
Posted by tshad at 4/12/2005 12:28:36 PM
I am trying to fill my DropDownList (actually a few of them) with data from my sql table. I am calling Stored procedures for all of them. I would like to use the first line as a place holder that tells them what to pick - "Minimum Education Level" - for instance. At the moment I do someth...more >>

Trace.IsEnabled
Posted by Tiƫsto at 4/12/2005 11:20:04 AM
Should I always check if Trace is enabled before attempting to use Trace.Write or Trace.Warn? will it throw an exception if I don't? will It make thing slower if I write entries in the trace when I haven't trace enabled neither at application level nor page level? Another Question: Is there...more >>

Set the selectedindex of a datagrid
Posted by Fernando Lopes at 4/12/2005 11:15:36 AM
Hi there. I have a customer's address grid in my web application. After I searched for a customer I showded all his addresses. One of these addresses is the ship address. In the search, I gotten the addressId of this ship address. The datakey of datagrid is the AddressID. I want to keep selec...more >>

Storing an entire page's Contents in the Session
Posted by py at 4/12/2005 10:58:28 AM
how feasible is it to cache an entire page's content in a session variable? i am already doing it and it works fine, except i am afraid of scalability issues. what is the best way to test this? and is there an obvious reason why i should not do this. ...more >>

Using objects in ASP.NET?
Posted by Brett at 4/12/2005 10:53:26 AM
In Coldfusion MX 6.1, they offer a feature named CFC or Coldfusion components. These are basically classes that offer inheritence. I put database calls, calculations, constants, etc, into these classes or components. I instantiate them once for each user session through the Application.cfm...more >>

Conditional Compilation Directives in aspx file?
Posted by Praveen Ramesh at 4/12/2005 10:49:54 AM
Hi, Is there some kind of support for "Conditional Compilation Directives" in the aspx file? I want to enclose the Register tag as follows: #if DOTNET10 <%@ Register TagPrefix="sfwg" Namespace="CustomNameSpace" Assembly="CustomAssembly1.0"%> #else <%@ Register TagPrefix="sfwg" Namespac...more >>

No output parameter.......
Posted by Vickey Nelson at 4/12/2005 10:32:44 AM
I am calling a stored procedure which returns the result set and output parameter. My code look like this.. Dim MyReader As SqlDataReader = myCmd.ExecuteReader() If Not Convert.IsDBNull(myCmd.Parameters("@TotalCount").Value) Then iTARCount = CType(myCmd.Parameters("@TotalCount ").Value,...more >>

ListBox Items
Posted by Baren at 4/12/2005 9:36:02 AM
Hi! I have a generalized Stored Procedure to get the listbox items in a datareader.Then i am binding the datareader to the listbox. For different pages and different conditions i need to hide and show some the items returned by the datareader. Can anyone help me out to solve this issue. ...more >>

Navigating to Dynamically created URLs on Button_Click
Posted by Raj at 4/12/2005 9:08:02 AM
I want to navigate to a dynamically created URL on the button click event. I want the URL to open in a separate window. What is the best way to do it ?...more >>

button on HTML page that calls code
Posted by Andy G at 4/12/2005 9:08:00 AM
I have many html pages that I need to put a button on. When this button is clicked I need to call a stored procedure that updates a record. -How do I add a button to html page that will call a .vbs or .js file (if that what I should even call, I would rather call a .vb class I have created ...more >>

Q: multiple fields in dropdown list
Posted by JIM.H. at 4/12/2005 9:01:08 AM
Hello, I am suing SELECT * from MyTable in a stored procedure and populate dropdown list. By using followings: ddlSP.DataSource = DS; ddlSP.DataTextField = "PName"; ddlSP.DataValueField = "PID"; ddlSP.DataBind(); This show PName in dropdown list, It is working fine. Now I need to combine ...more >>

Adding List Item Value
Posted by jason at 4/12/2005 8:42:54 AM
I know I have seen this somewhere but I can't seem to find it. I would like to add the list item value along with my list item text. So far I have this: Listbox1.Items.Insert("0", "All") How do I add a value for "All"? Thanks....more >>

ASPX Page loads slowly
Posted by Samy at 4/12/2005 8:42:37 AM
Hi There, I have a stored procedure which takes 7 sec to execute. I am using a adapter and filling the dataset. Then I bind the datagrid with the datatable from the dataset. When I test the page against the test server DB, the page loads pretty fast. When I test the page against the production ...more >>

Q: dropdwon list in datagrid
Posted by JIM.H. at 4/12/2005 8:29:02 AM
Hello, How can I make one of the cell in datagrid a dropdown list retrieving data from a table without making lots of changes in datagrid. Thanks, Jim. ...more >>

Losing session with popup windows?
Posted by andrewjknox NO[at]SPAM gmail.com at 4/12/2005 8:21:52 AM
Dear all, This is really a one-off problem and only applies to a single user. The site is hosted on a windows 2003 machine with users accessing it across a local network. Basically, a user on a website can logon successfully and browse around the site, but when they open a page thats in a p...more >>

AWESOME MOVIE! << This free movie is about real situations and I give it a big thumbs-up..............................................................
Posted by JavaDude_100208 NO[at]SPAM yahoo.com at 4/12/2005 8:15:28 AM
http://www.moviefever.com/movie121 << Awesome Movie! ...more >>

How do I post hidden variables to another form from a popup?
Posted by aaa at 4/12/2005 7:55:59 AM
I am bringing up a popup which has a couple of fields that the user enters. I fill the hidden fields then submit and close the popup which then reverts back to my main form, which retrieves the hidden vars and does the database operation. Seems straight forward enough but I have run into a few st...more >>

codefile vs codebehind in ASP.NET 2.0
Posted by nospamnntp NO[at]SPAM yahoo.com at 4/12/2005 7:52:03 AM
Can anyone @ MS help us understand why this change was made? What value does it add? (It just seems like an unnecessary semantic change to me) Thanks! ...more >>

Can not find TreeView control in toolbox of .NET Visual Studio for
Posted by david at 4/12/2005 7:47:08 AM
anyone could tell me how to find the TreeView Control for web form? Now I am using MS Visual Studio .NET 2003. Thanks David...more >>

Q: dropdown list, no selected value
Posted by JIM.H. at 4/12/2005 7:29:04 AM
I am populating dropdown list with binding dataset, and dropdown list shows first item by default when application is launched, is there any way I can set it be empty and let user select one?...more >>

how to get first row results
Posted by Gert Albertse at 4/12/2005 7:21:02 AM
If my query results are more tha one row, how do I point to the firstrow and the to the second row etc, to bind the data to textboxes?...more >>

Single Sign On
Posted by EricMatz at 4/12/2005 6:44:01 AM
I work for a medium-sized insurance company, developing web-based systems for our independent agents. There are four primary applications we provide - one that serves as an agent portal (ASP), and three others that serve applications specific to each line of business (one ASP, two ASP.NET). ...more >>

Adding attribute for each item in a checkbox list control
Posted by vikram at 4/12/2005 5:37:36 AM
How can i add a user define attribute to each checkbox item in a checkbox list control. I want to add a attribute "Tag". Is it possible...more >>

UserControl event
Posted by Lin at 4/12/2005 5:35:02 AM
Hi All, I have a UserControl and in the UserControl I have a few controls (textbox buttons ect.) and I want to know how can I fire the "onchange" event (of the usercontrol) when the textbox in the usercontrol is changing. thanks and i hope you anderstood what am i asking.. Lin....more >>

ASP.NET Thumbnails
Posted by asad at 4/12/2005 4:45:09 AM
Hello friends, i have a images folder in which my uploaded images are stored i want to create thumnails of these images dynamically and show these thumbnail for example i have a folder named (cards) and in this folder for example this folder contain 10 images now i want to create a logic that ...more >>

Recommendation for a ASP.NET
Posted by sl at 4/12/2005 3:03:48 AM
Greetings, I am looking a recommendation for a very specific book. I have been developing applications/system for over 15 years starting with C++ and migrating to C#. I am very familiar and comfortable with WinForms, Windows Services and Web Services. I understand of Web Applications...more >>

Problem with SmartNavigation
Posted by Chris Liang at 4/12/2005 2:47:51 AM
I added "SmartNavigation" directive to the Page tag and it works(keeping page position) on my local machine. However, the code does not work in our hosting server. I means the page position is not kept. Does anybody have any point? Thanks ...more >>

google suggest, how can I do this?
Posted by guoqi zheng at 4/12/2005 1:32:43 AM
On this link http://www.google.com/webhp?complete=1 when you are typing a word, google will get the suggest outcome immediately, any idea how can they do this? There is a onchange event on textbox, but that is only when you move your mouse out of the textbox, on idea how can I do this? o...more >>

Session variable not set
Posted by ywz at 4/12/2005 1:07:19 AM
Hi All, I built a web application using cookieless session. It merely checks for the session variable value upon login. This method works fine on the host pc. However, when i try to access the application via another pc in the network, the login page redirects to itself even though the ...more >>

Session not set.
Posted by ywz at 4/12/2005 1:04:02 AM
Hi All, I built a web application using cookieless session. It merely checks for the session variable value upon login. This method works fine on the host pc. However, when i try to access the application via another pc in the network, the login page redirects to itself even though the ...more >>

send entire page by email
Posted by Martin at 4/12/2005 12:00:00 AM
Hi, I have a standard aspx page (form) that contains a few user controls. Upon form submission the page is validated. If validation passses then a text based email is sent. This is all working fine, however what I would like to do is sent the entire contents of the posted back page as a HTML...more >>

cannot find control within control
Posted by Daves at 4/12/2005 12:00:00 AM
hi, sorry for re-posting but it's a simple question and ought to have a very simple solution; I am trying to use Findcontrol to grab a Button control within a Formview control: <form ID="Form1" runat="server"> <asp:FormView ID="FormView1" Runat="server"> <ItemTemplate> <asp:Button ID=...more >>

Server-side script with input parameter from Client-side script
Posted by Magnus Blomberg at 4/12/2005 12:00:00 AM
Hello! I have a client javascript that generates a string (like below). This = string should then be used by server code (in this case a function = called run). <script language=3Djavascript> function getpic()=20 { string s; s =3D document.getElementById("File1").getAt...more >>

Someone please suggest a HOSTING COMPANY for ASP.NET
Posted by HK at 4/12/2005 12:00:00 AM
I need hosting for quite a few sites, with just IP addresses (I don't need to register domain names), for testing some ASP.NET applications remotely. Anyone have a suggestion on a decent hosting company offering cheap pricing (e.g. $10 or $15 / month, maybe $20) and reasonable service? ...more >>

POP3 Service
Posted by PhatCat at 4/12/2005 12:00:00 AM
Hi. I need to create an application (service) that will be active in the background all the time and receive mail. I can't use Microsoft Exchange Server, I have to make my own. Only problem is that I have no idea how to do it. Does someone know where could I find some examples or how to do it...more >>

Visual Basic.Net Permission
Posted by A P at 4/12/2005 12:00:00 AM
Hi! I am planning to deploy MS Visual Basic .NET 2003 to my developers but I want to control them by not giving them an administrative permission to their computer. For now, I am currently using user account with Administrative priviledge but if I will allow user to work on to their computer ...more >>

asp.net using oracle collection types
Posted by efinney at 4/12/2005 12:00:00 AM
Hi, Has anyone had any luck using asp.net with an oracle database specifically calling stored procedures that return collection types of a user defined type or simply a varchar2 data type? What driver did you use? What hurdles did you have to over come? References to sample code is be ap...more >>

Programmatically clear the action method in a form
Posted by John at 4/12/2005 12:00:00 AM
Hi all, After one of my user controls does either a server.transfer or response.redirect, the action method in a my resulting html form is being set and any request variables changed at the client are not being reflected upon posting. How can I get rid of this? Can I somehow programmtically...more >>

Datagrid/Mozilla
Posted by Simon Abolnar at 4/12/2005 12:00:00 AM
I have datagrid with button column on my web page. I use ItemDataBound to disable some buttons on evaluation. Everything works OK in IE. In Mozilla Firefox buttons are not disabled. Any suggestions? Thanks for help! Simon ...more >>

Using frames
Posted by David Dvali at 4/12/2005 12:00:00 AM
Hello. I'm interesting how can I use frames in my ASP.NET application. For example: I have two frames, one for the menu and one for the main area. Is it possible to access the elements and controls from one frame to another? Thank you. ...more >>

how can i call IE print preview function after i press asp:button?
Posted by Alan Ho at 4/12/2005 12:00:00 AM
thx ...more >>

Regular expression
Posted by PawelR at 4/12/2005 12:00:00 AM
Hello everybody, I have problem with regular expression. I want "code" telephon number and I have two types number: 1) [xx] [xxx xxx xxx] or 2) [xx] ([xx] or [xxx]) [xxx xx xx] where x - is digital Maybe someone know where is simple description regular expression - for complitly beginner. ...more >>

Changing controls after event fires.
Posted by Adrian Parker at 4/12/2005 12:00:00 AM
At postback time, the controls are all recreated before an event fires. If the event determines that some of the controls need to be replaced with different controls that you can't create as invisible beforehand, how do you go about it ? Can you force a re-run of the control creation step ? ...more >>

MS VS does not recognize some html stuff.
Posted by Qwert at 4/12/2005 12:00:00 AM
Hello, why is it that MS Visual Studio (Microsoft Development Environment 2002 version 7.0.) does not recognize some html tags like: 'onmousemove' in <img name="MyImage" src="test.bmp" onmousemove="MyJavascriptFunction()" > or: 'alt' in <AREA SHAPE=RECT COORDS="0,0,50,50" HREF="Index...more >>

Label generated in code at exact position
Posted by gce at 4/12/2005 12:00:00 AM
I like to declare my label in the code : dim lblTotaal as new label And then I like to place it on an exact position. When I type the following in the HTML part it works, but I like to have my code do the trick. Please help <asp:Label id="lblTotaal" style="Z-INDEX: 103; LEFT: 500px; POSITION...more >>

behavior.htc
Posted by Joseph Byrns at 4/12/2005 12:00:00 AM
I am using the behavior.htc method to access a WebService. This works fine, but when I first launch the page using the behaviour I get the error message: This page is accessing information that is not under its control. This poses a security risk. Is there any way to get rid of this err...more >>


DevelopmentNow Blog