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 > february 2006 > threads for monday february 13

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

The Ellipsis (.) Character Is Not Showing Up When Read From A Text File
Posted by Nathan Sokalski at 2/13/2006 11:37:58 PM
I have a page which reads the the first line of every *.txt file in a certain directory of mine to use as the Text property of a HyperLink Control. However, in one of my recently added text files in the directory it is using all but the ellipsis character (this is the last character in the l...more >>


Precompilation / excluding files
Posted by anon2005 NO[at]SPAM comcast.net at 2/13/2006 10:44:49 PM
Hi all, OK, I get the whole new compilation model in ASP.NET 2.0. I can see how it's better in team environments and overall, not requiring a project file is useful. The big snags I'm hitting: - First, I am using a large control suite in my application (Telerik's). The easy thing (as f...more >>

Obfuscating web apps
Posted by anon2005 NO[at]SPAM comcast.net at 2/13/2006 10:30:51 PM
Hi all, This is partly a question, partly looking for feedback. I've developed a web app that may be distributed to a few companies, and I'd like to obfuscate the code. I haven't tried this with a web app yet, let alone an ASP.NET 2.0 app. Right now I'm publishing my web app as non-updat...more >>

Help: Call another page
Posted by Progman at 2/13/2006 9:12:07 PM
Id like to call another aspx page from a script area from a procedure. the only way i found is: Me.Controls.Clear() Server.Execute("AnotherPage.aspx) Is there a better way? ...more >>

A new member- Testing to Development.
Posted by Ravimama at 2/13/2006 8:59:51 PM
Hello All, This is Ravi here. I have just joined this group. It seems very interesting and full of help and knowledge. I am very interested in learning ASP.net. I am currently learning VB.net. I am looking forward for guidance from you all in learning ASP.net. I am currently into testing and ...more >>

Trying to store items in the viewstate... wont work
Posted by Tarun Mistry at 2/13/2006 7:36:06 PM
Hi all, im attempting to use the ViewState instead of the hidden values normally used in procedural web development, however i cant seem to get anything to add into it or load correctly from it. I am trying to navigate through 4 stages of my script and saving data as i go along. Typically i...more >>

Writing image data to web page without additional ASPX file
Posted by Neo Geshel at 2/13/2006 7:29:05 PM
About 4 months ago I came across this one web page that talked about=20 streaming raw image data (from a database, for example) directly to a=20 web page without requiring a secondary ASPX page to output the data as=20 an image. I cannot remember if it talked about having the raw data inline w...more >>

REPOST: Gridview ImageButton causes double postback
Posted by Tim_Mac at 2/13/2006 6:09:31 PM
Hello,=20 this message was posted in december 2005 and Steven Cheng from MS = followed it up with me to a point, before the thread trailed off. http://groups.google.com/group/microsoft.public.dotnet.framework.aspnet/b= rowse_frm/thread/47281f5d53c14950 several other newsgroup users have sin...more >>



enable asp.net 2.0 on site
Posted by rvegas NO[at]SPAM rogers.com at 2/13/2006 6:06:35 PM
I have a shared IIS server running ASP.NET 1.1, and using a vbscript to add sites. All sites get added and use 1.1. After I installed 2.0, now I have two versions. And in IIS I have a new tab for each site to change the ASP.NET version. What I want to do is have all the old sites use 1.1, ...more >>

Online Calendar (Ajax'y) recommendation?
Posted by nospam NO[at]SPAM nospam.sss at 2/13/2006 5:45:00 PM
I would like to add a Calendar to my site. Something like airset.com is nice. It also needs to be open source so I can add to it. Any recommendation? John Dalberg...more >>

Can I use a dropDownList iwithin a Panel?
Posted by Frank at 2/13/2006 5:41:40 PM
Hello, I have some text boxes and 2 drop down lists (DDL) within a panel like so: Everything updates fine but the values from the DDLs are always the items selected by default. In other words, the items selected from the DDL do not show up....only the default selected items do. Any suggestio...more >>

How pass the datagrid controls to javascript function
Posted by RemaChenthil at 2/13/2006 5:00:18 PM
Hello, I have a datagrid which has textbox controls. In the save button (not in the datagrid) I have to do validation for these controls in DataGrid. My question is how to pass this control name to javascript and how to handle this in javascript. I'm trying in different ways which are not ...more >>

how compare object with string
Posted by c676228 at 2/13/2006 4:45:27 PM
Hi all, I have the code: If Session("Plan") = "Plan I" Then... I was just aware of that the Session("Plan") is an object, with String value "Plan I", but I don't know how to compare them and it never equals. I have tried to use Session("Plan").GetType.ToString.CompareTo("Plan I"), it always ...more >>

Really slow, painfullu slow asp.net web app
Posted by michael NO[at]SPAM randallk.com at 2/13/2006 4:36:05 PM
Hi, I am trying to write an ASP.NET web app, in Visual Basic.NET, using Visual Studio.NET 2004, .NET framework 1.1.4322 SP1 Running the project/app on localhost while in dev/write/debug stage When I say "trying", I do have it written, and it works ... sort of, for some cases. The problems/...more >>

Getting Connection String from Web.Config in ASP.NET Express
Posted by Mark at 2/13/2006 4:35:53 PM
I'm trying to get the frickin string out of the frickin config file (using VB), but foundation classes don't seem to match the documentation. Either I have this 30 line example where I walk a collection fished out from nine levels down or I have a C# example (Programming ASP.NET 2.0, Core Refer...more >>

Hyperlink Mouseover not working
Posted by mjryan NO[at]SPAM firstinsurancefunding.com at 2/13/2006 4:21:18 PM
Any idea why this code would not fire? btnMakePmt.Attributes.Add("onMouseOver", "this.src='img\\MakePmt_nav2_over.jpg'") btnMakePmt.Attributes.Add("onMouseOut", "this.src='img\\MakePmt_nav2.jpg'") I have two other Image buttons that this code works fine with. The btnMakePmt is an asp.net hyp...more >>

Data Binding - ASP 2.0
Posted by dm1608 at 2/13/2006 4:17:31 PM
I'm binding a column to a datagrid and would like to convert the column to uppercase. I notice that if I edit the GridView column, I can add formatting such as {0:d} and {0:c} to the data item. How can I convert this item to Uppercase? I suppose I could do it via SQL, but I want to know...more >>

Understanding OnPreRender and how to use it
Posted by Tarun Mistry at 2/13/2006 4:00:48 PM
Hi everyone. I have a usercontol that changes one of the ViewState variables, it does this when a button within it is pressed. I would like to alter the appearance of the page based on this view state variable, however i am told that the page has already been rendered at this point, what...more >>

POST text
Posted by Marina Limeira at 2/13/2006 3:58:21 PM
How to Post text to web-page news area frame ? Also download asp example? thanks Marina ...more >>

Sharing resources, practical? (webfarm)
Posted by Edwin Knoppert at 2/13/2006 3:35:44 PM
I wonder what would be better. Two ASP.NET applications sharing the same database or combine both applications as one application (1 directory)? We will write two applications but all the database and files stuff is located in a separate folder. This folder shall not belong to one of the ap...more >>

Verions of ASP.NET
Posted by itmanager at 2/13/2006 3:19:27 PM
What is the difference between the following versions of the .NET Framework? 1.1.4322.2032 1.1.4322.2300 We are running into a problem with our ASP.NET application using the later build of the .NET Framework that cannot be reproduced on the earlier version. I downloaded and installed SP1 ...more >>

treeview + dropdownlist + firefox = bad idea!!
Posted by Alex D. at 2/13/2006 3:14:12 PM
hey guys I found what is causing the problems with my treeview in Firefox...the answer is: treeview+dropdwonlist in the same page dont work! try this simple code and see for yourselves. you can do it using the IDE, just add a treeview and some nodes and add a dropdownlist..then see if your tr...more >>

Blocking files via. web.config
Posted by David at 2/13/2006 2:57:55 PM
I am installing apps on an asp.net 1.1 machine to which I have no access to the IIS configuration. I need to lock out the viewing of files types in a directory. As per info on the net, I added the following in the web.config. However, when I directly address the files via. www.testsite.com/te...more >>

DataGrid Functionality Questions
Posted by Phillip N Rounds at 2/13/2006 1:17:23 PM
I have a DataGrid in a web form (ASP1.1, C#, VS 2003) that I'm trying to add some functionality to, and I can't figure out how to do int. The existing DataGrid has several databound columns and a Template Columns, into which I put buttons. When the user clicks on the 'Do It' button, the s...more >>

Generate PDF and/or RTF file from the DataSet
Posted by Just D. at 2/13/2006 1:07:58 PM
All, Do we have some service/app/control to generate in our WebApplication the downloadable RTF/PDF file. The original data can be provided in the DataSet or DataView, plus some text like header, footer... Thanks, Just D. ...more >>

trouble with masterpages and link href
Posted by Carlo Marchesoni at 2/13/2006 1:07:27 PM
I have a very strange problem. Simply creating a Masterpage with nothing in it but the Content Area and then making a page that uses this masterpage and has a DataView Control, binds to a DataSet works ok. But as soon as I add: <link href="~/css/styles.css" rel="stylesheet" type="text/css"...more >>

How to pull dataset from SqlDataSource ASP 2.0
Posted by bcornett NO[at]SPAM alltel.net at 2/13/2006 1:05:20 PM
I am needing a way to extract a dataset from a sqldatsource. I am doing this to create a Generic Printing page. I will pass the dataset and an arraylist of grid_view propeties to this Generic Page to populate a generic grid_view. I have tried several approaches but to no avail. As from what ...more >>

Centralizing global variables and functions - good & simple method?
Posted by D. Shane Fowlkes at 2/13/2006 12:57:25 PM
I posted this on another forum, and as I feared, the response(s) were too complex and sophisticated. I certainly don't mind learning new methods, in fact, that's why I asked, but I was hoping to emphasize that needed to take small steps. The responses I received talked about Public Classes an...more >>

Arraylist only display last item
Posted by David Lozzi at 2/13/2006 12:51:09 PM
Hello, I have an arraylist that loads a checkboxlist. I populate the arraylist using a custom class and pulling the data from the web.config file. When the checkboxlist is loaded, only the last item in the list is displayed for each item, in other words, item #4 is displayed 4 times. My cod...more >>

text file read
Posted by CsharpGuy at 2/13/2006 12:40:06 PM
I have to read a text file and parse it out to load to a db and I'm having some issues in doing it. here is what the text file looks like Dealership number: 98665362236 Location: Maryland Owner: John Smith Type: Luxury BMW, 325i, VIN12363625252362, New,, 20051212. 35400, Ocoonner Lexu...more >>

testing an asp.net page
Posted by Sridhar at 2/13/2006 12:38:51 PM
Hi, I have created an asp.net webform which displays data from a database. Now I need to test the performance of this webform. I want to see how fast the data will be shown if we have like 50 users viewing the page at the same time. I am using VS.NET 2003. Please let me know how I could ...more >>

anonynousIdentification and WebPartManager
Posted by Bill Mild at 2/13/2006 12:37:40 PM
Has anyone gotten the new Portal Framework in ASP.NET 2.0 to work in conjunction with <anonymousIdentification enabled="true />? I get this error... Personalization is not enabled and/or modifiable. The Enabled property must be set to true, and a registered personalization provider must be...more >>

How to influence who the User is
Posted by WhiskyRomeo at 2/13/2006 12:37:09 PM
I have an ASP.NET application that was ported from a server where IIS, the database (SQL Server 2000) and web application were on the same server. The new server is a Windows 2003 (Webserver edition) and the database server is a Windows 2003 (SMB edition) (also SQL Server 2000). The ap...more >>

session_start not firing . . .
Posted by Joe Befumo at 2/13/2006 12:17:46 PM
I'm workinbg in Visual Studio 2003. I'm experimenting with creating a session variable, and from all I can gather. the Session_Start event is not firing. In Global.asx.vb, in the Session Start event, I have the following: Sub Session_Start(ByVal sender As Object, ByVal e As EventArgs) ...more >>

Internet Explorer Developer Toolbar
Posted by Trevor Benedict R at 2/13/2006 11:26:26 AM
http://www.microsoft.com/downloads/details.aspx?familyid=E59C3964-672D-4511-BB3E-2D5E1DB91038&displaylang=en Useful tool. Thanks to MS Regards, Trevor Benedict R MCSD ...more >>

Word template to be filled by the server in aspnet
Posted by sweetpotatop NO[at]SPAM yahoo.com at 2/13/2006 11:07:30 AM
Hello, I wonder how I can populate the fields of a Word template in asp.net. Please note that data will be coming from a DB on the server. Thanks in advance. ...more >>

Control properties with entity references declared in ASPX get converted to character values
Posted by jesl NO[at]SPAM lundbeck.com at 2/13/2006 10:51:40 AM
Group, I have created a User Control with the property "Html" of type string. If I declare this control on an ASPX page with the value "<b>This is an entity: &lt;</b>" for the property "Html", the ASP.NET parser seems to automatically convert the entity reference "&lt;" to it's corresponding ...more >>

YellowPages.com opportunity
Posted by stacia.ledbetter NO[at]SPAM gmail.com at 2/13/2006 10:00:05 AM
Hi there - YellowPages.com is networking for a ASP.net C# Developer for their Pasadena location. The job description is posted below. Use the link at the bottom to inquire for yourself or forward the job to a qualified friend. Thanks! ASP.net C# Developer - Pasadena Do you want ...more >>

Animated Processing
Posted by Fao, Sean at 2/13/2006 9:52:49 AM
I'm trying to show an animated image temporarily while the web server is processing a long request. I attempted to use a combination of CSS styles and JavaScript to temporarily hide or show only appropriate portions of the page (e.g. hide the data and show an animated "processing" image whi...more >>

asp.net script failed to execute
Posted by Alex D. at 2/13/2006 9:10:02 AM
Hi guys. this post is related to one from last week but now I have some more info. I am using a treeview in my app, for some reason the treeview is not working ok in firefox-mozilla, but is working good in IE. Problem is that the following javascript code that is inserted at the ende of my pag...more >>

Q: sending SMS
Posted by JIM.H. at 2/13/2006 8:51:24 AM
Hello, I need to implement SMS to mobiles phones in my ASP.Net application, where can I start for this. Any help will greatly be appreciated. ...more >>

Menu Control
Posted by Joey at 2/13/2006 8:43:53 AM
Does anyone know how to hide/show parent items in the new asp.net 2.0 menu control that comes with Visual Studio 2005? I want to be able to show/hide an admin menu based upon whether the user in an admin role, etc...I have not been able to get a ".Visible" property for them either though the des...more >>

Styles (or skins) and DropDownLists
Posted by Neil at 2/13/2006 8:40:10 AM
Is it possible to apply a style to a DropDownList? In order that all my controls have a consistent look and feel I have been using classes in a style sheet. Try as hard as I might I cannot get a border color change applied by the style. The relevant section of the stylesheet is below: ..Dat...more >>

.NET 2.0 Grid View Control and the hyperlinkfield column
Posted by Evian Spring at 2/13/2006 7:37:03 AM
Hi, I am using the new gridview control in .NET 2.0. I would like to perform an action in the code behind when the user clicks one of the hyperlink in the columns. Is there an event I can do this in before the framework redirects to the link? asp:hyperlinkfield I put temporary co...more >>

Setting controls.Visible = False still takes up space
Posted by Lee at 2/13/2006 7:16:11 AM
Hello all, Let's assume that I have a GridView inside of a panel. No records, are available for the grid, but the same amount of space is taken up on the page. Is there a way to ensure that when a panel or similar is set to visible=false that the space it takes up is "re-claimed"? ...more >>

Calling .NET web service functions via HTTP GET/POST
Posted by Ron Peleg, Creo at 2/13/2006 5:21:59 AM
Hi, I know you can call the WS methods using HTTP GET/POST, simply by providing the method name in the URL and appending the parameters as the method requires. However, we would like to use this call method to invoke the Beginxxx/Endxxx functions that are generated for each method. Is this ...more >>

Q: web services
Posted by JIM.H. at 2/13/2006 5:09:29 AM
Hello, I have an asp.net application developed by someone else and it seems it interacts with database through web services. What is the benefit of this? Any idea? Thanks, ...more >>

Using Session variable in ASP.NET page
Posted by Stimp at 2/13/2006 4:30:58 AM
When a user logs into my site, I create a cookie with their UserID, but I wish to also create a Session variable to track their "UserType". I do this as follows: Session("UserType") = "admin" (or whatever value I give the usertype) I use this session variable to output a user-specific ...more >>

Raising Exceptions in HttpApplication.Init
Posted by Urs Eichmann at 2/13/2006 3:02:48 AM
Upon startup of my ASP.NET 2.0 application, I check if the application configuration is in an acceptable state inside an override of HttpApplication.Init(). If not, I raise an exception from this method. Everything fine so far. But I noticed that, the next time the application gets called, t...more >>

Is there a client-side OnLeave event for a page?
Posted by Ben Fidge at 2/13/2006 2:33:08 AM
Our customers want to pop-up a small survey when their users have finished browsing their site. To the best of my knowledge, I don't think this is even possible. Can anyone confirm this or, better still, prove me wrong with some sample code? ;-p Thanks Ben...more >>

sql session state for .net v1.1/.net v2.0 and sql server 2005
Posted by scottrm at 2/13/2006 2:01:27 AM
We are upgrading to a new server which has SQL 2005 (previously we had SQL 2000) and I wish to do the necessary set up to enable SQL Session state for asp.net applications. Currently we are running .Net 1.1 applications but in future we will also be running .Net v2.0 applications. I am a bit ...more >>

dropdownlist multiple selection problem
Posted by ads at 2/13/2006 1:45:27 AM
hi, after binding the dropdownlist to a datasource, ive experience this error "Cannot have multiple items selected in a dropdownlist" after using the code: dropdownlist.items.findbyvalue("value").selected = true I didnt specify any selected item in the dropdownlist during binding to the data...more >>

Prevent treeview control from reinitialising on master page for page redirects
Posted by damiensawyer NO[at]SPAM yahoo.com.au at 2/13/2006 12:52:03 AM
Hello all, I'm wondering if someone can help me with an issue. I have a master page that has a treeview control on it (inside an ascx file). Also on the master page I have a content placeholder which contains the various pages of my application. I wish to have the treeview control displa...more >>

Trouble with Table borders
Posted by ThePinkPanther at 2/13/2006 12:40:29 AM
Hello I seem to have a re-occuring problem with tables. Every tiime i create a new table in my code (Table x = new Table();) it creates in the final code the browser gets the attribute 'border="0"'.(i prefer putting my styles in a seprate css file) Doesnt matter what i do, Table.Attributes.Cl...more >>

Deployment problem... advise?
Posted by Nestor at 2/13/2006 12:00:00 AM
I'm stumped with this. I think I probably missed out something really simple but here's my problem. I have a really simple web application which has been working well. Recently I added some validator on some textboxes and redeploy the entire web app into the remote server using Project Copy...more >>

Profile question
Posted by RedHair at 2/13/2006 12:00:00 AM
If the Profile provider is db, since ASP.NET will create profile class to append to HttpContext object for each request , it means there is a db access for each request? if so, does it cause performance issue? Thanks ...more >>

How to create Profile,Membership and Role provider with SQL2000/2005
Posted by RedHair at 2/13/2006 12:00:00 AM
How to create Profile,Membership and Role provider with SQL2000/2005 thanks. ...more >>

ASPX and Search Engines
Posted by niel at 2/13/2006 12:00:00 AM
With .aspx pages are there fields to enter the equivalent of meta tags and meta descriptions that get picked up by the search engines. If so how do we do this for each page in our web site? Thanks in advance ...more >>


DevelopmentNow Blog