Click here to Skip to main content
15,888,454 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionTreeView Pin
ptvce18-Jun-08 0:42
ptvce18-Jun-08 0:42 
QuestionGridview Edit can not bind check box Pin
Sarfaraj Ahmed18-Jun-08 0:32
Sarfaraj Ahmed18-Jun-08 0:32 
AnswerRe: Gridview Edit can not bind check box Pin
Venkatesh Mookkan18-Jun-08 1:01
Venkatesh Mookkan18-Jun-08 1:01 
AnswerRe: Gridview Edit can not bind check box Pin
Imran Khan Pathan18-Jun-08 1:04
Imran Khan Pathan18-Jun-08 1:04 
QuestionFreeze Header in Gridview Pin
SathyaSiva18-Jun-08 0:10
SathyaSiva18-Jun-08 0:10 
AnswerRe: Freeze Header in Gridview Pin
meeram39518-Jun-08 2:14
meeram39518-Jun-08 2:14 
GeneralRe: Freeze Header in Gridview Pin
SathyaSiva18-Jun-08 2:31
SathyaSiva18-Jun-08 2:31 
QuestionI am not getting id value Pin
r aa j18-Jun-08 0:10
r aa j18-Jun-08 0:10 
here I am using gridview with Hoverextender control..when I click the delete button I want to get gridview id value..for getting id value I am using javasript..but its always giving value 1.If anybody knows plz reply me.


<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="IId" OnRowDataBound="GridView1_RowDataBound" EmptyDataText="You have deleted all records in Item list" ShowFooter="true" GridLines="none">
<Columns>
<asp:TemplateField>
<HeaderTemplate>
<table style="width: 393px" cellpadding="0" cellspacing="0" border="0">
<tr style="cursor: move;background-color:#F1AB44;border:solid 0px Gray;color:Black;padding-top:0px;"></tr>
</table>
</HeaderTemplate>
<ItemTemplate>
<table style="width: 393px">
<tr style="cursor: move;background-color:#FFFFFF;border:solid 0px Gray;color:Black;padding-top:0px;">
<td style="text-align:left;width: 393px" class="ntext">
<asp:Panel ID="panel11" runat="server"><strong style="width:300px;"><%#FormatString(Eval("Iname").ToString(), 15)%></strong><strong style="margin-left:300px"><%#Eval("reason").ToString()%></strong>
</asp:Panel>
<b><ajaxToolkit:HoverMenuExtender ID="HoverMenuExtender1" runat="server" HoverCssClass="popupHover" PopupControlID="PopupMenu" TargetControlID="panel11" PopupPosition="Bottom"> </ajaxToolkit:HoverMenuExtender> </b>

<asp:Panel ID="PopupMenu" runat="server" CssClass="popupMenu">
<div>
<table style="width: 339px;border:solid 1px Black;">
<tr>
<td colspan="2" style="text-align: center; height: 20px;">
<asp:Panel ID="Panel3" runat="server" Style="cursor: move;background-color:#DDDDDD;border:solid 1px Gray;color:Black;padding-top:0px;height: 20px;" Width="389px" Height="20px">
<span style="font-size: 12pt; color: chocolate; font-family: Verdana"><strong><%#Eval("Iname") %></strong></span>

</asp:Panel>
</td>
</tr>
<tr>
<td style="width: 146px; text-align: right;padding-left:3px;" rowspan="4">
<asp:Image ID="Image1" runat="server" ImageUrl='<%#Eval("IImage") %>' Height="138px" Width="182px" /></td>
<td style="width: 219px; text-align: left;padding-left:10px;" rowspan="4" valign="top">
<%#Eval("IDesc") %></td>

<tr>
<td style="text-align: right" colspan="2"><%#Eval("id") %></td>
</tr>
<tr>
<td colspan="2" style="text-align: center">
<span style="font-size: 12pt; color: Black; font-family: Verdana"><strong><%#Eval("ICategory") %></strong></span></td>
</tr>

<tr>
<td style="text-align: center" colspan="2">
<b><input id="id" type="hidden" value='<%#Eval("id") %>' name="id"/></b>
</td>
</tr>
<tr>
<td align="center" style="text-align: center">
<asp:Button ID="btnlock" Text="Lock" runat="server" OnClick="btnlock_Click" />
<asp:Button ID="btnremove" Text="Remove" runat="server" OnClientClick="JavaScript:getid();" OnClick="btnremove_Click" />
</td> </tr>
</table>
</div></asp:Panel>
</td>

</tr>
</table>
</ItemTemplate>

</asp:TemplateField>
</Columns>

</asp:GridView>

<script>
function getid()
{
//alert("getid");
<b>var getid = document.getElementById('id').value;</b>alert(getid);
}
</script>

Rajendran.AL
Questiondownloading error while using ajax Pin
Pankaj Garg17-Jun-08 23:45
Pankaj Garg17-Jun-08 23:45 
AnswerRe: downloading error while using ajax Pin
Imran Khan Pathan18-Jun-08 1:21
Imran Khan Pathan18-Jun-08 1:21 
GeneralRe: downloading error while using ajax Pin
Pankaj Garg18-Jun-08 1:40
Pankaj Garg18-Jun-08 1:40 
QuestionPasswordRecovery Control Pin
jason_mf17-Jun-08 23:37
jason_mf17-Jun-08 23:37 
AnswerRe: PasswordRecovery Control Pin
Sam Xavier18-Jun-08 9:11
Sam Xavier18-Jun-08 9:11 
Questionconnection to database using asp.net with vb Pin
harish.k1217-Jun-08 23:37
harish.k1217-Jun-08 23:37 
AnswerRe: connection to database using asp.net with vb Pin
Masood Kochi,SSF17-Jun-08 23:42
Masood Kochi,SSF17-Jun-08 23:42 
AnswerRe: connection to database using asp.net with vb Pin
Imran Khan Pathan18-Jun-08 1:13
Imran Khan Pathan18-Jun-08 1:13 
QuestionAJAX Modal Popup Extender Pin
immu517-Jun-08 23:36
immu517-Jun-08 23:36 
AnswerRe: AJAX Modal Popup Extender Pin
Imran Khan Pathan18-Jun-08 1:09
Imran Khan Pathan18-Jun-08 1:09 
QuestionMOSS / Reporting Services integrated - object model [modified] Pin
6o'clock17-Jun-08 23:25
6o'clock17-Jun-08 23:25 
QuestionWindow Positioning in webpage? Pin
Masood Kochi,SSF17-Jun-08 23:11
Masood Kochi,SSF17-Jun-08 23:11 
AnswerRe: Window Positioning in webpage? Pin
Sam Xavier18-Jun-08 9:13
Sam Xavier18-Jun-08 9:13 
Questionreading a file Pin
Ebube17-Jun-08 23:10
Ebube17-Jun-08 23:10 
AnswerRe: reading a file Pin
J a a n s18-Jun-08 1:27
professionalJ a a n s18-Jun-08 1:27 
QuestionhOW TO WRITE IN EXCEL Pin
Raghvendra Kumar Roy17-Jun-08 23:10
Raghvendra Kumar Roy17-Jun-08 23:10 
QuestionProblem with Word component for spell checking Pin
Vsree17-Jun-08 23:03
Vsree17-Jun-08 23:03 

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.