Friday 8 June 2012

How to save a file from HTML File Control in AJAX Section Using ASP.Net with C#



    •     AJAX stands for Asynchronous  Java script and XML  
    •    AJAX enable a page asynchronously post back a page.  
    •   Only required part load from server instead of entire page so its   increase web performance.
    • Some control which are design for post back like file browser which can’t load a file if its not post back so you can’t upload a file when it’s in AJAX section.

        For upload a file in AJAX section using file browser you need to register a button for post back if user will click on than button then all page will be reloaded.
      <asp:UpdatePanel ID="U1" runat="server">
                <ContentTemplate>
      ....................................
      ....................................
               </ContentTemplate>
         <Triggers> 
             <asp:PostBackTrigger ControlID="saveButton">
         </Triggers>  
      </asp:UpdatePanel> 
      Here is your html code i leave ...... for your content Savebutton is a which post back entire page
      So i registered this button in trigger section post backTrigger register control which have to post back.....

Wednesday 6 June 2012

Create Album Using Java Script with fade effect



Hi.................
This post will help you to make a picture album.Pictures of album will change during a second internal.
I have done this with the help of java script.
  • This post will create a static album in nature you can't add a new image at run time if you want to add or remove image you will have to change java script code.
  • Save your picture in a folder and rename all picture into 1 to increasing order e.g (1.jpg , 2. jpg ,3,jpg...)
  • Count no. of picture in your folder because I'll use this number in java script code block
  • I used a timer which will run continue you can not stop it

Image Slide Show Using HTML

This is a presentation of a image slide show.This blog will help
you to make a moveable slide show right to left
This is a flat HTML coding.
This is achieve by marquee tag.Marquee tag has capacity to move any type of object inside it.I used marquee for make this slide show.


       

  • I saved my HTML file and all image in a folder so used relative path
  • if your image isn't in current folder then you need to provide full path of that image.....
   






Monday 4 June 2012

Save and Retrieve an image in Ms Access Using VB.Net

Hi.......
Its very simple to save and retrieve image in ms access for performing save retrieve you need to do something as mention...........
  • Aceess store image in binary format
  • We've to convert an image into binary at save time and binary ti bitmap at retrieve time

Database Table Structure