.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Creating TreeView with loading image

Posted By:      Posted Date: October 17, 2010    Points: 0   Category :ASP.Net

I have created one treeView which is loading node dynamically (populateondemand ). its working perfectly fine. But I want to show loading when its populating node from client view. 

Note : - Only on click of image of the Tree view should display loading ..

Please give some code example.

View Complete Post

More Related Resource Links

Silverlight - Creating Image Map with Hotspots


Recently I was working on a Silverlight application and one of the pages contains a graphic. One of the requirements is that the graphic should contain clickable regions (Hotspots) and display a dynamic navigation menu when the end users click on it. An image that contains one or more Hotspots or clickable area is called an image map. I have put together a simple tutorial on how to get this done.

Getting Started
Image map can be created by using Microsoft Expression Design or Expression Blend.

If you do not have Microsoft Expression Design, you can download a trial version from here.
If you do not have Microsoft Expression Blend, you can download a trial version from here.

ASP:Chart Image Not Loading When Converting to PDF

Here's a nice one for a Pro to bite into I have a web form that generates a set of reports including asp chart controls. Clicking on the black title loads the report section into the ajax enabled panel below it. Beautiful! Two Problems though: Sometimes, when the ajax is loading the next report section, all the other charts on the page flicker and sometimes even show a red x (the image disappears). They can then reappear again when another chart loads! 2nd Problem: If I use the html-to-pdf converter, I tell all the panels to bind to the data source (they are repeaters) on page load and show content. I Then convert the resulting datastream to PDF. All the other images on the page load, but the ones for the charts don't. I have looked at the generated code, and they are all linked fine to the correct address of the site and the chart generator url. A sample image of the working page is below: Example PageExample PDFPage PDF is generated from     Thanks in advance! IanB

WPF TreeView working with Image Files

Hi, I'm working with a TreeView in my WPF App to control images files in my disk. The ItemsSource of TreeView is binding with a dynamic List<T> like these: <TreeView ItemsSource="{Binding Path=Thumbnail,ElementName=Tree}" x:Name="treeViewDocument" Width="230" Height="500" Margin="0,0,0,10"> <TreeView.ItemTemplate> <HierarchicalDataTemplate ItemsSource="{Binding Path=MoreThumbnail}"> <DockPanel HorizontalAlignment="Center" VerticalAlignment="Center"> <Image Source="{Binding Path=MyImage}" Width="{Binding Path=MySize}"/> </DockPanel> </HierarchicalDataTemplate> </TreeView.ItemTemplate> </TreeView> in the code behind I have: private List<MeusItens> _MyImages; public Window4() { InitializeComponent(); } public List<MyImages> Thumbnail { get { if (_MyImages == null) { MyImages obj = new MyImages("C:\\Temp\\1.tif", "70"); _MyImages = new List<MyImages>(); _MyImages.Add(obj); } return _MyImages; } } public class MyImages { public MyImages(string strImg, string strSize) { MyImage = strImg; MySize = strSize; }

Creating image based site navigation using standard sitemap

I know how to create a normal menu and change them the way i want using css, but I dont know how to use images instead of text.I want to make it look cooler using images so in order to do that, I haven't got any ideas at all :(I have seen many websites on internet like this and I dont think its a difficult thing to do for some of you here.Could you please guide me or show me the way forward ? Thanks. 

Creating Barcode Image

Hello Guys.Posted a question earlier but i havent recieved a reply. i wanted to create a barcode using vbscript or javascripting. Dont know if this makes a difference which one i use  The barcode will be linked to information stored in my access database. The barcode will be displayed on a webpage, so for this i'm using Dreamweaver CS4. I have to 2 barcode fonts available and DLL file they are:FRE3OF9X.TTFi2of5txt.ttfBarcode.dll (not sure i need this)I prefer to use the interleaved 2of5 font. I have no experience of coding in general Vbscript or asp.net. From this situation how would i go about creating a barcode image.All feedback welcome. Thank you very much...

Bulk Loading an Image from URL

I know I can load an image from file system to a binary field in SQL Server : CREATE TABLE Foobar ( image_data VARBINARY(MAX)); INSERT INTO Foobar (image_data) SELECT image_data FROM OPENROWSET( BULK N'C:\image.jpg', SINGLE_BLOB) AS ImageSource(image_data); But I need to know if I can load image from a URL like 'http://www.mysite.com/test.jpg' . I tried it with no success. Any ideas?

