![]() |
LinkButton Event Firing
I have a custom control with a linkbutton. I have all
the necessary lines of code to display the button. I'm not quite sure how to tie a URL path to the link buttons event function. The hyperlink control has a .NavigateUrl property, why doesnt the LINKButton? I am new to this and I have searched endlessly on how handle the event this way with no avail. ANY help would be highly appreciated. Thanks in advance. |
LinkButton Event Firing
ok, i finally figured it out on my own. for anyone who
reads this here is how i did it. I used LinkButtons in my custom control class - included the System.Web assembly - then used HttpContext.Current.Response.Write("<script language=javascript>parent.location.href (yourURL.aspx</script>"); in the LinkButton Click event. Now im sure there is a better way and please advise me if so Webmasters. I did use the newsgroup as a refernce so, Thanks!! >-----Original Message----- >I have a custom control with a linkbutton. I have all >the necessary lines of code to display the button. I'm >not quite sure how to tie a URL path to the link buttons >event function. The hyperlink control has a .NavigateUrl >property, why doesnt the LINKButton? I am new to this >and I have searched endlessly on how handle the event >this way with no avail. > >ANY help would be highly appreciated. Thanks in advance. >. > |
| All times are GMT. The time now is 10:59 AM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.