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 > november 2003 > threads for saturday november 22

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

how to secure asp.net code?
Posted by Isabella at 11/22/2003 11:51:27 PM
I am writing a web site for my client using asp.net. But I don't want him to able to read the code and reuse it in future. How can I protect the code and still give him a copy? Any idea? just wild guess like compiling the project into .exe, component or dll. I have no idea. Please advise! Isa...more >>


How to display video file from database
Posted by Isabella at 11/22/2003 11:31:41 PM
I have successfully insert .wmv files into MySQL. When I display the video in the browser using Read.aspx to get the .wmv: Response.ContentType = objDataReader.Item("swingContentType") Response.BinaryWrite(objDataReader.Item("swing")) if I directly call this Read.aspx, window media will open...more >>

compilation directive disabled
Posted by Mark Olbert at 11/22/2003 10:39:24 PM
I'm setting up an ASP.NET site on a Verio shared hosting platform, and they are telling me that the <compilation> directive in Web.config files is not supported in their environment. Can someone please tell me what, if any, limitations and/or problems this can cause me? Separately, I'd be in...more >>

scrolll custom controls
Posted by Alfonso Paredes at 11/22/2003 8:25:02 PM
I need to add dinamically custom controls to a panel ( or something like it) but sometimes the number of controls is excesive (10 or more) so I'd like to add this controls to something that gives me the ability to scroll, thus I will always have the same fixed space on the web page. does anyone...more >>

Need help in design mode with <asp:Table> component
Posted by Ed. at 11/22/2003 7:34:03 PM
I apologize if this is a stupid question. When working with the <asp:Table> component in design mode, how do you select controls placed in the table cells? I can only seem to click on the table itself rather than the individual components within the cell. Also, what's the advantage of using ...more >>

Using aspnet 1.1 on a Domain Controller
Posted by Stefano at 11/22/2003 6:32:57 PM
Dear Friends, i would like to use ASP.NET on our intranet with a Windows 2000 srv that has the role of Domain Controller. I have hear that there's some problem to do that. Could someone point me to the right directions ???? Thanks in advance Stefano ...more >>

Trouble with using Session state
Posted by Greg Linwood at 11/22/2003 5:29:03 PM
I'm having difficulty understanding Session state in ASP.Net. It's almost embarrassing asking this as I've been using ASP since it was first released & it really shouldn't be this hard to use - perhaps I'm just not very smart or perhaps MS is making this too hard for us sql bunnies to understand ...more >>

copy project
Posted by Isabella at 11/22/2003 5:06:33 PM
I try to copy project from one computer to another. But it shows"Visual Studio .NET has detected that the specified Web server is not running ASP.NET version 1.1. You will unable to run ASP.NET applications or services." But I am sure both computers have installed 1.1. Any ideas? Isabella ...more >>



web.config session timeout and forms authentication timeout
Posted by Do at 11/22/2003 3:57:03 PM
Hi, Where do I set the two timeout values for session and timeout? Are they set to matching defaults? Thanks, Do ...more >>

Need some specific .Net Training - Will pay.
Posted by Ed Bangle at 11/22/2003 3:47:20 PM
Hi everyone, Rather than spend more days on trying to figure these things out, I figured I could drop this message to find help and pay someone for closing gaps to my weak .Net skills. I need the following: - I need to know how to build reports using the Crystal Viewer in .Net. I...more >>

Excel and .Net
Posted by Ed Bangle at 11/22/2003 3:38:10 PM
Greetings, I create a .Net project where I have dragged and dropped the Microsoft Office Spreadsheet from the Toolbox. I have a complex Excel File built for reporting and I need to import it into .Net and have it run from the browser so that key people can save and download the inform...more >>

What is the difference between OnClick and OnServerClick in web button control
Posted by Krishna at 11/22/2003 3:36:44 PM
1. What is the difference between OnClick and OnServerClick in web button control If I have a asp button control as follows <asp:button id="SubmitOrder" Text="Submit Order" OnClick="OnSubmit_Click()" runat="server" > </asp:button> If the above is going to fire server side function wha...more >>

&nbsp; in a listbox control
Posted by Do at 11/22/2003 3:20:00 PM
Hi, When I add some spaces to a listbox control using &nbsp; they seem to appear in the listbox when the page loads. Do I have to do some converstion to get spaces in a listbox? Do ...more >>

Multiple columns data control
Posted by Cezar at 11/22/2003 3:19:21 PM
Hi, I need to display the content of an ArrayList on multiple columns, like data1 data2 data3 data4 data5 data6 data7 data8 ---- or data1 data3 data5 data7 data2 data4 data6 data8 ---- doesn't really matter. There is out there a web control that let me do this and have control over...more >>

