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 2004 > threads for friday november 26

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

vs.net & Phtoshop?
Posted by Leon at 11/26/2004 10:08:33 PM
Is it easy and seamless to import html table and text from Photoshop to vs.net. when designing the website interface? Or is it a headache? ...more >>

cache in class file
Posted by hansiman at 11/26/2004 9:16:29 PM
in a class file (utils.vb) I'm trying to use cache, but get an error! I've tried to add imports cache namespace to utils.vb - but it does not work. What am I doing wrong? ...more >>

Web Matrix - Missing files ??
Posted by Jesper Pedersen at 11/26/2004 9:03:11 PM
I have placed/uploaded the /Microsoft.Matrix.Framework.dll to my /bin/ dir ! It helps my running some of the code generated by Web Matrix. But for some reason my website will still only run perfectly on my local machine and not on my web-hotel-server. For instance is t...more >>

simple problem with multiline textboxes in ASP.NET.....
Posted by Antonio Lopez Arredondo at 11/26/2004 5:19:16 PM
hi all again..... I have an ASP.NET application that has a multiline textbox and a single button. the user should be able to write inside the many paragraphs in the multiline textbox and then click the button to run the code behind. the problem is that when the user presses the ENTER key ...more >>

app not using same session id ???
Posted by Antonio Lopez Arredondo at 11/26/2004 5:11:55 PM
hi all !!! I have an HTML page with two links: link1 point to page1.aspx link2 point to page2.aspx page1.aspx and page2.aspx are two different ASP.NET applications, that require user authentication. the code behind of each aspx page is the same, and validates an username/password a...more >>

URGENT: Strange Prob With Web.config <<identity> section.
Posted by Sonal at 11/26/2004 4:46:27 PM
I am trying to impersonate user with windows account. If I write following lines in web.config it show error <identity impersonate="true" userName="contoso\Jane" password="pass"/> ERROR: Error while trying to run project: Unable to start debugging on the web server. Server side-error occu...more >>

How to include a icon in a Assembly?
Posted by Dexter at 11/26/2004 4:05:50 PM
Hello all, I build a Custom Web Control and now, i want to include a icon in my assembly. How i make this? Thanks Dexter ...more >>

