使用telerik轉換ASP VB To C#時的經驗
希望把VB的Web站台轉換成C#,利用telerik轉換之後發現 GridView、Button、DropDownList等,
反應都怪怪的,檢查結果,改用C#時,在aspx裡要手動加上Action,如紅字部份。
<asp:GridView
ID="GridView1"
runat="server"
..中間略...
OnRowCommand="GridView1_RowCommand"
OnRowDataBound="GridView1_RowDataBound"
OnPageIndexChanging="GridView1_PageIndexChanging"
>
<asp:Button ID="btnA" runat="server" ...中間略...Text="測試" OnClick="btnA_Click"/>
<asp:DropDownList ID="ddl_ddlA" runat="server" ..中間略... OnSelectedIndexChanged="ddl_ddlA_SelectedIndexChanged"></asp:DropDownList>