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 > december 2005 > threads for wednesday december 28

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

ObjectDataSource '---' could not find a non-generic method 'Update'
Posted by Nir.Hazan NO[at]SPAM gmail.com at 12/28/2005 11:29:49 PM
When I try to update my GridView I get the error: ObjectDataSource 'ObjectDataSource1' could not find a non-generic method 'Update' that has parameters: CustomerID, EmployeeID, OrderDate, RequiredDate, ShippedDate, ShipVia, Freight, ShipName, ShipAddress, ShipCity, ShipRegion, ShipPostalCode, ...more >>


about '~'
Posted by Lloyd Dupont at 12/28/2005 10:41:25 PM
In my webcontrol I frequently set the path to a resource with a path like: "~/images/sample.gif" Now I'm writing a web user control in code (all in C#) and I need to transform myself this ~ to either: - "/" - or "/virtualroot" how do I do that? I assume there should be a function somewhe...more >>

web.config
Posted by jack at 12/28/2005 9:39:09 PM
Hi all can any body help me out in making me understand how web.config works and how the folder level permission can be given Please do reply me ...more >>

C# help needed
Posted by Jon Paal at 12/28/2005 9:34:39 PM
how do I set the cast in C# ? Compiler Error Message: CS0266: Cannot implicitly convert type 'object' to 'string'. An explicit conversion exists (are you missing a cast?) Source Error: Line 6: string t = System.Web.HttpContext.Current.Profile.GetPropertyValue("SiteTheme"); ...more >>

Maintaining Multiple Sessions
Posted by jack at 12/28/2005 8:10:00 PM
Hi , please help me in this I have created a login page which creates a ticket. and im getting my inbox page of my project . ( just for the info. ) The problem is that when i have a page in the browser and when i do ctrl + N it opens a New Window.. Now in this new window when i...more >>

Estimate Memory
Posted by Matías at 12/28/2005 7:36:36 PM
I have a HashTable in memory and I need to estimate how mach memory is using in the server, how can i do???? Thanks in advance ...more >>

how forum post's stored in database? (which data type)?
Posted by The Crow at 12/28/2005 6:56:01 PM
im building an online forum system. ive inspected forum.asp.net forum's and i think there is no limitation over how long a message could be. so i wonder how messages stored in database. as i know nvarchar has a limit about 4096 chars. and using ntext has searching limitations (when used with L...more >>

Basic formatting for HTML in ASP.NET 1.1 ?
Posted by Jack at 12/28/2005 6:04:39 PM
Hi all, Is there a way for a user of a website to control the basic font size/colour of text, then upload it into a HTML text page in ASP.NET 1.1 ? For example, I want a user to log into the website, and be able to type in text, give it a colour, fontsize and basic layout, etc. The hit sub...more >>



Session Timeouts
Posted by Mr Newbie at 12/28/2005 5:29:50 PM
H, I have noticed that when the session has timed out, and you refresh the pag etc, you very often end up with debug messages etc. Is there any clean way to handle this so the users will not see the stack trace ? I know there is the option to turn on the friendly messages, will this do the ...more >>

How to post data
Posted by Peter Afonin at 12/28/2005 5:03:05 PM
Hello, I need to post data to the payment gateway. I know how to post data and read results, I'm doing it all the time as described, for instance, in this article: http://authors.aspalliance.com/stevesmith/articles/netscrape2.asp But I don't need to read results on my page, I need to get to ...more >>

ASP.NET 2.0 ICallbackEventHandler
Posted by Lorenzo Soncini at 12/28/2005 4:46:14 PM
I have a problem. If I look MSDN the interface who is in the message object have two virtual method GetCallbackResult RaiseCallbackEvent The tocumentation say me: void RaiseCallbackEvent ( string eventArgument ) but when I see the MSDN sample the method RaiseCallbackEvent was implemented...more >>

Master/detail in asp.net 2.0
Posted by John at 12/28/2005 4:35:23 PM
Hi Is there an asp.net 2.0 master/detail example available that I can check? I just need to see how the new controls work and make it easier to do master/detail. Many Thanks Regards ...more >>

Importing From HTML to Excel
Posted by Onur at 12/28/2005 4:16:29 PM
How can import a HTML table to Excel? ...more >>

Do Web.Configs inherit each other?
Posted by darrel at 12/28/2005 4:04:35 PM
I just noticed something in one of my applications which is in a folder within another application. My application is grabbing the DB connection string from the Web.Config file: strConnect = ConfigurationSettings.AppSettings("DBConn") My application's Web.Config file doesn't have this D...more >>

