15,914,905 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by JR009 (Top 31 by date)
JR009
15-Jul-15 5:41am
View
What you have done so far for this??
JR009
15-Jul-15 4:28am
View
Hi,
You can achieve this from database side. In your database User table you can set a column like 'IsApproved' bit type column. When new user get registered, by default set this column value False(0) for that user and then populate notification to admin that new user registered and if admin approve the user then 'IsApproved' column become True(1). Now on login check if user is approved if true then gets login else not.
JR009
20-Jan-15 2:08am
View
Where you want to add Delete button in table?
JR009
16-Jan-15 2:12am
View
Hi, sorry for late reply. I think you want links with particular label. Then you can try this : $("#result").append("
" + resultArr[i].label + "
");
This code will set URL in anchor tag href and label to its text.
JR009
16-Jan-15 2:07am
View
What are you trying to say? Do you want to set DateTime in asp:label control? Can u explain some more?
JR009
13-Jan-15 8:08am
View
I cant't understand, what are you trying to say. Can you show a sample output formate?
JR009
12-Jan-15 4:52am
View
You mean to say that, you need a customized alert box with message, right?
JR009
5-Jan-15 2:21am
View
Where is the error? Are you getting values in all variables? Please explain, what are you getting right now and what you want?
JR009
10-Dec-14 6:24am
View
do you get calculation result in variable d?
JR009
4-Dec-14 7:43am
View
What are you trying to say?
JR009
29-Nov-14 8:30am
View
Can you show us your code, so we can help you..!!
JR009
18-Nov-14 0:04am
View
Hey, what is MoadelTest? Is it any div?
JR009
17-Nov-14 2:34am
View
Ok, then try using javascript like document.getElementById("<%=txtMemoName.ClientID %>").focus(); and also add one more line : $("#<%=txtMemoName.ClientID %>").css('display', 'inline');
JR009
17-Nov-14 2:19am
View
hey, can you get txtMemoName textbox text in value variable?
JR009
17-Nov-14 0:30am
View
you can handle page error in Global.asax file using Application_Error() method.
JR009
13-Oct-14 7:28am
View
try to validate textbox on click event of submit button, rather than textbox focusout event.
JR009
7-Oct-14 3:04am
View
Not clear. What are you trying to say? Please provide your technologies and your need.
JR009
6-Oct-14 7:36am
View
Can you explain in details? What is your table name, column names, etc. and main thing what you exactly want?
JR009
6-Oct-14 3:38am
View
I think, you are using order by clause two times in query that's why error occurs.
Try to remove order clause from last in query then run it.
JR009
6-Oct-14 3:33am
View
why you are using @"window.onload = AddMediaGroupToExisitingSuffix();" ?
try,
ScriptManager.RegisterStartupScript(this, GetType(), "progress", "AddMediaGroupToExisitingSuffix();", true);
JR009
6-Oct-14 3:05am
View
try,
Label1.Text = stateText.SelectedValue.toString();
JR009
30-Sep-14 7:15am
View
what is your database table fields? Is your sql query is right?
JR009
30-Sep-14 6:03am
View
Ok, then there may be some wrong code in javascript function. can u provide your javascript code?
JR009
30-Sep-14 5:52am
View
if you want to access the server side control in js function, then you can also do this in aspx page in script tag.
JR009
30-Sep-14 5:41am
View
Can you give some more details about your question?
JR009
26-Sep-14 13:13pm
View
Ok following is the code, there are two pages - Page1.aspx and Page2.aspx
Page1.aspx :
<html>
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
<p> This is PAGE1</p>
<asp:Button ID="btn1" Text="Go To Page2" runat="server" onclick="btn1_Click" />
</div>
</form>
</body>
</html>
Page1.aspx.cs :
protected void btn1_Click(object sender, EventArgs e)
{
Response.Redirect("Page2.aspx?data=test@123");
}
Page2.aspx :
<html>
<head runat="server">
<title></title>
</head>
<body>
<script type="text/javascript">
window.onload = function(){
var result = "<%= Request.QueryString["data"] %>";
document.getElementById("hdnField").value = result;
alert(document.getElementById("hdnField").value);
};
</script>
<form id="form1" runat="server">
<div>
<p>
This is PAGE2</p>
<input type="hidden" id="hdnField" />
</div>
</form>
</body>
</html>
JR009
16-Apr-14 0:58am
View
Hi Snehasish, thanks for your reply. But i checked this code before, in this code the given link "http://siteexplorer.search.yahoo.com/" is not working now, yahoo closed it. So is there any other api to download the html string of a given URL??
JR009
26-Dec-13 1:59am
View
I tried this but its not works.
Here is my Code :
WebForm1.aspx
<body>
<form id="form1" runat="server">
<div>
<asp:FileUpload ID="FileUpload1" runat="server" />
<br />
<asp:Button ID="Button1" runat="server" Text="Button" onclick="Button1_Click"/>
</div>
</form>
</body>
WebForm1.aspx.cs
protected void Button1_Click(object sender, EventArgs e)
{
string fileName = System.IO.Path.GetFileName(FileUpload1.PostedFile.FileName);
FileUpload1.PostedFile.SaveAs(Server.MapPath("~/images/" + fileName));
Session["image"] = "~/images/"+ fileName;
Response.Redirect("WebForm2.aspx");
}
WebForm2.aspx
<body>
<form id="form1" runat="server">
<div>
<asp:Image ID="img1" runat="server" />
</div>
</form>
</body>
WebForm2.aspx.cs
protected void Page_Load(object sender, EventArgs e)
{
if (Session["image"] != null)
{
img1.ImageUrl = Session["image"].ToString();
}
}
JR009
23-Dec-13 2:22am
View
hey friend,
check your database table and its fields datatypes. Also check the file path of the stored images in the database table.
JR009
17-Dec-13 22:50pm
View
Hi friend,
1. write string Name = GridView1.Rows[0].Cells[0].Text; in button click eventm and there should be .text property in button click event. check your code again because my code works fine in vs 2010.
2. write respose.redirect("form2.aspx?name"+name); in button click event which transfer varible name's value to form2.aspx page.
JR009
16-Dec-13 1:35am
View
Thank you very much Joy Anand Raj for your useful answer.
Show More