" Live as if you were to die tomorrow. Learn as if you were to live forever.. "
- Mahatma Gandhi

Simple way to add hyperlinks to CheckBoxList list-items in ASP.NET

Posted on November 23rd, 2015 by Palash Mondal

PROBLEM Few days back, my client asked me to add hyperlinks to asp CheckBoxList list-item , so that the user can open a pdf / doc file on click of it and after reading it check the check-boxes based on their requirement. But the thing was that, the CheckBoxList is bind from code-behind, so we […]

Bind ASP CheckBoxList within ASP DataList

Posted on November 23rd, 2015 by Palash Mondal

PROBLEM Binding a CheckBoxList is bit easy but binding a CheckBoxList within a DataList becomes little difficult and many programmers are faced with issues like checkboxlist within the datalist not displaying. SOLUTION So, here is a simple way to bind CheckBoxList within a DataList :- ASPX <asp:DataList ID=”dlSample” runat=”server” OnItemDataBound=”dlSample_ItemDataBound”> <ItemTemplate> NAME: <asp:Label ID=”lblName” runat=”server” […]