<ma*********@gm ail.comwrote in message
news:38******** *************** ***********@y22 g2000prd.google groups.com...
im making a jobportal site..when a person go for search the results
should desplay....
like the naukri.com desplays..and when a person click on the checkbox
box link...
it is navigating to another window..
.....my problem is .i added a checkbox control to gridview but i can't
able to make navigation when he clicks on that checkbox
plz..help me...
A couple of things first:
On the site you mention (
http://www.naukri.com) clicking the checkboxes does
not do anything other than select or deselect the checkboxes...
What you appear to be looking to do is not standard web browser behaviour.
When your users click a checkbox, they will not expect to be redirected to
another page - the standard control for that would be a button or a
hyperlink...
However, what you ask is fairly trivial:
<asp:CheckBox ID="MyCheckBox " runat="server" />
MyCheckBox.Attr ibutes.Add("onc lick", "location.href= 'MyOtherPage.as px';");
--
Mark Rae
ASP.NET MVP
http://www.markrae.net