Resources and class libraries
Posted by Frédéric Mayot at 12/28/2005 3:56:03 PM
Hi, I'm trying to embed a js file in my class library and register it in an aspx. I created the most simple solution I could : + ClassLibrary1 : - Class1.cs - test.js (embedded resource) +WebSite - Default.aspx The page is displayed correctly with the resource url : /WebSit...more >>

Problem with Authorize.net
Posted by Blue at 12/28/2005 3:53:44 PM
I'm using Authorize.net as my payment gateway and as of approx 7pm PST on 12/26/05, no payments have gone through from my website. (However, I can still process payments through the Auth net virtual terminal.) When you try to complete the checkout, you get the following error: ===============...more >>

accessing web application using no-ip.com
Posted by Mohan at 12/28/2005 3:33:22 PM
Hi, I am having difficulty accessing my web application over the internet. I dont have any problem when I connect using localhost. I have created an account with no-ip.com. The web site is accessible thru port 6000. Since my machine is behind a router, I am using port forwarding to route everyt...more >>

ASP.net file upload
Posted by Frank Quinty at 12/28/2005 3:10:02 PM
Hi there, I try to offer a file upload in my web site. The server is Windows Server 2003 SP1, framework .net 1.1. It runs fine if the file is smaller than around 260 kb. If the file is bigger, I always have the error : "Maximum request length exceeded" I read many post about this error ...more >>

Problem w/ Validation in UserControl with 2 controls on the same p
Posted by dei1c3 at 12/28/2005 1:39:03 PM
I've created a WebUserControl which is Composite Control. It includes several controls including a few RangeValidator controls and a ValidationSummary control. The WebUserControl works properly in most situations, but I've discovered a problem when I place 2 or more of these controls on th...more >>

Valid xml to read from an xml file?
Posted by Chumley Walrus at 12/28/2005 1:30:20 PM
I'm using vb.net, i get an error at the reader line saying the remote server can't be found. Is the below even valid? dim reader as XmlTextReader reader = new XmlTextReader ("http://www.mysite.com/my.xml") do while (reader.Read()) 'do some action here response.write(reader) loop thanx ...more >>

Updating XML File
Posted by Rocky at 12/28/2005 1:13:04 PM
I have 2 textboxes. When I click submit, i want to add whatevers in the text box1 as username and whatevers in textbox2 as userid into an xml file. How do I do that in ASP.NET using vb.net? My xml file look like this: <?xml version="1.0" encoding="utf-8" ?> <!-- format is <user>userid</user...more >>

Data not binding to datalist
Posted by Laura K at 12/28/2005 12:49:48 PM
I am having difficulty binding data to my datalist. The data list does not show. I have gone round and round for two days. I could really use some help looking through this code and seeing where the error is. It is usually something simple but I just can not find it!!! Any suggestion? --...more >>

Access to a HiddenFiled in a Content control from javaScript
Posted by Javier Martinez at 12/28/2005 12:20:17 PM
Hi I have a page using a MasterPage, in my page I need to access a HiddenField1 control declared in the Control element from javascript. But which is the hierachy? The folowing code doesn't work: Conten1.HiddenField1.value The page is: <asp:Content ID="Content1" ContentPlaceHolderID="bo...more >>

Querying Indexing Services from ASP.Net page
Posted by C Jay Pemberton Jr at 12/28/2005 12:19:38 PM
I am attempting to do the following, query indexing services through SQL Server SQL Server 2000/Visual Studio 2003 I have a linked server created called Web_service that points to a Server running Indexing Services I have created a stored procedure that is as follows: CREATE procedu...more >>

Why do I have to rerun aspnet_regiis every time I start the machin
Posted by Feng at 12/28/2005 12:16:04 PM
Hi, I am currently experiencing a wired issue. Every time I start my my dev server machine to run my ASP.Net app, the IIS server is not functioning - I get page can not be displayed error and I have to rerun the aspnet_regiis -i to make it work. I also found that, when this happens, all the...more >>

Session variable scope in a Load Balanced environment
Posted by Vidyadhar Joshi at 12/28/2005 11:57:17 AM
I have the following scenario in a true load balanced environment (without sticky sessions): There are 2 ASPX pages. I want to pass an object from the first page to the second page. On the btnContinue_Click event of Page1.aspx, I create the object and store it in a session variable. The next s...more >>

