I want to Go to click but not want to click on link but want to go to from cs file. Here IS my Code..转到Href <a href=""> From .Cs file function
<a id="editbtn" runat="server" href="#popup_edit">
<div runat="server" style="z-index:2" id="popup_edit" class="overlay">
<div class="popup">
<h2>Edit Region</h2>
<a class="close" href="#">×</a>
<div class="content">
<div class="form-group">
<label class=" col-md-3 " for="RegionEdit">
Region Name <span class="">*</span>
</label>
<div class=" col-sm-6 ">
<input type="text" id="RegionEdit" runat="server" class="form-control">
</div>
<asp:CheckBox CssClass="checkbox-inline" ID="Active" runat="server" />
<asp:Button ID="EditReg" runat="server" Text="Update" CssClass="btn btn-round btn-danger" OnClick="EditReg_Click" />
</div>
</div>
</div>
I want this div to pop up from .cs file
Acyually我想从gridview行索引更改弹出我不想点击任何按钮。有什么我可以简单地从.CS文件中的函数去href –