我正在使用Opencart v2.2.0,我正在努力使每个产品的URL属性可以点击。现在我看到了链接,但它无法点击。我找到了URL属性的属性ID,我有以下代码:
public CH_Info()
{
InitializeComponent();
MyChcreation = Application.OpenForms.OfType<Ch_Creation>().FirstOrDefault();
}
private void UpdateBtn_Click(object sender, EventArgs e)
{
if(MyChcreation != null)
{
StrResLbl.Text = MyChcreation.StrTotalLbl.Text;
DexResLbl.Text = MyChcreation.DexTotalLbl.Text;
ConResLbl.Text = MyChcreation.ConTotalLbl.Text;
WisResLbl.Text = MyChcreation.WisTotalLbl.Text;
IntResLbl.Text = MyChcreation.IntTotalLbl.Text;
ChaResLbl.Text = MyChcreation.ChaTotalLbl.Text;
}
else
{
StrResLbl.Text = "";
DexResLbl.Text = "";
ConResLbl.Text = "";
WisResLbl.Text = "";
IntResLbl.Text = "";
ChaResLbl.Text = "";
}
}
但它仍然无法点击。请问有人有什么建议吗?我不知道还能做什么以及我做错了什么。