dropdownlist in datagrid
Posted by sergeyr3 NO[at]SPAM gmail.com at 12/28/2005 11:44:48 AM
Hey guys, I am new here, so i hope this works out: I have a datagrid which I populate with data from XML file. In EditItemTemplate I have a dropdownlist. How do I fire myDataGrid_UpdateCommand upon SelectedIndexChanged event in the dropdownlist? thank you. -Sergey <ASP:DataGrid id="myData...more >>

Scrollbar in gridview
Posted by Javier Martinez at 12/28/2005 11:25:00 AM
Hi Is there any way to set a horizontal scrollbar in a gridview? Thanks in advance Javier ...more >>

menu on materpage
Posted by Bart at 12/28/2005 11:23:03 AM
Hi, I have a menu on my master page. When I click on a menu item the state is reset after the page is redirected to the NavigateURL. How can fix this? Thanks Bart...more >>

Using Validation controls to check for NON NUMERIC input. (This should be easy!)
Posted by Chad at 12/28/2005 11:11:47 AM
I have a textbox control, txtMeasurement, that I want to allow only = numeric decimal input. I thought to use a client side validation control = to ensure that the data entered is of type "Double". 'Measurement Validation (Range Validator) Dim MeasurementRangeValidator As New RangeValidator 'v...more >>

Overriding default skin
Posted by Frédéric Mayot at 12/28/2005 11:11:03 AM
Hi, I'm trying to apply skins to all my controls. I didn't want to specify a skin all the time, so I used a default skin. The problem is that I sometimes would like to override a property specified by the default skin (the width of a control) and it doesn't seem to work (asp ignored the ...more >>

Call javascript function from browser control?
Posted by john conwell at 12/28/2005 11:08:05 AM
I'm using the Browser control to display html that my application generates. Some times i want a javascript to run when the html gets displayed in the browser control, and sometimes i dont. Is there a way to invoke a javascript function from the browser control? or maybe inject some javas...more >>

Deploying web application in vs2005
Posted by Ramin at 12/28/2005 10:49:02 AM
My problem is that when I create a web setup project in vs2005 and install the setup.msi, the setup installs all content files including source files (which is not desirable). how can I make my setups work as they did in vs2003?...more >>

Erro no start pag
Posted by tarcisio at 12/28/2005 10:42:24 AM
Pessoal, qdo eu mando rodar a pagina o VS 2003 aparece o seguinte erro: Erro While trying to run project : Unable to start debbuging web server. Debbuging failed because integred Windows Authentication is not enabled. Onde eu acho a solução para estes erros ? Tarcísio Corte, ...more >>

Application_Start Question
Posted by Thomas H. Lanier at 12/28/2005 10:11:50 AM
In ASP.NET is there a way to run some code when IIS first loads? The Application_Start event is called when the first resource (such as a page) in an ASP.NET application is requested. I need to run some code BEFORE any requests have been received. Thanks, Tommy ...more >>

Help: Why <mobile:label> doesn't render HTML tag?
Posted by Hongbo at 12/28/2005 10:07:30 AM
Hi, I have a mobile form: =3D=3D=3D <body Xmlns:mobile=3D"http://schemas.microsoft.com/Mobile/WebForm"> <mobile:Form id=3DForm1 runat=3D"server"> <mobile:label runat=3D"server" id=3D"lblT" /> </mobile:Form> </body> =20 =3D=3D=3D In the code behind page, I have: =3D=3D=3D p...more >>

