Ok I managed to handle that problem above(just declared a ScriptManager and that did the job), but now I have another issue, GridView is not Binded at Page_Load, so when I try: sM.RegisterPostBackControl(this.GridView1.FindControl("btnExport")); it will
throw an exception Value cannot be null. so, can I register somewhere else? how can I do this? or just forget to have it inside the GridView and place the linkbutton outside?
ceschamo
Member
9 Points
42 Posts
Re: Microsoft JScript runtime error
Aug 21, 2009 07:50 PM|LINK
Ok I managed to handle that problem above(just declared a ScriptManager and that did the job), but now I have another issue, GridView is not Binded at Page_Load, so when I try: sM.RegisterPostBackControl(this.GridView1.FindControl("btnExport")); it will throw an exception Value cannot be null. so, can I register somewhere else? how can I do this? or just forget to have it inside the GridView and place the linkbutton outside?
please advice, Thanks