CallbackMethodAttribute.RouteUrl

Allows specification of an ASP.NET style route URL to a Service Method.

Parameterized route fragments ( {parameter} ) should match parameter names. products/{id} products/add products/add/{sku} service/helloworld/{name}/{company} Applies only to CallbackHandler based handlers. Doesn't have any effect on Page methods called with AjaxMethodCallback

Routes need to uniquely identify a method in a CallbackHandler. Make sure you don't have the same route or same partially parameterized route pointing at multiple methods - in which case you may end up with routing mismatches. stocks/{symbol} stocks/{symbollist}

public string RouteUrl { get; set; }

See also:

Class CallbackMethodAttribute

© West Wind Technologies, 1996-2016 • Updated: 12/12/15
Comment or report problem with topic