Click here to Skip to main content
14,970,849 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: ASP.NET mobile development Pin
SUDHAKAR PALLAM8-Sep-10 17:13
MemberSUDHAKAR PALLAM8-Sep-10 17:13 
GeneralRe: ASP.NET mobile development Pin
Abhishek Sur12-Sep-10 2:01
professionalAbhishek Sur12-Sep-10 2:01 
QuestionGlobally use of Hash Table in Web Application Pin
gautamamit87-Sep-10 21:22
Membergautamamit87-Sep-10 21:22 
AnswerRe: Globally use of Hash Table in Web Application Pin
Rhys Gravell7-Sep-10 21:40
professionalRhys Gravell7-Sep-10 21:40 
AnswerRe: Globally use of Hash Table in Web Application Pin
Fayu8-Sep-10 7:02
MemberFayu8-Sep-10 7:02 
QuestionDynamic Div Creation? Pin
Farraj7-Sep-10 20:56
MemberFarraj7-Sep-10 20:56 
AnswerRe: Dynamic Div Creation? Pin
Not Active8-Sep-10 2:04
mentorNot Active8-Sep-10 2:04 
GeneralRe: Dynamic Div Creation? Pin
Farraj21-Sep-10 15:37
MemberFarraj21-Sep-10 15:37 
Hi Mark,
i've reached this point, which is close but not what i want

The JS code is :
<script type="text/javascript">
    function toggleDivVisibility(id)
     {
        var divcontrol = document.getElementById(id);
        if (divcontrol.style.display == 'block')
            divcontrol.style.display = 'none';
        else
            divcontrol.style.display = 'block';
    }
</script>


And Inside the ItemTemplate of the GridView, there is this code:
< ItemTemplate >
           < a onclick = 'return void(0);' href="<%# DataBinder.Eval(Container,"RowIndex","javascript:toggleDivVisibility('Div{0}')") %>">

More..</a>
<div id='<%# DataBinder.Eval(Container,"RowIndex","Div{0}") %>' style="width: 112px; display: none; border-right: white 1px solid; border-top: white 1px solid; border-left: white 1px solid; border-bottom: white 1px solid;overflow:auto">
  // The code i wanted to show inside the div//
<  /div >

This really does open a Div but the problem is that it opens it under the ItemTemplate(column) and not under the ROW.

any ideas?



Thanks
GeneralRe: Dynamic Div Creation? Pin
Not Active21-Sep-10 16:32
mentorNot Active21-Sep-10 16:32 
GeneralRe: Dynamic Div Creation? Pin
Farraj22-Sep-10 3:56
MemberFarraj22-Sep-10 3:56 
QuestionIntroduction to ASP.NET web application with SQL db Pin
Chesnokov Yuriy7-Sep-10 19:09
professionalChesnokov Yuriy7-Sep-10 19:09 
AnswerRe: Introduction to ASP.NET web application with SQL db Pin
Eddy Vluggen8-Sep-10 0:52
professionalEddy Vluggen8-Sep-10 0:52 
Questionthe query has been canceled because the estimated cost of this query (569) exceeds the configured threshold of 300 Pin
narithchap7-Sep-10 17:48
Membernarithchap7-Sep-10 17:48 
AnswerRethink your algorithm Pin
David Mujica8-Sep-10 3:52
MemberDavid Mujica8-Sep-10 3:52 
GeneralRe: Rethink your algorithm Pin
narithchap8-Sep-10 6:11
Membernarithchap8-Sep-10 6:11 
QuestionBasic Question Pin
future38397-Sep-10 14:09
Memberfuture38397-Sep-10 14:09 
AnswerBasic Answer Pin
Not Active7-Sep-10 14:48
mentorNot Active7-Sep-10 14:48 
GeneralRe: Basic Assistance Pin
Luc Pattyn7-Sep-10 15:41
sitebuilderLuc Pattyn7-Sep-10 15:41 
QuestionForm Authentication not authenticating Pin
Gregory Gadow7-Sep-10 10:51
MemberGregory Gadow7-Sep-10 10:51 
AnswerRe: Form Authentication not authenticating Pin
Not Active7-Sep-10 13:20
mentorNot Active7-Sep-10 13:20 
GeneralRe: Form Authentication not authenticating Pin
Gregory Gadow8-Sep-10 6:03
MemberGregory Gadow8-Sep-10 6:03 
Questiongrid view item selection Pin
Dhyanga7-Sep-10 4:24
MemberDhyanga7-Sep-10 4:24 
AnswerRe: grid view item selection Pin
Abhijit Jana7-Sep-10 6:02
professionalAbhijit Jana7-Sep-10 6:02 
GeneralRe: grid view item selection Pin
Dhyanga7-Sep-10 6:07
MemberDhyanga7-Sep-10 6:07 
GeneralRe: grid view item selection Pin
Dhyanga7-Sep-10 6:11
MemberDhyanga7-Sep-10 6:11 

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.