Find a control by String from asp.net Web service

Posted by jphenow on Stack Overflow See other posts from Stack Overflow or by jphenow
Published on 2010-06-09T19:47:37Z Indexed on 2010/06/09 19:52 UTC
Read the original article Hit count: 212

Filed under:
|
|
|

Well since it seems relatively difficult to send the object of a WebControl over JSON using jquery.ajax() I've decided to send the name of the control as a string because I know how to do that. Then I promptly realized that, from a web service, I don't actually know how to search for a control by ID name. Since its a service I can't seem to get Control.FindControl() to work so does anyone have ideas or suggestions? All I'm trying to do is call a databind() on my radcombobox.

Thanks in advance!

For any of you that knows anything about asp.net/rad controls - I'm basically updating a database and want the radcombobox to be in sync with that database again after adding something, before I autoselect what was just added. Other than databind do i have to call anything to refresh that list?

Thanks again!

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about jQuery