<asp:LinkButton ID="lblphyname" runat="server" CommandName="Selected" ForeColor="#0489B5" Font-Size="11pt" CommandArgument='<%# Eval("AssignedTo") %>' Text='<%# Eval("FullName") %>' Font-Underline="false" Font-Overline="false" onclick="lblphyname_Click" > </asp:LinkButton>
protected void RadRotator1_ItemClick(object sender, RadRotatorEventArgs e) { CheckBox chk = (CheckBox)e.Item.FindControl("chk"); if (chk.Checked != true) { LinkButton lblphyname = (LinkButton)e.Item.FindControl("lblphyname"); Session["MsgUserID"] = lblphyname.CommandArgument.ToString(); Session["PatientName"] = Session["PatientID"]; Response.Redirect("MsgDetails.aspx?PatName=" + lblPatName.Text); } }
protected void lblphyname_Click(object sender, EventArgs e) { }
Response.Redirect("MsgDetails.aspx?PatName=" + lblphyname.Text);
protected void lblphyname_Click(object sender, EventArgs e) { string id = ((LinkButton)sender).CommandName; string id1 = ((LinkButton)sender).CommandArgument.ToString(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)