way to prevent creating, loading and rendering previously rendered controls on postback in a webpart

Hi All, I have a web part and a link control in there when i click it, wp displays rows of data below the previously rendered contents...when i debug it ...web part renders everything from the beginning...so just wondering if there is any way to prevent creating, loading and rendering previously rendered controls on postback?Hanif

creating an image resizer by C#.net

Hello everybody, can anyone help me to create an image resizer by c#.net Like, I have an image (100 X 100 pixels) . Now I want to resize this image by 50 X 50 pixels or 50 X 70 pixels according to my requirement. How can I create this resizer. Please help me.

Loading please wait image show hide



I am trying to implement the loading please wait image funtionality while controls refersh on the page. Here are steps I have taken:

1. Added the image to the .net solution file in the image folder.
2. Added a div with the hidden class that holds the image source on the webform.

Image loads hidden by default and I am trying to show it when any postback or partial post back occurs. There are several controls like dropdowns, checboxes, gridview etc and links in the gridview that could take a few moments to load so I want to display the loading please wait while they reload after selections are made. All Controls exist in the update panel. I can't figure out how to show the image and hide it again when controls are reloaded. I am trying to add to this existing jQuery, my challenge is events occur after the document has been loaded so I need to add Ajax events to this query to show hide the loading please wait image. Here is what I have so far

//Dialog box settings

$(document).ready(function() {

    // $("mytest").dialog({
        title: "   Test",
        resizable: false,
        modal: true,

How to center loading please wait image



I am trying to show loading please wait image while data is returned. Image is in a hidden DIV but I need to show it in the center on the page on top of the underlying controls and I am not sure how to do it. It's always shown at the bottom of the page. I tested it by make the display:block, here is my CSS:



Creating gridlines/cells over an image?




I pretty much want to display an image and then somehow overlap that image with gridlines...but the thing is, I need to be able to select one or more of those cells in each of the grids when I mouse drag so then when I click a cell in the gridline, I can find out which cell I am at that I've set up. What's the easiest way to do this?

Creating a Blank New Image Album


Hi, I am trying to figure out how to get fresh photo album. I am able to upload pictures to the database and display them(using handler & listview), but when I go to create a new album it shows the previously uploaded pictures of the first one. In the database it shows a new ImageAlbumID so it is creating a new album, but just shows the old pictures of previously created albums. I want just a blank page with the AjaxUploader. Any help would be appreciated, thanks Jake

Here is the code:

<%@ Page Title="" Language="VB" MasterPageFile="~/masterpages/postmaster.master" AutoEventWireup="false" CodeFile

Display progress image when page is loading using jquery


hi friends,

When I click Submit button in my Registration form it should be open a (div) progress bar Showing processing.... (or) loading  and block background.


how to display a progress bar loading.... in div after Submit button click??


plsssssss tell me,it's very urgent.

Many Thanks in Advance.

creating image



I have created a table in sql with columns username,password and image with datatype string,string,image.so,now iam not able to insert image into image column.how can i perform this operation.


Loading image


Hi to all ,

You all know the firefox loading circle in the tab when the page does a postback  it activateds

how can i create my own one when my webpage does a postback

Speed up Image loading from a thread


HI all,

I am facing a sluggish update on my Image control. I am using MVVM and the binding update to the Image control is pretty slow. Is there any way I can speed this process up?

I have a background thread that sends me a jpg image buffer every 100 ms. I then create an ImageSource and set that to my binding property. Other datas from the background thread seems to be up to par except for the image. Does anyone have any idea on how to improve this?

Loading rtf with image gives "Unrecognized structure in data format 'Rich Text Format'.\r\nParamet


I'm trying to load this rtf into a RichTextBox:

{\rtf1\ansi\ansicpg1252\uc1\htmautsp\deff2{\fonttbl{\f0\fcharset0 Times New Roman;}{\f2\fcharset0 Segoe UI;}}{\colortbl\red0\green0\blue0;\red255\green255\blue255;}\loch\hich\dbch\pard\plain\ltrpar\itap0{\lang1033\fs18\f2\cf0 \cf0\ql{\f2 {\ltrch >> -----------------------------------------------------}{\ltrch \line }{\ltrch >> 19-10-2010 11:22}{\ltrch \line }{\ltrch >> -----------------------------------------------------}{\ltrch \line }\li0\ri0\sa0\sb0\fi0\ql\par}
{\f2 {\ltrch {\*\shppict{\pict\picwgoal1020\pichgoal1035\pngblip
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend