Click here to Skip to main content
14,114,975 members
Rate this:
Please Sign up or sign in to vote.
See more:
ontextchange event cant show fill checkboxlist if we use pageload or button_click event than show filled checkboxlist items.and binxcheckbox function also call when textchange event fire but after that we click on any button than after show checkbox list item otherwise not show

What I have tried:

i tried to call button_click(null,null) event pass through textchange eventplz give me solution when on lost focus of textbox directly fillcheckbox and show on screen and i trid in on web based application


private void BindSetList()

str = "SELECT productnm,id from Product_master";
ds = objgn.getSqlValue(str, "Set_detail");
CheckBoxList1.DataSource = null;
CheckBoxList1.DataSource = ds;
CheckBoxList1.DataTextField = "productnm";
CheckBoxList1.DataValueField = "id";

btnnext_Click(null, null);

protected void txtProductnm_TextChanged(object sender, EventArgs e)
Updated 18-Dec-16 19:01pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

if textbox in update panel and checkboxlist in not update panel than cant show,
the solution is get any related change than both control is in update panel

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Cookies | Terms of Service
Web03 | 2.8.190518.1 | Last Updated 19 Dec 2016
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100