Click here to Skip to main content
13,794,665 members

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" "">
<html xmlns="">
<head id="Head1" runat="server">
<script src="javascript/jquery-1.4.3.min.js" type="text/javascript"></script>
<style type="text/css">
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;
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;
border-bottom: solid 2px #336699;
background-color: #336699;
padding: 4px;
color: White;
.web_dialog_title a
color: White;
text-decoration: none;
text-align: right;
<script type="text/javascript">

$(document).ready(function () {
$("#btnShowSimple").click(function (e) {

$("#btnShowModal").click(function (e) {

$("#btnClose").click(function (e) {

$("#btnSubmit").click(function (e) {
var brand = $("#brands input:radio:checked").val();
$("#output").html("Your favorite mobile brand: " + brand);

function ShowDialog(modal) {

if (modal) {
else {
$("#overlay").click(function (e) {

function HideDialog() {
} = function (type, data) {

ANOOP CL NAIR 13-Oct-12 0:41am View
<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">
<td class="web_dialog_title">Online Survey</td>
<td class="web_dialog_title align_right">

<td> </td>
<td> </td>
<td colspan="2" style="padding-left: 15px;">
Add new course
<td> </td>
<td> </td>
<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">

<td> </td>
<td> </td>
<td colspan="2" style="text-align: center;">
<input id="btnSubmit" type="button" value="Submit" />
ANOOP CL NAIR 13-Oct-12 0:11am View
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 will open a i am using modalpopextender...problem in 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 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 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..


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
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="" border="0"
alt="Make payments with PayPal, it's fast, free, and secure!"
style="width: 147px; height: 52px;" />

i know only in 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);
GV.DataSource = ds.Tables[0].DefaultView;

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");

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;

ANOOP CL NAIR 2-Mar-12 6:04am View
actually i can display name...but i need to display name with phone 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 i can solve this problem...

Advertise | Privacy | Cookies | Terms of Service
Web04 | 2.8.181207.3 | Last Updated 1 Jan 1900
Copyright © CodeProject, 1999-2018
All Rights Reserved.
Layout: fixed | fluid