S
sunny
Hi everybody,
I have a datagrid and a button(id=Button1). when the user select the row. I
want to excute javascript to invoke "__doPostBack("Button1","")" . just like
the user press the button and do the postback. In reguar aspx, It works
great. But in user control(ascx). because all control's id in the
usercontrol will change (add a prefix for example "abc_Button1"). No matter
I use "__doPostBack("Button1","")" or "__doPostBack("abc_Button1","")" I
can't catch the event( button.click). How can I fix this problem, anyone has
a idea?
Thanks a lot!
Sunny.
I have a datagrid and a button(id=Button1). when the user select the row. I
want to excute javascript to invoke "__doPostBack("Button1","")" . just like
the user press the button and do the postback. In reguar aspx, It works
great. But in user control(ascx). because all control's id in the
usercontrol will change (add a prefix for example "abc_Button1"). No matter
I use "__doPostBack("Button1","")" or "__doPostBack("abc_Button1","")" I
can't catch the event( button.click). How can I fix this problem, anyone has
a idea?
Thanks a lot!
Sunny.