Show Image Preview using Java Script and File Upload Control in Asp.net

Show Image Preview using Java Script and File Upload Control in Asp.net

Sometimes we need that by selecting the image by Fileupload Control and display the image in image control Follow the Below Code Step 1:
Dynamic Data Manipulation using XSLT using c# methods

Dynamic Data Manipulation using XSLT using c# methods

If you want to display dynamic data/from database in xslt then this is a way to do your requirements. In this we are directly firing a query which returns data in xml format then according to the node names u can transform your xslt. Step 1: Create a xslt named as Sample.xsl < ?xml version="1.0" encoding="UTF-8" ?>
Category name :
Details on Category :
How to apply an XSLT Stylesheet in C#

How to apply an XSLT Stylesheet in C#

The main purpose to use XSLT in C# for making your application faster while rendering from server. this is the following code on how to use simple xslt files in ur aspx page by using c#. This is only for rendering a static data only not dynamic means the xslt contains hard coded data only. This can be handy when u r using any header or footer or any portion of your application which is a bit heavier and taking more time to load. Step 1: Create a file named as Demo.xsl and put the below code. < ?xml version="1.0" encoding="UTF-8" ?>
Test xslt page
Demo text here
How to call C# Method from Java Script

How to call C# Method from Java Script

If you want to call any method of cs page from JS then this is the best way that you can follow. This is required when ur buttons onClick event are not fired den u can call the onClientClick of button and then call the required method. Step 1: Create any page lets say Default.aspx. With in the body part look carefully
Repeater Paging in C# without post back (“asynchronous paging”) in Asp.net

Repeater Paging in C# without post back (“asynchronous paging”) in Asp.net

To implement paging in repeater control in .net that to without any post back i.e.asynchronously, can be occurred through the following manner. The paging is Some thing like the below Structure. Step 1: In the aspx page just paste the follow code. ScriptManager is used for asynchronous paging.
< %# DataBinder.Eval(Container.DataItem,"Address") %>
< %# DataBinder.Eval(Container.DataItem, "ProductCategory")%>
< %# DataBinder.Eval(Container.DataItem, "BrandName")%>