Click here to Skip to main content
15,902,938 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionProblems with design/source editor in VS2008 Pin
AlexeiXX323-Sep-08 8:10
AlexeiXX323-Sep-08 8:10 
Questionjavascript call on asp.net Pin
UD(IA)23-Sep-08 3:57
UD(IA)23-Sep-08 3:57 
AnswerRe: javascript call on asp.net Pin
ncsubbu23-Sep-08 5:21
professionalncsubbu23-Sep-08 5:21 
AnswerRe: javascript call on asp.net Pin
vimal_yet23-Sep-08 21:12
vimal_yet23-Sep-08 21:12 
GeneralSQL Server does not exist or access denied. +ConnectionOpen (Connect()). Pin
attalurisubbu23-Sep-08 3:38
attalurisubbu23-Sep-08 3:38 
GeneralRe: SQL Server does not exist or access denied. +ConnectionOpen (Connect()). Pin
Venkat Eswaran24-Sep-08 12:02
Venkat Eswaran24-Sep-08 12:02 
QuestionSelect Only one checkbox in a gridview Pin
avi_dadi200223-Sep-08 1:17
avi_dadi200223-Sep-08 1:17 
AnswerRe: Select Only one checkbox in a gridview Pin
ToddHileHoffer23-Sep-08 2:29
ToddHileHoffer23-Sep-08 2:29 
Write a javascript function and put code in code behind to call the method. I didn't try this code, I'm just giving you and idea off the top of my head on how to do it. I'm not going to take the time to get it all working but just so you get the idea of how to do it.

<br />
javascript EG<br />
<br />
fucntion uncheckBoxes(value, id1, id2)<br />
{<br />
       if (value)<br />
       {<br />
       document.getElementById(id1).checked = false;<br />
       document.getElementById(id2).checked = false;<br />
       }<br />
}<br />
<br />
<br />
    protected void gridRowBound(object sender, System.Web.UI.WebControls.GridViewRowEventArgs e)<br />
    {<br />
        <br />
<br />
        // Updatae Items<br />
        if (e.Row.RowType == DataControlRowType.DataRow)<br />
        {<br />
                 Checkbox1 = (Checkbox)e.Row.FindContrl("cb1");<br />
                 Checkbox2 = (Checkbox)e.Row.FindContrl("cb2");<br />
                 Checkbox3 = (Checkbox)e.Row.FindContrl("cb3");<br />
                 <br />
                 CheckBox1.attributes.add(onclick, "uncheckBoxes(this.value, '" + Checkbox2.clientId + "', "' + Checkbox3.clientId + "');";<br />
<br />
         }<br />
     }<br />
<br />
<br />



I didn't get any requirements for the signature


GeneralRe: Select Only one checkbox in a gridview Pin
avi_dadi200223-Sep-08 18:57
avi_dadi200223-Sep-08 18:57 
AnswerRe: Select Only one checkbox in a gridview Pin
AlexeiXX323-Sep-08 7:59
AlexeiXX323-Sep-08 7:59 
QuestionPagination Pin
nhss23-Sep-08 0:39
nhss23-Sep-08 0:39 
QuestionGridView Updating Pin
#realJSOP22-Sep-08 23:35
professional#realJSOP22-Sep-08 23:35 
AnswerRe: GridView Updating Pin
N a v a n e e t h22-Sep-08 23:50
N a v a n e e t h22-Sep-08 23:50 
GeneralRe: GridView Updating Pin
#realJSOP23-Sep-08 2:37
professional#realJSOP23-Sep-08 2:37 
GeneralRe: GridView Updating Pin
Paul Conrad23-Sep-08 6:20
professionalPaul Conrad23-Sep-08 6:20 
GeneralRe: GridView Updating Pin
N a v a n e e t h23-Sep-08 17:45
N a v a n e e t h23-Sep-08 17:45 
QuestionHow to get blank card reader drive Name Pin
Piyush Vardhan Singh22-Sep-08 23:32
Piyush Vardhan Singh22-Sep-08 23:32 
QuestionLarge file upload with progress bar Pin
mkalyan198022-Sep-08 23:11
mkalyan198022-Sep-08 23:11 
Questionshowing google ads Pin
Prashant B. Lavate22-Sep-08 22:39
Prashant B. Lavate22-Sep-08 22:39 
AnswerRe: showing google ads Pin
N a v a n e e t h22-Sep-08 22:41
N a v a n e e t h22-Sep-08 22:41 
GeneralRe: showing google ads Pin
Prashant B. Lavate22-Sep-08 22:55
Prashant B. Lavate22-Sep-08 22:55 
GeneralRe: showing google ads Pin
J4amieC23-Sep-08 0:11
J4amieC23-Sep-08 0:11 
AnswerRe: showing google ads Pin
Ashfield23-Sep-08 1:39
Ashfield23-Sep-08 1:39 
QuestionFormsAuthentication problem [modified] Pin
SreejithAchutan22-Sep-08 22:33
SreejithAchutan22-Sep-08 22:33 
AnswerRe: FormsAuthentication problem Pin
J4amieC23-Sep-08 0:16
J4amieC23-Sep-08 0:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.