How to change the keyboard layout in asp.net?
Posted by Lacka at 11/26/2004 3:34:16 PM
Hi, Is it possible, to change the keyboard layout on an asp.net page? I have two textboxes: one for the greek text, and one for the hungarian. If the greek gets the focus, it would be nice to change to the greek keyboard layout, and when the other, to the hungarian. Is it possible, or not? (I ...more >>



[BUG?] Update database using stored procedure and OleDbDataAdapter.Update
Posted by joun at 11/26/2004 3:20:52 PM
Hi all, i'm using this code to insert records into an Access table from asp.net, using a stored procedure, called qry_InsertData: PARAMETERS [pID] Long, [pCod] Long, [pCodArt] Text(20), [pQ1] Long, [pDataUscita] DateTime; INSERT INTO Table ( ID, Cod, CodArt, Q1, DataUscita ) VALUES (pID, p...more >>

How to know if thread is still running
Posted by DaWoE at 11/26/2004 3:20:04 PM
Hi all, I have create an method that takes a while to process so my website times out. I used a thread to make sure the page doesn't times out. The methode that i use to the processing is another the class than my webform. Public Class MyClass Public Sub ProcessWork() 'this code...more >>

Getting new session ID on each refresh!!!!
Posted by Edward Yang at 11/26/2004 3:13:21 PM
I am getting a new session id on each refresh. This is not the first time I have this problem. I have had this problem with ASP.NET 1.0/1.1, and now with 2.0 beta 1. The page is simple enough, which has: void Page_Load(object sender, EventArgs e) { this.Title = Session.SessionID; ...more >>

Where to open connection and close it ?
Posted by Saulot at 11/26/2004 2:59:18 PM
Hi, Facing a big problem. In my Default.aspx page, I open a connection with ma Sql Server DataBase through my objects framework (A "SetDefaultConnectionString" property which open my connection... work fine with winforms) My Default.aspx page is a login one. When I log in, no problem, I got my...more >>

ASP.NET version error without any reason
Posted by Larry Brown at 11/26/2004 2:26:36 PM
Hi, I know that I should not, but believe me I really have to do that: I'm developping an ASP.NET application with Visual Studio .NET 2003 installed on my workstation, on a server which is on a different domain. Meaning the application is installed on a server which is on a different domain...more >>

URL rewriting
Posted by Michael Appelmans at 11/26/2004 2:13:46 PM
I'm trying to use a rule based URL rewrite application which uses HttpApplication.RewritePath. I keep getting "rsource not found" error in application when running on shared web host although the software runs fine on my localhost. Is it possible that the web hosting service has configured s...more >>

How to compile a .aspx in a Assembly?
Posted by Dexter at 11/26/2004 2:07:32 PM
Hello all, i have a class and a .aspx file, and i need to compile all in a assembly file. I want to distribute only the assembly (.dll), and not a assembly file and a ..aspx file. Somebody can help me with this task? Thanks Dexter ...more >>

How to change default base class (except using the Inherits attribute)
Posted by Edward Yang at 11/26/2004 2:01:17 PM
Is there any way to change the default base class for a Web Form in VS.NET 2005?...more >>

disable enterkey in a form
Posted by John Smith at 11/26/2004 1:47:11 PM
Hi, How can I disable enterkey in a form. I have using couple of asp textboxes, one asp button for search and two Image Buttons, one for Back[will come first] and other for continue[will come next]. But If I click on the text box and perss enter key it will always execute the back Image button ...more >>

Why event doesnt fire in .NET object from VBS?
Posted by senglory at 11/26/2004 1:39:09 PM
Code: -------------------- using System; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; namespace DEMONS { [ComVisible(false)] public delegate void TestEventHandler(); [InterfaceType(ComInterfaceType.InterfaceIsIDispatch)] pub...more >>

B.I. Tool. Somebody know?
Posted by Dexter at 11/26/2004 1:36:56 PM
Hello all, Somebody know a B.I. (Business Intelligence) Tool to .NET and SQL Server? A .DLL or .OCX that i can to use in my web application. Thanks Dexter ...more >>

Problem with Custom Web Control
Posted by Dexter at 11/26/2004 1:33:23 PM
Hello all, I'm building a web custom control, but i hava a problem. In the Sub Render, i have a html code as output. All ok. I have a other class that has a function that return a image object, and i need to insert this image in my html of output, but it don't has a path. Protected Overrid...more >>

Working with groups of user controls...
Posted by Jim at 11/26/2004 1:29:02 PM
I have nineteen user controls that are named "user_" concatenated with (0-18). How can I loop through and set the visibility property to false for each one. I tried something like: protected alss.controls.something user_0; protected alss.controls.something user_1; protected alss.controls....more >>

ASP.NET on charge!
Posted by aegeanege NO[at]SPAM yahoo.com at 11/26/2004 12:21:18 PM
Hello, I have developed many web applications by using ASP.NET but I'am trying to publish a web site on the web first time. I meet some problems and I have some questions about publishing: 1) Which files of an ASP.NET project should I copy to the host server? (i.e aspx, resx...??) 2) Whe...more >>

Dynamically Include (@reference) another Control or aspx file
Posted by Aamir Mahmood at 11/26/2004 11:59:35 AM
Hello, Can I include a control or another aspx file into a container aspx file on the basis of some parameters?\ Like I want ControlA to be inserted in page index.aspx if the submit form has some specific value, and ControlB otherwise. - AM ...more >>

refresh data view
Posted by JIM.H. at 11/26/2004 11:55:04 AM
Hello, I have a data view linked to a table and a dropdown list for “LastName”. Now once I select something from dropdown list I want the data view refresh itself for selected LastName. I do not want to cleick any other button or something like that, once I select one item in the dropdown...more >>

Datagrid Paging
Posted by Happy at 11/26/2004 11:51:16 AM
hi I got a datagrid with Paging enabled which is getting populated thru a stored proc. I've given the code in the event grid.CurrentPageIndex = e.NewPageIndex grid.VirtualItemCount = //COUNT FROM STORED PROC grid.Datasource =a; grid.DataBind(); but the paging is not working correctly....more >>

Decrypt
Posted by Vishal at 11/26/2004 11:16:35 AM
Hello, I used this article (http://aspnet.4guysfromrolla.com/articles/103002- 1.2.aspx) to encrypt my password. Now I need to decrypt the password again to a string. Is that possible, if so how? Thanks...more >>

Elektrische Gliederung
Posted by Frank Schumacher at 11/26/2004 10:29:26 AM
This is a multi-part message in MIME format. --------------020006010001040507080903 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit anbei siehe da oder dort --------------020006010001040507080903 Content-Type: application/msword; name="Grobglie...more >>

Wrap text in datagrid
Posted by Diego at 11/26/2004 9:54:17 AM
Hi, how do I set the wrap property to FALSE for a datagrid with autocolums enabled? I know there's a work around this bug when the columns are set up in design time but I need the autocolumns option checked. Thanks in advance. Diego. ...more >>

call asp.net from user control
Posted by anonymous NO[at]SPAM discussions.microsoft.com at 11/26/2004 9:26:57 AM
when i write in my user control <asp.net class name>.<name of function in the asp.net page> i get compilation error (Reference to a non-shared member requires an object reference) and when i write ctype(page,<asp.net class name>).<name of function in the asp.net page> it works fine. can so...more >>

<asp:xml> question
Posted by Danny Ni at 11/26/2004 8:52:37 AM
Hi, I use the <asp:xml> control, xml and xslt to generate a HTML for users to input data, here is my HTML snippet in a web form: <asp:Xml id="Xml1" runat="server" TransformSource="entry.xsl" DocumentSource="data.xml"></asp:Xml> The form display correctly in the browser, the question is, h...more >>

[BUG?]Using inheritance case memory leak?
Posted by boy at 11/26/2004 8:47:08 AM
Hi all, I have created a simple template class as follow, but i encountered memory leakage on the base.Render(writer). Have all you of encountered the same problem? using System; using System.Web.UI; public class PageBase : System.Web.UI.Page { private string _pageTitle; publi...more >>

ms_positioning grid style - will this work OK on most browsers?
Posted by dotnw NO[at]SPAM hotmail.com at 11/26/2004 7:53:55 AM
Like most people I guess, I'd like my ASP.NET app to work and look good under as many browsers as possible. I left all of my webform pages to the default ms_positioning grid style setting. Will my app be okay for NN and Opera for instance? Unfortunately, due to lack of disk space (fear reall...more >>

Global.asax and sharepoint
Posted by erin.sebastian NO[at]SPAM cowaninsurancegroup.com at 11/26/2004 7:44:22 AM
Hi All, I am trying to log information into a database from sharepoint using the methods inside the global.asax file. Specifically what i am trying to do is retrieve the URL of a document when i click on that document however i can't find a method within Global that fires when a user clicks on ...more >>

session timeout
Posted by gg at 11/26/2004 7:03:50 AM
still can't figure this out. I have timeout in web.config set to 480. That should be 8 hours, right? Yet it still seems to be timing out after a short time, (perhaps the 20 minutes still). I've done a restart on IIS, but that has not helped. What would cause an early timeout? Thanks ...more >>

AD wont let me in!
Posted by dhnriverside at 11/26/2004 4:29:08 AM
Hi guys I've got a web application on a Win2k IIS5 server. I've been coding it using anonymous access, and have just come to test the AD stuff - trouble is - all i get is a 402.1 error ("not authorised to view this page"). I've set <deny users="?"> in my <authorisation> bit of web.config, ...more >>

Determine DataRow is Null ? URGENT
Posted by ozcankanbur NO[at]SPAM yahoo.com at 11/26/2004 2:36:32 AM
DataRow[] dr = dt.Select("Id=" + dtMessages.Rows[i]["Id"].ToString()); How can I determine the dr[0] is null or not ? if(dr[0].IsNull(0) == false) statement doesn't work!...more >>

ASP.Net 1.1 shadow copy problem
Posted by ICE Srl at 11/26/2004 1:45:02 AM
I use this function to load some assemblies from a directory into ASP.Net application: Private Function CaricaLibShadow(ByVal Libreria As String) As [Assembly] Dim Backup As String Dim Assbly As [Assembly] Backup = AppDomain.CurrentDomain.SetupInformation.ShadowCopyDirectories A...more >>

Required Field Validator for multiple controls
Posted by Sam Collett at 11/26/2004 1:39:07 AM
Is there a way of having a required field validator check to see if at least one of a set of controls has information in it? I'm sure this can somehow be done using a custom validator, but would like a validator that worked like as a custom tag: <MyValidator:MultipleRequiredFieldValidator Con...more >>

get current user information
Posted by Bart at 11/26/2004 1:39:05 AM
I want to get the current username (or other information) about the user who is currently logged on in the windows 2000 domain. I thought about user.identity.name, but it returns an empty string. Any suggestions ?...more >>

Anyway to put xml tags into an aspx page?
Posted by ZMan at 11/26/2004 12:37:53 AM
I'm trying to format some data out as an RSS feed. I already have a perfectly good ASPX page that does the same thing with an <asp:repeater> so I figured I'd take the page change the html tags to RSS tags and it would all work fine. Problem is that it appears that there's no way to tell VS ...more >>

HTTPModule not called for non-existant pages
Posted by inge NO[at]SPAM norway.net at 11/26/2004 12:30:31 AM
I have earlier used an HttpModule that did URL rewrites on the BeginRequest event. Now I am trying to use the same module in a different application on a new and upgraded machine (winxp sp2). The Module is registered via Web.config. The registration is OK. When asking for an existing .as...more >>

W3C validation
Posted by Fredrik Elestedt at 11/26/2004 12:30:24 AM
Hi, I've been trying to get a ASP.NET site I'm working on validated as HTML 4.01 Transitional but I've run into a couple of problems - actually the only ones left before the page is validated... 1: the ID tags on serverside controls start with a char which is not allowed (in this case '_...more >>


DevelopmentNow Blog