can some one clarify what is function pointers in vb script
+2
A:
You are looking for the GetRef function.
From the link:
GetRef Function
Returns a reference to a procedure that can be bound to an event. ...
<SCRIPT LANGUAGE="VBScript">
Function GetRefTest()
Dim Splash
Splash = "GetRefTest Version 1.0" & vbCrLf
Splash = Splash & Chr(169) & " YourCompany 1999 "
MsgBox Splash
End Function
Set Window.Onload = GetRef("GetRefTest")
</SCRIPT>
aphoria
2010-03-18 14:33:00
A:
<!-- Question vote div starts here-->
<div id="QuesVoteDiv" class="vote">
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<asp:ImageButton ID="ImageVoteUp" CssClass="voteImage" runat="server" ImageUrl="~/Resources/Images/vote-arrow-up.png"
ToolTip="The question is useful and clear(click again to undo)" CommandName="VoteUp" />
<br />
<asp:Label ID="VotesLabel" runat="server"></asp:Label>
<br />
<asp:ImageButton ID="ImageVoteDown" CssClass="voteImage" runat="server" ImageUrl="~/Resources/Images/vote-arrow-down.png"
ToolTip="The question is unclear or not useful(click again to undo)" CommandName="VoteDown" />
<asp:ImageButton ID="FavouriteQuestionImage" CssClass="VoteFavourite" runat="server"
ImageUrl="~/Resources/Images/vote-favorite-off.png" ToolTip="This is a favourite question (click again to undo)"
OnClick="VoteFavouriteImage_Click"/>
<br />
<asp:Label ID="FavouriteQuestionCountLabel" Text="" runat="server" CssClass="favoritecount-off"></asp:Label>
<br />
</ContentTemplate>
</asp:UpdatePanel>
</div>
<!-- Question vote div ends here-->
Anil
2010-06-12 08:18:59