Click here to Skip to main content
14,879,683 members
Everything / WebForms

WebForms

WebForms

Great Reads

by Altaf Ansari
SignalR Real-Time ChatApp with Emoji / Smiley and sending file attachment
by Altaf Ansari
Integration of SignalR with ASP.NET C# WebForm Application in Real-Time Chat Application
by Vahid_N
PdfReport is a code-first reporting engine which is built on top of the iTextSharp and EPPlus libraries.
by pmpdesign
A lightweight C# library to add images and 'round rectangles' to a PDF on the fly and then securely embed the PDF in a web page

Latest Articles

by gggustafson
Revises an earlier implementation of the Gradient Color Picker
by Jin Vincent Necesario
HtmlGenericControl of ASP.NET Webforms
by Xomega Team
How to write multi-platform UI framework independent presentation logic
by Richard Atkins
Create a fluid, multi-column, vertically ordered list using nested, floating divs

All Articles

Sort by Score

WebForms 

Please Sign up or sign in to vote.
18 Sep 2018
Altaf Ansari
SignalR Real-Time ChatApp with Emoji / Smiley and sending file attachment
Please Sign up or sign in to vote.
20 Dec 2017
Altaf Ansari
Integration of SignalR with ASP.NET C# WebForm Application in Real-Time Chat Application
Please Sign up or sign in to vote.
14 Feb 2013
Vahid_N
PdfReport is a code-first reporting engine which is built on top of the iTextSharp and EPPlus libraries.
Please Sign up or sign in to vote.
2 May 2007
pmpdesign
A lightweight C# library to add images and 'round rectangles' to a PDF on the fly and then securely embed the PDF in a web page
Please Sign up or sign in to vote.
4 Dec 2007
Ned Thompson
This article will demo how a free Flyout can help to save space on your webpage.
Please Sign up or sign in to vote.
10 Jul 2008
Alexandru Lungu
How to include JavaScript files in other JavaScript files.
Please Sign up or sign in to vote.
16 Apr 2007
Matt (D) Wilson
A simple command-line utility that validates XML files, implemented using MSXML via the VOLE COM/Automation driver library
Please Sign up or sign in to vote.
19 Apr 2012
Deepak_Sharma_
This article will show how to create an auto-suggest TextBox that will suggest data from a SQL Server database column.
Please Sign up or sign in to vote.
4 Apr 2015
Jean Carlo S. Passos
CRUD over Association Entity that maps to association tables
Please Sign up or sign in to vote.
30 May 2017
Voevudko A. E., Ph.D.
Understanding, designing, generating and plotting Kronecker product based fractals and offering web-pages supporting it.
Please Sign up or sign in to vote.
26 Nov 2011
Brij
This article discusses some problems with the earlier approach and discusses Identity federation
Please Sign up or sign in to vote.
4 Sep 2007
Brian Chavez
Slink is a code generating Framework that generates type safe URLs for ASP.NET. With Slink URLs, you increase code quality, increase maintainability, and get compile time checking of your URLs in all your ASPX pages (code-behind and non-codebehind).
Please Sign up or sign in to vote.
16 Oct 2012
Sunasara Imdadhusen
MS Test Result Viewer is a free open source library to convert MS Test result (.trx) file into HTML. It is also allowed you to perform MS Test on your test container project (.dll) file. This utility will work with simple command line arguments to generate test report in HTML format with excellent U
Please Sign up or sign in to vote.
16 Feb 2013
Marc Clifton
Sinking WebBrowser button element events and getting/setting input element values programmatically, without a web server.
Please Sign up or sign in to vote.
4 Nov 2006
Craig G. Wilson
How to flatten collections for an ObjectDataSource using the Adapter Pattern.
Please Sign up or sign in to vote.
28 Dec 2008
avsol
Use ASP.NET Routing to avoid 404 Not Found errors.
Please Sign up or sign in to vote.
15 Aug 2009
Ricardo Pineda Then
Shows how to serialize an object using binary serialization without using WCF.
Please Sign up or sign in to vote.
17 Sep 2013
Adam Zgagacz
User control for editing numbers writtem using different numeral base.
Please Sign up or sign in to vote.
11 Jun 2007
Mahdi Abdulhamid
SharePoint 2007 Flash Animation Web Part
Please Sign up or sign in to vote.
13 Dec 2012
GrahamMendick
A conversion of Project Silk to ASP.NET Web Forms using the Navigation for ASP.NET Web Forms codeplex project, concentrating on the navigational aspects
Please Sign up or sign in to vote.
5 Apr 2015
J.L. MacDonald
When supplied with a connection string and table name, this tool will read the field data types and create asp controls for you to copy and paste in your own project.
Please Sign up or sign in to vote.
13 Oct 2017
veen_rp
A small JavaScript module to create a modal dialog box or user input box in the familiar .NET style
Please Sign up or sign in to vote.
3 Sep 2013
Rion Williams
Common approaches to responsive design
Please Sign up or sign in to vote.
17 Dec 2013
Member 9913858
An introduction to using FakeModel to create test aata for you.
Please Sign up or sign in to vote.
14 Apr 2014
Ondra Morský
Implement NLog logging with SignalR
Please Sign up or sign in to vote.
8 Feb 2015
Emiliano Musso
How to apply GA techniques fo solving problems in VB.NET. The example shows how to create solutions for a 2D maze, which will evolve to find the shortest path between two points.
Please Sign up or sign in to vote.
13 Jul 2016
Vincent Maverick Durano
A simple demo that explains how to do calculations in a GridView using JavaScript.
Please Sign up or sign in to vote.
16 Aug 2009
Farooq Kaiser
In this article, I will explore handling unknown actions. A Controller.HandleUnknownAction method gets called when a controller cannot find an action method that matches a browser request.
Please Sign up or sign in to vote.
24 Aug 2009
MatthewCasperson
An introductory look at the JavaScript CAKE library, which allows you to build up the HTML5 canvas element like a vector image.
Please Sign up or sign in to vote.
10 Jul 2011
Christian Graus
Please don't push 'answer' to comment. I almost did not read this, on the basis that I assumed you had an answer.You should learn about ASP.NET. Short version, your C# runs on the server, and therefore you can only interact with the clipboard on the server, not the clipboard on the client....
Please Sign up or sign in to vote.
17 Dec 2011
GrahamMendick
Progressively enhanced ASP.NET Web Forms version of Knockout tutorial sample
Please Sign up or sign in to vote.
23 Jul 2014
Saad_Mahmood
Expression Blend - Playing with Sample Data (WPF , Windows Phone)
Please Sign up or sign in to vote.
10 Oct 2014
Gerardo Recinto
Virtualization of RAM & Disk for high-speed, low-footprint & scalable data caching
Please Sign up or sign in to vote.
22 Dec 2014
Turay Melo
This is an alternative for "Creating an Outlook 2010 Add-In"
Please Sign up or sign in to vote.
5 Feb 2015
Miller Nguyen
This article will show you how to implement a complete solution of electronic signature by using HTML5 canvas in ASP.NET (VB).
Please Sign up or sign in to vote.
5 Aug 2016
Vincent Maverick Durano
This tip demonstrates how to upload an image to a specified folder within the root of the web application and display the image right away in the Image control after uploading.
Please Sign up or sign in to vote.
23 Feb 2009
David Meng
Introduces a way to create a key column in a SharePoint list.
Please Sign up or sign in to vote.
26 Feb 2010
Sandeep Mewara
This is an easy way to clear all input fields in the form.
Please Sign up or sign in to vote.
5 Nov 2010
shakil0304003
You can read this linksClickClick
Please Sign up or sign in to vote.
13 Sep 2011
Mehdi Gholam
The general principal to keep in mind is don't make more work for yourself than is absolutely necessary. Most clients and users don't care about how and where their data is stored unless it is safe and consistent. Rarely to client insist on using a specific type of database engine.In...
Please Sign up or sign in to vote.
3 Sep 2014
_yaRus_
Frontend design for ASP.NET web applications
Please Sign up or sign in to vote.
23 Jan 2016
Fredrik Schultz
Introduction to Kaliko CMS - an open source content management system for ASP.NET
Please Sign up or sign in to vote.
12 May 2020
Maciej Los
Replace this: DateTime y = Convert.ToDateTime(tanggal); with this: DateTime y = DateTime.ParseExact(tanggal, "dd/MM/yy H:mm", CultureInfo.InvariantCulture); Note: I'm not sure what value corresponds to month and day. Please, change it...
Please Sign up or sign in to vote.
2 Jan 2010
Sky Sanders
AccessControlModule can impart a greater consistency and usability upon the default behaviour of FormsAuthentication and allow any client script code to leverage FormsAuthentication in a straight forward manner.
Please Sign up or sign in to vote.
9 Oct 2008
douss
Hi,I suggest using one of these frameworks : ExtJS, Prototype, Dojo, Scriptaculous...It would make it much easier.
Please Sign up or sign in to vote.
26 May 2010
AlexCode
A way to audit your business objects using NLog.
Please Sign up or sign in to vote.
4 Nov 2010
Ankur\m/
As the other answerer said, disable AutoCompleteType property of the textbox.But this would not work in Mozilla Firefox. The best option would be to write a JavaScript onFocus of the text box to disable...
Please Sign up or sign in to vote.
9 Mar 2011
Sergey Alexandrovich Kryukov
I agree with Yusuf.As your probably did not advanced your progress to much so far, I recommend you get yourself fully aware of the problems of the self-modifying code, see this: http://en.wikipedia.org/wiki/Self-modifying_code#Disadvantages[^].At the same time, your idea is easy to...
Please Sign up or sign in to vote.
1 Jul 2011
Valery Possoz
Hello,Addi...
Please Sign up or sign in to vote.
19 Apr 2012
CPallini
Why don't you use the Windows Task Scheduler[^] for the purpose?
Please Sign up or sign in to vote.
26 Jun 2012
DamithSL
following method create table and add records to it static DataTable GetTable() { // // Here we create a DataTable with four columns. // DataTable table = new DataTable(); table.Columns.Add("Dosage", typeof(int)); table.Columns.Add("Drug",...
Please Sign up or sign in to vote.
11 Jul 2012
R. Giskard Reventlov
Is this[^] what you mean?You might also need to read[^] this.
Please Sign up or sign in to vote.
24 Jul 2012
Aarti Meswania
--------------...
Please Sign up or sign in to vote.
6 Aug 2012
Kenneth Haugland
Here is the answer of what Wes wanted to learn you:SQL Injection Attacks and Some Tips on How to Prevent Them[^]
Please Sign up or sign in to vote.
19 Oct 2012
AshishChaudha
Try thisif(!Page_ClientValidate()){ if( string.IsNullOrEmpty(document.getElementById("TextBox1").value) ) { alert("Here I am"); return false; }}Updated solution as suggested by Marcus.Thanks
Please Sign up or sign in to vote.
9 May 2013
Abhay@Accenture
How to bind Derived Type in MVC View
Please Sign up or sign in to vote.
14 Jun 2013
ShubhamSaxena
Learn how to implement Kendo Grid.
Please Sign up or sign in to vote.
7 Sep 2013
Ron Beyer
Well without reading your mega-code dump, here is your problem:Quote:[UnauthorizedAccessException: Access to the path 'C:\Inetpub\vhosts\rechargeerp.com\httpdocs\temp\zttux5i5h0iyhb452dctuhe2_photo.jpg' is denied.]You are trying to access a path that is denied.
Please Sign up or sign in to vote.
29 Sep 2014
Rajendra Kumar Sahu
Easy way to show JavaScript Alert Message having Arabic Text
Please Sign up or sign in to vote.
3 Oct 2014
Snesh Prajapati
Here are the solutions for similar issue:http://stackoverflow.com/questions/22555533/form-submit-not-working-in-firefox[^]http://stackoverflow.com/questions/17968565/mozilla-form-submit-not-working[^]Please try and let us know the result.
Please Sign up or sign in to vote.
10 Nov 2014
Afzaal Ahmad Zeeshan
As Sergey has already told you, you need to come up with your own ideas and your own wit should be used in order to proceed. I can't force you to use a Website, I prefer Web Pages for myself, Sergey or some other might ask you to use MVC because it has a better object model. These are known as...
Please Sign up or sign in to vote.
21 Feb 2016
Abdullah Al-Muzahid
This is a RAD tool which can be used to generate codes for CRUD operation in ASP.NET and C# automatically based on Database Model Diagram.
Please Sign up or sign in to vote.
4 May 2016
Karthik_Mahalingam
try this ...
Please Sign up or sign in to vote.
5 Feb 2019
Dave Kreskowiak
Easy, find out why your query didn't return any rows from the database. There's "no row at position 0" because there's no data in the table. Also, NEVER build an SQL query using string concatenation like that. Always use parameters. Google for "SQL Inject Attack" to find out why what you did...
Please Sign up or sign in to vote.
27 May 2019
Alexandros Pappas
Example of a self hosted WCF service over HTTPS with transaction
Please Sign up or sign in to vote.
5 May 2020
MadMyche
You can't; this is due to security/privacy concerns. What you want to do is upload the file and save it to a "temp" location. Then you do your validation routine, if it passes you then send it to the final location. There's a pretty good answer...
Please Sign up or sign in to vote.
13 Dec 2020
Jin Vincent Necesario
HtmlGenericControl of ASP.NET Webforms
Please Sign up or sign in to vote.
28 Mar 2009
Hesham Desouky
A How to that demonstrates how to use RsClientPrint ActiveX control to print reports from Microsoft SQL Server Reporting Services
Please Sign up or sign in to vote.
8 May 2009
Thomas Scheelhardt
Provides an implementation of an ImageButton that will grey out when disabled
Please Sign up or sign in to vote.
23 Jan 2010
Matthew Dennis
In this article, I will walk through the modification of the default ASP.NET MVC 2 application to use the Munq IOC container.
Please Sign up or sign in to vote.
20 Apr 2010
e.bonavero-miller
1 alternative  
Not much on this one that was helpful so I thought I'd put what worked for me.Cntrl + Alt + Del > Processes > end all iexplore.exe and WebDev.WebServer.exe processes.Since devs generally debug with the dev webserver end those processes first and retest. Although iexplore handles stay...
Please Sign up or sign in to vote.
25 Jul 2010
raju melveetilpurayil
add a css class .error .error{ font-size:large; color:Red; }
Please Sign up or sign in to vote.
20 Sep 2010
Florian DREVET
Brings you the ability to personalize your configuration files per developer, per machine, per configuration...
Please Sign up or sign in to vote.
3 Nov 2010
JamieRushton_
If you're only moving a file why dont you have a look at creating a .cmd that takes advantage of XCOPY.http://en.wikipedia.org/wiki/XCOPY[^]
Please Sign up or sign in to vote.
9 Nov 2010
Ed Guzman
You can use the attributes in several different ways:1. When you assign an attribute to a "runat=server" control, it will render the attribute as an attribute of the underlying HTML tag, and, as you know, it will be a JavaScript expression description.2. You can assign an attribute on...
Please Sign up or sign in to vote.
11 Nov 2010
Kirankumar Ballapalli
Hi,Its a library function jQuery script.Refer following site.http://www.authenticsociety.com/blog/JavaScript_DollarSign[^]http://stackoverflow.com/questions/846585/can-someone-explain-the-dollar-sign-in-javascript[^]I hope links will help you to now about $...
Please Sign up or sign in to vote.
2 Dec 2010
Dave Kreskowiak
You cannot return multiple files to the browser in one response.There are a variety of ways of doing this, the most common of which is a download manager. The download manager would run seperate from the web page and do exactly what its name implies - download files.Your web page would...
Please Sign up or sign in to vote.
23 Dec 2010
Tony Richards
Instead of getting the source from the web control, why not use something like a HttpWebRequest to download it directly. This should work with both HTTP and HTTPS requests.The HttpWebRequest MSDN page, a good place to...
Please Sign up or sign in to vote.
28 Dec 2010
AspDotNetDev
I think you need to wait for the webpage to be fully loaded before you can invoke the script. There is a completed event on the WebBrowser control for this purpose. If you just want to test this theory out real quick, put your invoke script code in a button on your form. That way, you can wait...
Please Sign up or sign in to vote.
12 Jan 2011
Anupama Roy
For exporting GridView to PDF try using iTextSharp which is a free library for exporting.Take a look at this articlehttp://www.aspsnippets.com/Articles/Export-GridView-To-Word-Excel-PDF-CSV-Formats-in-ASP.Net.aspx[^]
Please Sign up or sign in to vote.
29 Jan 2011
OriginalGriff
Yes.Lots of work though.Look at the VS GUI and think to yourself: "how much of that do I need to duplicate?" I think you will be surprised how much it is...
Please Sign up or sign in to vote.
8 Mar 2011
GregWyatt
Sorry, I don't have a lot of time to answer this, but I would look into a modalPopup. Modal Popup Demo. It pops up a window on your web page and you can grey out the background as they work in it. Once they click done it ungreys the background and the page looks as it did before they clicked...
Please Sign up or sign in to vote.
9 Mar 2011
Yusuf
Look buddy, if you looking for someone to write you a code, you are in the wrong place. Try RentAcoder may be?But if you are up to the challenge and want to do it yourself, I am sure you will get plenty of help. But you need to do it yourself, no one here will be willing to do it for...
Please Sign up or sign in to vote.
24 Mar 2011
Brijesh Kr
Hey the best event is KeyDown, at handler just cancel KeyEventArgs,private void Form1_KeyDown(object sender, KeyEventArgs e) { Keys k = (Keys)sender; if(k.GetType = Keys.A) e.Handled = false; // to check it to fulfill ...
Please Sign up or sign in to vote.
27 Mar 2011
Sergey Alexandrovich Kryukov
I assume you're asking not about static picture but about drawing during run-time.You should use overridden method System.Windows.Forms.Control.OnPaint or handle event Control.OnPaint; in both case use the instance of the class System.Drawing.Graphics passed in event arguments in both cases....
Please Sign up or sign in to vote.
30 Jul 2011
Shameel
There isn't a direct way to do it. However, you can use the HttpWebRequest/HttpWebResponse class to read the Html output from the webpage, parse the Html and rig the information you want.
Please Sign up or sign in to vote.
15 Sep 2011
ChunkyStool
The alternative posted by Daaron does not work for several cases. E.g. Sign is included (+ or -), text contains whitespace prefix or suffix, etc. You could fix the first two limitations with a more detailed regex like "(^\s*(-|\+)?\d+\s*$)" but you could still end up with a value that won't fit...
Please Sign up or sign in to vote.
13 Sep 2011
Abhinav S
If you can write your code generic enough to replace one db with another, then this would add to the sale value of the application. One client can use, say, MySQL while another client can use SQL Server with the same application.However, do this only when you think it is worth the effort....
Please Sign up or sign in to vote.
13 Sep 2011
Dr.Walt Fair, PE
Your question is too general to give a specific answer. It depends on what the databases do. I have cases where there is a project database (different for each project), supplemented by a database containing standard information. It would be a major hassle to combine them into a single database...
Please Sign up or sign in to vote.
13 Sep 2011
Ger Hayden
Do you mean two databases simultaneously? Let me give a real world example.I once worked for a company that supplied hospital software, which had two databases (both Oracle), one at regional level where things like GP and GP Practices were stored, and the other at hospital level where data...
Please Sign up or sign in to vote.
31 Oct 2011
srinivas vadepally
hi kranthi,http://www.codeproject.com/Questions/121837/close-the-browser-histry[^]
Please Sign up or sign in to vote.
19 Apr 2012
Bilal Ahmed Lilla
Thats better to use window service .Set your desire timmings your Service.Window service run automaically when ever you start your computer .for more search on google.
Please Sign up or sign in to vote.
23 May 2012
OriginalGriff
Have a look at SharpZipLib[^] - it should help!
Please Sign up or sign in to vote.
14 Jul 2012
R. Giskard Reventlov
Tough question to answer with zealots on both sides. Really, the best way to determine this is to look carefully at your requirements and decide which methodology would best fit the solution. If you are already familiar with WebForms than that would be the easiest way to go. Conversely you may...
Please Sign up or sign in to vote.
9 Oct 2012
AshishChaudha
Try this...may it will help you..protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { LinkButton1.Attributes.Add("onClick", "javascript:alert('Record Saved Successfully');"); } } protected void LinkButton1_Click(object...
Please Sign up or sign in to vote.
14 Oct 2012
Zoltán Zörgő
The two question you had don't actually matter when speaking about "very very top level security". I have seen different login pages for admin and members and common login also - both can be good or poor. But be aware, that there is nothing like "hidden page", when somebody is trying to attack...
Please Sign up or sign in to vote.
31 Jan 2013
DinoRondelly
There is google,https://www.google.ca/search?q=learn+about+webservices&rlz=1C1PQHS_enCA512CA512&oq=learn+about+webservices&aqs=chrome.0.57j0l3j62l2.4590&sourceid=chrome&ie=UTF-8[^]Lots of stuff, good luck
Please Sign up or sign in to vote.
31 Jan 2013
Richard C Bishop
Here is a good place to start.http://www.w3schools.com/webservices/default.asp[^]
Please Sign up or sign in to vote.
17 Mar 2013
Sandeep Mewara
Just place/use one viewer and change the source of report to it as per need. You would need to define the report for the viewer at runtime as defined by you. //This code will define a report at runtime//WebformsreportViewer1.Reset();reportViewer1.LocalReport.ReportEmbeddedResource =...
Please Sign up or sign in to vote.
26 Mar 2013
Zoltán Zörgő
There are several approaches to achieve this. There is an attribute of IMG tag called lowsrc. It was meant to be loaded first, than replaced by the image in the src attribute. Unfortunately, modern browsers are ignoring it; still you can make it work with javascript, see:...
Please Sign up or sign in to vote.
17 Jul 2013
Tom Glick Philadelphia, US
Run-Time Stored Procedure Processing (get input values, return GridView/Excel File)
Please Sign up or sign in to vote.
19 Jul 2013
Dholakiya Ankit
http://forums.asp.net/t/1258525.aspx/1[^]http://www.aspsnippets.com/Articles/Remember-UserName-and-Password-using-RememberMe-CheckBox-and-Cookies-in-ASPNet.aspx[^]
Please Sign up or sign in to vote.
1 Aug 2013
Tadit Dash (ତଡିତ୍ କୁମାର ଦାଶ)
Use Session. Store DataTable in Session and retrieve and modify whenever you want.
Please Sign up or sign in to vote.
16 Aug 2013
Zoltán Zörgő
Well, if you have such experience, and you want to learn new approaches, don't hesitate. MVC, especially MVC4 gives you more than you could ever dream of (ok, this might be exagerated :) ). Actually if you choose MVC you have only to gain. If you add jquery to your learning portfolio, you have...
Please Sign up or sign in to vote.
7 Sep 2013
me.ajaykumar
How to convert a web page to PDF or image
Please Sign up or sign in to vote.
25 Dec 2013
JoCodes
Its a warning associated on how to display or render the xml whether raw xml or with some style like table,bold etc. It can be avoided using xsl in the xml .
Please Sign up or sign in to vote.
26 Jan 2014
Sergey Alexandrovich Kryukov
Please see my comment to the question… However, if this is paging which behaves in some regular way, you can set a HTTP spy and see what HTTP requests are sent on each paging event. Apparently, you cannot assume any particular server-side technology for the site being scrapped. So, you...
Please Sign up or sign in to vote.
4 Mar 2014
Amalraj Ramesh
Try this if issue let me knowSqlConnection connWrite; connWrite = new SqlConnection(connectionString); SqlCommand comm1 = new SqlCommand("SaveBusinessChanges", connWrite); comm1.CommandType =...
Please Sign up or sign in to vote.
22 Mar 2014
CoderPanda
Hi,If you are a beginner in asp.net I wonder what you are trying to achieve by this. If you are trying to build a tool where you would paste code snippets and see if they work - something like a quick test - there are tools in the market already for this. Such...
Please Sign up or sign in to vote.
12 May 2014
Dave Kreskowiak
You can try using Request.ServerVariables["REMOTE_HOST"]. But, be warned, this doesn't work all the time.Also, unless those machines have physical security anyone on those machines can see the website.Also, when those machines are changed out and replaced with new machines, they will...
Please Sign up or sign in to vote.
12 Jun 2014
Jafarinejadvazifehkhorani
The only thing that you can do is using Google, Microsoft, Facebook or Yahoo as Identity provider in order to authenticate users. So , if it's the case refer to WIF(Windows Identity Foundation)
Please Sign up or sign in to vote.
11 Jun 2014
Manikandan10
You can't do such things and there are no API for that. How can you pass the Human Verification or Captchas?
Please Sign up or sign in to vote.
13 Jul 2014
Maciej Los
You can't! There is no functionality like: ActiveDocument.Pages(NoOfPage).Delete'orActiveDocument.Pages(NoOfPage).RemovePage is used to visualize document layout. You need to select all paragraphs from that page, then you'll be able to delete "page". More:Page Object...
Please Sign up or sign in to vote.
4 Sep 2014
Sinisa Hajnal
Every server side event means reloading the page so you should be fine.If you have partial page update then you have to do it like this:In your caller control, probably button, add OnClientClick="doModal()"function doModal() {// cover whole screen with black, 0.8 transparent div...
Please Sign up or sign in to vote.
25 Oct 2014
George Jonsson
You don't necessarily need to have a column in your database table for status, you could use an aggregated column when you do queries from the table.In this way there is no need update the...
Please Sign up or sign in to vote.
27 Jan 2015
Kornfeld Eliyahu Peter
Ecalendar - in the sample you are using - is a prefix tag registered at the top of the page:ECalendar" Namespace="ExtendedControls" Assembly="EventCalendar" %>]]>It is not a tag and can be set as you wish, all the purpose of it is to create a shorthand reference to a namespace...Please...
Please Sign up or sign in to vote.
28 Apr 2016
Karthik_Mahalingam
use FindControl[^]usage: protected void Page_Load(object sender, EventArgs ee) { Label label = new Label() { Text = "Name:" }; TextBox textbox = new TextBox() { ID = "txtboxName" }; Panel1.Controls.Add(label); ...
Please Sign up or sign in to vote.
8 May 2016
Kornfeld Eliyahu Peter
You have to understand, that the very moment you display something on a web page that content is on the end user's machine...So even you prevent from downloading the pdf file behind the report, the end user can save it page-by-page (like paging and hitting 'Print Screen'), so the report is...
Please Sign up or sign in to vote.
24 Jun 2016
Vincent Maverick Durano
To make it more clear to your side, I made another demo. We will add a Table, HiddenField, GridView and a Button control in the markup.ASPX:
Please Sign up or sign in to vote.
28 Nov 2016
F-ES Sitecore
You need to get into the proper mindset for developing webforms. Rather than add logic to the aspx page you simply add the controls and using the code-behind to manipulate these controls. So what I'd do is add both the LinkButton controls but set their visibility to false;
Please Sign up or sign in to vote.
13 Jun 2017
Pete O'Hanlon
Ah, the good old "how do I improve SEO" question. Do you know what? I'll let you into a little secret. Chasing after SEO is pretty much a waste of time and money because what is relevant today probably isn't going to be relevant tomorrow. You'll hear about how you have to maximize inbound links...
Please Sign up or sign in to vote.
21 Aug 2017
Richard Deeming
Try something like this: Code-behind: public IQueryable GetTopLevelEvents() { return db.EventsTable.Where(e => e.ParentId == 0); } public IQueryable GetChildEvents(EventsTable parent) { return db.EventsTable.Where(e => e.ParentId == parent.Id); } Markup: ...
Please Sign up or sign in to vote.
21 Aug 2017
Dave Kreskowiak
You're not remembering that web applications are stateless. When you get a request on one method, the resulting web page is returned and your state (variables had content) is lost. The next method that is called from the browser is going to the controller like it was the first request made to...
Please Sign up or sign in to vote.
5 Feb 2019
OriginalGriff
Problem 1: For starters, don't do it like that! Never concatenate strings to build a SQL command. It leaves you wide open to accidental or deliberate SQL Injection attack which can destroy your entire database. Always use Parameterized queries instead. When you concatenate strings, you cause...
Please Sign up or sign in to vote.
28 Mar 2020
OriginalGriff
Quote: I work in the IT department of bank had limited knowledge of sql & .net programming, I need help to develop bank accounts reconciliation application. Flow will be as follows. No, you don't. This is a student exercise - a real bank app...
Please Sign up or sign in to vote.
7 May 2020
Richard MacCutchan
You need to move the validity test outside the loop so the success message only appears if all rows are true. bool chValidity = true; // assume all checks will succeed for (int i = 1; i
Please Sign up or sign in to vote.
5 May 2009
Shou Takenaka
This article describes an idea of the ASP.NET page transfer method that can be called like the Response.Redirect method and works as cross-page posting.
Please Sign up or sign in to vote.
8 Oct 2008
Mohammad Dayyan
2 alternatives  
Hi all.How can I send a Form with AJAX (Post method)?It means is there a free AJAX script about it Thank you
Please Sign up or sign in to vote.
15 Aug 2009
Abhishek Sur
MVC applications does so using URL rewriting. Hope that approach is good for you. Abhishek SurMy Latest ArticlesCreate CLR objects in SQL Server 2005C# Uncommon KeywordsRead/Write Excel using OleDBDon't forget to click "Good Answer" if you like to.
Please Sign up or sign in to vote.
26 May 2009
adatapost
Please refere this link http://www.highdots.com/css-tab-designer/[^] A DATAPOST COMPUTER CENTRE (K.V Prajapati)
Please Sign up or sign in to vote.
26 Feb 2010
Sandeep Mewara
ALTERNATIVE #2: via JavaScript function ClearAllControls() { for (i=0; i
Please Sign up or sign in to vote.
16 Mar 2010
shwetamber
1 alternative  
Hi frnds ,I have a website with some domain . I want to make it a email checker website like gmail or yahoomail . I need to users are able to create id like username@mydomain.com . I am working on it last 1 month but i doesn't found any solution .I ask to my hosting provider, thay says...
Please Sign up or sign in to vote.
19 Mar 2010
AspDotNetDev
Since you tagged this with ASP.NET, I thought I'd mention that default.aspx acts like index.html in that you can just point to the parent directory and the default.aspx page in that directory will automatically be used.
Please Sign up or sign in to vote.
25 Mar 2010
Christian Graus
Lakshmana Kumar Vepuri wrote: as far as i kno he is an expert in sql, and i dont kno even little bit in sql, so i dont want him to know that im a fresher.Your corporate culture is a disaster and will lead to failure more often than success. Perhaps he's lying too. Perhaps no-one there has...
Please Sign up or sign in to vote.
3 May 2010
Sandesh M Patil
You seem to be missing .Also, make sure you've included the AjaxControlToolkit's DLL in your project. You can also check outLink for some tips on fixing AJAX problemsHope this may help u... :)
Please Sign up or sign in to vote.
15 Jun 2010
pradeep_kr
DropDownList dllist=(DropDownList)sender;GridViewRow gr = (GridViewRow)dllist.NamingContainer;
Please Sign up or sign in to vote.
25 Jul 2010
raju melveetilpurayil
add css class for Required fields as "required" . then it will work fine.
Please Sign up or sign in to vote.
31 Aug 2010
Prosanta Kundu online
I always prefer this approach belowASPX pageIn aspx.cs page Page_LoadPage.ClientScript.RegisterClientScriptBlock(Page.GetType(), "pageVars", string.Format("var TextBox1 = '{0}';", TextBox1.ClientID),true);When required...
Please Sign up or sign in to vote.
4 Nov 2010
AngelLoose
2 alternatives  
Horizontal and vertical both in the middle.
Please Sign up or sign in to vote.
4 Nov 2010
E.F. Nijboer
You can place a dic around your linkbutton to add the desired style, like this: Good luck!
Please Sign up or sign in to vote.
7 Nov 2010
PSK_
Start from herehttps://developer.mozilla.org/en/A_re-introduction_to_JavaScrip[^]And following is really a good resource to start with javascript.http://eloquentjavascript.net[^]For advance concepts you can checkhttp://ejohn.org/apps/lear[^]
Please Sign up or sign in to vote.
8 Nov 2010
AngelLoose
2 alternatives  
for example:1. linkBtnName.Attributes.Add("onmouseover","document.getElementById('someId').src='asdf.gif'"); 2. e.Row.Attributes.Add("OnDblClick", "__doPostBack('GridView1','Select$" + e.Row.RowIndex + "')");It's a js expression,but I am so puzzled! So I want a introduction about...
Please Sign up or sign in to vote.
9 Nov 2010
Jitendra Zaa
Hi Angel,Server controls like Button and label have properties (attributes) like runat, id, name, style.Ex : here, id, runat, style and Text are the attribute, which means that attributes of the controls can be set at design time or runtime.I hope this would help...
Please Sign up or sign in to vote.
9 Nov 2010
AngelLoose
2 alternatives  
the code below:function mouseevent(){ document.getElementById("LinkButton1").style.backgroundImage="url('/images/4.gif')"; document.getElementById("LinkButton1").style.backgroundColor="#345677";}
Please Sign up or sign in to vote.
10 Nov 2010
Ed Guzman
The best way to solve this problem is to use CSS.Inside the CSS class you can specify the background property which will take the image for a background or, if the image does not exist, it will use the background color instead. Example:.myClass{ ...
Please Sign up or sign in to vote.
29 Dec 2010
AspDotNetDev
To add to my previous answer, this works fine for me:namespace WindowsFormsApplication12{ using System; using System.Windows.Forms; public partial class Form1 : Form { public Form1() { // Boilerplate stuff. ...
Please Sign up or sign in to vote.
26 Jan 2011
Sandeep Mewara
What we are suggesting you is to have Div at the bottom of the page for footer. Any specific reason you are using another form?In general, Masterpages are used for header/footer desiging of a webpage. Other than that, you can design and use traditional usercontrols too. Look for basic page...
Please Sign up or sign in to vote.
27 Jan 2011
Yusuf
Interesting question.I don't know how to do it programatically. But there is an open secret out there called TweakUI[^]. You can customize the look and feel of many windows [dialogs] including what you looking to do.You can use TweakUI to customize the left side icons, you can even have...
Please Sign up or sign in to vote.
3 Feb 2011
Henry Minute
Take a look at TeboScreen: Basic C# Screen Capture Application[^] and see if it helps, with the first part anyway. I don't do any Web App stuff so I am not sure about pasting it but a quick search on c# paste from clipboard should get you loads of ideas.
Please Sign up or sign in to vote.
3 Feb 2011
AspDotNetDev
Can't be done with a webform by itself. However, you can create an XBAP or ActiveX object to run code on the client that would be able to do this. However, the user would see some sort of dialog to confirm that they will allow your ActiveX/XBAP to run. And that would not work on all platforms...
Please Sign up or sign in to vote.
14 Feb 2011
Albin Abel
I don't think this is a usual way. Instead of webform have a webservice. Pass data to webservice and get back results from it from your winform
Please Sign up or sign in to vote.
4 Mar 2011
#realJSOP
Either the Request object is null, or XResult is null, meaning the querystring element "res" does not exist in the querystring.
Please Sign up or sign in to vote.
4 Mar 2011
OriginalGriff
Only two possibilities: either XResult or TextBox1 is null.The later is unlikely - you should know if it is.The most likely is that the XResult is null, implying that the Request.QueryString is returning null. The most likely reason for this is simple: Have you checked that there is a...
Please Sign up or sign in to vote.
4 Mar 2011
TweakBird
Assume, if Request.QueryString["res"] it is Null, What happens in second line.Your are trying to Conversion of null to string. That is reason for getting 'Object reference not set to an instance of an object' error.So, What you have to do is,Check if Query string is not null then...
Please Sign up or sign in to vote.
4 Mar 2011
Monjurul Habib
string targetURL =Page.ResolveClientUrl("~/Result.aspx?Xresult=" + HttpUtility.UrlEncode(response));Response.Redirect(targetURL);If i misunderstand your question, please feel free to correct me.I hope the above information will be helpful. If you have more concerns, please let me know.
Please Sign up or sign in to vote.
9 Mar 2011
pankajupadhyay29
check these links and you can find many more in google search.ASP.NET Popup Control[^]AjaxToolkit Popup[^]--Pankaj
Please Sign up or sign in to vote.
9 Mar 2011
Sandeep Mewara
Have a look at these:ASP.NET Popup Control[^]ModalPopup Demonstration[^]If need for more, look here[^]
Please Sign up or sign in to vote.
9 Mar 2011
Sergey Alexandrovich Kryukov
A word of warning for you. As pop-ups are irritating and ofter carry unwelcome advertisement, many users block them using their Browsers' popup-blocking features or plug-in.A good alternative is using hidden element (usually div). You control its visibility and focus on some input element in...
Please Sign up or sign in to vote.
24 Mar 2011
Nick Reshetinsky
KeyPress would do it has additional event arguments so you can better analyza keyboard events
Please Sign up or sign in to vote.
16 Apr 2011
lw@zi
Whenever the post back happens, you should populate the session variable in the ASP.Net application. This is how you can do this:// This should be done only once and you can check first if this session variable already existsSession.Add("TextBoxText");// This is how you add the...
Please Sign up or sign in to vote.
27 Jul 2011
Christoph Keller
Hi,For your information, the assembly App_Web_xxxxxx is the dynamically compiled assembly from your not-compiled ASP.NET Code. This assembly will be generated when you use the "New Website" command in VisualStudio rather than "New Project" => "ASP.NET Web Application".This seems to be an...
Please Sign up or sign in to vote.
13 Sep 2011
Tejas Vaishnav
Yes there is advantage and also disadvantage there to use multiple db in single application...the best thing is that your security is high when you use multiple database..and the worst thing is that you have to manage both, so if any mistake there then it is big difficulty to solve this...
Please Sign up or sign in to vote.
24 Oct 2011
Chris_Green
Recursive DFS, BFS, and Leaf to Root search with pruning
Please Sign up or sign in to vote.
29 Oct 2011
Gordon Kushner
When you say submit, you imply you are sending the values back to the server. If you want to use JavaScript to get the values out form fields and present them in an alert, this is what you might do:function showValues() { ...
Please Sign up or sign in to vote.
31 Oct 2011
Neha Thanka
Hi,you can use javascript to solve your problem.Please try this code:function noBack(){window.history.forward();}noBack();window.onload=noBack;window.onpageshow=function(evt){if(evt.persisted)noBack();}window.onunload=function(){void(0);}
Please Sign up or sign in to vote.
31 Oct 2011
member60
here u will get the solution definitely:Browser back button issue after logout[^]
Please Sign up or sign in to vote.
1 Nov 2011
Mukund Thakker
if (clsCommon.getCookieValue(clsCommon.AdminCookiesName.Admin_MUSRID.ToString()) != null) { if (string.IsNullOrEmpty(clsCommon.getCookieValue(clsCommon.AdminCookiesName.Admin_MUSRID.ToString()))) Response.Redirect("login.aspx", true); }or...
Please Sign up or sign in to vote.
10 Nov 2011
moneymakermaster
You must specify the authentication and authorization tags in web.Config files to redirect to a loginpage if the user is anonymous.ASP.NET authentication and authorization[^]
Please Sign up or sign in to vote.
10 Nov 2011
raj ch
use following code Place this code in ur web.config file login url is the relative address of ur login page.
Please Sign up or sign in to vote.
11 Nov 2011
satya praveen
http://www.asp...
Please Sign up or sign in to vote.
14 Dec 2011
NandaKumer
check this bloghttp://msdn.microsoft.com/en-us/magazine/cc163413.aspx[^]--NDK
Please Sign up or sign in to vote.
5 Apr 2012
sjelen
[Serializable] attribute works only on instance public properties, you can't use it for static members.You can implement ISerializable interface in your class. That way you have complete control of what data is serialized and how, but it takes some coding.As an alternative, consider...
Please Sign up or sign in to vote.
6 Apr 2012
OriginalGriff
It is difficult to tell, without teh code that actually calls it, but I suspect that you are creating a new instance of the class in the Event handler:MyClass mine = new MyClass();Fitness thisOne = mine.getFitnessClass(1);Normally, you would access such via the existing class index - but if...
Please Sign up or sign in to vote.
16 Apr 2012
Prasad_Kulkarni
Please have a look:Function sprintf[^]
Please Sign up or sign in to vote.
24 Apr 2012
Mohamed Mitwalli
Hi , Try this protected void Page_Load(object sender, EventArgs e) { img1.ServerClick += new ImageClickEventHandler(img1_ServerClick); } void img1_ServerClick(object sender, ImageClickEventArgs e) { Response.Write("alert('test')"); }
Please Sign up or sign in to vote.
26 Apr 2012
Steve Echols
Kind of crazy, and I highly don't recommend this as a final solution, but might give you some ideas: override the javascript WebForm_DoPostBackWithOptions function. // Maybe put this in the same script block as your add_pageLoaded code.
Please Sign up or sign in to vote.
19 May 2012
Ed Nutting
Hi there,Having tested it the answer is obvious! There isn't a problem with your JavaScript nor even in most of your HTML. The problem lies the the fact that you are using a submit button. In your non-ASPX page you do not have a form, so there is nothing to submit when the submit button is...
Please Sign up or sign in to vote.
23 May 2012
El_Codero
Hi,try SharpZipLib Library to read/extract ZIP-Files.http://www.icsharpcode.net/OpenSource/SharpZipLib/Default.aspx[^]Regards
Please Sign up or sign in to vote.
14 Jun 2012
Tim Corey
I would recommend using jQuery and specifically the alert functionality. That is a simple way to pop up a message box on the screen. Here is a site that shows how to use it:http://docs.jquery.com/Tutorials:How_jQuery_Works[^]The code that you are looking for looks like...
Please Sign up or sign in to vote.
19 Jun 2012
Nunnenkamp
1 alternative  
The company I work for is contractually obligated to submit certain data to our vendor. We currently have all the data they want in Microsoft Dynamics GP, but they want us to re-enter all of the data into their web form. Is there a way to programatically push the data to the form from our sql...
Please Sign up or sign in to vote.
11 Jul 2012
Manas Bhardwaj
There is nothing as free lunch my friend. ;)If it is for learning purpose, you can use the new/cool Windows Azure. They are offering 90 days free trial.https://www.windowsazure.com/en-us/pricing/free-trial/[^]Else if it is real/business application, I would rather buy a hosting account...
Please Sign up or sign in to vote.
11 Jul 2012
Sergey Alexandrovich Kryukov
It's not called "free uploading", this is "free Web hosting". Such things do exist. Mostly they are commercial services, but with free plan, mostly intended to attract try-before-you by users. Actually, any reasonable user is like that, all other are… I don't know who, probably just...
Please Sign up or sign in to vote.
14 Jul 2012
Abdul Quader Mamun
Use this codeString patha= String.Format(@"{0}\{1}" ,Server.MapPath("images"),"2.jpg"); if (System.IO.File.Exists(patha)) { System.IO.File.Delete(patha); }Thanks,Mamun
Please Sign up or sign in to vote.
22 Jul 2012
woutercx
Look at this codeproject article:Web.config File - ASP.NET[^]
Please Sign up or sign in to vote.
22 Jul 2012
OriginalGriff
Google is your friend: Be nice and visit him often. He can answer questions a lot more quickly than posting them here...A very quick search gave 6 million hits: https://www.google.co.uk/search?sugexp=chrome,mod=16&sourceid=chrome&ie=UTF-8&q=web.config+file[^]The first page is full of...
Please Sign up or sign in to vote.
24 Jul 2012
Sandeep Mewara
Display frequent visited linksOne of the ways used to do it: Store the last visited links in Cookies and use them to find the last visited links.Refer: MSDN: ASP.NET Cookies Overview[^]
Please Sign up or sign in to vote.
30 Jul 2012
Mehdi Gholam
Try increasing your connection timeout property (default is 30 sec) : http://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqlconnection.connectiontimeout.aspx[^] Or your command timeout property (default is 30 sec):...
Please Sign up or sign in to vote.
30 Jul 2012
panduu
Hi,check your Connection stringBest Regards,Pandu.
Please Sign up or sign in to vote.
6 Aug 2012
Sergey Alexandrovich Kryukov
One more useful article on SQL injection:http://en.wikipedia.org/wiki/SQL_injection[^].You really need to get rid of building a query string by concatenation with some data taken from the UI. In a nutshell the idea of the exploit if very simple: anything can be placed in textBox1.Text....
Please Sign up or sign in to vote.
22 Sep 2012
kk2014
ok i got the solution....after spending few time on google i found below link:http://blog.httpwatch.com/2009/04/23/fixing-the-ie-8-warning-do-you-want-to-view-only-the-webpage-content-that-was-delivered-securely/[^]However, if you are developing a web site you can’t expect your...
Please Sign up or sign in to vote.
25 Sep 2012
Zoltán Zörgő
Although it is not recommended to use server controls in MVC, you can use them because you are still in asp.net. But than you have a mixed something.Well, supposing, that you don't load MVC assamblie unless you are using it, I would simply list the loaded assamblies[^]var loadedAssemblies =...
Please Sign up or sign in to vote.
26 Sep 2012
Mohd Imran Saifi
3 alternatives  
I have got an error when i bind multiple records for input.I bind Gridview inside Datalist to form a matrix like input which will update the value. my form is successfully running at localhost; but when i run it on my webserver it give me this error.Operation is not valid due to the...
Please Sign up or sign in to vote.
28 Sep 2012
Dylan Morley
This is a pretty good security video which shows some MVC security techniques & ways they are attacked using XSS. http://channel9.msdn.com/Events/MIX/MIX10/FT05[^]It's MVC specific, but the techniques for exploits would be the same
Please Sign up or sign in to vote.
14 Oct 2012
Sergey Alexandrovich Kryukov
I agree with advice by Zoltán Zörgő. In addition, I advise you to think of it in terms of usability, not security. As Zoltán correctly explained, you cannot provide much better security if you "hide" a page from the user. All you can do it to put the admin page in "secret directory"...
Please Sign up or sign in to vote.
16 Oct 2012
OriginalGriff
The problem is that there are so many possibilities in that method where it could be a null reference - since you do not appear to check at any point that what you are using is valid.For example: string email_setting = "select email_id,password from send_email"; ...
Please Sign up or sign in to vote.
17 Oct 2012
AshishChaudha
It may be possibilities that one of your query is not executing because of not getting the parameters. Run your query by manually executing. If it runs on server than please check your connection of Report.Thanks
Please Sign up or sign in to vote.
18 Oct 2012
AshishChaudha
Try this..function validate() { if(Page_ClientValidate()) { if(!confirm('Are you Sure to submit your order to us?')) {// form1.Button1.disabled = true; //document.getElementById("btn_submit").enabled=false; ...
Please Sign up or sign in to vote.
29 Nov 2012
VishwaKL
Hi,Your Question only having answer,Is it better to access HTML form text-box data the old-school way or using server control text-box?If you use Server controls you can do more operations, compared to HTML form text box,and it depends on the use age, if your doing basic...
Please Sign up or sign in to vote.
11 Dec 2012
kk2014
actually in my above code i commented throw ex;. so i uncomment it and wrote below code to raise error.System.Windows.Forms.MessageBox.Show(ex.Message.ToString());throw ex;and i found it throws error :the request failed.unable to connect to remote server.actually my exchange...
Please Sign up or sign in to vote.
14 Dec 2012
Stephen Hewison
When working offline, the only real tool you have to get data from the server is ajax as anything else can't have error handling wrapped around it. You risk the chance for HTTP 502, 400, 500 default response pages to be rendered as part of your user experience.There's no reason why your...
Please Sign up or sign in to vote.
18 Dec 2012
Sanjeev Alamuri
1 alternative  
Hi all, I have a windows application, now i want to use this windows application in web application. i goggled lot and finally found the following solution. please see the below link.Using Windows Application on web[^]but I am now stuck at step 11: I attempted to run...
Please Sign up or sign in to vote.
23 Dec 2012
Are Jay
Do I have the correct understanding of the issue?Your on step 11 so your creating the Object Tag within your ASPX page and you are going into the Registry looking for the CLSID, correct?If so, I believe you've had a mishap on Step 10 because this step will write it information your...
Please Sign up or sign in to vote.
9 Jan 2013
CafedeJamaica
If you have having trouble with binding tryKnockoutJShttp://learn.knockoutjs.com/#/?tutorial=collections[^]
Please Sign up or sign in to vote.
13 Jan 2013
markovl
Hey, you could set display:table-header-group; for your headers in a @media print rule, as shown here[^].I did a quick printing test in Firefox and IE9 and seems to do the job. Chrome for some reason doesn't honor it though.New content added after OPs comments in Solution 2:That's the...
Please Sign up or sign in to vote.
17 Jan 2013
Sergey Alexandrovich Kryukov
I don't want to see what's in those sites; it just does not matter; anyway, you did not explain what kind of data you need to extract.In all cases, you need to use some technique of Web scraping: http://en.wikipedia.org/wiki/Web_scraping[^].Basically, you need to act like a Web client,...
Please Sign up or sign in to vote.
31 Jan 2013
Abhishek Pant
Webservice-ASP.net-Capsule[^]...
Please Sign up or sign in to vote.
7 Feb 2013
Patrick Cunningham
This article uses 8 steps to create example of how to read and write from HTML to a SQL database in a .NET web application using jQuery, JSON, and XML.
Please Sign up or sign in to vote.
10 Feb 2013
Richard MacCutchan
Go to http://www.dotnetnuke.com/[^].
Please Sign up or sign in to vote.
23 Feb 2013
Raul Iloc
1.In your "Web Site Project" you should add a folder named "MyFiles" for example, by using Visual Studio;2.Move your .txt file into this folder;3.In Visual Studio select this file to be part of the project, then select the file and in the Property window, set up the "Build Action" property...
Please Sign up or sign in to vote.
23 Feb 2013
santosh_k
Did you tried using the Server.MapPath?you can use Server.MapPath("your path")
Please Sign up or sign in to vote.
24 Feb 2013
Mittu Machhi
1 alternative  
Dear All, I am using the Page.ClientScript inside the button click event. So, how can i get the any value from below funvtion.Page.ClientScript.RegisterStartupScript(this.GetType(), "alert", "validate();", true);the pop up is display of confirm button but i want to know...
Please Sign up or sign in to vote.
25 Feb 2013
S. M. Ahasan Habib
It is default behavior. When you click on button actually it postback request to the aspx page(consider asp.net webform app). When request goes to the Page(it is also a http handler) it's page life cycle events are fired. So you found that code goes to Page load event. If you want to execute...
Please Sign up or sign in to vote.
27 Feb 2013
Shobhana.n
Try this function enterEvent(e) { if (e.keyCode == 13) { $("input[id=Button1]").click(); }}
Please Sign up or sign in to vote.
27 Feb 2013
_Amy
Take all your page contains in a panel and set DefaultButton property to your submit button. --Amit
Please Sign up or sign in to vote.
29 Mar 2013
Kuthuparakkal
Please sepicify user control using @ReferenceAssuming the control(.ascx file) is placed in Controls folder.
Please Sign up or sign in to vote.
1 Apr 2013
Thomas Daniels
Hi,Have a look here:http://stackoverflow.com/questions/6400992/asp-net-textbox-textchanged-clarification-needed[^]
Please Sign up or sign in to vote.
16 Apr 2013
Billy-TheKing
You are right. See http://msdn.microsoft.com/en-us/library/aa302342.aspx[^]and User controls in ASP .NET[^]If you have more questions feel free to ask when you implement control.
Please Sign up or sign in to vote.
30 Apr 2013
Sergey Alexandrovich Kryukov
You cannot really "convert" it. The concepts of the application is very, very different. ASP.NET applications are much harder to develop, because programming model it totally different, because there are client and server parts, and because HTTP is stateless. The best you can do it writing the...
Please Sign up or sign in to vote.
15 May 2013
Sergey Alexandrovich Kryukov
Please see my question. In the meanwhile, study this: http://msdn.microsoft.com/en-us/library/ms178472.aspx[^].You will find all answers if you start from this point.—SA
Please Sign up or sign in to vote.
16 May 2013
Yuriy Loginov
You can do a few things here.1. On the dropdown list you can set the auto post back property to true and assign an event handler to it. This will cause the form to refresh every time a selected value changes. Then have an event handler for SelectedIndexChanged and inside the event handler...
Please Sign up or sign in to vote.
14 Jun 2013
Tadit Dash (ତଡିତ୍ କୁମାର ଦାଶ)
ProblemI guess you are trying to insert the div after the LinkButton.But you have used append method, which will append the div inside the LinkButton, which makes no sense.And you have another problem of "this" object. That is, when you are in Success function, it will refer to the...
Please Sign up or sign in to vote.
19 Jul 2013
sumit_kapadia
I guess That prompt is browsers inbuilt functionality. There might be some setting that is disabled at your end for same. When browser detect an filed with type=password it prompts to save.For firefox go toMenu>Tools>Optionsthere is one check box "Remember Password for sites",...
Please Sign up or sign in to vote.
19 Jul 2013
Shambhoo kumar
The "save password" part comes from the browser's password manager whenever it sees an that looks like it really is asking for a password. You can use the autocomplete attribute to suppress this in most browsers:
Please Sign up or sign in to vote.
23 Jul 2013
ZurdoDev
When something works in development and not in production I find it is often a matter of permissions or a missing dll.
Please Sign up or sign in to vote.
25 Jul 2013
Sushil Mate
Its not possible.Quote:WHY DOESNT IE9 WORK ON XP ?Because Internet Explorer 9 uses Direct2D for hardware acceleration which is unavailable in Windows XP. If you want to use a modern browser, use a modern operating system.why-doesnt-internet-explorer-9-work-on XP[^]
Please Sign up or sign in to vote.
14 Sep 2013
Zafar A khan
HtmlTable ht=new HtmlTable();HtmlTableRow r1 =new HtmlTableRow();HtmlTableCell c1=new HtmlTableCell();c1.InnerHtml="Name";r1.Cells.Add(c1);TextBox t1=new TextBox();HtmlTableCell c2=new...
Please Sign up or sign in to vote.
23 Nov 2013
VICK
Even I know That this is an old thread... I am going to update a solution for this..Because Today, I faced the same problem and that was found very interestingly.I have been using IPDF Sharp since a long and have never faced this type of issue, but when today I tried to merge few files...
Please Sign up or sign in to vote.
15 Dec 2013
abbaspirmoradi
try this:List elements= new List();foreach (Form item in Application.OpenForms) elements.Add(item.Name );
Please Sign up or sign in to vote.
19 Dec 2013
D-Kishore
I Am trying to add title and image to the PPT using Open XMLHere I am able to add the title and subtitle to the ppt template slide, My problem is for the same slide I need to add the Image.Below is my codeprotected void Page_Load(object sender, EventArgs e) { ...
Please Sign up or sign in to vote.
25 Dec 2013
Tadit Dash (ତଡିତ୍ କୁମାର ଦାଶ)
Refer- This XML file does not appear to have any style information associated with it[^].Quote:The message isn't an "error" but rather a warning n need not be solved but ignored. An XML document is a data structure but does not contain any presentation/style information internally. Normally an...
Please Sign up or sign in to vote.
24 Jun 2018
Alvan Khong
I've created a login page with some simple SQL query function & i'm trying to encrypt my URL query string, but it seems there's some problem with it, everytime after i used my "button" function the URL reveals itself. May i know what's the problem with me coding? Remark: I've putted...
Please Sign up or sign in to vote.
3 Feb 2014
OriginalGriff
If you have already implemented your calculator program, then the choice of design pattern has already been made: that is something that is considered at the beginning of a project, not at the end, because changing it now would almost certainly mean scrapping all your existing code.
Please Sign up or sign in to vote.
3 Feb 2014
Pete O'Hanlon
The patterns you use depend entirely on the problem you are solving. As we don't know exactly what your requirements are, we cannot give specific details. Suppose that your calculator has to support Undo/Redo functionality - well, this could be accomplished using a Memento based pattern. How...
Please Sign up or sign in to vote.
26 Feb 2014
Tadit Dash (ତଡିତ୍ କୁମାର ଦାଶ)
web service + asp.net + advantage[^].
Please Sign up or sign in to vote.
4 Mar 2014
JoCodes
Check Tadit's solution . Also , suggest you to have a look on below linksConfiguring Parameters and Parameter Data Types[^]data-providers/cs-procedure with parameter[^]
Please Sign up or sign in to vote.
19 Mar 2014
Sergey Alexandrovich Kryukov
This is because you map it incorrectly. Pay attention that in one case, you start your path from the root drive directory, but Server.MapPath maps it starting from the root path configured for your site.Moreover, your path like "C:\Users\..." is totally invalid, by at least two reasons:This...
Please Sign up or sign in to vote.
22 Mar 2014
Y.Mohammed
1 alternative  
I have peice of code in ASP.Net for execute code of C# using roslyn compiler. However, I use ASP.Net web forms to build user interface for execute the code. So,I want to take code from one textbox and by "Compile" button I show the result in another textbox.So, I have this controls:
Please Sign up or sign in to vote.
12 Apr 2014
Prasanna Krishnaswamy
Hi,I am a new ASP.NET developer. I have some clarifications about the best practices that shall be followed in web development.I understand, the choice between ASP.NET server controls or mere HTML/jQuery based controls is based on the time duration of the task in hand. But, I have a...
Please Sign up or sign in to vote.
18 Apr 2014
Mahmoud_Mohamed
2 alternatives  
Hi. I am a new with SignalR .. I would like to develop a solution that have two project one web and other is window. Using SignalR realtime messaging deliver. That enable chatting between the Webform and the Window form and only saving messages in windows. Any Help Smile Like references or ideas...
Please Sign up or sign in to vote.
28 May 2014
j snooze
var theStates = from states in db.States select new { StateID = states.StateID, StateName = states.StateName ...
Please Sign up or sign in to vote.
9 Jun 2014
AnkitGoel.com
I would suggest you, when a new store manager signs up, run the DB Scripts from your web application.1. connect to master db and run create database query.2. connect to database just created and execute all other scripts(create db, create tables, create view, create procedure, create...
Please Sign up or sign in to vote.
26 Jun 2014
purvivani
pl. try with this.. using (SqlConnection con = new SqlConnection(conStr)) //conStr is connection String { Try { // // Open the SqlConnection // con.Open(); // // The following code...
Please Sign up or sign in to vote.
12 Jul 2014
Maciej Los
Richard is right in one point: "There is no concept of lines (...)". There is concept of paragraphs!Have a look here: WD2000: Macro to Count Number of Paragraphs and Lines in a Document[^]If you want to count paragraphs on single page, you need to select it first (because the is no...
Please Sign up or sign in to vote.
15 Jul 2014
OriginalGriff
If the client browser has disabled cookies, there is nothing you can do to store a cookie on the client: you cannot override it.Try using the Session, or a Query String instead.
Please Sign up or sign in to vote.
3 Sep 2014
Dnyaneshwar@Pune
Instead of using Div tag use span and set nowrap=nowrap property of the td tag
Please Sign up or sign in to vote.
19 Sep 2014
Sergey Alexandrovich Kryukov
You will find just a few thoughts in my past answers:Help Me to Choose A Better Final year Project[^],need some projects topics with description[^],Please suggest a good concept for my .NET project ?[^],JAVA final year projects[^],Need Project Ideas Help me Plz[^],Can you suggest a...
Please Sign up or sign in to vote.
25 Sep 2014
Suraj Sahoo | Coding Passion
One thing you can do is, try making an ajax call to the server & on the ajax success bind the parameters from the server to any gobal variable in your javascript. This would help you out.$.ajax({url: //your call to server,data: //if any needed to pass as parametersucess:...
Please Sign up or sign in to vote.
28 Oct 2014
SRS(The Coder)
You can do it in simple way using jQuery UI library.As displayed in below example :-http://jsfiddle.net/smrutis1984/qar7zf03/5/Hope will be helpful.