|
AFAIK There isnt a code in there to work
What r u trying to do..! I can give other way to work
LatestArticle :Log4Net
Why Do Some People Forget To Mark as Answer .If It Helps.
|
|
|
|
|
I am using jquery for password strength meter in my app but function
.pstrength();
is not working....
my password field control:
<INPUT class="password" type=password name="Password">
|
|
|
|
|
|
|
i have to use java script password strength its our project req....
|
|
|
|
|
Give Me some time i will check the code its working or not
LatestArticle :Log4Net
Why Do Some People Forget To Mark as Answer .If It Helps.
|
|
|
|
|
ok thnx for helping buddy...
|
|
|
|
|
try like this.
On the Head Section Above..!Add this..!
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/jquery.pstrength-min.1.2.js">
</script>
<script type="text/javascript">
$(function() {
$('.password').pstrength();
});
</script>
In Css Add the Following code..!
.password {
font-size : 12px;
border : 1px solid #cc9933;
width : 200px;
font-family : arial, sans-serif;
}
.pstrength-minchar {
font-size : 10px;
}
drag and drop the css page on the head section..!
add the following html
<asp:TextBox ID="Password" runat="server" CssClass="password"
TextMode="Password"></asp:TextBox>
Now In the solution Explorer create a folder js and paste the two .js files in the js folder
Now it will work..!
ALll the best..!
LatestArticle :Log4Net
Why Do Some People Forget To Mark as Answer .If It Helps.
|
|
|
|
|
|
Any time..!
All the best..!
LatestArticle :Log4Net
Why Do Some People Forget To Mark as Answer .If It Helps.
|
|
|
|
|
hi sashidhar
still not working I am using it in ascx page and this control in aspx page which inherites master page so my script tag is in master page ...... if u can thn help me otherwise i'll find other js control...
thnx again
|
|
|
|
|
bhavnvyas wrote: g I am using it in ascx page
You have to add the Script tag in .ascx page not in master page
LatestArticle :Log4Net
Why Do Some People Forget To Mark as Answer .If It Helps.
|
|
|
|
|
still not workin its working in my demo app in aspx page...
thnx buddy for helping so much.......
|
|
|
|
|
Just Paste the code in .ascx file
there is style sheet it had to your style sheet reference..!
<link href="StyleSheet.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/jquery.pstrength-min.1.2.js">
</script>
<script type="text/javascript">
$(function() {
$('.password').pstrength();
});
</script>
<asp:TextBox ID="Password" runat="server" CssClass="password"
TextMode="Password"></asp:TextBox>
LatestArticle :Log4Net
Why Do Some People Forget To Mark as Answer .If It Helps.
|
|
|
|
|
still not working....
thnx a lot......
|
|
|
|
|
k
LatestArticle :Log4Net
Why Do Some People Forget To Mark as Answer .If It Helps.
|
|
|
|
|
|
|
|
Hi,
Session is not working in class file when i'm using cookieless="false". Otherwise it's working fine
i have to use cookieless="false" in my project.
So please let me know the solution how i can get the session value??
Thanx...
krishna veer singh
|
|
|
|
|
go through this....
asp.net
Why Do Some People Forget To Mark as Answer .If It Helps.
|
|
|
|
|
MemoryStream stream = new MemoryStream(thumbnail);
Bitmap bmp = (Bitmap)System.Drawing.Image.FromStream(stream);
i m using above code for image uploading in 2005 and it is working properly
but same code is throwing exception "Parameter is not valid." on line
Bitmap bmp = (Bitmap)System.Drawing.Image.FromStream(stream);
is there any issue with 2008 or there is some other way in it.
|
|
|
|
|
I have no idea what you are doing...!
Are you converting into bytes?
What ar you trying to do..!
LatestArticle :Log4Net
Why Do Some People Forget To Mark as Answer .If It Helps.
|
|
|
|
|
I m trying to create thumbnail image of uploaded image
{
image = new byte[len];
updFIle.PostedFile.InputStream.Read(image, 0, len);
ImageUtility objImage = new ImageUtility();
timage = objImage.UpdateGalleryphoto(filemime, len, image, 100, 100);
filename = updFIle.FileName;
BL.clsAdmin obj = new BL.clsAdmin();
}
updateGallery photo is function which generates the thumbnail
public byte[] UpdateGalleryphoto(String strImageType, int len, byte[] thumbnail, int height,int width)
{
byte[] Thumbpic = null;
try
{
int EH = 75;
int EW = 100;
Thumbpic = new byte[len];
MemoryStream stream = new MemoryStream(thumbnail);
Bitmap bmp = (Bitmap)System.Drawing.Image.FromStream(stream);
int w = bmp.Width;
int h = bmp.Height;
bool bImage = false;
if (height >= h && width >= w)
{
return thumbnail;
}
if (h >height)
{
EW = (EH * w) / h;
}
else
{
EH = (EW * h) / w;
}
Thumbpic = ModifyImage(thumbnail, EW, EH, strImageType, bImage);
}
catch (Exception ex)
{
throw ex;
}
return Thumbpic;
}
above code is working in 2005 but throwing exception in 2008 at line
Bitmap bmp = (Bitmap)System.Drawing.Image.FromStream(stream);
|
|
|
|
|
can anybody help me in making an application of soil prediction model using .net(C#) with sql server.
in this application, user will enter the data and the application have to analyze that data and will generate a formula on the basis of user input and will the output.
it is a scientific application which use statistics.
i can't understand where to start.can anybody help.
thankx in advance.
|
|
|
|