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 sunday february 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

Problem In Sending mail
Posted by Alok yadav at 2/26/2006 11:54:26 PM
hi, i m sending mail from asp.net page. when i try to send then it says that server unable to realy message for emailid@yahoo/rediff.com it only send the mail in internal network of my organisation but i m not able to send mail to other ids of yahoo,hotmail,rediff,etc. i am only ...more >>


Getting a WebResource URL in an HTTP handler
Posted by Lloyd Dupont at 2/26/2006 11:34:33 PM
I want to generate somr RSS. In my RSS I need the URL of some resource. Usually in a WebControl I write: Page.ClientScript.GetWebResourceUrl(); But I can't do that in my HTTP handler. Any tip? -- I have taken a vow of poverty. If you want to really piss me off, send me money. ...more >>

SmtpMail.Send() No Error but no Email either.
Posted by supz at 2/26/2006 11:11:40 PM
Hi, I use the standard code given below to send an email from an ASP.NET web form. The code executes fine but no Email is sent. All emails get queued in the Inetpub mail queue. I'm using my local default SMTP Server and my from address is a valid Yahoo/Hotmail address. I have configures the...more >>

explicit localization, sample testing approach not work
Posted by kelmen NO[at]SPAM hotmail.com at 2/26/2006 10:33:56 PM
Greeting, I'm working on the resources stuff, using the explicit localization. And to test it is as : http://www.asp.net/QuickStart/aspnet/doc/localization/culture.aspx#ielanguage add in the desired language and move to top, in the IE - Tool - Option - Language. how this doesn't work...more >>

Masterpages/themes messes up designmode
Posted by Markus Rytterkull at 2/26/2006 10:31:27 PM
I'm porting an application from asp to asp.net2.0 and thought this would be a good time to test masterpages and themes. The end result is fine but I find it difficult to recreate forms in designmode since the pages gets very cluttered (controls on top of each other, stylesheet from theme n...more >>

Disable button to prevent double clicking
Posted by Buddy Ackerman at 2/26/2006 9:31:44 PM
If I put client side code to disable a button (so that a user doesn't click it twice and double post the form) then teh button doesn't get posted with the form and the button's server-side click event handler is not fired. Seems like a big hole in the ASP.NET form handling process. Any way aroun...more >>

how am I killed IIS?
Posted by Tarun Mistry at 2/26/2006 8:58:49 PM
Hi everyone, I am somehow managing to kill IIS, please help (running ASP.NET 2.0). I have a page (PAGE) with a dynamically loaded control (DLC1), this control itself has a further dynamically loaded control with in (DCL2). My submit button is on DLC1, my form contents are in DCL2. When ...more >>

Dynamically Loaded controls loading other controls
Posted by Wouter at 2/26/2006 8:20:26 PM
Hi All, I am loading a web user control (.NET 2.0) into a placeholder on a content page ( plus the use of a master page). The controls is a list of companie, one you select a company for editing, the edit button loads the "editcompany.ascx" control into the placeholder which was just oc...more >>



Accessing records w/o datagrids, etc...
Posted by MRW at 2/26/2006 7:19:44 PM
Hello! I'm an ASPer moving on to .NET. I've been searching the web for my answer, but I've been, suprisingly, unable to find a good answer. I was hoping you can help. Back in ASP, if I wanted to check the db for a record (let's say an Employee Login), all I would have to do is get the recor...more >>

GridView dynamiclly adding TemplateField
Posted by lupina at 2/26/2006 6:05:18 PM
Hi, I need to add controls to the TemplateField of GridView dynamiclly at runtime (beacuse my GridView handle faw different DataSets, so I cannot do it in aspx file). The BoundFields I create like below: //GridView gv; BoundField gg_typ = new BoundField(); gg_id.DataField = "wm_id"; gg_i...more >>

Menu Control Question
Posted by Vince Varallo at 2/26/2006 5:40:29 PM
Is it possible to determine that a user clicked on the menu image rather than the menu link when using the new .NET menu control? Thanks, Vince...more >>

