Bookmarks

Yahoo Gmail Google Facebook Delicious Twitter Reddit Stumpleupon Myspace Digg

Search queries

nrao wwwxxx, xxxxxdup, procmail change subject header, wwwXxx not20, Wwwxxx.doks sas, linux raid resync after reboot, bind-address mysql multiple, sanibleone xxxx, ftp://192.168.100.100/, www.xxxcon

Links

XODOX
Impressum

#1: how to make navigation by using checkbox control in data gridview

Posted on 2008-04-24 07:18:12 by mani.shanku

hi friendsplz..help me its urgent.....
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...

Report this message

#2: Re: how to make navigation by using checkbox control in data gridview

Posted on 2008-04-24 16:46:33 by mark

<mani.shanku@gmail.com> wrote in message
news:38e5d244-7864-49e0-ab47-34f50cfb83e3@y22g2000prd.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.Attributes.Add("onclick", "location.href='MyOtherPage.aspx';");


--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Report this message