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...


Can you edit data in the Repeater control?

Answers were Sorted based on User's Feedback



Can you edit data in the Repeater control?..

Answer / sivaprasad

Yes We Can Edit Data In a RepeaterControl,it is based on our
designing
Example:Display Data What Ever YOU want in Labels and same
data in to Textboxes(visible = false) while page is loading
and when user clicks Edit Button put all labels to visible
false and and all text boxes to visible true,
foreach(control con in Repeater.Items)
{
foreach(Control ctl in con.Controls)
{
if(ctl is TextBox)
{
((Textbox)ctl).Visible = true;
}
if(ctl is Label)
{
((Label)ctl).visible = false;
}
}
}

After This Iterate Through All Items in Our Repeater Like
for(int i=0;i<Repeater.Items.Count;i++)
{
string txt =
((Textbox)Repeater.Items[i].FindControl("Textboxid")).Text;
}

Get The Edited Text Like This And Update into Database

Is This Answer Correct ?    3 Yes 1 No

Can you edit data in the Repeater control?..

Answer / sunayana

No, it just reads the information from its data source

Is This Answer Correct ?    3 Yes 3 No

Can you edit data in the Repeater control?..

Answer / vishal

You can't edit repeater control but you can design it by
your own

Is This Answer Correct ?    2 Yes 2 No

Can you edit data in the Repeater control?..

Answer / 1647264

NO.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

What is the best Macanism to clear the Cache in asp.net

0 Answers   MCN Solutions,


How does the XmlSerializer work? What ACL permissions does a process using it require?

2 Answers  


How do you define authentication in Web.Config?

2 Answers   Patni,


What are the asp.net list controls and difference between them?

0 Answers  


Describe a diffgram ? Write any one use of that?

3 Answers   Siebel,


What are the uses of reflection?

0 Answers  


What is round trip in asp.net?

0 Answers  


What are the different Key TreeView Properties in Asp.net 2.0?

1 Answers   TCS,


Tell something about state management in asp.net?

3 Answers   Accenture,


How do you do validations. Whether client-side or server-side validations are better.?

5 Answers   Microsoft,


Differentiate between Server.Transfer and Response.Redirect with functionality? Why we can choose one over the other?

0 Answers   Siebel,


What is difference between abstract class and an interface?

0 Answers  


Categories