Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is Bubble Event ?

Answers were Sorted based on User's Feedback



What is Bubble Event ?..

Answer / mani

Events raised by child control handled by parent control is
called Bubble event

Is This Answer Correct ?    12 Yes 0 No

What is Bubble Event ?..

Answer / sudheer

parent control raised the child control events.ex:In the
grid view we are placing the one dropdown.But dropdown can't
raised the onselectedIndexchanged event.Just follow the
below code
<asp:GridView ID="GridView1" runat="server"
AutoGenerateColumns="False"
onrowcommand="GridView1_RowCommand"
onrowdatabound="GridView1_RowDataBound">
<asp:TemplateField>
<ItemTemplate>
<asp:DropDownList ID="ddlItems" runat="server"
DataSource='<% #BindCombo() %>' DataValueField="AuthorID"
DataTextField="author"
OnSelectedIndexChanged="ddlItems_SelectedIndexChanged"
AutoPostBack="true">
</asp:DropDownList>
</ItemTemplate>
</asp:TemplateField>
protected System.Data.DataSet BindCombo()
{
System.Data.DataSet ds = new System.Data.DataSet();
ds.ReadXml(Server.MapPath("./XmlFiles/DBFile.xml"));
return ds;
}
protected void ddlItems_SelectedIndexChanged(object sender,
EventArgs e)
{
foreach(GridViewRow row in GridView1.Rows)
{
DropDownList ddlList =
(DropDownList)row.FindControl("ddlItems");
string items = ddlList.SelectedItem.Text.ToString();
}
}

Is This Answer Correct ?    8 Yes 0 No

Post New Answer

More C Sharp Interview Questions

Do loops c#?

0 Answers  


What are functions in c#?

0 Answers  


About a class access specifiers and method access specifiers ?

3 Answers   MMTS,


Can a class have multiple constructors c#?

0 Answers  


What?s class SortedList underneath?

1 Answers  


What is a Managed Code??

0 Answers  


What is difference between string and string builder?

0 Answers  


What is event sourcing in c#?

0 Answers  


How many types of constructors are there in c#?

0 Answers  


What is strong name assembly?

0 Answers  


If the interface in c# only contains the declaration of the methods and we need to define those methods in the class, then why we use the interface?

0 Answers   HCL,


What is satellite assembly? And steps to create satellite assembly?

0 Answers  


Categories