Thanks
Rajasekhar If you have an apple & I have an apple & we exchange our apples, then each of us will still have only 1 apple but if you have an idea & I have an idea & we exchange our ideas, then each of us will have 2 ideas
Thanks
Rajasekhar If you have an apple & I have an apple & we exchange our apples, then each of us will still have only 1 apple but if you have an idea & I have an idea & we exchange our ideas, then each of us will have 2 ideas
protected void Page_Load(object sender, EventArgs e)
{
for (Int32 i = 0; i < 5; i++)
{
DropDownList1.Items.Add("aasdasdasdasdsd");
DropDownList1.Items.Add("asd");
DropDownList1.Items.Add("asd");
}
for (Int32 i = 0; i < 10; i += 3)
{
I need some detailed...how to start....Plz send me how to display the Flag before Country in Dropdown....I am using dotnet1.1
Thanks
Rajasekhar If you have an apple & I have an apple & we exchange our apples, then each of us will still have only 1 apple but if you have an idea & I have an idea & we exchange our ideas, then each of us will have 2 ideas
Hello Hgvyas......I didnt get any Image.......Give me clear Idea......my TL told me to use Jquery only to solve this...
Thanks
Rajasekhar If you have an apple & I have an apple & we exchange our apples, then each of us will still have only 1 apple but if you have an idea & I have an idea & we exchange our ideas, then each of us will have 2 ideas
I didnt saw any where.....but my requirement is that.......I saw some listboxes with Images like twitter with its Logo.
Please tell me how it possible
Thankyou for ur replying
Thanks
Rajasekhar If you have an apple & I have an apple & we exchange our apples, then each of us will still have only 1 apple but if you have an idea & I have an idea & we exchange our ideas, then each of us will have 2 ideas
mannavas
Member
48 Points
75 Posts
Dropdown with Countries along with their Flags
Sep 22, 2010 05:20 AM|LINK
Can any one Help me
I need Country dropdown with Flags using JQuery.
Plz tell me how.......I am new to Jquery.
Dropdown with Countries along with their Flags
Rajasekhar
If you have an apple & I have an apple & we exchange our apples, then each of us will still have only 1 apple but if you have an idea & I have an idea & we exchange our ideas, then each of us will have 2 ideas
smithspd
Participant
1497 Points
463 Posts
Re: Dropdown with Countries along with their Flags
Sep 22, 2010 05:34 AM|LINK
http://www.noupe.com/tutorial/drop-down-menu-jquery-css.html
http://www.dotnetspider.com/resources/31801-Jquery-Custom-Drop-Down-List-with-Images.aspx
mannavas
Member
48 Points
75 Posts
Re: Dropdown with Countries along with their Flags
Sep 22, 2010 05:41 AM|LINK
Sorry Ididnt found there
Rajasekhar
If you have an apple & I have an apple & we exchange our apples, then each of us will still have only 1 apple but if you have an idea & I have an idea & we exchange our ideas, then each of us will have 2 ideas
sandy060583
Star
8718 Points
1626 Posts
Re: Dropdown with Countries along with their Flags
Sep 22, 2010 05:56 AM|LINK
http://www.dotnetspeaks.com/DisplayArticle.aspx?ID=56
http://html-menu.com/dropdown-country-list-with-flags.html
Ramani Sandeep (My Blog)
(MCTS, MCC-2011)
Hgvyas123
Member
635 Points
171 Posts
Re: Dropdown with Countries along with their Flags
Sep 22, 2010 06:54 AM|LINK
TRY THIS,
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default4.aspx.cs" Inherits="Default4" %>
<!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 runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div style="background-image : url('~/apple-style-linux-wallpaper.jpg');">
<asp:DropDownList ID="DropDownList1" runat="server"
onselectedindexchanged="DropDownList1_SelectedIndexChanged">
</asp:DropDownList>
</div>
</form>
</body>
</html>
protected void Page_Load(object sender, EventArgs e)
{
for (Int32 i = 0; i < 5; i++)
{
DropDownList1.Items.Add("aasdasdasdasdsd");
DropDownList1.Items.Add("asd");
DropDownList1.Items.Add("asd");
}
for (Int32 i = 0; i < 10; i += 3)
{
//DropDownList1.Items[i].Attributes.Add("style", "font-size:18px; font-weight:bold;");
DropDownList1.Items[i].Attributes.Add("style", "background-image: URL('apple-style-linux-wallpaper.jpg');");
}
}
IF ANSWER HELPS MARK AS ANSWER
ELSE ASK FOR MORE HELP
mannavas
Member
48 Points
75 Posts
Re: Dropdown with Countries along with their Flags
Sep 22, 2010 07:04 AM|LINK
I need some detailed...how to start....Plz send me how to display the Flag before Country in Dropdown....I am using dotnet1.1
Rajasekhar
If you have an apple & I have an apple & we exchange our apples, then each of us will still have only 1 apple but if you have an idea & I have an idea & we exchange our ideas, then each of us will have 2 ideas
mannavas
Member
48 Points
75 Posts
Re: Dropdown with Countries along with their Flags
Sep 22, 2010 07:14 AM|LINK
Hello Hgvyas......I didnt get any Image.......Give me clear Idea......my TL told me to use Jquery only to solve this...
Rajasekhar
If you have an apple & I have an apple & we exchange our apples, then each of us will still have only 1 apple but if you have an idea & I have an idea & we exchange our ideas, then each of us will have 2 ideas
Yanping Wang...
All-Star
15181 Points
1552 Posts
Microsoft
Re: Dropdown with Countries along with their Flags
Sep 23, 2010 08:12 AM|LINK
hi mannavas,
people have provide you how to use dropdown using jquery and some example
they can't completely meet you requirement, you should adapt their code to fix you situation.
Feedback to us
Develop and promote your apps in Windows Store
raghav_khung...
All-Star
32835 Points
5563 Posts
MVP
Re: Dropdown with Countries along with their Flags
Sep 23, 2010 08:05 PM|LINK
Mai I ask where have you seen that live ?
mannavas
Member
48 Points
75 Posts
Re: Dropdown with Countries along with their Flags
Sep 24, 2010 03:40 AM|LINK
hello Raghav Sir,
I didnt saw any where.....but my requirement is that.......I saw some listboxes with Images like twitter with its Logo.
Please tell me how it possible
Thankyou for ur replying
Rajasekhar
If you have an apple & I have an apple & we exchange our apples, then each of us will still have only 1 apple but if you have an idea & I have an idea & we exchange our ideas, then each of us will have 2 ideas