0
我使用已使用密碼的用戶可以登錄並在其密碼,他可以閱讀或在網格視圖網格視圖從手工更改鼠標指針移動到我
我有ASP寫讀寫訪問 網格視圖:按鈕我使用網格視圖的命令事件
protected void gvMemSpb_RowCreated(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
int iRow = int.Parse(Convert.ToString(e.Row.RowIndex));
if (iRow > -1)
{
if (Session["Me_Status"].ToString() == "" || Session["Me_Status"].ToString() == "R")
{
e.Row.Cells[3].Enabled = false;
e.Row.Cells[4].Enabled = false;
e.Row.Cells[5].Enabled = false;
lblRWAccess.Text = "This is (read only) Access page";
}
}
}
這是我如何禁用ASP禁用:按鈕網格視圖,他們得到禁止, 但問題是,它仍然顯示在它時,鼠標手圖標在這些按鈕上, 我不想在鼠標上顯示手形指針,而不是在事件中搜索n雲端,但無法找到可能的解決方案是如何隱藏手指針提前 Vaibhav的德什潘德(MCA)務實
{
?//what code i add hear to hide hand pointer
?
?
e.Row.Cells[3].Enabled = false;
e.Row.Cells[4].Enabled = false;
e.Row.Cells[5].Enabled = false;
lblRWAccess.Text = "This is (read only) Access page";
}
感謝
這樣做了 非常非常感謝 我使用的代碼如下 {e.Row.Cells [3] .Enabled = FALSE; e.Row.Cells [3] .CssClass =「nohand」; } 並聲明css nohand {cursor:text; } 在頂部 ,我非常高興,現在它的工作很好 謝謝a噸 – vaibhav 2010-01-12 16:15:31