Monday, 15 September 2014

asp.net - ClientID via FindControl() different from Generated ID in html -



asp.net - ClientID via FindControl() different from Generated ID in html -

i have literal defined in usercontrol embedded in aspx , embedded in masterpage.

this.parent.findcontrol("literror") returns me control... client id "phcontent_literror". find command on server side code...

when generated html, see "ctl00_ctl00_phcontent_literrorpanel"

is normal ?

my question because added initiator command ( button) dynamically in ajaxsettings of ajaxmanager update literror... however, when there error, update literror.text... wouldnt update on browser... led me check literror control...

the server side find command has ability find server controls name , have observed generated in page in order unique. normal. advertisement why field in ajax command not updating, need post more code.

asp.net findcontrol

No comments:

Post a Comment