Applicability KB 831138: app that uses WebRequest has OutOfMemoryE
Posted by vecozo NO[at]SPAM online.nospam at 12/28/2005 10:06:03 AM
-- This request concerns the applicability of KB 831138: FIX: A .NET Framework application that uses the System.Net.WebRequest method very frequently experiences OutOfMemoryException errors -- Our applications (website, webservices and windows services that communicate with external webser...more >>

Delete takes a long time
Posted by prabhupr NO[at]SPAM hotmail.com at 12/28/2005 9:51:36 AM
Hi Folks I'm using VS 2005 RTM version. I created a small web-site, added mater pages (2 of them, by mistake). When I try deleting the 2nd master page, its takes for ever to delete that page/file. Is this a known issue? I have tried this operation multiple times (ir-respective of file typ...more >>

How to Add Domain user to local groups
Posted by Rocky at 12/28/2005 9:46:04 AM
Hi, I have a webform, with 2 textboxs and a submit button. In the text box1, i enter a username and in textbox2 I enter the computer name. Both the username and computer name is in active directory. When i click submit, I want to add the username from textbox1 into the local administrato...more >>

Is MultiView the same as a TabStrip in ASP.NET 2.0?
Posted by needin4mation NO[at]SPAM gmail.com at 12/28/2005 9:25:08 AM
I wanted easy tabs for my webpage and saw the new MultiView. I read and couldn't tell, but is the MultiView the same as having tabs? Or does MultiView bring everything at once and the user just selects it (a tab?) Thank you. ...more >>

DataGrid
Posted by unwantedspam at 12/28/2005 9:16:48 AM
Hello, I have a Datareader with 2 fields from the database in it. I would like to use the DataGrid to display them. This I can do. If the DataReader has 4 rows in it I would like to display the records in 2 DataGrid rows. So I would have the following: ColHeader1 ColHeader2 ColHeade...more >>

One of 12 Calendars DayRender event does not work on PostBac
Posted by Mariano Padilla at 12/28/2005 9:16:05 AM
I poste the below on 11-28-05 and got no answer. Could anyone please help me? I have a form that has 12 Calendar, 1 for each month. I am retrieving information from a database separately, assigning them to an array and then in the DayRender Event, itterating through the array to mark the da...more >>

Is there a place to download cool themes?
Posted by Javier Martinez at 12/28/2005 9:15:09 AM
Hi Is there any place to donwload themes to asp.net pages? Thanks in advance Javier ...more >>

Excluding files
Posted by Mark Rae at 12/28/2005 9:05:29 AM
Hi, Am currently in the process of migrating a whole heap of v1.1 ASP.NET solutions to v2.0, and would be interested to know what others are doing about excluding files from projects. I maintain several music websites which contain lots of static binaries (newsletters, gig photos etc) wh...more >>

Login Control used with existing database
Posted by paulmac106 at 12/28/2005 8:54:35 AM
Hi, I'm creating my first 2.0 web application. I want to use the login control to validate users using my existing SQL 2000 database (using email address and password) I can't find a tutuorial to do this...they always seem to want me to create this new aspnet db and use roles and membership...more >>

temporary file
Posted by Lyners at 12/28/2005 8:19:02 AM
I am creating a temporary file using GetTempFileName to populate it with Excel information. Everything is working correctly except the temporary file name extension is .tmp. How can I change it to an .xls? I open the excel application with this file and then populate it. Once I turn it over to...more >>

Setup of IIS6 server
Posted by __Stephen at 12/28/2005 8:11:34 AM
Not finding assistnace on a networking site so I thought that I'd post this here as well. I have a rebuild of a server and we took the OS to 2003 for 2000. I am confused on setting up IIS6. This is a stage server and will have 2 IP's .56 and .32 I have the IP's bound to the NIC and ...more >>

Master page to content page help
Posted by andy at 12/28/2005 7:57:51 AM
Hi I have a tree control im using for some navigation of products. On nide click i load a content page with products from the database. Is there a way i can click on the node and only have the content page make a refresh (postback?) similar to if i was using a targets in frames ? Thanks ...more >>

Allow multiple image swap onmouseover
Posted by hadAnet at 12/28/2005 6:44:27 AM
Here is my question: I can swap an image with the following line under Page_Load. ImageButton1.Attributes.Add("onmouseover", "this.src='menu1on.gif'") What I want is to swap more than one image onmouseover. Is this possible? What is the syntax? I tried variation sof this: ...more >>

What caused the postback?
Posted by news.microsoft.com at 12/28/2005 5:35:18 AM
How can I tell which control caused a postback? I have several controls that cause a postback, and I want to take different actions depending on which was activated. It seems a little backward that the page load runs first, then last is the actual event that caused the postback, as that last...more >>

What is thre difference between OnClick and Click events?
Posted by kai at 12/28/2005 3:38:48 AM
Hi, In ASP.NET , what is the difference between OnClick and Click events for a button? Because we have button click event, it can trigger events, why we still need OnClick? Please help. Thanks kai ...more >>

masking url in datagrid hyperlink column in status bar
Posted by vishal at 12/28/2005 3:36:19 AM
I am using a datagrid where there is a hyperlink column. On mouseover I get the whole link in the status bar which I want to put some static message or mask it. How do I achive this in .net? If any one knows the script or any other method just let me know that with some sample code. regards...more >>

Nested asp.net application
Posted by g4685034 NO[at]SPAM cc.cpe.ku.ac.th at 12/28/2005 2:39:02 AM
I have to put asp.net application under the other one. The upper one uses http modules and the dlls are in c:\inetpub\wwwroot\upper\bin directory. I create my asp.net application in c:\inetpub\wwwroot\upper\lower. The problem is I have to create application in IIS manager because the assembly in...more >>


DevelopmentNow Blog