Hi all

I have a dynamic button, that on submit need to call webservice

I want to use

style="behavior:url(Script/webservice.htc)"

1. how can I add dynamic style when creating it?

SubmitRequestTextBox.ID = "SubmitRequestTextBox";

SubmitRequestTextBox.Text ="Submit";

SubmitRequestTextBox.Attributes.Add("OnClick", "GetWS()");



2.if I can't, I tried to put it in a div

<div style="behavior:url(Script/webservice.htc)" >

but I get an error msg

Error 4 Validation (CSS 2.0): 'behavior' is not a known CSS property
name. \



thanks



Reply via email to