Hi
I have 4-5 records . I want to display in Modal Popup with line break
Thanks
Hi
I have 4-5 records . I want to display in Modal Popup with line break
Thanks
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Abhishek ChadhaRank #402 · 6.2K reputationPosted Apr 4, 2023, 7:15 AM EDT
you can refer the below for modal up and inside that create any list-
https://getbootstrap.com/docs/4.0/components/modal/
Ramco RamcoRank #462 · 5.4K reputationPosted Apr 4, 2023, 7:33 AM EDT
Hi
I have below code & i want to display s in Modal
StringBuilder sb = new StringBuilder(); foreach (var colum in Result) { sb.Append(" " + sr + ". " + colum.Name + " in Session - " + colum.SessionDeliveryNo + " dated - " + Convert.ToDateTime(colum.SessionDate).ToString("dd-MM-yyyy")); sb.Append(Environment.NewLine); sr++; } string s = sb.ToString();Thanks
Abhishek ChadhaRank #402 · 6.2K reputationPosted Apr 4, 2023, 10:02 AM EDT
ScriptManager.RegisterStartupScript(Page, Page.GetType(), "Add",s, true); //here S is your content