file upload, restricting size and type of files
Hi All, Some long time I have not been using File Upload, but when I tried now I need to write lot of Client side scripting to validate the size and type of the files. Can somebody please help me in...
View ArticleSet the file upload value
Hi All, I am using ASP.Net file upload control, when no file selected it says "No file chosen" but when a user selects wrong file I am showing a prompt message that incorrect file. But after that I...
View ArticleGet file size from File Upload from IE and Chrome
Hi All, I am using file upload I am trying get the uploaded file size in client script for IE and Chrome browsers I have been trying for it in the below ways. Can any body please help me with that, I...
View ArticlePass ViewModel to view twice
I have the following index-method in my homecontroller:var homeIndexModel = new HomeIndexModel() { ActiveTasks = tasks.Where( task => task.TaskStatus != TaskStatusEnum.Deferred &&...
View ArticleAn Ajax Control is working on local machine not working on Server when deployed
Hi All, I am working with Telerik Ajax Controls called RadWindow, RadBinaryImage, RadAsyncUpload and RadImageEditor, all these are working fine on my local machine, when I deploy app on the server, the...
View ArticleResizing Images, from Bytes[] back to bytes[]
So I'm writing a new function to resize images for my MVC App. This time, instead of reading the disk drive, and writing back, I thought I would just take the upload file stream as bytes and pump into...
View ArticleOpening word/pdf document in another window
Hi All, I am saving a word document in database as bytes and in another column I am saving the file name, I am providing a link button or an anchor tag for the user to select when the user clicks on it...
View ArticleVisual Studio 2015 and Metro-UI
Has anyone looked at combining the above as a quick method of providing a Win10 Metro UI interface to a website?I have incorporated the Metro-UI News Portal Template into a standard ASP.NET MVC...
View ArticleHow to learn C# in Asp.net Mvc
I joined as a fresher in one of the company.They are not providing training to me.So, they are telling to learn your self own.How can i gain more knowledge on these technologies like C#.net,Asp.net...
View Articlefile upload file size limit
Hi, I am using File Upload and I am limiting the file size limit in the Web config, when user uploads the exceeding limit the page is giving error message file size limit exceeds. Is there any way I...
View ArticleWindows Client for web portal
Dear All, I have a web portal running on my intranet. Now i want to design a windows client in which when user logs in for a particular machine for a day, then if he hits the web portal link then it...
View ArticleHow to show a Grid into modal window
Hello I'm trying to do this from weeks and now I'm very confused and lost. Im really newbie with asp.net , my background is desktop dev. I'm using asp.net mvc for this project. I have a telerik grid...
View ArticleRegarding different type of authentications in asp.net
i am only familiar with form authentication. so tell me what others authentication scheme exist for mvc project which we can use ? what is claim based auth ? claim based auth is 3rd party auth system ?...
View Articlepublish a web on server
Hi all. I'm very new developing web. I have access to a running web server that have running web pages. i want to add there my fist one, a simple hello world web page. in the server, in c:\app\web\ are...
View Articlehow to reset the internet explorer settings to default using asp.net with c#
Dear all, i have to make the internet explorer settings to default in windows 7 in many systems so i need a help is there any way just by entering ip address of the system we can change the internet...
View Articleleave managment page
Hi..I'm beginner in asp.net..pls help me..i want create a leave management page ..employee name should be select from dropdown list..selected employees detail come..like reason of live..no of...
View Articledynamic grid view
i have a scenario where in i require to create a dynamic grid view in asp.net using c# on the basis of value selected in a drop down list. to brief it my project is about asset management when i select...
View ArticleHOw to organize My ASP website
Hi all. I Use a Visual Studio then File -> New -> Website (Using C# code) In the Solution Explore I creat many folder. MasterPage Folder to hold all MasterPage. Images Folder to hold all Images...
View Article