Hello ,
I want to generate a popup an aspx page in my applicaton ,when ever i click a linkbutton(Butt oncolumn i placed in the grid) on the datagrid.
The logic i used in my code behind(in c#) is i am creating Attributes for that link button.
LinkButton.Attr ibutes.Add("onc lick","window.o pen("webform2.a spx","","");")
This works well for opening the aspx page as popup but the problem
is ,Popup does not occurs when the button is clicked for the first time
from second time on wards no problem it works well
What may be the problem ,i used nothing more than adding Attributes, the line
of code that given above
Any one have any idea please give some suggestion about that behaviour
Regards
N.Msreddy
I want to generate a popup an aspx page in my applicaton ,when ever i click a linkbutton(Butt oncolumn i placed in the grid) on the datagrid.
The logic i used in my code behind(in c#) is i am creating Attributes for that link button.
LinkButton.Attr ibutes.Add("onc lick","window.o pen("webform2.a spx","","");")
This works well for opening the aspx page as popup but the problem
is ,Popup does not occurs when the button is clicked for the first time
from second time on wards no problem it works well
What may be the problem ,i used nothing more than adding Attributes, the line
of code that given above
Any one have any idea please give some suggestion about that behaviour
Regards
N.Msreddy
Comment