The largest photo on Earth so far
this is fantastic, it is a 70 Billion Pixels picture of Budapest. in the bottom there are some thumbnail pictures, if you click on them and the picture zooms on the region on the city that that thumbnail refers to. Do not miss it you access relatively fast internet connection it is more that amazing.
for the record it is a silverlight app!
http://70gigapixel.cloudapp.net/
multiple file upload For ASP.net
you may know that is is not possible to upload many files with normal file upload control of asp.net though if you use technologies like Flash or JAVA applets you can make it easily. between all free file upload controls available I really liked Flajaxian most. because it is extremely easy to use and gives you many options.
basically there is a com.flajaxian.FileUploader.dll that you place it in the Bin folder and then you need to register it on top of your page like a user control , something like :
<%@ Register TagPrefix="fjx" Namespace="com.flajaxian" Assembly="com.flajaxian.FileUploader" %>
and then use it like :
<fjx:FileUploader ID="FileUploader1" runat="server" >
<Adapters>
<fjx:FileSaverAdapter Runat="server" FolderName="UploadFolder" />
</Adapters>
</fjx:FileUploader>
and that’s it your user can upload many files with only one move on the server.
for more information read the help file on official website
http://www.flajaxian.com/flajaxian.com/FileUploader2.0Help.html
you can download the project from here :
http://flajaxianfileupload.codeplex.com/
enjoy coding !
Making unapproved users using CreateUserWizard
It might seems tricky to Create unapproved users using Create User Wizard in Asp.net . It’s mostly because if its name. in the properties you search for something like IsApproved or somthong like this while you need to look for “DisableCreatedUser” under behavior section of CreateUserWizard properties! set it to false and your users would not be approved ! easy but tricky hah ?!
the code going to be like
<asp:CreateUserWizard ID="CreateUserWizard1" runat="server"
DisableCreatedUser="True">
<WizardSteps>
<asp:CreateUserWizardStep runat="server" />
<asp:CompleteWizardStep runat="server" />
</WizardSteps>
</asp:CreateUserWizard>
also you can use code below to do it programmatically
MembershipUser userInfo = Membership.GetUser("UserName");
userInfo.IsApproved = false;
Membership.UpdateUser(userInfo);
note that CreateUserWizard1.UserName gives you the username and you can unapprove , Approve programmatically instantly after creating the user using “OnUserCrated” event. ( in case you need to comapre something to something and decide you if it should be approved user or not ( for example IP range )
Hello world!
Hi there,
I am H. Rooznamechi, and I am from Iran but I live in Sweden right now. I born in 14 Feb 1982 in Tehran. Here In Sweden I am studding master of Industrial Engineering and management though as I program as my second job I also know a lot about programming specially Asp.net. I also love photography. I am not a photographer I even do not own a professional camera, I am an amateur and I have a very good amateur camera Cannon SX20, though It might be funny because I took many of my good pictures with my cellphone!
This website is divided to four main categories :
1)Programming
-Witch I try to share my knowledge and experiences of C# and dotnet programming with you. I am not going to write long articles in this section only a very fast solution for any kind of probable problem.
2) photography
- I like traveling and I like photographing you can see some quality pictures between my pictures, I am trying to improve my skills so do not hesitate to mention my error in the comments.
3) Industrial Engineering
- I am an Industrial Engineer do not expect me not to talk about it !
4) I wanna say that
-it is about what I feel and what I want to say that is not related to other categories