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 > july 2004 > threads for tuesday july 27

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

http links
Posted by ae at 7/27/2004 11:45:06 PM
what is the best way to create a link? I thought the following would work, but doesn't. Response.Redirect("http://www.yahoo.com"); it doesn't have to be a ReDirect either, it can simply be a Go To address...more >>

Align to bottom
Posted by Thomas Scheiderich at 7/27/2004 10:50:40 PM
Is there a way to make a section of a <td> tag to go to the bottom of the cell? Below is a portion of my page. The <td class="BodyText"> tag has a "vertical-align:top" in the css file to move the data to the top of the page. I would like to take the section below the repeater (label and ra...more >>

Out of Memory exception while retrieving data
Posted by PVV30 at 7/27/2004 10:23:01 PM
Hi, I am currently involved in development of customer database. This database contains around 150,000 records. We have a search screen where users may search customers. However when search to retriev all records is fired, we recieve out of memory exception. When we verified the server resources,...more >>

Can i have a Row Counter in a Bounded DataGrid?
Posted by RSB at 7/27/2004 8:12:51 PM
Hi I Want to Bind the DataGrid with the Collection i have and want to display a RowCounter 1,2,3,4,... in the First Column.. how to Do this?? Does Datagrid Provides any property etc.etc.?? Thank You RSB ...more >>

Dynamic LinkButton Control
Posted by RSB at 7/27/2004 7:58:31 PM
Hi Everyone, I have a collection of items and i am generating a Dynamic Table based on this Collection and i am also adding a Remove Linkbutton at the End for Each Row. I have created a function called GenerateList and i call this in the OnPreRender Now every thing is fine but i am not able...more >>

Forms Auth and HttpWebRequest credential -- How?
Posted by TK at 7/27/2004 6:22:15 PM
I have a trouble to get web resopnse from an aspx page which is secured by Forms Authentication with custom user account database. My client application is a console application but not a browser. I want to download a file from my webapplication. I've learned that the NetworkCredential class giv...more >>

Problem Oppening a web project with VS2003
Posted by Cecilio at 7/27/2004 6:21:24 PM
Hello to everybody and sorry for my english. I have VS2003 installed on a XP Prof with IIS 5.1 running, but when i try to open an ASP.NET project VS shows this error message: "VS .Net has detected that web server is not running ASP NET version 1.1. You can´t run web application or ASP we...more >>

create frameset in asp.net
Posted by Frank at 7/27/2004 6:02:02 PM
We have a web application that will use frameset. Can anybody give me suggestion how to do frameset in asp.net? I know it's a dumb design but as a programmer I don't have choice. Thanks...more >>



dataset to RTF format in browser and then javascript print
Posted by Richard at 7/27/2004 5:12:48 PM
in a previous aspx page i got a few records printed throu window.print() function in javascript. but now i have the records in a to RTF and i want to run the same function print, which ofcourse wont work since the page isnt HTML anymore. Is there some other way to print automaticly. i used...more >>

Server.HTMLEncode
Posted by Mark Rae at 7/27/2004 4:57:02 PM
Hi, The following is lifted straight from the MSDN help topic for HttpServerUtility.HtmlEncode Method [C#] --------------------------------------------------------------- The following example encodes a string for transmission by HTTP. It encodes the string named TestString, which contains...more >>

add - remove components in web app
Posted by CMA at 7/27/2004 4:53:18 PM
hi all, is there a way to add remove components (say a set of pages) after deployment without effecting to the users. I mean without restarting the application. say I need to modify one page and include in to the application. any idea? regards, Charith ...more >>

how to make a download link.
Posted by Asha at 7/27/2004 4:53:08 PM
greetings, how is this done? thanks in advance for your help...more >>

ASP.NET - multiple applications sharing pages/ controls
Posted by Shikari Shambu at 7/27/2004 3:50:28 PM
Hi All, I have a situation where multiple applications are sharing some pages/ controls. So, I have a separate common project that has the common pages/ controls. My question is how do I reference these pages/ controls from my ASP.NET web projects WEbApp1 url http://localhost/app1 C:...more >>

How to open Popup from hyperlink and not show toolbars, favorits, etc
Posted by moondaddy at 7/27/2004 3:12:15 PM
I want to open a popup from a hyperlink on an aspx page and show it just as a small information window with a message in it. I don't want any toolbars, or favorites window (if the user had their favorites open). how can I do this with out making the aspx page do a post back. -- moondaddy@no...more >>

Modal window and the return value
Posted by romax2 NO[at]SPAM yahoo.com at 7/27/2004 1:41:10 PM
I am using a modal window and an iFrame to try and pull a return value back. I am doing this across domains. I have the value returned from the modal window to the iFrame window but I can not get the value returned to the parent window. The alert in the parent window always returns undefined...more >>

Clean up event handlers?
Posted by Norton at 7/27/2004 1:25:32 PM
If I add an event handler in my asp.net page in Page_Load like this: top_header h = ((top_header)FindControl("Header1")); h.myEventHandler += new header.GiveMeNewDataEventHandler(this.OnGetNewData); is there a reason to ever clean up after myself on this? For example, this code will be call...more >>

Another Multiple Control error
Posted by Mike Smith at 7/27/2004 1:16:42 PM
I am attempting to create a dynamic multi-level tab strip from a database using linkbuttons. I can get the controls added to the page on the first page load, but on post back I get the mutiple control error. I have read other postings, but none seem to give the right answer for my case. ...more >>

Dynamic Rows and Colors
Posted by Randy Rubin at 7/27/2004 1:02:13 PM
What I am trying to do is Change the color of a row from a value that is in a Database using the ItemStyle-BackColor Property. The value in the DB is the color name. I keep getting a number of errors: BC30676: 'DataBinding' is not an event of 'System.Web.UI.WebControls.BoundColumn' Or Li...more >>

Printing Labels
Posted by Nick at 7/27/2004 12:45:11 PM
Hi, I'm converting an existing VB/Access app into an ASP.Net Intranet app. Most of the conversion is pretty straight forward - except the printing! The old app prints mailing labels on Avery stationary - but I can't see how I can replicate this from the ASP... Any ideas on how to do this? C...more >>

What's the difference in....
Posted by Goober at christianDOTnet at 7/27/2004 12:32:59 PM
response.redirect and server.transfer? I am on a single production server in an application that is both asp.net and traditional ASP code. In some of the code (that I didn't author), there are some server.transfers in which some querystrings are passed along to the new .aspx file. If they...more >>

Loop a list (contain multiple list)
Posted by author at 7/27/2004 12:02:41 PM
How can I do the below classic ASP in .NET ?? - I have tried using a repeater, but can only get one long list, in my ex. I need a list (contains 3 list) TIA --- Some data for the recordset... -- groupID, item 1, item 1 1, item 2 1, item 3 2, item 4 2, item 5 3, item 6 -- <...more >>

Array of literals or better?
Posted by Duncan Welch at 7/27/2004 11:58:57 AM
Hi, I've got a web page that requires a value pulled from a strongly typed dataset to be displayed 7 or 8 times. Does anyone have any opinion on the best way to do this? It seems stupid to use 8 <asp:literal> page elements.... Thanks in advance, Duncan ...more >>

Datagrid and datareader
Posted by Bart Schelkens at 7/27/2004 11:42:20 AM
Hi, I have 2 more questions : 1. Can I fill a datagrid by using a DataReader or does it have to be a DataSet or a DataView? 2. In my datagrid I need to display two images and one of does images has te be a link to a new page. How would you do that ? Thanks. ...more >>

Jump back problem with Sub's
Posted by Steffen Loringer at 7/27/2004 11:37:05 AM
Hi guys, I found something really suprising me in my ASP.NET page. My code consists of three Sub's - Public Sub A (); Private Sub B (ByRef x As Integer) and Public Sub C (). I'm calling Sub B in Sub A and also in Sub C! But if I call it from C the execution returns to the call in A instea...more >>

Customized web pages
Posted by xs at 7/27/2004 11:36:17 AM
Hi, I would like to create a web page where the user is able to customize according to his/her needs like what Yahoo is doing. For example, I may have a create new customer page and a seperate delete customer page. But some users may want to have both of these pages in a single page. May I kno...more >>

FormsAuthentication.Encrypt and SSL
Posted by Gawel at 7/27/2004 11:05:45 AM
Hajo, in book about security in ASP.NET I read that if I use Form authentication and need to make its data secure then I need to use SSL for all pages, not only for e.g. login page. It is interesting because form ticket is encrypted with FormsAuthentication.Encrypt and it seems that there is no...more >>

Treeview Question
Posted by Bart Schelkens at 7/27/2004 10:37:22 AM
Hi, i'm using the treeview from the Microsoft.Web.UI.Webcontrols.Treeview. It works fine. But my problem is that I don't get scrollbars if my treeview is too long or too wide for my frame. What can I do about this? Thx. ...more >>

UNC Path Problem
Posted by G. Dean Blake at 7/27/2004 10:04:38 AM
I have a UNC path that points to a shared directory on another Windows XP computer. The UNC is \\mylaptop\c\shareddir. This UNC works if I put it into my i.e. browser so I know it's a good link. But when I execute the following code.... Dim rootdi As DirectoryInfo = New DirectoryI...more >>

dynamic controls - disapear after postback
Posted by Chris Thunell at 7/27/2004 9:49:16 AM
I have created several grids dynamically and have added them to different HTML placeholders on a vb.net web form. The grids and controls within them come up and view beautifully when the web page first starts, but when I click on a button, and the page comes back, my dynamically created grid an...more >>

Certification
Posted by Mocho at 7/27/2004 9:49:03 AM
I want to get Microsoft Certified. Where is the best place to start?...more >>

setting to release mode
Posted by G. Dean Blake at 7/27/2004 9:38:34 AM
The docs I have address two ways to set a .net web project to release mode: - set to Release in vs.net dropdown - set debug=false in the web.config Why two ways? What's the dif? Are both required? What does each do? TIA, G ...more >>

Problem looping through listbox to delete item
Posted by VB Programmer at 7/27/2004 9:27:19 AM
Here's the code: For Each li As ListItem In Me.lstAssignedEmailAddresses.Items If li.Selected = True Then Me.lstAssignedEmailAddresses.Items.Remove(li) End If Next When I remove an item I get this error: System....more >>

ViewState Problem...PLEASE HELP!
Posted by Moshfegh Hamedani at 7/27/2004 9:15:20 AM
Hi there, I have a simple web page containing a text box and a button. I set the EnableViewState property of the text box to false. So, I expect that when I type some text in the text box and hit the button, the text is not set to the Text property of the text box after the page is posted back...more >>

error Handles clause requires a WithEvents variable.
Posted by Moe Sizlak at 7/27/2004 8:15:47 AM
Hi, I am trying to create an custom event to fill an image control, I keep getting the error "Handles clause requires a WithEvents variable." What am I missing? Moe Private Sub dg_details_ItemCreated(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.DataGridItemEventArgs) Ha...more >>

Can BackImageUrl cause a double hop?
Posted by Jim Corey at 7/27/2004 8:13:55 AM
We have a BigIP F5 switch as the load balancer for two servers. I'm using Windows Authentication on an intranet. When I'm in the application and refresh the screen, I get prompted for a network login (this is the only time this happens). I believe that the offending code is an ASP.NET panel...more >>

Code disappearing from InitializeComponent in VS 2003
Posted by winshent-google NO[at]SPAM yahoo.co.uk at 7/27/2004 7:59:19 AM
I have read many threads which indicate that this was a problem with version 2002. Why should i be suffering this? I am using VB.NET 2003 Standard Edition... is it still a problem with 2003? I have used the wizards to generate the connection and adapter, which generates the code in 'Initi...more >>

Generating dynamic form elements "<asp:button ..."
Posted by Venus at 7/27/2004 6:00:22 AM
Hello, I am trying to generate a dynamic form at runtime and would like to do it using "<asp: ..." form elements as follows Build up the string that is placed somewhere in the HTML code the same way like regular input fields can. strForm = "<form name=""myForm"" runat=""server"">" & vbCrL...more >>

Reset datagrid
Posted by Lee Price at 7/27/2004 4:33:03 AM
Hi all, I have a bound datagrid which is filled with data and displayed.Now on the click of a button I need to refill the datagrid with new data but the problem is the datagrid mixes up the new data with the old data. I have stored the data in a session variable which seems to get up...more >>


DevelopmentNow Blog