Jump to content

Search the Community

Showing results for tags 'asp.net'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • W3Schools
    • General
    • Suggestions
    • Critiques
  • HTML Forums
    • HTML/XHTML
    • CSS
  • Browser Scripting
    • JavaScript
    • VBScript
  • Server Scripting
    • Web Servers
    • Version Control
    • SQL
    • ASP
    • PHP
    • .NET
    • ColdFusion
    • Java/JSP/J2EE
    • CGI
  • XML Forums
    • XML
    • XSLT/XSL-FO
    • Schema
    • Web Services
  • Multimedia
    • Multimedia
    • FLASH

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Languages

Found 51 results

  1. I want to use TabControl from AjaxToolkitcontrol in Asp.Net, for that i have downloaded Ajaxcontroltoolkit.dll & using this into toolbox of visual studio. so when i Drag & Drop any Ajax control from toolbox on to webform and try to run it. whole visual studio 2010 application hangs. i think that, ajaxcontroltoolkit version is not matching with my visual studio's .NET framework. so i have tried Ajax toolkit control version from 3.5, 4.1& 4.5 while i am working with .Net Framework version of 4.0. but still application hangs. please let me know any possible solution
  2. I have worked on asp.net wabforms for few months and now i want to know what is asp.net mvc exactly and how it is better than asp.net ? i have read difference between asp.net and asp.net mvc by goggling but not able to understand difference between asp.net webforms model and asp.net mvc model (model-view-controlller model)
  3. please tell me what is the functionality of autoeventwiredup in asp.net with example.
  4. <div onmousedown="mousedown(event)" onmousemove="mousemove(event)" onmouseup="mouseup(event)" id="dvpopupctl" runat="server" style="position:absolute;left:22%; top:34% ; width:500px ; height:auto; z-index:10001 ;display:none ;" > this is the div which i have displayed as popup. and now i want to make it draggable popup. i have tried through javascript but div moves only towards right side and towards bottom. i am not able to move popup to either left or upper side. following javascript functions i have used <script type="text/javascript"> // experiment for dragging div var flag1; function mousedown(e) { flag1 = 1; } function mousemove(e) { var cordx = 0; var cordy = 0; if (flag1 == 1) { if (!e) { var e = window.event; } if (e.pageX || e.pageY) { cordx = e.pageX; cordy = e.pageY; } else if (e.clientX || e.clientY) { cordx = e.clientX; cordy = e.clientY; } document.getElementById('dvpopupctl').style.left = cordx; document.getElementById('dvpopupctl').style.top = cordy; } } function mouseup(e) { flag1 = 0; } </script> please suggest changes in this code so that i can drag popup anywhere on screen.
  5. I have developed one software (Intranet website) for my company using asp.net. now, project manager asking me to prepare technical as well as functional documentation. so please suggest me what should be the content of technical & functional documentation. who will be the viewer of the document? so that i will prepare that document accordingly.
  6. i am currently working on asp.net project and I want to hide vertical and horizontal scrollbar on body but i can't use overflow:hidden or any other overflow value. please suggest me any other method which hides scrollbars.
  7. I am trying to access JavaScript function player1() from asp button's onclick event, but it throws error 'player1' is not a member of 'ASP.jsvideo2design_aspx'. following is my aspx code <%@ Page Language="vb" AutoEventWireup="false" CodeBehind="jsvideo2design.aspx.vb" Inherits="jsvideoplayer2.jsvideo2design" %><!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"><script type="text/javascript"> <title> video player </title>function player1(e){var vid=document.getElementById("video1");var play1=document.getElementById("play");if (vid.paused) { vid.play(); button.textContent = "||"; } else { vid.pause(); button.textContent = ">"; } } </script></head><body> <form id="form1" runat="server"> <div> <video id="video1"> <source src="videos/IMALAB_OpeningCeremony_v1.webm" type="video/webm" /> </video> <asp:Button ID="button1" runat="server" onclick="player1(event)" /> </div> </form></body></html>
  8. I want to create page which should stream a video file and should not be downloaded at client side something similar to youtube video file
  9. asp page design view is not showing gridview on design page. I am working on a asp project. one of the asp page is not showing it's design view completely but it showing it's source view and code is running fine.actually gridview is not showing in design view. please help me to fix it. following is my code please go through it <%@ Page Language="VB" AutoEventWireup="false" CodeFile="inassembly.aspx.vb" Inherits="inassembly" %><!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 id="Head1" runat="server"> <link rel="shortcut icon" type="image/x-icon" href="Images/favicon.ico" /> <link id="Link1" runat="server" rel="icon" href="Images/favicon.ico" type="image/ico" /> <script type="text/javascript"> function openwindow() { window.showModalDialog('popup.aspx', '', 'width=500,height=500,status=0,toolbar=0,menubar=no') } </script> <style type="text/css"> .CSSTableGenerator { margin:0px;padding:0px; width:100%; box-shadow: 10px 10px 5px #888888; border:1px solid #000000; -moz-border-radius-bottomleft:0px; -webkit-border-bottom-left-radius:0px; border-bottom-left-radius:0px; -moz-border-radius-bottomright:0px; -webkit-border-bottom-right-radius:0px; border-bottom-right-radius:0px; -moz-border-radius-topright:0px; -webkit-border-top-right-radius:0px; border-top-right-radius:0px; -moz-border-radius-topleft:0px; -webkit-border-top-left-radius:0px; border-top-left-radius:0px;}.CSSTableGenerator table{ width:100%; height:100%; margin:0px;padding:0px;}.CSSTableGenerator tr:last-child td:last-child { -moz-border-radius-bottomright:0px; -webkit-border-bottom-right-radius:0px; border-bottom-right-radius:0px;}.CSSTableGenerator table tr:first-child td:first-child { -moz-border-radius-topleft:0px; -webkit-border-top-left-radius:0px; border-top-left-radius:0px;}.CSSTableGenerator table tr:first-child td:last-child { -moz-border-radius-topright:0px; -webkit-border-top-right-radius:0px; border-top-right-radius:0px;}.CSSTableGenerator tr:last-child td:first-child{ -moz-border-radius-bottomleft:0px; -webkit-border-bottom-left-radius:0px; border-bottom-left-radius:0px;}.CSSTableGenerator tr:hover td{ }.CSSTableGenerator tr:nth-child(odd){ background-color:#aad4ff; }.CSSTableGenerator tr:nth-child(even){ background-color:#ffffff; }.CSSTableGenerator td{ vertical-align:middle; border:1px solid #000000; border-width:0px 1px 1px 0px; text-align:left; padding:7px; font-size:10px; font-family:Arial; font-weight:normal; }.CSSTableGenerator tr:last-child td{ border-width:0px 1px 0px 0px;}.CSSTableGenerator tr td:last-child{ border-width:0px 0px 1px 0px;}.CSSTableGenerator tr:last-child td:last-child{ border-width:0px 0px 0px 0px;}.CSSTableGenerator tr:first-child td{ background:-o-linear-gradient(bottom, #005fbf 5%, #003f7f 100%); background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #005fbf), color-stop(1, #003f7f) ); background:-moz-linear-gradient( center top, #005fbf 5%, #003f7f 100% ); filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#005fbf", endColorstr="#003f7f"); background: -o-linear-gradient(top,#005fbf,003f7f); background-color:#005fbf; border:0px solid #000000; text-align:center; border-width:0px 0px 1px 1px; font-size:14px; font-family:Arial; font-weight:bold; color:#ffffff;}.CSSTableGenerator tr:first-child:hover td{ background:-o-linear-gradient(bottom, #005fbf 5%, #003f7f 100%); background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #005fbf), color-stop(1, #003f7f) ); background:-moz-linear-gradient( center top, #005fbf 5%, #003f7f 100% ); filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#005fbf", endColorstr="#003f7f"); background: -o-linear-gradient(top,#005fbf,003f7f); background-color:#005fbf;}.cssnew{ filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#005fbf", endColorstr="#003f7f"); background: -o-linear-gradient(top,#005fbf,003f7f);} .CSSTableGenerator tr:first-child td:first-child{ border-width:0px 0px 1px 0px;}.CSSTableGenerator tr:first-child td:last-child{ border-width:0px 0px 1px 1px;}</style> <style type="text/css" >.body1 {background-repeat: no-repeat;width:100%; }</style><style type="text/css" >.blurring {opacity:0.4;filter:alpha(opacity=40); }</style><title> Assembly Dash Board</title> </head> <body id="blurbody" runat="server" style="height: 201px; background-image:url('Images/bluelast.jpeg') ; overflow:hidden " > <form id="form1" runat="server"> <div class="body1" id="dvmain1" runat="server"> <table> <tr> <td width="120" height="30" valign="top"> <img src="Images/imapglogo3.bmp" alt="" /> </td> <td align="center" valign="top" width="70%" > <%--<img src="Images/titleimg.bmp" alt="" />--%> <asp:Label ID="label4" runat ="server" Text ="Assembly Dash Board" ForeColor="DarkRed" Font-Size="Larger" Font-Names="arial" Font-Bold="true" ></asp:Label> </td> <td align="center" style="width:100px; width:"20%"> <asp:ImageButton ID="button2" runat="server" ImageUrl="Images/backred2.gif" /> <%--<asp:Button ID="button2" runat="server" Text="Back" BackColor="BurlyWood" />--%> </td> <td align="left" style="width:100px;"> <%--<asp:Button ID ="button3" runat="server" Text="Layouts" BackColor="BurlyWood" BorderStyle="Outset" />--%> <asp:ImageButton ID="button3" ToolTip="click to view Layouts" runat="server" ImageUrl="Images/images24revised.JPG" /> </td> </tr> </table> <table> <tr > <td align="left" nowrap="nowrap"> <asp:Label ForeColor="White" Font-Size="small" ID ="label5" runat ="server" Text ="Cost Center :" Font-Bold="true" ></asp:Label> </td> <td align="left" nowrap="nowrap" colspan="5" style="width:300px;" > <asp:Label ForeColor="White" Font-Size="small" ID="label6" runat ="server" align="left" Text ="text"></asp:Label> </td> <td align="center" style="width:200px;"> <%--blank--%> </td> <td align="center" style="width:100px;"> <%--blank--%> </td> <td align="left" style="width:200px;" > <asp:label Font-Size="small" ForeColor="white" ID="label11" runat="server" Font-Bold ="true" Text="Pending(%)"></asp:label> </td> <td align="left" style="width:200px;"> <asp:Label Font-Size="small" ForeColor="White" ID="label16" runat ="server" Font-Bold ="true" Text="Total Number"></asp:Label> </td> <td align="left" style="width:100px;"> <asp:Label Font-Size="small" ForeColor="White" ID="label1" runat ="server" Font-Bold ="true" Text="Completed"></asp:Label> </td> <td align="center" style="width:100px;"> <%--blank--%> </td> </tr><tr > <td align="left" style="width:100px;"> <asp:Label Font-Size="small" ForeColor="white" ID="label14" runat ="server" Font-Bold ="true" Text="Location :"></asp:Label> </td> <td colspan="5" align="left" style="width:200px;"> <asp:Label Font-Size="small" ForeColor="white" ID="label10" runat="server" Text="text"></asp:Label> </td> <td align="center" style="width:100px;"> <%--blank--%> </td> <td align="center" style="width:100px;"> <asp:Label Font-Size="small" ForeColor="white" id="label7" runat ="server" Text ="Assemblies" Font-Bold="true" ></asp:Label> </td> <td align="center" style="width:100px;"> <asp:Label Font-Size="small" ForeColor="white" ID="label12" runat="server" Text="value"></asp:Label> </td> <td align="center" style="width:100px;"> <asp:Label Font-Size="small" ForeColor="White" ID="label17" runat ="server" Text="value"></asp:Label> </td> <td align="center" style="width:100px;"> <asp:Label Font-Size="small" ForeColor="white" ID="label2" runat ="server" Text="value"></asp:Label> </td> <td align="center" style="width:100px;"> <%--blank--%> </td> <td align="center" style="width:100px;"> <%--blank--%> </td></tr><tr> <td align="left" style="width:100px;"> <asp:Label Font-Size="small" ForeColor="white" id="label19" runat ="server" Font-Bold ="true" Text="Engineer :"></asp:Label> </td> <td colspan="4" align="left" style="width:200px;"> <asp:Label Font-Size="small" ForeColor="white" ID="label15" runat="server" Text="text"></asp:Label> </td> <td align="center" style="width:100px;"> <%--blank--%> </td> <td align="center" style="width:100px;"> <%--blank--%> </td> <td align="center" style="width:100px;"> <asp:Label Font-Size="small" ForeColor ="white" ID="label8" runat="server" Text="Items" Font-Bold ="true" ></asp:Label> </td> <td align="center" style="width:100px;"> <asp:Label Font-Size="small" ForeColor="white" ID="label13" runat="server" Text="value"></asp:Label> </td> <td align="center" style="width:100px;"> <asp:Label Font-Size="small" ForeColor="white" ID="label18" runat ="server" Text="value"></asp:Label> </td> <td align="center" style="width:100px;"> <asp:Label Font-Size="small" ForeColor="white" ID="label3" runat ="server" Text="value"></asp:Label> </td> <td align="center" style="width:100px;"> <%--blank--%> </td> <td align="center" style="width:100px;"> <%--blank--%> </td></tr><tr> <td align="left" nowrap="nowrap"> <asp:Label Font-Size="small" ForeColor="white" id="label21" runat ="server" Font-Bold ="true" Text="Delivery Date :"></asp:Label> </td> <td nowrap="nowrap" colspan="2" align="left" style="width:100px;"> <asp:Label Font-Size="small" ForeColor="white" id="label20" runat ="server" Text="text"></asp:Label> </td> <td align="center" style="width:200px;"> </td> <td align="left" style="width:100px;"> </td> <%--value of completed--%> <td align="center" style="width:100px;"> <%--blank--%> </td> <td align="center" style="width:100px;"> <%--blank--%> </td> <td align="center" style="width:100px;"> <%--blank--%> </td> <td align="center" style="width:100px;"> <%--blank--%> </td> </tr><%--<tr> <td align="left" style="width:100px;"> <asp:Label ForeColor="#8C001A" id="label22" runat ="server" Text=""></asp:Label> </td> <td align="center" style="width:200px;"> </td> <td align="left" style="width:100px;"> </td> <td align="center" style="width:100px;"> </td> <td align="center" style="width:100px;"> </td> <td align="center" style="width:100px;"> </td> <td align="center" style="width:100px;"> </td> <td align="center" style="width:100px;"> </td> <td align="center" style="width:100px;"> </td> <td align="center" style="width:100px;"> </td> <td align="center" style="width:100px;"> </td> </tr>--%> </table> </div> <table width="100%"> <tr><td><div class="CSSTableGenerator" style="float: left; width:100%; "> <table id="Table1" runat="server" cellpadding="1" border="1" style="background-color: #FFFFFF; border-color: #999999; border-style: none; border-width: 1px; width: 100%; "> <tr> <td align="center" style="width:08%;"> <font color="#dddddd" size="01px" > Assembly </font> </td> <td align="center" style="width:14%;" > <font color="#dddddd" size="01px"> AssemblyName </font> </td> <td align="center" style="width:07%;"> <font color="#dddddd" size="01px"> Source </font> </td> <td align="center" style="width:14%;"> <font color="#dddddd" size="01px"> Operator </font> </td> <td style="width:04%;" > <font color="#dddddd" size="01px"> Hours </font> </td> <td style="width:03%;"> <font color="#dddddd" size="01px"> Start Date </font> </td> <td style="width:04%;"> <font color="#dddddd" size="01px"> End Date </font> </td> <td align="center" style="width:22%;"> <font color="#dddddd" size="01px"> Operators </font> </td> <td style="width:03%;"> <font color="#dddddd" size="01px"> Hours </font> </td> <td style="width:03%;" > <font color="#dddddd" size="01px"> Start Date </font> </td> <td style="width:03%;"> <font color="#dddddd" size="01px"> End Date </font> </td> <td style="width:03%;" > <font color="#dddddd" size="01px"> Shortfall </font> </td> <td style="width:03%;"> <font color="#dddddd" size="01px"> Rack </font> </td> <td align="center" style="width:07%;"> <font color="#dddddd" size="01px"> Remark </font> </td> </tr> </table> </div></td></tr> <tr><td > <div class="CSSTableGenerator"id="div1"style="height:460px; overflow:scroll " > <asp:GridView ID="GridView2" style="table-layout:fixed;" Width="100%" AutoGenerateColumns ="False" AllowSorting="true" runat="server" CellPadding="4" ForeColor="#333333" GridLines="both" > <AlternatingRowStyle BackColor="#aad4ff" /> <Columns> <asp:TemplateField HeaderText="" HeaderStyle-Font-Size="Small" > <ItemTemplate > <asp:label ID="label23" Font-Size="small" ToolTip ="click to see assembly page" runat="server" Text='<%# bind("AsbCd") %>' > </asp:label> </ItemTemplate> <HeaderStyle BorderStyle="Outset" Width="90px" /> <ItemStyle BorderStyle="Outset" HorizontalAlign ="center" /> </asp:TemplateField> <asp:TemplateField HeaderText="" HeaderStyle-Font-Size="small" > <ItemTemplate> <asp:label ID="label24" Font-Size="Small" ToolTip ="click to see assembly page" runat="server" Text='<%# bind("AsbNm") %>' > </asp:label> </ItemTemplate> <HeaderStyle BorderStyle="Outset" Width="90px" /> <ItemStyle BorderStyle="Outset" HorizontalAlign="Left" /> </asp:TemplateField> <asp:BoundField HeaderText="" ItemStyle-Font-Size="Small" HeaderStyle-Font-Size="Small" HeaderStyle-CssClass="fixedheadercell" > <HeaderStyle BorderStyle="Outset" /> <ItemStyle BorderStyle="Outset" HorizontalAlign ="left" /> </asp:BoundField> <asp:BoundField HeaderText="" DataField="operators" ItemStyle-Font-Size="Small" HeaderStyle-Font-Size="Small" HeaderStyle-CssClass="fixedheadercell" > <HeaderStyle BorderStyle="Outset" /> <ItemStyle BorderStyle="Outset" HorizontalAlign ="left" /> </asp:BoundField> <asp:BoundField HeaderText="" DataField="Days" ItemStyle-Font-Size="Small" HeaderStyle-Font-Size="Small" HeaderStyle-CssClass="fixedheadercell" > <HeaderStyle BorderStyle="Outset" /> <ItemStyle BorderStyle="Outset" HorizontalAlign ="Right"/> </asp:BoundField> <asp:BoundField DataField="PlannedDt" HeaderText="" ItemStyle-Font-Size="Small" HeaderStyle-Font-Size="Small" HeaderStyle-CssClass="fixedheadercell" DataFormatString="{0: dd- MMM- yyyy}" HtmlEncode="false" > <HeaderStyle BorderStyle="Outset" /> <ItemStyle BorderStyle="Outset" HorizontalAlign ="Right" /> </asp:BoundField> <asp:BoundField DataField="PlancedEnddt" HeaderText="" ItemStyle-Font-Size="Small" HeaderStyle-Font-Size="Small" HeaderStyle-CssClass="fixedheadercell" DataFormatString="{0: dd- MMM- yyyy}" HtmlEncode="false" > <HeaderStyle BorderStyle="Outset" /> <ItemStyle BorderStyle="Outset" HorizontalAlign ="Right" /> </asp:BoundField> <asp:BoundField DataField="Operator" HeaderText="" ItemStyle-Font-Size="Small" HeaderStyle-Font-Size="Small" HeaderStyle-CssClass="fixedheadercell" > <HeaderStyle BorderStyle="Outset" /> <ItemStyle BorderStyle="Outset" HorizontalAlign ="left" /> </asp:BoundField> <asp:BoundField DataField="ActualDays" HeaderText="" ItemStyle-Font-Size="Small" HeaderStyle-Font-Size="Small" HeaderStyle-CssClass="fixedheadercell" > <HeaderStyle BorderStyle="Outset" /> <ItemStyle BorderStyle="Outset" HorizontalAlign ="Right" /> </asp:BoundField> <asp:BoundField DataField="ActualStartDt" HeaderText=" " ItemStyle-Font-Size="Small" HeaderStyle-Font-Size="Small" HeaderStyle-CssClass="fixedheadercell" DataFormatString="{0:dd-MMM-yyyy}" HtmlEncode="false" > <HeaderStyle BorderStyle="Outset" /> <ItemStyle BorderStyle="Outset" HorizontalAlign ="Right" /> </asp:BoundField> <asp:BoundField DataField="ActualEndDt" HeaderText="" ItemStyle-Font-Size="Small" HeaderStyle-Font-Size="Small" HeaderStyle-CssClass="fixedheadercell " DataFormatString="{0:dd-MMM-yyyy}" HtmlEncode="false" > <HeaderStyle BorderStyle="Outset" /> <ItemStyle BorderStyle="Outset" HorizontalAlign ="Right" /> </asp:BoundField> <asp:BoundField DataField="IssuePending" HeaderText="" ItemStyle-Font-Size="Small" HeaderStyle-Font-Size="Small" HeaderStyle-CssClass="fixedheadercell " > <HeaderStyle BorderStyle="Outset" /> <ItemStyle BorderStyle="Outset" HorizontalAlign ="Right" /> </asp:BoundField> <asp:BoundField DataField="rack" HeaderText="" ItemStyle-Font-Size="Small" HeaderStyle-Font-size="Small" HeaderStyle-CssClass="fixedheadercell" > <HeaderStyle BorderStyle="Outset" /> <ItemStyle BorderStyle="Outset" HorizontalAlign ="Right" /> </asp:BoundField> <asp:BoundField DataField="Remark" HeaderText="" ItemStyle-Font-Size="Small" HeaderStyle-Font-Size="Small" HeaderStyle-CssClass="fixedheadercell" > <HeaderStyle BorderStyle="Outset" /> <ItemStyle BorderStyle="Outset" HorizontalAlign ="Center" /> </asp:BoundField> </Columns> </asp:GridView> </div> </td> </tr> </table> </form> </body></html> please fix it.
  10. I know one method of finding asp label control under rowdatabound event of gridview. for example following way lbl = e.Row.FindControl("label23") can anybody please suggest any other way of finding label from gridview other than rowdatabound event.
  11. //Making the input for signing upfopen('usersfile.txt');mkdir(userName, + passcode);... some code...// How, would I allow the input after adding your login passcode and user name go to a separate file on another page?
  12. I have developed gridview in asp.net. gridview is showing in Internet Explorer (IE) but not in mozilla firefox,chrome. please sort out my problem Following is my gridview code <asp:GridView ID="GridView2" style="table-layout:fixed;" Width="100%" AutoGenerateColumns ="False" AllowSorting="true" runat="server" CellPadding="4" ForeColor="#333333" GridLines="Both"> <AlternatingRowStyle BackColor="#DCDCDC"/> <Columns> <asp:TemplateField HeaderText="" HeaderStyle-Font-Size="Small" > <ItemTemplate > <asp:label ID="label23" Font-Size="small" ToolTip ="click to see assembly page" runat="server" Text='<%# bind("AsbCd") %>' > </asp:label> </ItemTemplate> <HeaderStyle BorderStyle="Outset" Width="90px" /> <ItemStyle BorderStyle="Outset" HorizontalAlign ="center" /> </asp:TemplateField> <asp:TemplateField HeaderText="" HeaderStyle-Font-Size="small" > <ItemTemplate> <asp:label ID="label24" Font-Size="Small" ToolTip ="click to see assembly page" runat="server" Text='<%# bind("AsbNm") %>' > </asp:label> </ItemTemplate> <HeaderStyle BorderStyle="Outset" Width="90px" /> <ItemStyle BorderStyle="Outset" HorizontalAlign="Left" /> </asp:TemplateField> <asp:BoundField HeaderText="" ItemStyle-Font-Size="Small" HeaderStyle-Font-Size="Small" HeaderStyle-CssClass="fixedheadercell" > <HeaderStyle BorderStyle="Outset" /> <ItemStyle BorderStyle="Outset" HorizontalAlign ="left" /> </asp:BoundField> <asp:BoundField HeaderText="" DataField="operators" ItemStyle-Font-Size="Small" HeaderStyle-Font-Size="Small" HeaderStyle-CssClass="fixedheadercell" > <HeaderStyle BorderStyle="Outset" /> <ItemStyle BorderStyle="Outset" HorizontalAlign ="left" /> </asp:BoundField> <asp:BoundField HeaderText="" DataField="Days" ItemStyle-Font-Size="Small" HeaderStyle-Font-Size="Small" HeaderStyle-CssClass="fixedheadercell" > <HeaderStyle BorderStyle="Outset" /> <ItemStyle BorderStyle="Outset" HorizontalAlign ="Right"/> </asp:BoundField> <asp:BoundField DataField="PlannedDt" HeaderText="" ItemStyle-Font-Size="Small" HeaderStyle-Font-Size="Small" HeaderStyle-CssClass="fixedheadercell" DataFormatString="{0:dd-MMM-yyyy}" HtmlEncode="false" > <HeaderStyle BorderStyle="Outset" /> <ItemStyle BorderStyle="Outset" HorizontalAlign ="Right" /> </asp:BoundField> <asp:BoundField DataField="PlancedEnddt" HeaderText="" ItemStyle-Font-Size="Small" HeaderStyle-Font-Size="Small" HeaderStyle-CssClass="fixedheadercell" DataFormatString="{0:dd-MMM-yyyy}" HtmlEncode="false" > <HeaderStyle BorderStyle="Outset" /> <ItemStyle BorderStyle="Outset" HorizontalAlign ="Right" /> </asp:BoundField> <asp:BoundField DataField="Operator" HeaderText="" ItemStyle-Font-Size="Small" HeaderStyle-Font-Size="Small" HeaderStyle-CssClass="fixedheadercell" > <HeaderStyle BorderStyle="Outset" /> <ItemStyle BorderStyle="Outset" HorizontalAlign ="left" /> </asp:BoundField> <asp:BoundField DataField="ActualDays" HeaderText="" ItemStyle-Font-Size="Small" HeaderStyle-Font-Size="Small" HeaderStyle-CssClass="fixedheadercell" > <HeaderStyle BorderStyle="Outset" /> <ItemStyle BorderStyle="Outset" HorizontalAlign ="Right" /> </asp:BoundField> <asp:BoundField DataField="ActualStartDt" HeaderText=" " ItemStyle-Font-Size="Small" HeaderStyle-Font-Size="Small" HeaderStyle-CssClass="fixedheadercell" DataFormatString="{0:dd-MMM-yyyy}" HtmlEncode="false" > <HeaderStyle BorderStyle="Outset" /> <ItemStyle BorderStyle="Outset" HorizontalAlign ="Right" /> </asp:BoundField> <asp:BoundField DataField="ActualEndDt" HeaderText="" ItemStyle-Font-Size="Small" HeaderStyle-Font-Size="Small" HeaderStyle-CssClass="fixedheadercell " DataFormatString="{0:dd-MMM-yyyy}" HtmlEncode="false" > <HeaderStyle BorderStyle="Outset" /> <ItemStyle BorderStyle="Outset" HorizontalAlign ="Right" /> </asp:BoundField> <asp:BoundField DataField="IssuePending" HeaderText="" ItemStyle-Font-Size="Small" HeaderStyle-Font-Size="Small" HeaderStyle-CssClass="fixedheadercell " > <HeaderStyle BorderStyle="Outset" /> <ItemStyle BorderStyle="Outset" HorizontalAlign ="Right" /> </asp:BoundField> <asp:BoundField DataField="rack" HeaderText="" ItemStyle-Font-Size="Small" HeaderStyle-Font-size="Small" HeaderStyle-CssClass="fixedheadercell" > <HeaderStyle BorderStyle="Outset" /> <ItemStyle BorderStyle="Outset" HorizontalAlign ="Right" /> </asp:BoundField> <asp:BoundField DataField="Remark" HeaderText="" ItemStyle-Font-Size="Small" HeaderStyle-Font-Size="Small" HeaderStyle-CssClass="fixedheadercell" > <HeaderStyle BorderStyle="Outset" /> <ItemStyle BorderStyle="Outset" HorizontalAlign ="Center" /> </asp:BoundField> </Columns> </asp:GridView>
  13. I want to try use one master page for different type roles with different type menu option like Amidmin have some authorty or normal user have some other authorty. then I want use menu option for different roles with authorty
  14. Hi, I am creating a validation for gridview row Selection. There is a "Delete" button and a GridView, in that GridView, there is a "Select" LinkButton column. I am trying to create a validation for that, When clicking on the "Delete" Button, If the particular row in GridViewis not selected for deleting, then it should show a alert message i.e. "First select any row to delete." So I wrote a code for the validation: <script type="text/javascript"> function validateGridSelection() { var GridSelectedID = document.getElementById('<%=GridView1.ClientID%>'); if (GridSelectedID.rows.selectedIndex = -1) { alert("First select any row to delete"); return false; } } </script> But this JavaScript is not working for this validation. So, Please help me out to sort out this problem. Thanks.
  15. hello... I have written a stored procedure to get a column Named as "Name" from the table DN_Software.The query is "Select Name From DN_Software Where DN_DiscoverHostID=5" for Particular ID. Now i want to display that list of names in front end page. please help me how to display using that stored procedure using asp.net displaying in c#.please... "ALTER PROCEDURE [dbo].[DN_Software_Read_Distinct_Name_By_DiscoveredHostID]( @Active [int], @DN_DiscoveredHostID Int) AS SELECT DISTINCT Name FROM DN_Software where DN_DiscoveredHostID = @DN_DiscoveredHostID --EXEC DN_Software_Read_Distinct_Name_By_DiscoveredHostID @Active = 1, @DN_DiscoveredHostID = 5" --------------this my stored procedure.
  16. .Net or PHP – What should I learn? I have a good background in C/C++ and have solid skills in XHTML/CSS/Javascript. So given my situation, should I start with ASP.NET or PHP?
  17. I'm new to asp.net. Out of curiosity, I am doing my final year project in asp.net. I have read many tutorials, but none of them explains how to create a website, which requires a header, a footer and a content section. How do we create a website using asp.net and C#. Is it by using html, just like we do in JSP ?
  18. Hi, i need help for this error, I keep getting this error -->> "Unable to get value of the property 'innerHTML': object is null or undefined" when am running the program in IE & nothing is running in other web browsers... Below is the javascript (JScript.js) code: var output = document.getElementById('output'), pressed = {}; window.onkeydown = function (e) { if (pressed[e.which]) return; pressed[e.which] = e.timeStamp;}; window.onkeyup = function (e) { if (!pressed[e.which]) return; var duration = (e.timeStamp - pressed[e.which]) / 1000; output.innerHTML += '<p>Key ' + e.which + ' was pressed for ' + duration + ' seconds</p>'; pressed[e.which] = 0;}; Here is my asp code (test.aspx): <html><head><title>XXX</title></head><body> <h1>Keystroke Dynamics</h1> <p>Try pressing some keys on your keyboard ...</p> <script type="text/javascript" src="JScript.js"></script> <div id="output"></div></body></html> May I know the problem that cause this error & how can I correct it?? I tried the same program in php and it works but not in asp.net 2010...Thank you...
  19. Hey, everyone. I'm new to the forums, but not to W3 Schools or programming in general. I've spent the past 3-4 days combing the tutorials for asp, asp.net, ajax, php, html5, cshtml, etc. and learned way more about each than I'm probably ever going to need. At this point, I'm only inches closer to completing my project than when I started looking through these (though I suppose I'm a better web dev for it), and there is only one question in my mind - which language should I actually be looking at to make this work? It seems to me after looking through each one individually that any language detailed on W3 Schools will work for what I need, but some of them may be easier than others. That's not something I can determine myself without knowing each language like the back of my hand, however. I'd like to ask your opinions - especially people who have actually used these tools to do similar things. I'd like to do something similar to Comicpress for Wordpress, but less bulky, and friendlier to mixed media. On one hand, if I utterly fail at this, I could just use Comicpress, but I'd like more control over the system and I'd like to only have the files and the processes and features that are necessary to do what I want to do. I've gotten a lot of recommendations from other artists in the same boat to write my own site if I can, rather than using a Wordpress engine. (I'd also like to just see if I can do it, improve my skills in web dev, etc...which is really what most of us are here for, right?)The layout I'm going for is extremely similar to what I would get out of Wordpress for comics.... The most important things are the back/forward and the comments (per strip) - and of course the ads, which will put food on my table, but I'm not too worried about those - those will come with Comicpress if I have to throw in the towel. The part that I really want to be able to include that Comicpress won't be very good at is the tiny audio bar underneath the comic strip. The only thing I regret about comics in general is that you must rely on lighting, etc. to set mood. I know there are Wordpress widgets for this, but none exactly what I had in mind. What I would really like to do is have music attached to the comic that does the following....1) continues to play over several strips as a "soundtrack" (and loops, and plays automatically). The strips are so short that restarting the music for each one would be less than ideal, and would get annoying pretty quickly. This also means the music should not be a playlist, but a single song.2) changes the song automatically at predefined scene changes, when the user hits the back/forward buttons and changes the comic. The music file for each comic should be stored/associated with it somewhere.3) can be turned off (or there's a different "version" of the site where music is not enabled) because this could be very annoying to some users that prefer to read their comics in peace and quiet. It's a cool feature, but certainly not for everyone. I'll be happy if I can get it working and then make a separate page entirely where that functionality is disabled, but it would be nice if it was an switch/checkbox/button on the page that could be cached to that user. Things I've tried...At first, I thought about using AJAX to reload the strip, ads, and comments, and only load the music when the strip changes. Still unsure whether this is the correct/easiest method.Then I found a web widget that "autoresumes" play when a page reloads, which I would be fine with, but I believe it may be impossible to tell it not to resume, and to stop playing the song it's on and play something different. It seems to behave like a playlist as well, from my understanding.I thought about having a database for the strips, where an image file, page ID, (chapter/volume number, commentary, etc etc), and music file is defined. When the music file defined on the page to be displayed is different than what is playing, the music changes. But it does not, under any circumstance, change to a new song in the middle of a strip, as a playlist would (which is most wordpress and audio widgets in general).Other things I'm unsure of (because I haven't tried it yet) are how to connect the list of comments to each particular strip individually, and how to load new comics, comments, and ads without creating a new page file for each and every one. I want to make it as quick and easy as possible to add new content without having a billion html files like back in the dark ages, but I still want users to be able to link to a specific page. TLDR; Again, I've read MOST of the tutorials and understand most of them, and I still have no idea WHICH route I should be looking into and researching further in order to make something like the above. A simple point in the right direction (so I can continue the Google search and know for certain there's a light at the end somewhere) is all I ask, but if anyone does have specific answers to these questions, I'd be happy to have them. I just don't want to start looking into, say, classic ASP, when I should be using PHP or something, and find out only after weeks of work that I should have gone down a different route.Thank you for your help!!
  20. Please provide the tutorial on ASP.NET with C# based on Visual studio, not on WebMatrix
  21. Hi, I'm newbie & just have self-learning a few weeks ago...I've tried to understand how to implement my idea into asp.net vb programming & javascript. I've done all parts except the keystroke part.I would like to calculate the keyhold time of a keypress in ms & also the inter-key latency time between 2 keys. The idea is as below:key 'A' is pressed (keydown) - record keyhold timekey 'A' is depressed (keyup) - record keyhold timekey 'A' is pressed & key 'B' is depressed - record inter-key latency time And also, I need ideas how to put my keystroke data into database. Should I record the key character also??Example: A.down.time || A.up.time || A.B.timeWhat do you think is the simplest way to do as I'm a beginner... Tq. . . v()//
  22. Hi. I'm new to the .NET framework. I ran into w3schools demo: http://www.w3schools.com/aspnet/webpages_login.aspI did everything like the demo and it was o.k until the register/login pages.when i try to register to the site, i receive this error: Exception Details: System.Data.SqlServerCe.SqlCeException: The column cannot contain null values. [ Column name = UserId,Table name = UserProfile ] Source Error: Line 25: if (user == null)Line 26: {Line 27: db.Execute("INSERT INTO UserProfile (Email) VALUES (@0)", email);Line 28: WebSecurity.CreateAccount(email, password, false);Line 29: Any help will be great ! !
  23. Hi there, I'm new on ASP.NET and have the following problem: I get some data from a MS SQL-Server using a stored procedure. To display the data I'm using <ul>, <li> in a Repeater, because I have to do some optical customization. Now I want to call a sub from the Code Behind file, by clicking on a List Item. Right now the ClickEvent should just cause a Console output, that the Item was clicked.But I'm getting an error, saying the sub is undefined. Here is the code: <asp:Repeater ID="Repeater1" runat="server" DataSourceID="SqlDataSource1"> <ItemTemplate> <li runat="server" onclick="selectItem" data-icon="false"><a href="index.aspx"><%#Eval("Employee")%></a></li> </ItemTemplate> </asp:Repeater> Public Sub selectItem(ByVal sender As Object, ByVal e As System.EventArgs) Console.WriteLine("Clicked") End Sub Thanks for your help
  24. Hi. Wonder if anyone can help. I am trying to build a website where users can log in to their account, and then place an order for an item, edit their details etc. However, am using the following code upon loading the myAccount.cshtml page: if (WebSecurity.IsAuthenticated == false) { Response.Redirect("~/"); } So that if the user is not logged in it directs them to the home page to then login. However I am finding that even when the user has logged in, as soon as they come away from the My Account area - it logs them out and they then have to log back in. How could I make this so it persistently keeps the user logged in until they manually log out with the button I have created. Thanks. Kevin
  25. Without gridview how can i show report in asp.net
×
×
  • Create New...