Friday, 16 August 2013

Adding a redirect to a Web Control / HTML Writer

Adding a redirect to a Web Control / HTML Writer

I am creating a dynamic navigation, with a for loop putting each record in
the database into a button. However i want to add redirect to buttons so
when it is clicked it directs to a page passing an ID over. How can i make
the buttons redirect??
The html writer tag for the button is as follows ::
writer.RenderBeginTag(tag.Button);

No comments:

Post a Comment