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 > march 2005 > threads for friday march 25

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

newbie - datagrids
Posted by james at 3/25/2005 9:47:59 PM
Hi im new to .net (have been using asp 4 a few years). I am looking at building a page to display a set of records from a db however i want to format the data in a diferent way to what i seem to be able to do with a data grid. I want to render each record in its own table. ( an example of w...more >>


Help with an Xsl Transormation
Posted by George Durzi at 3/25/2005 5:21:22 PM
Hi! Can someone help me out with an Xsl transformation? How can I get the following Html, using the Xml below? The challenge I'm having here is selecting the unique "KeyDemoValueCW"s, and them enumerating "KeyDemoCategory", "KeyDemoValueCW", "KeyDemoValueLW", within the unique "KeyDemoValueCW...more >>

Random record each day
Posted by Pete via DotNetMonster.com at 3/25/2005 5:06:38 PM
Hi, I need to display a different random record or link each day. I have the random part working so that if the browser is refreshed a new record will display. I'm not sure however how to specify that it only happens once a day. This is the select statement I'm using to generate a random recor...more >>

asp:repeater and hashtable - also in languages.csharp
Posted by Joe Fawcett at 3/25/2005 4:17:06 PM
Sorry about the multi post, I thought I'd sent to both groups simultaneously but somehow it failed to find this one the first time. I'm having a problem binding an asp:repeater control to a Hashtable. Originally my code was: <asp:Repeater id="rptFamily" runat="server" DataSource="<%# family...more >>

CLR Profiler....
Posted by Carl San at 3/25/2005 4:13:09 PM
I am using .Net Framework 1.1. How to launch CLR Profiler? Thanks, Carl ...more >>

Adding script block to <head>
Posted by jsh02_nova at 3/25/2005 3:44:21 PM
Anybody know how to add a script block to the html <head> section programmatically without using the 'RegisterScriptBlock' functions? -- thx -jsh ...more >>

asp.netÈçºÎ°ÑSQLÊý¾Ý¿âͼÏñÊý¾ÝÖ±½Ó·ÅÈëÖ¸¶¨µÄImageͼÏñ¿Ø¼þ
Posted by xkw at 3/25/2005 2:54:53 PM
¸÷λ¸ßÊÖ£º asp.netÈçºÎ°ÑSQLÊý¾Ý¿âͼÏñÊý¾ÝÖ±½Ó·ÅÈëÖ¸¶¨µÄImageͼÏñ¿Ø¼þ£¬ÒòΪÔÚ·þÎñÆ÷´´½¨Í¼ÏñÎļþÊܵ½ÏÞÖÆ¡£Ð»Ð»£¡ ...more >>

Get image from Clipboard
Posted by Matthew Hood at 3/25/2005 2:32:42 PM
I'm working on extending a bug tracking website and would like to be able to get an image from the client's clipboard to store in an SQL database. I already have all the options to upload the file inplace, but now my boss wants to be able to take a screen-shot and click a button on the the we...more >>



need some direction, how do you create a collection that supports the following:
Posted by dx at 3/25/2005 1:49:31 PM
I'd appreciate some ideas or direction with a collection issue. I need to create a custom collection that inherits ICollection, IEnumberable (need to be able to access by key, index and be able to enumerate) and this is the kicker...should be able to define the location (index) when inserting...more >>

I need some direction, how to create a collection that allows the following:
Posted by dx at 3/25/2005 1:48:09 PM
I'd appreciate some ideas or direction with a collection issue. I need to create a custom collection that inherits ICollection, IEnumberable (need to be able to access by key, index and be able to enumerate) and this is the kicker...should be able to define the location (index) when inserting...more >>

Move bound column to right of dynamic column in datagrid?
Posted by John E. at 3/25/2005 1:36:58 PM
I have a datatable that I am binding to a C# ASP.NET 1.1 web page datagrid. I also want to put an "Edit" column on the datagrid. However, whenever I use the following code, it puts the Edit column on the left. I cannot figure out how to get it to the right, as there is no DataGridTableStyle fo...more >>

TextBox.Text Problem
Posted by TCORDON at 3/25/2005 1:23:11 PM
I am loading a form and filling in some TextBox's with values from a session var. This is used to update some information. On form load let's say I give TextBox1.Text = "54000" After that I change the value on the web page to, let's say: 54000 Then I click the update button that goes to t...more >>

Create ASP.NET web application in the Default Web Site
Posted by Pranab at 3/25/2005 1:21:02 PM
On my local sandbox , in IIS I created some Websites . Now when I try to create a ASP.NET web application , it tries to create it in the website last created and fails . But my requirement is to create it in the Default We Site mapped to C:\Inetpub\wwwroot Can anybody guide me how to ...more >>

Problem binding data to datalist
Posted by Laura K at 3/25/2005 1:06:11 PM
Can someone tell me where I went wrong. This is my code for binding data to a datalist. <script language="vb"> Sub Page_Load(Src As Object, e As EventArgs) Dim Con As New SqlConnection("server=(PathToDataBase)"; & "database=name;User ID=UID;Password=password") Dim myCommand As New Sql...more >>

how to convert httpPostedFile to and Drawing.Image (save a thumbnail)
Posted by NATO24 at 3/25/2005 12:34:52 PM
Hello, I am trying to write a sub routine that I can pass a posted (image) file to. That routine will save the original file, then create a thumbnail and save it. When I try to create the image with the posted file, I get an error saying file type HttpPostedFile cannot be converted to an ...more >>

Url Rewriting: How to handle no file name?
Posted by Serg at 3/25/2005 12:25:08 PM
I can't add .* to ISS mappings, so how do I handle the situation when the url looks something like this: http://MyUrl/2004/10/23 I could require the users to type http://MyUrl/2004/10/23/index.toc, but I prefer not to. There must be a way to set this in IIS? Thanks for help - Sergey...more >>

Impersonation and Session_End()
Posted by Steven Padfield via .NET 247 at 3/25/2005 11:31:52 AM
I have impersonation set to true in my web.config file, but Session_End() executes under the ASPNET identity. Is there any way to re-impersonate the identity used by the application (e.g. "IUSR_xxx") from within Session_End()? Thanks -------------------------------- From: Steven Padfield ...more >>

Link Button Question
Posted by Manny Chohan at 3/25/2005 11:23:02 AM
Hi, I have a linkbutton inside datalist whose visibility is controlled by variable declared on Page.Init method. It appears fine. I need to add on click attributes to confirm user to delete file. However i cant seem to get it done. I used Itemdatabound for datalist and still didnt work. He...more >>

virus scanning uploaded files
Posted by Brian Henry at 3/25/2005 11:02:11 AM
does anyone know of a SDK or information with Symantec Anti-Virus (Norton) corporate edition that can be used on a server with the scanner installed to scan files that are uploaded through the net before being placed into a SQL Database? kind of like all the web mail services do now when you u...more >>

Hiding URL in IE status bar
Posted by JeffB at 3/25/2005 10:51:02 AM
I have a Web application that allows users to search a document store and then displays a results set that includes a link to the document. Is it possible to not display the documents complete URL path in the status bar?...more >>

Caching problems in IE
Posted by tshad at 3/25/2005 10:40:09 AM
How do we handle Caching in IE? It seems that my system works fine in Mozilla and Netscape when I make changes. But in IE the changes are not brought across when someone has been to the site before. If they have been here before and hit the same page, the old page is rendered which will...more >>

Iam back again with ASP.NET grid controls... intersoft vs devexpress
Posted by Jéjé at 3/25/2005 10:25:38 AM
Hi, I continue too looking for grid webcontrols and I have found 2 good products: * WebGrid.NET from Intersoft (www.Intersoftpt.com) * DevExpress ASPxGrid (www.devexpress.com) these 2 products provide client side grouping, sorting, column resizing, easy editing etc... The DevExpress p...more >>

Button Click Event into dynamic UserControl
Posted by prollo NO[at]SPAM libero.it at 3/25/2005 9:35:48 AM
HI, I've a asp.net application that add a dynamic usercontrol with a button. If i've tried to click it Click Event don't load. But into a static usercontrol it's happens. Anyone can help me?...more >>

OutputCache with Page not working propely
Posted by Sudhir Sharma at 3/25/2005 9:35:44 AM
guys, I have this code in my .aspx file. <%@ OutputCache Duration="500" VaryByCustom="OrganizationID" VaryByParam="None" %> and I have overriden the method "GetVaryByCustonString()" in my global.asax.cs file. whenever the organization is changed for the Page, it should invalidate the Cach...more >>

Delete XML Files
Posted by Manny Chohan at 3/25/2005 9:29:02 AM
Hi Guys, Can someone please suggest how i can delete XML file? I used File.Delete method however it only deleted the nodes inside the file but the file still exists? Thanks Manny...more >>

IFRAME reference in code-behind?
Posted by Andreas Heusler at 3/25/2005 9:20:51 AM
Is it possible, in code-behind, to get a handle to an IFRAME on an aspx page, so the IFRAME's src property can be set by server-side code? Thanks AH ...more >>

At wit's end...
Posted by Roy at 3/25/2005 8:08:19 AM
Hey all, Have a nested datagrid with paging enabled. The nested portion is a user control in the last column of the datagrid. The user control column passes two variables, which is how the user control knows which data to display. Simple really. What happens is the first page of the datagri...more >>

Expire Page
Posted by TCORDON at 3/25/2005 7:29:00 AM
How can I expire a page so if a user click back for example the page shows message "This Page has expired" or better yet a peronalized "Page expired" page. TIA! ...more >>

Deploying ASP.NET application
Posted by jwk at 3/25/2005 7:27:02 AM
I have built my project using a "deployment project" - I've added all the correct Merge Modules as well as Primary Output and Content Files from 'Project Outputs' ; but the aspx pages still refer to dll's which are not separately included in the build (ie they are CrystalReports dll's which I ...more >>

Page Error ASP/ASP.NET
Posted by James at 3/25/2005 6:27:07 AM
After installing .net framework on our Intranet, when I try to pull up a page to test the page, I get this message: HTTP Error 403 403.1 Forbidden: Execute Access Forbidden This error can be caused if you try to execute a CGI, ISAPI, or other executable program from a directory that doe...more >>

[ASP.net / C#] Checkbox Checked Always false
Posted by Eric via .NET 247 at 3/25/2005 3:25:04 AM
Hello, I'm dynamicly filling a table with checkboxes, doing this: ... CheckBox chkBox = new CheckBox(); chkBox.ID = "chk" + i.ToString(); chkBox.AutoPostBack=true; ... As you can see I create Checkboxes with ID's like: chk0, chk1, chk2 etc. When I select one (or more) checkboxes the ...more >>

Ways to get the List of Countries and Cities
Posted by David Freeman at 3/25/2005 12:00:00 AM
Hi There! I'm trying to create a User Registration page in ASP.NET and wondering what is the best way to get the list of up-to-date Countries and Cities? Are there any Web Services on the web that I can use to retrieve such information? If not, what are the options? Please, any suggestio...more >>

New window from dropdown list
Posted by Jeff via DotNetMonster.com at 3/25/2005 12:00:00 AM
Hi, I'm trying to open a new window to bring up an external link once a value is selected from a drop down list. I'm trying the following but I get the error: 'If' must end with a matching 'End If' Sub State_SelectedIndexChanged(sender As Object, e As EventArgs) If State.Selec...more >>

Sending Email
Posted by Arsalan at 3/25/2005 12:00:00 AM
How do I use ASP.NET to send an Email? ...more >>


DevelopmentNow Blog