How to use a webcontrol with Javascript.

P

Peregrin

Hello world.
I will try to explain my problem. I've a webcontrol with an interface which
provides a choice of methods. After including the webcontrol in a special
aspx page, I want to call an interface webcontrol method from a javascript
function part of special aspx page.
But I don't know how to call a public webcontrol method from a client side
javascript function ?
Thanks for response.
 
S

Steve B.

Take a look at the Page.GetPostBackEventReference method (beware, VS hide
this methods until you choose to display advanced members).

This allow you to create postbac clients events in order to help you fire
server method.

Steve
 
B

bruce barker \(sqlwork.com\)

for client code to call a server method, it need to send a request to the
server and parse the results. this is typically done with an ajax library
nowdays. google ajax, and pick you fav (or write one).

-- bruce (sqlwork.com)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,792
Messages
2,569,639
Members
45,353
Latest member
RogerDoger

Latest Threads

Top