Click here to Skip to main content
15,891,423 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Log in ASP.NET Pin
Vani Kulkarni13-May-13 22:38
professionalVani Kulkarni13-May-13 22:38 
GeneralRe: Log in ASP.NET Pin
duong ba phuc14-May-13 2:23
duong ba phuc14-May-13 2:23 
AnswerRe: Log in ASP.NET Pin
ZurdoDev14-May-13 7:54
professionalZurdoDev14-May-13 7:54 
GeneralRe: Log in ASP.NET Pin
duong ba phuc14-May-13 14:07
duong ba phuc14-May-13 14:07 
GeneralRe: Log in ASP.NET Pin
ZurdoDev14-May-13 14:34
professionalZurdoDev14-May-13 14:34 
QuestionHow do I clear the server cache in asp.net? Pin
Xarzu13-May-13 13:33
Xarzu13-May-13 13:33 
AnswerRe: How do I clear the server cache in asp.net? Pin
dusty_dex13-May-13 14:28
dusty_dex13-May-13 14:28 
Questionhow to access counter in for loop Pin
mhd.sbt13-May-13 10:17
mhd.sbt13-May-13 10:17 
hi to all
how can i acceess 'i' in for loop
thanks in advance
ASP.NET
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebApplication2._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></title>
</head>
<body>
    <form runat="server">
        <div>
            <asp:DropDownList ID="aspMySelect" runat="server" OnSelectedIndexChanged="aspMySelect_SelectedIndexChanged" AutoPostBack="True">
            </asp:DropDownList>

            <asp:TextBox ID="aspNewOption" runat="server"></asp:TextBox>
            <asp:Button ID="Button1" OnClientClick="addAspPopUp()" runat="server" Text="Button" />
            <script type="text/javascript">
                function addAspPopUp() {
                    debugger
                    var optionText = document.getElementById('aspNewOption').value;
                    var textBox = document.getElementById('aspNewOption');
                    var objSelect = document.getElementById('aspMySelect');
                    
                    listCount=<%=objListItems.Count%>;
                    for (var i=0;i<=listCount;i++)
                    {
                        objSelect[objSelect.length] = new Option('<%=objListItems[i]%>');
                       
                        textBox.value = "";
                    }
                }
            </script>
            <input type="button" id="btnRegister" onclick="ConvertDate()" value="test" />
            <input type="button" id="Button2" onclick="addAspPopUp()" value="test2" />
        </div>
        <asp:Label ID="lbltest" runat="server"></asp:Label>
    </form>
</body>
</html>

QuestionRe: how to access counter in for loop Pin
ZurdoDev14-May-13 7:55
professionalZurdoDev14-May-13 7:55 
AnswerRe: how to access counter in for loop Pin
vinay_sinha22-May-13 0:17
vinay_sinha22-May-13 0:17 
Questionhow to add difftent item to a dropdown in each row of grid view Pin
mhd.sbt13-May-13 3:26
mhd.sbt13-May-13 3:26 
AnswerRe: how to add difftent item to a dropdown in each row of grid view Pin
dusty_dex13-May-13 3:39
dusty_dex13-May-13 3:39 
GeneralRe: how to add difftent item to a dropdown in each row of grid view Pin
mhd.sbt13-May-13 3:44
mhd.sbt13-May-13 3:44 
GeneralRe: how to add difftent item to a dropdown in each row of grid view Pin
Bikash Prakash Dash13-May-13 3:43
Bikash Prakash Dash13-May-13 3:43 
GeneralRe: how to add difftent item to a dropdown in each row of grid view Pin
mhd.sbt13-May-13 3:45
mhd.sbt13-May-13 3:45 
SuggestionRe: how to add difftent item to a dropdown in each row of grid view Pin
Bikash Prakash Dash13-May-13 3:51
Bikash Prakash Dash13-May-13 3:51 
GeneralRe: how to add difftent item to a dropdown in each row of grid view Pin
mhd.sbt13-May-13 3:53
mhd.sbt13-May-13 3:53 
GeneralRe: how to add difftent item to a dropdown in each row of grid view Pin
dusty_dex13-May-13 5:14
dusty_dex13-May-13 5:14 
AnswerRe: how to add difftent item to a dropdown in each row of grid view Pin
dusty_dex13-May-13 3:48
dusty_dex13-May-13 3:48 
QuestionDisplaying Data Pin
nagesh2113-May-13 0:37
nagesh2113-May-13 0:37 
QuestionMVC - request denied where the query string is too long - RESOLVED Pin
Andy_L_J11-May-13 15:21
Andy_L_J11-May-13 15:21 
Questionwhich IDE software is suitable for ASP.NET? Pin
ramasubbu ram10-May-13 23:35
ramasubbu ram10-May-13 23:35 
AnswerRe: which IDE software is suitable for ASP.NET? Pin
Richard MacCutchan11-May-13 0:03
mveRichard MacCutchan11-May-13 0:03 
SuggestionRe: which IDE software is suitable for ASP.NET? Pin
Bikash Prakash Dash11-May-13 4:29
Bikash Prakash Dash11-May-13 4:29 
QuestionHELP! Multiple apps on same website Pin
ianoseb10-May-13 6:19
ianoseb10-May-13 6:19 

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.