Webapplications quits without matter in ASP.NET 2.0
Posted by Sebastian Loncar at 2/26/2006 5:39:32 PM
Hallo NG, i've big online game with a lots of requests per second and it uses a lot of memory. the game runs as an ASP.NET application and holts all the game data in the memory. The game has 1600 players. Since a changed the server (from Windows 2003 32 Bit, 2GB RAM) to a new Server "Windo...more >>

Perfomance test
Posted by James T. at 2/26/2006 5:23:45 PM
Hello! Let's say I have 2 functions, both return data from the database. Now I would like to compare perfomance of these two functions. I would like to know how long it takes to execute these functions. How can I do that? Thank you! James ...more >>

How to get meta:resourcekey programatically?
Posted by luciano.marchese NO[at]SPAM gmail.com at 2/26/2006 4:38:05 PM
I just want to get at runtime meta:resourcekey value. This is my code: <asp:Button ID="Button1" runat="server" meta:resourcekey="Button1Resource1" Text="Button" /> The problem is that it's not an attribute of the control. I'd like to know what is the value of meta:resourcekey. I mean, not the...more >>

Web server
Posted by BobLaughland at 2/26/2006 4:34:48 PM
Hi All, Not really even sure where to start. What kind of software would I have to install on a machine to turn it into an ASP .NET 2.0 web server? Thanks, Peter ...more >>

Dynamically generated controls (Javascript) not posting values to server
Posted by ayende NO[at]SPAM gmail.com at 2/26/2006 4:19:14 PM
I've a very strange issue here. I've this JS code: var hidden = document.createElement('input') //hidden.type='hidden'; hidden.value = getIdForUser(userTag) $('assignedUsersInputs').appendChild(hidden); var i =0; for(var node = $('assignedUsersInputs').firstChild;node !=null; node = node.ne...more >>

Recursion in CreateChildControls
Posted by Iain at 2/26/2006 4:16:03 PM
In my custom control I have overriden CreateChildControls and the first few lines look like this. protected override void CreateChildControls() { Debug.WriteLine("CreateChildControls", "FeatureList"); Controls.Clear(); .. } what I am seeing is that the Controls.Clear line indir...more >>

Setting up a timer in Global.asax
Posted by Ben Fidge at 2/26/2006 3:32:34 PM
Using Visual Studio 2005, how would I go about creating an application-wide timer hosted in global.asax? There's certain processes I want to run every couple of minutes and have had success using tiemrs this way with VS.NET 2003. However, global.asax seems to have lost it's visual designer ...more >>

Please help !!!! Server Error in Application !! Object variable or
Posted by majo at 2/26/2006 3:27:27 PM
Hi, One urgent issue in ASP.Net. We have hosted an asp.net application in a windows 2003 server machine. The application runs well but ONCE IN A WHILE it comes up with the error, "Server Error in '/CreditApplication' Application." The error details are given below. Sometimes, when we ...more >>

Upgrade Question
Posted by Phil Barber at 2/26/2006 12:33:11 PM
I upgraded a Web project from VS2003 to VS2005. everything went well, but I have all these XXXX.resx entries in the solution explorer. there is one resx entry for each web form. If I remove them it causes errors. So my question is can I hide them? or how do I get rid of them? granted its no ...more >>

how to search/replace items in specific column of a datatable
Posted by TB at 2/26/2006 11:50:23 AM
Before displaying the result of a table called "people" in a datagrid called "mydatagrid", I need to modify the content of a column called "moreinfo" in the in-memory datatable (but not the corresponding table of the database). I was thinking of doing something like this: Dim strSQL as stri...more >>

What is an RSS feed
Posted by mensuur at 2/26/2006 8:35:33 AM
hi, i've recently seen lots of website with a little red button saying RSS on it. learned that RSS stands for really simple something or other and an rss feed is something to with rss. thats all i know. can anyone help me build my knowledge? -- mensuur...more >>

DynamicColumns\AccessingRows\DataGrid
Posted by gh at 2/26/2006 8:31:47 AM
I create the columns for the asp.net datagrid at runtime and populates them. I have a template column for checkboxs I created at runtime as well. The user selects the product they want by checking the checkbox, next to it. In the submit button I loop through the datagrids items and if che...more >>