Are there any WebForm Password controls in .Net?
Posted by Greg Linwood at 11/22/2003 3:02:03 PM
In plain old html forms, there was a type="password" attribute which provided password behaviour to the <input> element. I'm building a WebForm in VS2003 & was expecting to find such a control under the Web Forms toolbar but there's no such control - although there is under HTML toolbar. There...more >>

Server.Transfer et postback
Posted by Aurel at 11/22/2003 1:34:04 PM
Hi, I've a problem concerning Server.Transfer. When I use it, the url in the adress bar not changed and that's great ! But, when I make a postback, the url in the adress bar changed and this is the correct url which appear, and that's not great. So how I could do to keep the first url in th...more >>

LDAP Authentication
Posted by mg at 11/22/2003 1:31:37 PM
Can someone please provide me with C# code that will enable me to aurhenticate a user (username/password) against an LDAP server....more >>

Need help
Posted by Mike at 11/22/2003 1:05:29 PM
Hi, I open the webpage from one of 5 web forms , execute some methods and after that i have to return to caller page, do you have any mind how i can do this? Mike ...more >>

HttpContext in business objects
Posted by John at 11/22/2003 12:42:58 PM
Hello everyone! I've read many articles about asp.net, business and data layers, and none of them seem to discourage the use of HttpContext specific variables in non-HttpContext specific layers; relying on the presence of the HttpSession or HttpRequest variables in the business layer for examp...more >>

ASP pages using global.asax??
Posted by ani at 11/22/2003 11:40:19 AM
Can't I use aspx Application variables in asp pages?...more >>

looping and displaying progress with every iteration
Posted by Bruce Whitehouse at 11/22/2003 9:12:31 AM
This should be an easy one, but I'm not sure the best way to do it. I've got a form, and when I click a button it starts looping through an array. With each iteration of the array I want it to change the status of a label. I realise that it must complete the execution of the code-behind pag...more >>

Color.DarkMagenta to #hexcolor
Posted by Ron Vecchi at 11/22/2003 8:44:46 AM
I have a color System.Drawing.Color.DarkMagenta I would like to output it to the browser as its hex color(not sure what it is) #993484 This seems like it should work but it isn't. ------------------------------------------------------------------ System.Drawing.Color c = System.Drawing.Color...more >>

EVENT HANDLING HELP...
Posted by michaelspeak NO[at]SPAM hotmail.com at 11/22/2003 8:26:24 AM
I have a user control that defines a number of LinkButtons - these form a menu system for each of my web pages. I have an event handler defined in the code-behind of the user control that captures the event. this works ok... How can I hook up the click event on each LinkButton to call an eve...more >>

Namespace cannot be found? Help!
Posted by anonymous NO[at]SPAM discussions.microsoft.com at 11/22/2003 7:31:21 AM
I'm trying to use a namespace i've created but i keep getting a compile error at runtime. Here's the files and problem i'm having. Any ideas? index.aspx // file with html, etc index_CB.cs // contains the code behind from index.aspx testcomponents.cs // contains the namespace i'm trying ...more >>

Datagrid Cells: Getting the value
Posted by ALPO at 11/22/2003 7:25:05 AM
We have a datagrid built using template columns. Many are text boxes. These text boxes are bound to a datasource as follows: <ItemTemplate> <asp:TextBox id="txtPeriod1" runat="server" columns="1" Font-Size="8pt" text='<%# Container.dataitem ("LaborHoursAm")...more >>

Setting a WebForm (.aspx and source file) as an assembly Embedded Resource
Posted by LidorP at 11/22/2003 6:13:44 AM
Hello All, My problem is as follows: I have an assembly which holds a number of WebForms. In order to use these WebForms in my WebApplication i have to extract them out of the assembly (using Reflection) into a temporary virtual directory (at runtime). I was able to set the .aspx as ...more >>

Redirecting after page rendering
Posted by Bill Hauver at 11/22/2003 5:32:40 AM
I am attempting to display a web page which simple displays a 'Please wait, generating report...' message before I redirect a user to another web page. I can't figure out where to put the redirect code because the 'please wait' page doesn't render to the client browser (the message is neve...more >>

Need help : DSN connection string
Posted by Tee at 11/22/2003 5:17:13 AM
Hi, I need some help here for DSN connection string. I know it's not recommended to use DSN, even I dont like it as well ... but for now, my situation is I am using a shared hosting. I do not have write access to my web root folder, I have a folder specialy for database. I am currently using ...more >>

asp repeater
Posted by jwgiblin3 NO[at]SPAM hotmail.com at 11/22/2003 2:02:26 AM
I have an asp repeater control which I am trying to assign the datasorce to it inline. Here is my code. <asp:Repeater ID="AddOnList" DataSource="<%# BasketLineDAO.GetByEventCategory(content.Id,10)%>" Runat=server> This does not work. I do not get any rows from the repeater. but when I a...more >>


DevelopmentNow Blog