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

没有正确的解决方案

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top