Click here to Skip to main content
15,881,882 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Using javascript functions ? Pin
samMaster27-Apr-08 0:18
samMaster27-Apr-08 0:18 
GeneralRe: Using javascript functions ? Pin
kindman_nb27-Apr-08 5:02
kindman_nb27-Apr-08 5:02 
GeneralRe: Using javascript functions ? Pin
samMaster27-Apr-08 18:44
samMaster27-Apr-08 18:44 
No no, HyperTest.NavigateUrl is wrong.
Say, I test your code in this way:
<br />
<script type="text/javascript" language="javascript"><br />
    function PopUpQtyWindow(prodID)<br />
    {<br />
        alert(prodID);<br />
    }<br />
</script><br />
<asp:linkbutton id="HyperTest" runat="server" onclick="testClick" text="Test"></asp:linkbutton><br />


And in behind:
<br />
    protected void testClick(object sender, EventArgs e)<br />
    {<br />
        int prodID = 1;<br />
        Page.ClientScript.RegisterStartupScript(Page.GetType(), "mykey", "PopUpQtyWindow(" + prodID + ");", true);<br />
    }<br />


This code is working on both IE and firefox browsers.
GeneralRe: Using javascript functions ? Pin
kindman_nb28-Apr-08 3:53
kindman_nb28-Apr-08 3:53 
GeneralAccessing a DropDownList inside a DetailsView Pin
Ekjon26-Apr-08 7:07
Ekjon26-Apr-08 7:07 
GeneralRe: Accessing a DropDownList inside a DetailsView Pin
AlexeiXX326-Apr-08 7:34
AlexeiXX326-Apr-08 7:34 
GeneralRe: Accessing a DropDownList inside a DetailsView Pin
Ekjon26-Apr-08 10:02
Ekjon26-Apr-08 10:02 
GeneralRe: Accessing a DropDownList inside a DetailsView Pin
AlexeiXX327-Apr-08 18:42
AlexeiXX327-Apr-08 18:42 
GeneralProblem with DataTable Pin
Member 456754126-Apr-08 1:55
Member 456754126-Apr-08 1:55 
GeneralRe: Problem with DataTable Pin
N a v a n e e t h26-Apr-08 5:27
N a v a n e e t h26-Apr-08 5:27 
GeneralRe: Problem with DataTable Pin
Christian Graus26-Apr-08 11:18
protectorChristian Graus26-Apr-08 11:18 
GeneralRe: Problem with DataTable Pin
N a v a n e e t h28-Apr-08 20:21
N a v a n e e t h28-Apr-08 20:21 
GeneralRe: Problem with DataTable Pin
Christian Graus28-Apr-08 20:42
protectorChristian Graus28-Apr-08 20:42 
GeneralRe: Problem with DataTable Pin
N a v a n e e t h28-Apr-08 22:59
N a v a n e e t h28-Apr-08 22:59 
GeneralRe: Problem with DataTable Pin
Christian Graus28-Apr-08 23:58
protectorChristian Graus28-Apr-08 23:58 
GeneralRe: Problem with DataTable Pin
N a v a n e e t h29-Apr-08 0:48
N a v a n e e t h29-Apr-08 0:48 
GeneralRe: Problem with DataTable Pin
Christian Graus26-Apr-08 11:20
protectorChristian Graus26-Apr-08 11:20 
General[Message Deleted] Pin
Member 456754126-Apr-08 0:38
Member 456754126-Apr-08 0:38 
GeneralRe: Shared Access Specifier Pin
Christian Graus26-Apr-08 0:44
protectorChristian Graus26-Apr-08 0:44 
GeneralRe: Shared Access Specifier Pin
Christian Graus26-Apr-08 13:45
protectorChristian Graus26-Apr-08 13:45 
QuestionTwo Aspx Pages on Two Clients Interact With Each Others ??????????????????????? Pin
Feras Mazen Taleb25-Apr-08 23:17
Feras Mazen Taleb25-Apr-08 23:17 
GeneralRe: Two Aspx Pages on Two Clients Interact With Each Others ??????????????????????? Pin
Christian Graus25-Apr-08 23:23
protectorChristian Graus25-Apr-08 23:23 
QuestionIntegrate paypal button .. Pin
Krazy Programmer25-Apr-08 21:11
Krazy Programmer25-Apr-08 21:11 
GeneralRe: Integrate paypal button .. Pin
Krazy Programmer25-Apr-08 21:33
Krazy Programmer25-Apr-08 21:33 
Generalconvert pointer to a hand Pin
ptvce25-Apr-08 20:51
ptvce25-Apr-08 20:51 

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.