Abhijit  Kakade

Abhijit Kakade

  • NA
  • 854
  • 193k

Need page refresh after executing Attributes.Add()

Apr 7 2017 11:00 AM

We have one ASP.net page. on page we have <a> tag .

On page load we are adding "href" link to <a> tag as below
 
lnk.Attributes.add("href","google.com");
 
Problem :
 
But in testing we found it works properly some time. But some time we href link dont work first time if we refresh page then it works properly.
 
This issue intermittenently happening.  
 
Please guide if you have faced / resolevd this type of issue.  

Answers (1)