16,006,709 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 .NET 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 ANOOP CL NAIR (Top 36 by date)
ANOOP CL NAIR
13-Oct-12 0:49am
View
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title></title>
<script src="javascript/jquery-1.4.3.min.js" type="text/javascript"></script>
<style type="text/css">
.web_dialog_overlay
{
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
height: 100%;
width: 100%;
margin: 0;
padding: 0;
background: #000000;
opacity: .15;
filter: alpha(opacity=15);
-moz-opacity: .15;
z-index: 101;
display: none;
}
.web_dialog
{
display: none;
position: fixed;
width: 380px;
height: 200px;
top: 50%;
left: 50%;
margin-left: -190px;
margin-top: -100px;
background-color: #ffffff;
border: 2px solid #336699;
padding: 0px;
z-index: 102;
font-family: Verdana;
font-size: 10pt;
}
.web_dialog_title
{
border-bottom: solid 2px #336699;
background-color: #336699;
padding: 4px;
color: White;
font-weight:bold;
}
.web_dialog_title a
{
color: White;
text-decoration: none;
}
.align_right
{
text-align: right;
}
</style>
<script type="text/javascript">
$(document).ready(function () {
$("#btnShowSimple").click(function (e) {
ShowDialog(false);
e.preventDefault();
});
$("#btnShowModal").click(function (e) {
ShowDialog(true);
e.preventDefault();
});
$("#btnClose").click(function (e) {
HideDialog();
e.preventDefault();
});
$("#btnSubmit").click(function (e) {
var brand = $("#brands input:radio:checked").val();
$("#output").html("
Your favorite mobile brand:
" + brand);
HideDialog();
e.preventDefault();
});
});
function ShowDialog(modal) {
$("#overlay").show();
$("#dialog").fadeIn(300);
if (modal) {
$("#overlay").unbind("click");
}
else {
$("#overlay").click(function (e) {
HideDialog();
});
}
}
function HideDialog() {
$("#overlay").hide();
$("#dialog").fadeOut(300);
}
allOptions.open = function (type, data) {
jQuery(this).parent().appendTo("form:first");
};
jQuery('.class').dialog(allOptions);
</script>
</head>
ANOOP CL NAIR
13-Oct-12 0:41am
View
Deleted
<body>
<form id="form1" runat="server">
<input type="button" id="btnShowSimple" value="Simple Dialog" önclick="return btnShowSimple_onclick()" />
<br /><br />
<div id="output"></div>
<div id="overlay" class="web_dialog_overlay"></div>
<div id="dialog" class="web_dialog">
<table style="width: 100%; border: 0px;" cellpadding="3" cellspacing="0">
<tr>
<td class="web_dialog_title">Online Survey</td>
<td class="web_dialog_title align_right">
Close
</td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td colspan="2" style="padding-left: 15px;">
Add new course
</td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td colspan="2" style="padding-left: 15px;">
<div id="brands">
<asp:DropDownList ID="DropDownList1" runat="server" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged" AutoPostBack="True" value="Simple Dialog" >
<asp:DropDownList ID="DropDownList2" runat="server" AutoPostBack="True">
</div>
</td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td colspan="2" style="text-align: center;">
<input id="btnSubmit" type="button" value="Submit" />
</td>
</tr>
</table>
</div>
</form>
</body>
</html>
ANOOP CL NAIR
13-Oct-12 0:11am
View
Deleted
thanks
ANOOP CL NAIR
12-Oct-12 13:48pm
View
thank u for ur replay....can u please give me the full code with postback dropdown example....
ANOOP CL NAIR
12-Oct-12 4:47am
View
i have a button in .aspx page ...when i click on button ..it will open a popup....now i am using modalpopextender...problem in modalpopextender...so i need to try another popup which contain some dropdown list....dropdown1 contain countries, dropdown2 contain state....for example if i select dropdown1 then dropdown2 will only display states of india....
ANOOP CL NAIR
11-Oct-12 13:53pm
View
thanks for replying me.....YOU DONE A GREAT JOB....i tried both jquery and modal windows some examples...but still problem is not solving...some popup dropdown list postback is not happening.....i have 5 drop down list ....for example if dropdown1 is india then it will display states of india in dropdown 2....dropdown will read from database......DEPENDING UPON DROPDOWN VALUE NEXT DROPDOWN WILL READ....
ANOOP CL NAIR
11-Oct-12 13:02pm
View
u r really great brother....In my company there is no experience person...so i dont know how to do...but u give me good example ...its very very nice.....I AM TRYING TO SOLVE MY PROBLEM...IF i have ANY PROBLEM I WILL ASK U.....ONCE AGAIN THANK U BROTHER....
ANOOP CL NAIR
11-Oct-12 9:30am
View
Already i tried...when i click on first dropdown...it will close the window and after it will open ...its not looking good because window is jumping down to up....below code i wrote in load page and inside dropdown list..
ModalPopupExtender1.Show();
if there is any another solution can u please explain it?
ANOOP CL NAIR
11-Oct-12 2:52am
View
hi i used below code ....but again when i click on dropdownlist ...popup is closing the window....hope u will help..
[I removed the code as irrelevant -- SA]
.....
ANOOP CL NAIR
10-Oct-12 22:32pm
View
Deleted
Thank you for your reply dude.....
ANOOP CL NAIR
10-Oct-12 22:32pm
View
Thank you for your reply dude.....
ANOOP CL NAIR
8-Oct-12 2:11am
View
thanks for ur replay it is in web application...
ANOOP CL NAIR
6-Oct-12 22:11pm
View
i wrote same code in load page....its showing error in Row(i)....Non-invocable member 'System.Web.UI.WebControls.GridView.Rows' cannot be used like a method.
int Cnt;
for (int i = 0; i < GridView9.Rows.Count - 1; i++)
{
Cnt += Convert.ToDouble(GridView9.Rows(i).Cells(2).Text);
}
Label32.Text = Cnt.ToString();
ANOOP CL NAIR
1-Oct-12 6:37am
View
i gave runat="server" in html text code...but its showing error....
i have html textbox and button....i need to save textbox value to mysql database......
ANOOP CL NAIR
1-Oct-12 4:16am
View
thanks for ur reply again.... i did like this
<input id="amount" name="amount" value="" />
on button click
protected void Btn_Click(object sender, EventArgs e)
{
string n = String.Format("{0}", Request.Form["amount"]);
TextBox1.Text = n;
}
but its not displaying value on textbox1
ANOOP CL NAIR
1-Oct-12 1:31am
View
Thanks for ur replay....i have html textbox and button....i need to save the textbox value to database ...when i click on button....
this is html tetxtbox and button code
<input type="visible" name="amount" value="" />
<input type="image" name="submit"
src="http://images.paypal.com/images/x-click-butcc.gif" border="0"
alt="Make payments with PayPal, it's fast, free, and secure!"
style="width: 147px; height: 52px;" />
i know only in asp.net...dont know in html......
ANOOP CL NAIR
2-Aug-12 0:33am
View
i use image button instead of image....thank you very much
ANOOP CL NAIR
26-Jul-12 8:58am
View
thank you for your nice comment
ANOOP CL NAIR
26-Jul-12 8:58am
View
thank you for your nice comment
ANOOP CL NAIR
26-Jul-12 6:56am
View
thank you for your nice comment...
ANOOP CL NAIR
26-Jul-12 6:55am
View
thank you for your nice comment...
ANOOP CL NAIR
14-Jul-12 8:09am
View
i tried it is not working properly.....can u please explain it....
ANOOP CL NAIR
14-Jul-12 1:46am
View
thank you very much yaar....its working....
ANOOP CL NAIR
14-Jul-12 1:14am
View
i tried like that its not working...can u explain it...below code can see detail....
ANOOP CL NAIR
13-Jul-12 7:10am
View
Can u please explain it...
flashvars.roomid ="uh2b9pm"
For example if i change textbox = 1 then it will change the value of flashvars roomid="1"
i tried like this flashvars roomid="textbox1.text", but its showing error...please tell me easy method to solve this
ANOOP CL NAIR
25-May-12 1:46am
View
i am doing in windws application(c#)
inside button click i have write like tis
String Con = "Provider=Microsoft.Jet.OLEDB.4.0;" + "Data Source=D:\\Test1.xls;" + "Extended Properties=Excel 8.0;";
OleDbConnection objCn = new OleDbConnection(con);
DataSet ds = new DataSet();
OleDbDataAdapter Oda = new OleDbDataAdapter("select * from[Sheet1$]", Con);
Oda.Fill(ds);
GV.DataSource = ds.Tables[0].DefaultView;
//GV.DataBind();
GV.DataSource = bindingSource1;
but its showing error
External table is not in the expected format.please tell me hw to do detail
ANOOP CL NAIR
20-Mar-12 1:53am
View
thanks a lot....its working...
ANOOP CL NAIR
19-Mar-12 9:06am
View
Actually i want to do in mysql database...can u please explain it....
ANOOP CL NAIR
19-Mar-12 8:36am
View
full database data i need to take backup and restore....
ANOOP CL NAIR
19-Mar-12 8:32am
View
can u please send me code for backup and restore mysql database in windows c#
ANOOP CL NAIR
3-Mar-12 2:39am
View
ok thanks...i am going to try...
ANOOP CL NAIR
3-Mar-12 1:59am
View
i have doubt in datagridview autocomplete is possible????
ANOOP CL NAIR
3-Mar-12 1:48am
View
thanks a lot....
ANOOP CL NAIR
2-Mar-12 10:11am
View
i am doing like this but phone number is not displaying......
MySqlConnection myConnection = new MySqlConnection(@"Server=localhost;user id=root;password=headway123;database=physiotheraphy");
myConnection.Open();
MySqlCommand cmd = new MySqlCommand("SELECT patient_name+phone_no FROM patient", myConnection);
DataSet ds = new DataSet();
MySqlDataAdapter da = new MySqlDataAdapter(cmd);
da.Fill(ds, "My List");
AutoCompleteStringCollection col = new AutoCompleteStringCollection();
int i = 0;
for (i = 0; i <= ds.Tables[0].Rows.Count - 1; i++)
{
col.Add(ds.Tables[0].Rows[i]["patient_name "].ToString());
// col.Add(ds.Tables[0].Rows[i]["phone_no"].ToString());
}
txtname.AutoCompleteSource = AutoCompleteSource.CustomSource;
txtname.AutoCompleteCustomSource = col;
txtname.AutoCompleteMode = AutoCompleteMode.Suggest;
myConnection.Close();
ANOOP CL NAIR
2-Mar-12 6:04am
View
actually i can display name...but i need to display name with phone number...is any possible way to display?????
ANOOP CL NAIR
1-Feb-12 4:46am
View
i try 4 ways of data passing from one form to another...still problem is not solved....plz help...how i can solve this problem...
Show More