Click here to Skip to main content
16,005,080 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Enable options according to button click Pin
Amol-11117-Jun-09 23:29
Amol-11117-Jun-09 23:29 
GeneralRe: Enable options according to button click Pin
<<Tash18>>18-Jun-09 0:21
<<Tash18>>18-Jun-09 0:21 
GeneralRe: Enable options according to button click Pin
himanshu256118-Jun-09 1:00
himanshu256118-Jun-09 1:00 
GeneralRe: Enable options according to button click Pin
<<Tash18>>18-Jun-09 1:02
<<Tash18>>18-Jun-09 1:02 
AnswerRe: Enable options according to button click Pin
himanshu256118-Jun-09 1:19
himanshu256118-Jun-09 1:19 
GeneralRe: Enable options according to button click Pin
<<Tash18>>18-Jun-09 1:32
<<Tash18>>18-Jun-09 1:32 
GeneralRe: Enable options according to button click Pin
himanshu256118-Jun-09 1:42
himanshu256118-Jun-09 1:42 
Questionfind htmlhyperlink in gridview [modified] Pin
vikas shukla17-Jun-09 21:56
vikas shukla17-Jun-09 21:56 
please help me
i want to find htmlhyperlink in gridview and set image url blank for this hyperlink on some condition.i have tried with following
protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
{
string status = ((DataRowView)e.Row.DataItem)["Status"].ToString();
if (status == "No Change")
{
setimageurl(e.Row.Controls);
}
}
protected void setimageurl(ControlCollection cc)
{

foreach (Control co in cc)
{

if (co.HasControls())
{

setimageurl(co.Controls);

}

HyperLink Brand = co as HyperLink;

if (Brand == null)
{



Brand.ImageUrl = "";// but here i found Object reference not set to an instance of an object error



}

}

}

sir i am sorry but please make it clear i am unable to understand.

modified on Thursday, June 18, 2009 4:43 AM

AnswerRe: find htmlhyperlink in gridview Pin
Christian Graus17-Jun-09 21:58
protectorChristian Graus17-Jun-09 21:58 
Questionmaster pages Pin
jarbo3a17-Jun-09 21:43
jarbo3a17-Jun-09 21:43 
AnswerRe: master pages Pin
Christian Graus17-Jun-09 21:46
protectorChristian Graus17-Jun-09 21:46 
GeneralRe: master pages Pin
Abhishek Sur17-Jun-09 21:55
professionalAbhishek Sur17-Jun-09 21:55 
Questionhandler is not getting called in mozilla and safari... [modified] Pin
llibin17-Jun-09 21:32
llibin17-Jun-09 21:32 
AnswerRe: handler is not getting called in mozilla and safari... Pin
Christian Graus17-Jun-09 21:42
protectorChristian Graus17-Jun-09 21:42 
AnswerRe: handler is not getting called in mozilla and safari... Pin
Abhishek Sur17-Jun-09 21:50
professionalAbhishek Sur17-Jun-09 21:50 
Questionhow to prevent direct access to pdf file? Pin
Tridip Bhattacharjee17-Jun-09 20:57
professionalTridip Bhattacharjee17-Jun-09 20:57 
AnswerRe: how to prevent direct access to pdf file? Pin
Vimalsoft(Pty) Ltd17-Jun-09 21:18
professionalVimalsoft(Pty) Ltd17-Jun-09 21:18 
GeneralRe: how to prevent direct access to pdf file? Pin
Abhishek Sur17-Jun-09 21:41
professionalAbhishek Sur17-Jun-09 21:41 
GeneralRe: how to prevent direct access to pdf file? Pin
Vimalsoft(Pty) Ltd17-Jun-09 21:46
professionalVimalsoft(Pty) Ltd17-Jun-09 21:46 
GeneralRe: how to prevent direct access to pdf file? Pin
Greg Chelstowski17-Jun-09 21:48
Greg Chelstowski17-Jun-09 21:48 
GeneralRe: how to prevent direct access to pdf file? Pin
Christian Graus17-Jun-09 21:50
protectorChristian Graus17-Jun-09 21:50 
GeneralRe: how to prevent direct access to pdf file? Pin
Greg Chelstowski17-Jun-09 21:52
Greg Chelstowski17-Jun-09 21:52 
GeneralRe: how to prevent direct access to pdf file? Pin
Vimalsoft(Pty) Ltd17-Jun-09 21:54
professionalVimalsoft(Pty) Ltd17-Jun-09 21:54 
GeneralRe: how to prevent direct access to pdf file? Pin
Abhishek Sur17-Jun-09 22:01
professionalAbhishek Sur17-Jun-09 22:01 
GeneralRe: how to prevent direct access to pdf file? Pin
Vimalsoft(Pty) Ltd17-Jun-09 22:24
professionalVimalsoft(Pty) Ltd17-Jun-09 22:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.