我想在按钮的 commandArgument 中传递选定的下拉文本(ddlTime)。
注意:Dropdown 的 Autopostback = false。
代码- Aspx -
<asp:DropDownList ID="ddlTime" runat="server" AutoPostBack="false" Width="70">
</asp:DropDownList>
<telerik:RadButton ID="btnViewSun" runat="server" Text="View" CommandArgument="-pass selected value here-"
OnClientClicked="OnClientClicked_ViewAssignedCust" ButtonType="LinkButton" BorderStyle="None" />
我编写了一个 JS 函数(“OnClientClicked_ViewAssignedCust”)来捕获参数。请给我一些提示。