ASP: button to input submit

Posted by vishnu on Stack Overflow See other posts from Stack Overflow or by vishnu
Published on 2011-02-07T06:54:31Z Indexed on 2011/02/07 7:25 UTC
Read the original article Hit count: 245

Filed under:
|
|
|

Hi All,

I am trying to use literalcontrol to add a button as input type="submit"

litLevelList.Text += string.Format(" &lt input type='submit' id='{0}' value='{1}' name='{2}' >", btnSave.ClientID, Lang.Trans("Save Changes " )  , btnSave. ??);

I could get the button ID using CLientID but without the name the data doesnt seems to be submitted.

Could anyone tell me how i could access the name value rendered by ASP for a button control.

thanks, vishnu

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about button