Click here to Skip to main content
15,898,035 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionSearch Engine Optimization Pin
Member 426027022-Jul-09 18:02
Member 426027022-Jul-09 18:02 
AnswerRe: Search Engine Optimization Pin
N a v a n e e t h22-Jul-09 18:37
N a v a n e e t h22-Jul-09 18:37 
GeneralRe: Search Engine Optimization Pin
Member 426027022-Jul-09 20:46
Member 426027022-Jul-09 20:46 
AnswerRe: Search Engine Optimization Pin
jhnsmith97828-Jan-10 0:46
jhnsmith97828-Jan-10 0:46 
QuestionAccessing code behind method ( of C#) from a javascripts method. Pin
Shahdat Hosain22-Jul-09 17:21
Shahdat Hosain22-Jul-09 17:21 
AnswerRe: Accessing code behind method ( of C#) from a javascripts method. Pin
N a v a n e e t h22-Jul-09 17:23
N a v a n e e t h22-Jul-09 17:23 
AnswerRe: Accessing code behind method ( of C#) from a javascripts method. Pin
Christian Graus22-Jul-09 17:24
protectorChristian Graus22-Jul-09 17:24 
QuestionNested Gridview with UpdatePanel Pin
C#Coudou22-Jul-09 15:18
C#Coudou22-Jul-09 15:18 
hi,

i have a problem why is it that the updatepanel doesn't work on nested gridview or maybe i've just got a wrong code here.

the problem is whenever i click edit linkbutton of gridview2,
it will go back to gridview1, instead it should open the edittemplate of gridview2.
1.ScriptManager<br />
  a.UpdatePanel<br />
     :gridview1  ->nested to gridview2<br />
         :gridview2


block of code:
<asp:ScriptManager ID="ScriptManager1" 
   runat="server" AsyncPostBackTimeout="360000">
</asp:ScriptManager> 
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate >
  <asp:GridView ID="gridview1" runat="server">
   <Columns>
    <asp:TemplateField>
      <ItemTemplate>
      <asp:Label ID="lblHachoNum" runat="server" 
        Text='<%# Bind("Hacho")%>' ></asp:Label>
      </ItemTemplate>
      <EditItemTemplate>
        <asp:Label ID="lblHachoNum" runat="server" 
        Text='<%# Eval("Hacho") %>'></asp:Label>
      </EditItemTemplate>
    </asp:TemplateField>
    <asp:TemplateField>
      <ItemTemplate>
         <asp:GridView ID="gridview2" runat="server">
         <Columns>
            <asp:TemplateField >
              <ItemTemplate>
               <asp:Label ID="lblKubunNum" runat="server" 
                Text='<%# Eval("Kubun") %'       
                ></asp:Label>            
              </ItemTemplate>
              <EditItemTemplate>
               <asp:Label ID="lblKubunNum" runat="server" 
               Text='<%# Eval("Kubun") %'
                 ></asp:Label>
              </EditItemTemplate>
           </asp:TemplateField>
         </Columns>       
         </asp:GridView>
      </ItemTemplate>
     </asp:TemplateField>
   </Columns>       
   </asp:GridView>
</ContentTemplate>
<Triggers>
  <asp:AsyncPostBackTrigger ControlID ="ddlUser" 
    EventName ="SelectedIndexChanged"/> 
</Triggers>
</asp:UpdatePanel>


C# コードMicrosoft End User
2000-2008




「「「「「「「「「「「「「「「「「「「「「「「「「「「「
The best things in life are free
」」」」」」」」」」」」」」」」」」」」」」」」」」」」


QuestionViewstateEnabled=False Pin
Elena200622-Jul-09 14:39
Elena200622-Jul-09 14:39 
AnswerRe: ViewstateEnabled=False Pin
Christian Graus22-Jul-09 15:13
protectorChristian Graus22-Jul-09 15:13 
AnswerRe: ViewstateEnabled=False Pin
N a v a n e e t h22-Jul-09 15:38
N a v a n e e t h22-Jul-09 15:38 
AnswerRe: ViewstateEnabled=False Pin
Abhijit Jana22-Jul-09 20:06
professionalAbhijit Jana22-Jul-09 20:06 
QuestionASP session in ASP.NET page Pin
Elena200622-Jul-09 14:38
Elena200622-Jul-09 14:38 
AnswerRe: ASP session in ASP.NET page Pin
Christian Graus22-Jul-09 15:12
protectorChristian Graus22-Jul-09 15:12 
AnswerRe: ASP session in ASP.NET page Pin
N a v a n e e t h22-Jul-09 15:40
N a v a n e e t h22-Jul-09 15:40 
AnswerSTOP FLOODING THE FORUM.... Pin
leckey22-Jul-09 16:49
leckey22-Jul-09 16:49 
QuestionDifferent server file access Pin
Elena200622-Jul-09 14:36
Elena200622-Jul-09 14:36 
AnswerRe: Different server file access Pin
Christian Graus22-Jul-09 15:14
protectorChristian Graus22-Jul-09 15:14 
QuestionHow to secure web.config file Pin
Elena200622-Jul-09 14:17
Elena200622-Jul-09 14:17 
AnswerRe: How to secure web.config file Pin
Christian Graus22-Jul-09 15:14
protectorChristian Graus22-Jul-09 15:14 
JokeRe: How to secure web.config file Pin
N a v a n e e t h22-Jul-09 15:42
N a v a n e e t h22-Jul-09 15:42 
GeneralRe: How to secure web.config file Pin
Christian Graus22-Jul-09 16:19
protectorChristian Graus22-Jul-09 16:19 
QuestionWeb.config file modified Pin
Elena200622-Jul-09 14:14
Elena200622-Jul-09 14:14 
AnswerRe: Web.config file modified Pin
Christian Graus22-Jul-09 15:14
protectorChristian Graus22-Jul-09 15:14 
AnswerRe: Web.config file modified Pin
N a v a n e e t h22-Jul-09 15:44
N a v a n e e t h22-Jul-09 15:44 

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.