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

Post New Web Links

interresting challange with pic gallery

Posted By:      Posted Date: September 08, 2010    Points: 0   Category :ASP.Net
Guys I have an interresting challange for a project I am doing. Allow me to explain. i have a database with a number of pictures stored in a table (actually just the links to the pictures). My application must now read the images in random sequence and make sure that a picture does not get displayed more than once for, let's say, every 20 cycles. What I mean is that, if a picture get's shown once, there must be at least 20 others before this one must be displayed again. Can someone please help me with this in VB (or C#) Thanks  

View Complete Post

More Related Resource Links

SqlServer - Windows Account to install Application from Gallery


Referring to this tutorial: http://www.asp.net/webmatrix/tutorials/download-and-install-an-asp-net-application

I selected umbraco cms and got this wizard:

I already have Standard Sql Server 2005 on my machine which I wanted to us for above DB and not SqlExpress.

I did not remember "sa" account pwd nor I use explicitly any account to connect to my Sqlserver. I use Windows Authentication account i.e implicit authentication. So I created new account and gave all rights and used it in the above wizard and was able to install the database after some struggle.

My question is: What if I want to use my Windows Account to install the database above? Why the wizard don't have any option to use Windows Integrated Authentication?

Note: I can create the DB with external user I created, just looking specifics for using Windows Authentication for above installation.

Image gallery with EXIF and Google maps?


I am trying to put together an image gallery display. I am guessing it will need to be a customer control but I am not sure.  So I figured I would ask on the best way to approach this. When the gallery is loaded I want to have one image displayed with thumbs underneath. On the right side I would like to display EXIF data and underneath that a small google map if there is geolocation tagged with the picture. I figure I will probably need to store the gallery info in a database with caption and description.  Maybe even searchable tags if I get cheeky later. 

So should I be using an ajax gallery to display the images and if so how to pass the EXIF and geolocation to the other controls? Or do i pull in all the info into some sort of dataset and then parse it out to a custom control.  I am still fairly new to ASP but I have a fairly good understanding.  Should be an intersting project if nothing else.  Any thoughts.


Dynamic gallery using ListView and AJAX


I want to create a gallery where on top there will be a normal view of a selected image and below a horizontal listview in order to select an image. Both in separate ajax update panels.

When i debug i get the following error "Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index" and highlights the "ImageButton imgbtn =(ImageButton)ListView1.Items[ListView1.SelectedIndex].FindControl("ImageButton2");" of my code behind file

Can anyone help me? Thank you in advance!

Here is my code:

<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server

is there a gallery of web sites that developers have made using asp.net


 Good evening,

I am trying to find websites developed using asp.net, that people have made. I want to just see what is being done and how they look. i am from a php background using dreamweaver. If there would be a gallery of sites that would be great. thx for your time



Control Gallery: some categories are not expaning

In this page,I noticed that some categories are not expanding.

How can i create a In-Ribbon Gallery?

i am trying to create something like the gallery in word used to select text styles. i am using the WPF Ribbon from here . i rea a tutorial somewhere that uses a combo box with the ribbon. <ribbon:RibbonComboBox Label="Gallery" SelectionBoxWidth="80"> <ribbon:RibbonGallery SelectedValue="1" SelectedValuePath="Content"> <ribbon:RibbonGalleryCategory> <ribbon:RibbonGalleryItem Content="ABC" /> <ribbon:RibbonGalleryItem Content="123" /> <ribbon:RibbonGalleryItem Content="Hello" /> </ribbon:RibbonGalleryCategory> </ribbon:RibbonGallery> </ribbon:RibbonComboBox> but i thats not really what i want

css for image a simple image gallery

 Hi I would like to use css to display some images in my gallery, i would normally use a table but we are trying out a tabless design now. All i want to do is display the images like below  Image 1                                   Image 2                                   Image 3 Image 4                                   Image 5                                   Image 6 and so on and so on..... The div tags for the images needs to have a border around it and also a background color also needs to have padding around it. Can somebody please help with this css..... Thanks!

Site template uploaded to Solution Gallery, activated, not showing in Template Selection

I accidentally created a site on a path where I needed to create a site collection. After deleting the site and creating the site collection in its place, I arrived at the Template Selection page. I went to Solution Gallery, uploaded my solution (a package made by the consultants who built our SharePoint site) and activated it. When I activated it I got an error message, but the solution shows in the Gallery as active. I went back to Template Selection to select a template from the solution, but none are showing--just the standard templates. How do I fix this?

Images gallery woth fancybox

Maybe someone know good tutorial how to make images galley in asp.net using fancybox?

Event Receiver - for Content type gallery


I wanted to attach a code whenever a new content type is added to the site content type gallery.so that when ever a new content type is created it will copy to all the site collection.

Is it possible to attach an event receiver to Site colomun and site content type library?

Custom theme appears in Theme Gallery but not in site theme chooser

I have a custom theme that I have uploaded to the two sites that I am configuring. In both cases, the theme appears in Theme Gallery, but not on Site Settings > Site Theme. How do I fix this?

Adding folders to the List Template Gallery


The List Template Gallery in its initial form does not allow the user to add folders.

How would I go about modifying the List Template Gallery to allow folders to be created for organizing the list templates?


I tried looking in the 12\TEMPLATE\FEATURES for an item that matched the List Template Gallery but did not find one there.


Any ideas on where to look for this?


Upgrade Solution not updateing web parts in webpart gallery.


Hi experts..

I am using following commands for upgrading solution and feature...

stsadm -o upgradesolution -name "%WSPFileName%" -filename "%WSPPath%" -immediate -allowGacDeployment
STSADM -o execadmsvcjobs
stsadm -o deactivatefeature -ID FC35A90B-46D5-4b61-8787-8A667B9275C5 -Url "%URL%"
stsadm -o activatefeature -ID FC35A90B-46D5-4b61-8787-8A667B9275C5 -Url "%URL%"

STSADM -o execadmsvcjobs



with above commands my web part files are getting update in 12 hive features(Web part feature).. but on in web part gallery..

Am i missing anything..? or sequence of commands are not proper...



image gallery


how to create image gallery like that of google.


thk in advance

Use Power Pivot Gallery with PerfomancePoint Dashborads




we use the Sharepoint Server 2010 with PerformancePoint Dashboards to create and show reports basing on our SQL Server Analysis Services 2008 cubes.


I have read about the Sharepoint PowerPivot Plugin and its Silverlight gallery list view. Can I use that gallery with PerformancePoint Dashboards (especially generating thumbnails from the Dashboards)?


If it only works with Excel (or PowerPivot reports), is there any equivalent eye-candy gallery for the PerformancePoint Services for download or do I have to develop it in Silverlight on my own?


Best regards


Jan Renken

Photo Gallery Problem



I've built an asp net vb galery to see photo but i tink i've done too much call because I call every time in a updatepanel

the principal photo and the before and after photo, the title and the description .. after few time the sql server go down ... I tought to use an 

web services but I don't know how keep a lot of data from a web services ... Somebody could help me ?

There is other way to build one web gallery using the db I've already done ??

Anonymous Web Parts Gallery? How do I give anonymous users access to the necessary web parts without


I'm thinking about having an anonymous web parts gallery, alongside the existing web parts gallery in my site collection. I need a way to give anonymous users access to 2 or 3 web parts without giving them full browsing rights to my web part gallery of ~100

I'm pretty sure this is necessary from a security point of view (please feel free to contradict me)

At the moment i'm trying to define a list that is a web part gallery, then i'll add certain web parts just to that list and add them to pages appropriately

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