datalist
-
hii all i have a datalist in which i have taken labels and checkboxs.i want that when the user select the checkboxes from any rows.the text of all the selected check box get displayed in a textbox or label.i have also taken a hidden field to found the id of selected row.what is the next step that i shd perform.plz guide.thank's
-
hii all i have a datalist in which i have taken labels and checkboxs.i want that when the user select the checkboxes from any rows.the text of all the selected check box get displayed in a textbox or label.i have also taken a hidden field to found the id of selected row.what is the next step that i shd perform.plz guide.thank's
-
Handle the CheckChanged event and the text for the textbox/label in that.
50-50-90 rule: Anytime I have a 50-50 chance of getting something right, there's a 90% probability I'll get it wrong...!!
-
This is how you cna assign the check changed event handler for the check box: <asp:CheckBox ID="myCheckBox" runat="server" OnCheckedChanged="CheckChangedHandler"/> Now, in the code behind, you can access your hidden field to the selected row index and then access it using the Items property.
50-50-90 rule: Anytime I have a 50-50 chance of getting something right, there's a 90% probability I'll get it wrong...!!
-
This is how you cna assign the check changed event handler for the check box: <asp:CheckBox ID="myCheckBox" runat="server" OnCheckedChanged="CheckChangedHandler"/> Now, in the code behind, you can access your hidden field to the selected row index and then access it using the Items property.
50-50-90 rule: Anytime I have a 50-50 chance of getting something right, there's a 90% probability I'll get it wrong...!!
-
hii m getting one more prob when i am trying to debug by code which is written at button click event but when i click the button the control is not going inside the button click code....
Are you writing any javascript for the event..! if yes may be thts the problem..! if no copy the code in the event and delete the event and add the event and paste the code..!
LatestArticle :Log4Net Why Do Some People Forget To Mark as Answer .If It Helps.
-
Are you writing any javascript for the event..! if yes may be thts the problem..! if no copy the code in the event and delete the event and add the event and paste the code..!
LatestArticle :Log4Net Why Do Some People Forget To Mark as Answer .If It Helps.