Introduction:
Here I will explain how to validate uploaded file extension from fileupload in asp.net to using c#,
vb.net
with example or allow only image format files to upload in asp.net fileupload example. By using “Path.GetExtension” properties we can
get uploaded file extension and allow only image format files to upload from
fileupload control in asp.net
using c#, vb.net.
Description:
In previous articles I explained convert datatable to list example using LINQ in C#, insert, update and delete gridview using single stored
procedure in asp.net, display images from database in image
control in asp.net, Asp.net mvc project example with demo, show multiple markers in google map
from database in asp.net and many articles relating to file
upload,
gridview, asp.net, c#,vb.net and jQuery. Now I will explain how
to validate uploaded files from fileupload control in asp.net using c#,
vb.net
with example.
Introduction:
Here I will explain how to get file extension from fileupload in asp.net using c#,
vb.net
with example or asp.net get uploaded file
extension or path from fileupload control using c#,
vb.net
with example. By using “Path.GetExtension”
properties we can get uploaded file extension or path from fileupload control in
asp.net
using c#, vb.net.
Description:
In previous articles I explained jQuery open fileupload control when click on button, display images from database in image control in asp.net, Asp.net mvc project example with demo, Bind specific columns of datatable to
datagridview in c#, bind gridview using jquery json method
in asp.net,
show multiple markers in google map
from database in asp.net and many articles relating to file
upload, gridview, asp.net, c#,vb.net and jQuery. Now I will explain how
to get file extension from fileupload control in asp.net using c#,
vb.net
with example.
Introduction:
Here I will explain how to use jQuery set default bootstrap
tab on page load or jQuery set particular bootstrap
nav tab on button or link click with example. To set particular or specific bootstrap
tab menu on page load or button click we need to use property tab like “$('.nav-tabs a[href="#tab1"]').tab('show')”.
Introduction:
Here I will explain how to solve problem
of “e: is a physical path but a virtual path was expected” in asp.net
using c#, vb.net.
Generally this physical and virtual path problem occurred whenever we refer “Server.MapPath” value multiple times while using folder path in
applications. To solve this e:is a physical path but a virtual path was expected we need to use Server.MapPath only once while
getting or inserting files in folder in asp.net
using c#, vb.net.
Description:
Introduction:
Here I will explain how to check if image exists with given url in jQuery or check if image
exists with url before adding it using jQuery with example or jQuery check if given image
url valid or not example. By using $.ajax method in jQuery we can check if
exists with given url or not.
Introduction:
Here I will explain how to check if file exists in remote server in jQuery or check if file
exists with url in server using jQuery with example. By
using $.ajax method in jQuery we can check if file
exists in url or not.
Introduction:
Here I will explain how to solve
problem of “asp.net
4.0 has not been registered on the web server you need to manually configure
your web server for asp.net 4.0 in order for your site run correctly”. Actually this problem occurred while creating
application in visual studio 2015 because we installed iis 8.0 after .NET framework
installed. To fix this problem we need to enable asp.net 3.5 or 4.5 version frameworks using Turn windows
features on or off in control panel.
Description:
Introduction:
Here I will explain how to solve
iis 8.5 detailed error “HTTP
error 404.3 – Not Found (the feature you are trying to use
may not installed
or the appropriate MIME map is
not enabled for the website or application)”. Actually this problem occurred when .NET framework 3.5, 4.5 not
installed but using those frameworks in applications. To fix this problem we
need to enable asp.net 3.5 or 4.5 version frameworks using Turn windows
features on or off in control panel.
Description:
Introduction:
Here I will explain how to create cookie in jQuery
or read cookie or get / set cookie in jQuery or set cookie expire or delete cookie in jQuery
using jQuery cookie plugin. jQuery
cookie plugin is a simple, lightweight plugin to create, read / get, set expire for cookies using $.cookie() function.
Description:
First download jQuery cookie plugin from this site jQuery cookie
and add it to your application then try follow below methods to create, get,
delete cookies
Introduction:
Here I will explain how to change background color of invalid controls when
validation fails using asp.net validators. By using
custom validators in asp.net we can change
background color of textbox controls when validation fails.