database blog
Posted by mensuur at 2/26/2006 8:13:01 AM
hi, how do i send the data entered into a form into a database? can i have some code advice please? i want a submit button to be clicked for it to happen. what c# code should i use for it's OnClick event? thanks in advance -- mensuur...more >>

RSS Feeds
Posted by DAL at 2/26/2006 7:36:17 AM
How do I place RSS feeds from another site on my site, so I can have them all in one place for me to reference? Will all the feeds update automatically? Thanks in advance, DAL. ...more >>

GridView and SortExpression after Column Removed
Posted by James Rosewell at 2/26/2006 6:06:29 AM
I'm getting an error in the following scenario. - A GridView control is bound to an SQLDataSource. - The user selects a column for sorting. - Some time later in code the column used for sorting is removed and the SelectCommand SQL changed so that the field is not returned. - When the GridVie...more >>

Hot to prevent sending an HTML from asp.net
Posted by barbutz at 2/26/2006 5:30:15 AM
Hi, How do i prevent my asp application to send back a html to the client ? I want my asp to send only the http header response without some html trail. I tried to delete the aspx content but still my browser gets an empty html. I dont want any html! How can i do that ? Thanks...more >>

Help! How can I set up a relation between 2 tables in memory?
Posted by Scott at Cedar Creek at 2/26/2006 4:21:05 AM
I've got a situation where I have live data coming in from multiple sources. I'm able to get it into two tables in RAM. I have one table called "Providers" and it has a ProviderID and some other fields. I have another table called "Services"and it has a ProviderID in it as well as a Ser...more >>

Image source loaded twice with smartnavigation
Posted by Juergen Theis at 2/26/2006 1:58:56 AM
Hello everybody, I use an imagebutton with an aspx-page as image source. This page is used to receive the imaging data as a stream. The page holding the button has set smartnavigation to true. Now, the aspx-page is loaded twice, when the imagebutton is clicked. It results in an annoying flick...more >>

<compilation defaultLanguage="c#" debug="true">
Posted by Alexander Walker at 2/26/2006 12:53:35 AM
Hello I have recently published a web application using the "Publish Web Site" option of the solution explorer from Visual Studio 2005, I have published the website so that the pages could not be updated, do I need to set the web.config so that it contains <compilation defaultLanguage="c#" ...more >>

ASP.NET 1.1 and ASP.NET 2.0 performance for simple pages
Posted by Martin Rakhmanov at 2/26/2006 12:00:00 AM
Hello Simple ASP.NET page executed on .NET 1.1 and .NET 2.0 gives different processing times - 2.0 is slower. Why? Here is source code for the page: <%@ Page Language="C#" AutoEventWireup="true" Trace="true" Debug="false" EnableViewState="False"%> <html> <body> TEST </body> </html> ...more >>

repeater show the field data of 2 same table
Posted by Budd NO[at]SPAM ASP.net at 2/26/2006 12:00:00 AM
i find some problem on repeater when i want to join 2 same table to 1 table e.g. company(id, customerid1, customerid2) customer(id, name) and join company to 2 customer table(customerid1=>customer.id and customerid2=>customer.id) when i use the code <%# DataBinder.Eval(Container.DataItem, ...more >>

How to add two value in xslt
Posted by ad at 2/26/2006 12:00:00 AM
I have a xslt file, there are tree columns in a table, There is Value1 in column 1 and Value2 in column2. The type of Value1 and Value2 are number. I want to add Value1 and Value2 together and display it in column3 I use <xsl:value-of select="Value1"/>+ <xsl:value-of select="Value2"/> ...more >>

Adding to an arraylist?
Posted by Rob Meade at 2/26/2006 12:00:00 AM
Hi all, I'm using some code I could swear I've used before without problem but I've run into difficulties and cant see whats wrong.... I have a class which holds other classes - its defined as an ArrayList... In this class I have an "Add" method... Public Function Add(ByVal activeDirec...more >>


DevelopmentNow Blog