Click here to Skip to main content
15,920,438 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralPROBLEM : Ttwice the dropdown function calling Pin
Karan_TN27-Apr-08 20:15
Karan_TN27-Apr-08 20:15 
GeneralRe: PROBLEM : Ttwice the dropdown function calling Pin
Christian Graus27-Apr-08 21:05
protectorChristian Graus27-Apr-08 21:05 
GeneralRe: PROBLEM : Ttwice the dropdown function calling Pin
trish_28-Apr-08 1:17
trish_28-Apr-08 1:17 
QuestionI want a gridview to edit a single column in edit mode Pin
G Nathan27-Apr-08 20:02
G Nathan27-Apr-08 20:02 
GeneralRe: I want a gridview to edit a single column in edit mode Pin
Christian Graus27-Apr-08 21:06
protectorChristian Graus27-Apr-08 21:06 
GeneralRe: I want a gridview to edit a single column in edit mode Pin
G Nathan28-Apr-08 1:27
G Nathan28-Apr-08 1:27 
QuestionHow to fine the length of array if it dosenot contain any value. [modified] (Solved) Pin
rahul.net1127-Apr-08 19:49
rahul.net1127-Apr-08 19:49 
AnswerRe: How to fine the length of array if it dosenot contain any value. [modified] (Solved) Pin
Christian Graus27-Apr-08 19:57
protectorChristian Graus27-Apr-08 19:57 
Generalpage.loadControl(string virtualpath) Pin
ptvce27-Apr-08 19:36
ptvce27-Apr-08 19:36 
GeneralRe: page.loadControl(string virtualpath) Pin
Moghan27-Apr-08 19:52
Moghan27-Apr-08 19:52 
GeneralRe: page.loadControl(string virtualpath) Pin
ptvce27-Apr-08 20:36
ptvce27-Apr-08 20:36 
GeneralDate time Conversion- Help! Pin
Moghan27-Apr-08 19:33
Moghan27-Apr-08 19:33 
GeneralRe: Date time Conversion- Help! Pin
Christian Graus27-Apr-08 19:47
protectorChristian Graus27-Apr-08 19:47 
GeneralImplement CAPTCHA on LogInControl Pin
AlexeiXX327-Apr-08 19:30
AlexeiXX327-Apr-08 19:30 
Questionhow to handle javascript in the when drop down control is in update panel Pin
lakshmichawala27-Apr-08 18:34
lakshmichawala27-Apr-08 18:34 
AnswerRe: how to handle javascript in the when drop down control is in update panel Pin
AlexeiXX327-Apr-08 18:51
AlexeiXX327-Apr-08 18:51 
Page.aspx

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="Test_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
    
    </div>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
                <asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged">
                    <asp:ListItem>A</asp:ListItem>
                    <asp:ListItem>B</asp:ListItem>
                    <asp:ListItem>c</asp:ListItem>
                </asp:DropDownList>
            </ContentTemplate>
        </asp:UpdatePanel>
    </form>
</body>
</html>



Page.aspx.vb
Protected Sub DropDownList1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs)
    ScriptManager.RegisterStartupScript(Me, Page.GetType, "X", "alert('" & Me.DropDownList1.SelectedValue & "')", True)
End Sub


Alexei Rodriguez

GeneralRe: how to handle javascript in the when drop down control is in update panel Pin
lakshmichawala27-Apr-08 19:08
lakshmichawala27-Apr-08 19:08 
AnswerRe: how to handle javascript in the when drop down control is in update panel Pin
Dotnetkanna27-Apr-08 23:55
Dotnetkanna27-Apr-08 23:55 
QuestionHow to refresh data on Web User Control after a pop up is closed ? Pin
pvphuc27-Apr-08 18:25
pvphuc27-Apr-08 18:25 
GeneralPassing the value from parent to child Pin
Rena7727-Apr-08 14:38
Rena7727-Apr-08 14:38 
GeneralRe: Passing the value from parent to child Pin
Moghan27-Apr-08 19:46
Moghan27-Apr-08 19:46 
GeneralRe: Passing the value from parent to child Pin
Rena7728-Apr-08 2:22
Rena7728-Apr-08 2:22 
GeneralRe: Passing the value from parent to child Pin
Moghan29-Apr-08 19:31
Moghan29-Apr-08 19:31 
GeneralRe: Passing the value from parent to child Pin
Rena7730-Apr-08 2:54
Rena7730-Apr-08 2:54 
GeneralAsp.net Treeview control Pin
mcirosoftmohan27-Apr-08 12:47
mcirosoftmohan27-Apr-08 12:47 

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.