ken Payson

ken Payson kpayson

Niner since 2009


  • 10-4 Episode 3: ASP.NET WebForms 4.0

    I have a question.  I have a list of linkbuttons inside a repeater.  The links when click execute saved searches in my app.  The links have a command argument which is the savedSearchId.  I would like to be able to add new saved searches from the client client using javascript.  The problem is that the command argument is stored in ViewState which cannot be modified in javascript.  I can hack around this problem but its messy.

    My question is, instead of using the command argument,  will I be able to dynamically create the ClientIds to have the savedSearchId suffixed at the end.  Will I then be able to get this information out in the OnItemCommand event handler?