479 Posted Topics
Re: When a asp.net web page is accessed remotely by a user, IIS process the request and sends the output to the user. For processing the request, it may create some temprory variables based on the program logic that you have written. The temprory memory data will be cleared by .NET … | |
Re: Set the customErrors mode to 'off' in the web.config as specified in error message that you posted. It will adisplay actual error occured. Also check if any error message is posted in the Event Viewer. | |
Re: Refer the following links. [URL="http://forums.asp.net/p/1540087/3749841.aspx"]download link for mp3 files[/URL] [URL="http://aspalliance.com/259"]Downloading Files - Forcing the File Download Dialog[/URL] [URL="http://www.dailycoding.com/Posts/how_to_force_a_file_to_download_in_aspnet.aspx"]How to force a file to download in ASP.NET[/URL] | |
Re: You should add dynamic controls in Page_Load or Page_Int events. You are trying to add dymic controls in LoadViewState method by caling getcontrol() method. Try to avoid it. It may cause the error. | |
Re: What you mean custom paging in user control? Paging is basically used with controls like GridView, FormView and DetailsView. Are you asking abotu custom paging in GridView which is placed in a user control. If yes, look into the following links. [URL="http://www.codeguru.com/csharp/.net/net_asp/controls/article.php/c15145"]Custom Paging for GridView[/URL] [URL="http://www.4guysfromrolla.com/articles/031506-1.aspx"]Custom Paging in ASP.NET 2.0 … | |
Re: Try this code. [CODE] var t1 = "10/10/2009" ; var t2 = "15/10/2009"; var one_day=1000*60*60*24; //Total time for one day var x=t1.split("/"); var y=t2.split("/"); var date1=new Date(x[2],(x[1]-1),x[0]); //date format(Fullyear,month,date) var date2=new Date(y[2],(y[1]-1),y[0]) var month1=x[1]-1; var month2=y[1]-1; var _Diff=Math.ceil((date2.getTime()-date1.getTime())/(one_day)); [/CODE] Reference:[URL="http://www.codeproject.com/KB/scripting/Javascript.aspx"] How to calculate difference between two dates using JavaScript[/URL] [URL="http://devhood.com/tutorials/tutorial_details.aspx?tutorial_id=716"]Calculating … | |
Re: 1. Tools->Internet Options->Security->Internet(zone)->Custom Level-> Under ActiveX controls and plug-ins, Enable the options. 2. It would be better to add your site to the Trsuted sites list and configure activex for that zone. | |
Re: Page.User.Identity.Name will return the name of the current user in asp.net | |
Re: Hi Grant, Request.QueryString["ID"] is read only collection which means that you cannot set/insert a value to the collection. But you can retrieve the value from the collection if exists. Request.QueryString is internally populated by ASP.NET when you pass query strings explicitly from a page. | |
Re: Use DIV tag or IFRAME to render the html content within your web page. Check the following links. [url]http://www.daniweb.com/forums/thread142921.html[/url] [url]http://forums.asp.net/p/1312598/2596695.aspx[/url] [url]http://www.webdeveloper.com/forum/showthread.php?t=73180[/url] [url]http://www.daniweb.com/forums/thread184021.html[/url] | |
Re: Create a stored procedure as below and pass the first name, last name and age values as parameters to the stored procedure. The query will be constructed dynamically based on the values of the parameteres. You may need to check the syntax of the query as I typed in notepad. … | |
Re: When you view the contenr of an asp.net web page from browser, It will show the HTML content generated by the web server. It will not show the actual asp.net content. | |
Re: Take a look at the following links. [URL="http://msdn.microsoft.com/en-us/library/bb655909.aspx"]Sending Appointments to an Outlook 2007 Calendar from an ASP.NET 2.0 Web Site[/URL] [URL="http://www.codeproject.com/KB/applications/SendAppointment.aspx"]Send appointment through mail in asp.net[/URL] [URL="http://stackoverflow.com/questions/708417/asp-net-outlook-appointment-scheduling"]ASP.NET Outlook Appointment scheduling[/URL] | |
Re: Is there any error message show on the serve? You are trying to call a process in your asp.net code. When you run this code in your development PC, you can see the output as the application itself is running and the output is seen in the same PC. When … | |
Re: You can try these. [URL="http://chat.codeplex.com/"]ASP.NET AJAX Chat[/URL] [URL="http://www.codeplex.com/LiveChatStarterKit"] LiveChat Starter Kit [/URL] [URL="http://cutesoft.net/ASP.NET+Chat/"]Cute Chat[/URL] | |
Re: Hi nverma , Do you want to add empty row to datalist at run time? If so, you need to store the data source(such as DataTable, collection etc) which is bound to the DataList in Session. As adatapost said, add a button control to the ItemTemplate appropriately. When the button … | |
Re: Do you want to this operation in client side or server side? Since it is a web application, you can't use the above C# code at client side. It can be done using JavaScript only. You can try to use object.execCommand javascript method to paste the text from clipboard to … | |
Re: It means that you didn't configure the InsertCommand property and corresponding InsertParameters in SqlDataSource. Take a look the following articles. [URL="Using the Insert feature of SqlDataSource with Gridviews"]Using the Insert feature of SqlDataSource with Gridviews[/URL] [URL="http://www.4guysfromrolla.com/articles/050207-1.aspx"]Accessing and Updating Data in ASP.NET: Inserting Data [/URL] | |
Re: 1. From product page, you can pass the selected value of the dropdown list through session or query string. 2. In shopping cart page, in the RowDataBound event of GridView, find the dropdownlist control from the GridView row and set selected value to the value received from session or query … | |
Re: Have you tried [URL="http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.basevalidator.validationgroup.aspx"]ValidationGroup [/URL]property.? Validation groups allow you to organize validation controls on a page as a set. Each validation group can perform validation independently from other validation groups on the page. Check the following links. [URL="http://www.w3schools.com/ASPNET/prop_webcontrol_imagebutton_validationgroup.asp"]ASP.NET ValidationGroup Property[/URL] [URL="http://www.dotnet-guide.com/validationgroups.html"]Validation Groups in ASP.NET 2.0[/URL] [URL="http://msdn.microsoft.com/en-us/library/ms227424.aspx"]Specifying Validation Groups[/URL] | |
Re: Check the following link which tells you about data types supported by web service. [URL="http://msdn.microsoft.com/en-us/library/bb552900.aspx"]Data Types Supported by XML Web Services Created Using ASP.NET[/URL] You can the following ways, 1. Store the pairs in a DataSet and return it from your web method. 2. The above link says that arrays … | |
Re: To read the content of PDF files in C#, [url]http://jadn.co.uk/w/ReadPdfUsingCsharp.htm[/url] To export HTML to PDF, [url]http://stackoverflow.com/questions/589852/export-from-html-to-pdf-c[/url] | |
Re: You have enabled impersonation with Windows Authentication. Therefore the web applications run under the user's account who access the web site from browser. Therefore the user account should have read/write access to the IMAGES folder in the server where the application is running. Also the asp.net application runs under ASPNET … | |
Re: Why do you set the UseSubmitBehavior property of the Button to true? Is there a specific reasone? If no, remove that property. | |
Re: Hi Claude2005 , Yes.You need to provide permission to access to a folder to ASPNET account if you are running your website in Windows XP. Also you need to provide access to the folder to Network Service account if you are running your web site in Windows Server 2003. | |
Re: You can divide your web application into a 3-tier architecture namely 1. Presentation Layer 2. Business Layer 3. Data Access layer. [B]1. Presentation Layer[/B] You can put your .aspx files, images, user controls, javascript files, css files etc in this UI layer. Create separate folders to have image, JavaScript, CSS … | |
Re: What is the functionality of UserDALC() method? It seems that this method performs some database operation in the back end database which leads to a performance problem. If so, execute the query or stored procedure and check the time taken to complete the operation. If it takes too long, try … | |
Re: You need to set index.htm as the default document in IIS. Check this link. [URL="http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/dc6eb1b4-9028-4308-9935-52b64edfad36.mspx?mfr=true"]Setting Up Default Documents (IIS 6.0)[/URL]. If you are using a web hosting company to deploy you site over internet, you can ask them to set index.html as default document for your site. | |
Re: You can try to call the SetDatabaseLogon() method of your report with your server name, database name, user name and password. Try the solution given in the following link. [url]http://www.daniweb.com/forums/thread155854.html[/url] [url]http://forums.asp.net/p/1131058/1793009.aspx[/url] [url]http://vb.net-informations.com/crystal-report/vb.net_crystal_report_load_dynamically.htm[/url] | |
Re: Since you are updating a table based on some condition like [COLOR="Red"]UserName = ' " + Text1.Text + " '[/COLOR], the condition may not fail as there may not be a UserName in the Registration table satisfying the condition. Just copyt the UPDATe statement generated by Response.Write into SQL Management … | |
Re: 1. First you need decide the platform such as .NET or Java to develop your project. 2. Learn the relevant programming language. 3. Choose a requirement for the project development of the project. It can be Sale management, Leave management system etc 4. Design the database for the requirement and … | |
Re: Take a look at the following link. [URL="http://www.aspfree.com/c/a/Microsoft-Access/Connecting-to-a-Microsoft-Access-database-with-ASPNET/"]Connecting to a Microsoft Access database with ASP.NET [/URL] You can find some source code here. [URL="http://forums.asp.net/t/496540.aspx"]Login page using MS Access Database[/URL] [URL="http://www.daniweb.com/forums/thread126679.html"]Login Page in asp.net using C# using MS access database[/URL] | |
Re: The [URL="http://en.wikipedia.org/wiki/ASP.NET_MVC_Framework"]ASP.NET MVC Framework [/URL]is a web application framework that implements the Model-view-controller pattern. It allows software developers to build a Web application as a composition of three roles: Model, View and Controller. Check the following links to see more details. [URL="http://www.asp.net/(S(pdfrohu0ajmwt445fanvj2r3))/learn/mvc/"]ASP.NET MVC Tutorials[/URL] [URL="http://aspnetmvcbook.s3.amazonaws.com/aspnetmvc-nerdinner_v1.pdf"]Free ASP.NET MVC eBook Tutorial[/URL] | |
Re: Try the solution given by Andy0000 in the following link: [url]http://www.webdeveloper.com/forum/archive/index.php/t-174029.html[/url] But it may work in IE only. | |
Re: The following versions of Vista can support IIS 7. Windows Vista Ultimate Edition Windows Vista Home Premium Edition Windows Vista Business Edition Windows Vista Enterprise Edition Refer this link: [url]http://learn.iis.net/page.aspx/28/installing-iis-70-on-windows-vista/[/url] Vista Home Premium Edtion does not support Windows Authentication in IIS. However Vista Ultimate will support it. | |
Re: Since you want to open Outlook using asp.net, you can use JavaScript outlook to open Outlook at client PC. Try the following links. To pass data to outlook using javascript, you may use command line parameters when opening Outlook using javascirpt. Check the following links. [URL="http://www.daniweb.com/forums/thread250222.html"]Opening Outlook through javascript[/URL] [URL="http://www.codeproject.com/KB/aspnet/EmailUsingJavascript.aspx"]Sending … | |
Re: Hi, Your code is working fine for me. Are you checking your code in IIS on Windows XP(your development machine) or any Windows Server or the built-in web server comes with VS 2008? Your code is working fine with VS 2008 with built-in web server and also VS 2008 with … | |
Re: Try this link. [URL="http://www.jigar.net/howdoi/viewhtmlcontent97.aspx"]Draw a circle over an image[/URL] | |
Re: Hope the following articles will help you to setting up database in ix web hosting. [URL="http://www.init.com.sg/Blog/post/Setting-Up-Database-Connection-on-IxWebHosting.aspx"]Setting Up Database Connection on IxWebHosting[/URL] [URL="http://www.init.com.sg/Blog/post/Configuring-Webconfig-for-database-access-IxWebHosting.aspx"]Configuring Web.config for database access - IxWebHosting[/URL] | |
Re: Browser close event cannot determined accurately by code. Therefore you cannot re-count the online users if browser is closed by the user. The javascript onbeforeunload event can be used to detect the browser close. But it will also get fired if the user click a link to go to another … | |
Re: When you add a web page to your web site/web application, You can add a master to the web page by selecting 'Select master page' checkbox in the 'Add New Item' dialogbox. It will open a dialogbox where you can select the master page for the web page. Refer these … | |
Re: Try these links. [URL="http://www.beansoftware.com/ASP.NET-Tutorials/ASP.NET-SQL-Server.aspx"]Using ASP.NET With SQL Server[/URL] [URL="http://msdn.microsoft.com/en-us/library/ms247257.aspx"]Using SQL Server Express with ASP.NET[/URL] | |
Re: The login control uses ASP.NET membership provider to authenticate the user. The membership provider is basically SQL server database and connection is specified in the web.config. Therefore you application was working fine as your application was able to connect with SQL server membership database. But your application may not be … | |
Re: You are trying to insert values in a column in a table greater than the max length of the column specified. Either increase the column width for the table in the database or check the length of the column values in your code before inserting into table. | |
Re: Try these links. [url]http://translation.babylon.com/[/url] [url]http://translation.imtranslator.net/translate/default.asp?dir=yi/en[/url] [url]http://www.worldlingo.com/en/products_services/worldlingo_translator.html[/url] [url]http://translate.google.com/#es|sk|[/url] | |
Re: Take a look at the following links. [URL="http://www.silverlightshow.net/items/Building-a-Framework-for-Silverlight-Line-Of-Business-Applications.aspx"]Building a Framework for Silverlight Line-Of-Business Applications[/URL] [URL="http://silverlight.net/community/samples/silverlight-samples/"]Silverlight Community Samples[/URL] [URL="http://silverlight.net/showcase/"]Silverlight Showcase[/URL] [URL="http://blogs.msdn.com/brada/archive/2009/03/17/mix09-building-amazing-business-applications-with-silverlight-3.aspx"]Building Amazing Business Applications with Silverlight 3[/URL] | |
Re: Convert the DataTable into a two dimensional array and the pass the array to the Excel COM object. The Excel object modal accepts arrays and writes the content into Excel worksheet. Try the following link. [URL="http://www.dotnetspider.com/resources/27875-DataTable-Excel-With-Bulk-Insert.aspx"]DataTable to Excel With Bulk Insert[/URL] | |
Re: There are plenty of open source blog software available for asp.net. Try the following links. [URL="http://www.dotnetblogengine.net/"]BlogEngine.NET[/URL] [URL="http://presstopia.com/pt/blog/"]Presstopia Blog[/URL] [URL="www.subtextproject.com"]Subtext[/URL] [URL="http://www.codeplex.com/oxite"]Oxite[/URL] | |
Re: When you set the TextMode to 'Password', actually the textbox is rendered as below [CODE]<input type="password" name="TextBox1">[/CODE] If you set TextMode to 'SingleLine, the textbox is rendered as below [CODE]<input type="Text" name="TextBox1">[/CODE] Both HTML INPUT controls are different. Also the type property in the INPUT control is read only and … | |
Re: This error might be occured if any of image url used in css, javascript and html is incorrect or the image file is missed in the folder where your images exists. Check whether all files referenced in your web page exist in the web site folder. You can try to … |
The End.