locked
thick box in gridview edit button RRS feed

  • Question

  • User479566397 posted

    Hi,

    i have data in gridview empid , empname and editbutton , what i want is that

    if i click the editbutton i need to show the empname in thickbox.

    looking forward the valuable suggestions.





    Wednesday, August 25, 2010 6:47 AM

All replies

  • User1992938117 posted

    Hi,

    use template field for that and use label in edit template and make it bold

     <asp:TemplateField HeaderText="Name">
    <EditItemTemplate>
     <asp:Label ID="Label1" runat="server" Text='<%# Bind("Name") %>' 
                style="font-weight: 700"></asp:Label>


    </EditItemTemplate>
    <ItemTemplate>

    <asp:Label ID="Label1" runat="server" Text='<%# Bind("Name") %>'></asp:Label>
    </ItemTemplate>
    </asp:TemplateField>


    Wednesday, August 25, 2010 9:04 AM
  • User479566397 posted

    i got the value from edit button in girdview to thickbox ,in thick box i have  update button ,

    once i click the  updatebutton  come out from thick box  , i have to refresh my gridview page and see the changes in gridview



    Wednesday, August 25, 2010 9:10 AM
  • User1992938117 posted

    Sorry not getting what is thick BOX and what u want..... to do


    Wednesday, August 25, 2010 9:11 AM