Category: JumpStart

1

JumpStart # 8 – Making Client CallBacks by Implementing ICallBackEventHandler Interface

In this tutorial, we first create a Database and store the necessary details of the Images like ImageName, ImagePath (physical directory path in relative URL), ImageDescription etc. Then we display these images on the web page using a Repeater in combination with SqlDataSource. After this we use Client CallBack to display the details of corresponding image on which mouse is hovered. CallBacks are accomplished by implementing ICallBackEventHandler.

0

JumpStart # 7 – Handling UserControl’s Event from Parent Page

1) The code in this tutorial demos on how to raise an event of UsercControl which is on Parent page.
2) We got a UserControl (TestUserControl.ascx), which got a button in it. On Button click, we use a delegate to call an event from the parent page.
3) Even though personally I can’t vote to this approach of linking Page to its UserControl, but its worthy to know the procedure (as some situations may demand it).

0

JumpStart # 4 – validateRequest in ASP.Net

validateRequest –
1. It is feature which is responsible for the page not submitting un-encoded html or script as input
in asp.net.
2. When user try to submit html or script with validateRequest enabled, asp.net throws an exception –
“A potentially dangerous Request.Form value was detected from the client”.

0

JumpStart # 2 – OUT Parameter in C#

Before looking at the code, Read about – What is JumpStart? <%@ Page Language="C#" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <script runat="server"> /* OUT PARAMETER – * 1) OUT parameter is...

0

JumpStart # 1 – Using Optional And Named Parameters in C#

Before looking at the code, Read about – What is JumpStart? <%@ Page Language="C#" %> <%@ Import Namespace="System.Runtime.InteropServices" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <script runat="server"> protected void Page_Load(object sender, EventArgs...