C
Chris Simeone
When I use ParseControl in a C# code behind to create a button...
Control c3 = ParseControl("<asp:button id='Button3' text='Btn3'
oncommand='OnButton' commandname='Btn' commandargument='b3'
runat='server' />");
The HTML that's rendered looks like this...
<input type="submit" name="Button3" value="Btn3" id="Button3"
oncommand="OnButton" />
I don't believe the "oncommand..." parameter should be rendered. Is
this a bug in ParseControl?
Thanks,
Chris
Control c3 = ParseControl("<asp:button id='Button3' text='Btn3'
oncommand='OnButton' commandname='Btn' commandargument='b3'
runat='server' />");
The HTML that's rendered looks like this...
<input type="submit" name="Button3" value="Btn3" id="Button3"
oncommand="OnButton" />
I don't believe the "oncommand..." parameter should be rendered. Is
this a bug in ParseControl?
Thanks,
Chris