Jump to content

Search the Community

Showing results for tags '.net'.

  • 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

Calendars

  • Community Calendar

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 13 results

  1. How to call REST API using current instance of internet explorer. I am working on extension for fill the form dynamicly and data comes from REST API. but for authontation we have to login on that application e.g. REST API URL: http://dataservice.com/getusers.json Login page: http://dataservice.com/login.aspx and i wanted to fill data on another application Form page url: http://localservice.com/users.aspx and i have already logged in on http://dataservice.com domain and wanted to get data using internet explorer extension and fill form on second application which is available on different domain. so can you suggest me how it can be possible through Internet Explorer extension.
  2. I was trying to learn Razor pages. I use Visual Studio, but I'm pretty new to it. I followed an official getting started guide for installation process - https://docs.microsoft.com/en-us/aspnet/core/tutorials/razor-pages/razor-pages-start?view=aspnetcore-2.2&tabs=visual-studio . Then I tried implementing an example of w3schools - https://www.w3schools.com/asp/razor_syntax.asp - "Reading User Input". VS seemed to not recognize it - it gave me errors. I did install and add "Microsoft.AspNetCore.Mvc.Razor" through NuGet (also tried installing version 2.1.3 and latest 2.2.0) and I also added "using Microsoft.AspNetCore.Mvc.Razor;" to the Startup.cs - still nothing. Maybe I need to connect it somehow? Visual studio 2017 | ASP .NET Core 2.1 Please help!
  3. akhter

    akhter

    How to increase repeater size,after using carousel my repeater size get small ,repeater2 is creating problem ,so how to increase size with carousel in repeater here is my html ,image is attached and highlighted <%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="home.aspx.cs" Inherits="WebApplication21.home" %> <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server"> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> <script type="text/javascript" src="https://cdn.jsdelivr.net/jcarousel/0.2.8/jquery.jcarousel.min.js"></script> <link rel="Stylesheet" href="https://cdn.jsdelivr.net/jcarousel/0.2.8/skins/tango/skin.css" /> <script type="text/javascript"> $(function () { $('[id*=mycarousel]').jcarousel({ auto: true, animation: 'slow', wrap: 'circular', width: '1175px', scroll: 1 // No of Image To Slide on click of next and previous button. }); }); </script> <div class="header_slide"> <div class="header_bottom_left"> <div class="categories"> <ul> <h3>Categories</h3> <asp:Repeater ID="Repeater1" runat="server"> <ItemTemplate> <li> <asp:HyperLink ID="HyperLink1" runat="server" Text='<%# Eval("cat_name")%>' NavigateUrl='<%# Eval("cat_id","~/View/User/product.aspx?view={0}") %>' ></asp:HyperLink> </li> </ItemTemplate> </asp:Repeater> <li> <h3> <asp:LinkButton ID="LinkButton1" runat="server" OnClick="LinkButton1_Click" Text="LogOut" Style="background-color:aliceblue"></asp:LinkButton> </h3> </li> </ul> </div> </div> <div class="header_bottom_right"> <div class="slider"> <div id="slider"> <div id="mover"> <div id="slide-1" class="slide"> <div class="slider-img"> <a href="preview.html"><img src="images/slide-1-image.png" alt="learn more" /></a> </div> <div class="slider-text"> <h1>Clearance<br><span>SALE</span></h1> <h2>UPTo 20% OFF</h2> <div class="features_list"> <h4>Get to Know More About Our Memorable Services Lorem Ipsum is simply dummy text</h4> </div> <a href="preview.html" class="button">Shop Now</a> </div> <div class="clear"></div> </div> <div class="slide"> <div class="slider-text"> <h1>Clearance<br><span>SALE</span></h1> <h2>UPTo 40% OFF</h2> <div class="features_list"> <h4>Get to Know More About Our Memorable Services</h4> </div> <a href="preview.html" class="button">Shop Now</a> </div> <div class="slider-img"> <a href="preview.html"><img src="images/slide-3-image.jpg" alt="learn more" /></a> </div> <div class="clear"></div> </div> <div class="slide"> <div class="slider-img"> <a href="preview.html"><img src="images/slide-2-image.jpg" alt="learn more" /></a> </div> <div class="slider-text"> <h1>Clearance<br><span>SALE</span></h1> <h2>UPTo 10% OFF</h2> <div class="features_list"> <h4>Get to Know More About Our Memorable Services Lorem Ipsum is simply dummy text</h4> </div> <a href="preview.html" class="button">Shop Now</a> </div> <div class="clear"></div> </div> </div> </div> <div class="clear"></div> </div> </div> <div class="clear"></div> </div> <div class="main"> <div class="content"> <div class="content_top"> <div class="heading"> <h3>New Products</h3> </div> <div class="see"> <p><a href="">See all Products</a></p> </div> <div class="clear"></div> </div> <div class="section group"> <ul id="mycarousel" class="jcarousel-skin-tango" } > <asp:Repeater ID="Repeater2" runat="server" > <ItemTemplate> <li > <div style="float:left;width:100%"> <%--<a href=""><img src="../../images/slide-3-image.jpg" alt="" style="width:250px;height:250px" /></a>--%> <asp:Image ID="Image1" runat="server" style="width:220px;height:250px" ImageUrl='<%# Eval("pro_image")%>' /> <h2> <p><span class="rupees"><asp:Label ID="Label2" runat="server" Text='<%# Eval("pro_name")%>'></asp:Label></span></p></h2> <div class="price-details"> <div class="price-number"> <p><span class="rupees">PKR<asp:Label ID="Label1" runat="server" Text='<%# Eval("pro_price")%>'></asp:Label></span></p> </div> <div class="add-cart"> <%--<h4><a href="preview.html">Add to Cart</a></h4>--%> <h4> <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl='<%# Eval("pro_id","~/View/User/productdetails.aspx?view={0}") %>'>View Details</asp:HyperLink> </h4> </div> <div class="clear"></div> </div> </div> </li> </ItemTemplate> </asp:Repeater> </ul> </div> <%-- <div class="add-cart"> <h4><a href="preview.html">Add to Cart</a></h4> </div>--%> <div class="clear"></div> </div> </div> <div class="content_bottom"> <div class="heading"> <h3>Showcase Products</h3> </div> <div class="see"> <p><a href="#">See all Products</a></p> </div> <div class="clear"></div> </div> <div class="section group"> <asp:Repeater ID="Repeater3" runat="server"> <ItemTemplate> <div style="float:left;width:25%"> <%--<a href=""><img src="../../images/slide-3-image.jpg" alt="" style="width:250px;height:250px" /></a>--%> <asp:Image ID="Image1" runat="server" style="width:220px;height:250px" ImageUrl='<%# Eval("pro_image")%>' /> <h2> <p><span class="rupees"><asp:Label ID="Label2" runat="server" Text='<%# Eval("pro_name")%>'></asp:Label></span></p></h2> <div class="price-details"> <div class="price-number"> <p><span class="rupees">PKR<asp:Label ID="Label1" runat="server" Text='<%# Eval("pro_price")%>'></asp:Label></span></p> </div> <div class="add-cart"> <%--<h4><a href="preview.html">Add to Cart</a></h4>--%> <h4> <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl='<%# Eval("pro_id","~/View/User/productdetails.aspx?view={0}") %>'>View Details</asp:HyperLink> </h4> </div> <div class="clear"></div> </div> </div> </ItemTemplate> </asp:Repeater> </div> </asp:Content>
  4. 10:55:57 10:55:57 C:\Builds\workspace\ci-job_master>"AutomatedProcedures\tools\nant-0.92\bin\nant.exe" -buildfile:AutomatedProcedures\NantScript.xml -D:Innovator.License.Type=Unlimited -D:Innovator.Activation.Key=xxxxxxxxxxxxxxxxxxxx-D:Innovator.License.Key=3c1bdb569c74585xxxxxxxxxxxxxxxxxxxxxx -D:MSSQL.Innovator.Password=**** -D:MSSQL.Innovator.Regular.Password=**** -D:MSSQL.SA.Password=**** -D:MSSQL.Server=. -D:Path.To.CodeTree.Zip=F:\Project\CIPro\CodeTreeSP12.zip -D:Path.To.DB.Bak=F:\Project\CIPro\CoreAndSolutions110_SP12DB.bak -D:Branch.Name=master ContinuousIntegration 10:55:59 NAnt 0.92 (Build 0.92.4543.0; release; 09-06-2012)10:55:59 Copyright (C) 2001-2012 Gerry Shaw*10:55:59* http://nant.sourceforge.net10:55:59 10:56:01 Buildfile: file:///C:/Builds/workspace/ci-job_master/AutomatedProcedures/NantScript.xml10:56:01 Target framework: Microsoft .NET Framework 4.0*10:56:01* Target(s) specified: ContinuousIntegration 10:56:01 10:56:03 [mkdir] Creating directory 'C:\Builds\workspace\ci-job_master\AutomatedProceduresOutput\TemporaryFilesAndLogs'.10:56:03 [include] Including file C:\Builds\workspace\ci-job_master\AutomatedProcedures\Default.Settings.include.10:56:03 [include] Including file C:\Builds\workspace\ci-job_master\AutomatedProcedures\Includes\NodeJs.include.10:56:03 [include] Including file C:\Builds\workspace\ci-job_master\AutomatedProcedures\Includes\MSBuild.include.10:56:03 [include] Including file C:\Builds\workspace\ci-job_master\AutomatedProcedures\Includes\ValidateEncoding.include.10:56:03 [include] Including file C:\Builds\workspace\ci-job_master\AutomatedProcedures\Includes\EnvironmentDiagnostics.include.10:56:04 [echo] SQL Server authentication will be used to access .10:56:06 10:56:06 Environment.Diagnostics:10:56:06 10:56:07 [echo] Version of node.js is v10.15.0*10:56:07* [echo] Version of C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe is 14.0*10:56:07* [echo] Windows version: Microsoft Windows [Version 10.0.17134.648]10:56:07 10:56:07Initialize.Validate.Task:10:56:07 10:56:11 [exec] Feeds used:10:56:11 [exec] https://api.nuget.org/v3/index.json10:56:11 [exec] 10:56:23 [exec] Unable to load the service index for source https://api.nuget.org/v3/index.json.10:56:23 [exec] An error occurred while sending the request.10:56:23 [exec] Unable to connect to the remote server*10:56:23* [exec] No connection could be made because the target machine actively refused it 127.0.0.1:5656*10:56:23* 10:56:23 BUILD FAILED - 0 non-fatal error(s), 4 warning(s)10:56:23 10:56:23 External Program Failed: C:\Builds\workspace\ci-job_master\AutomatedProcedures\tools\.nuget\NuGet.exe (return code was 1)10:56:23 10:56:23 Total time: 20.9 seconds.10:56:23
  5. I am going to create a Extension for internet explorer but i am not able to understand how to start creating Extension for internet explorer.
  6. I am going to create a application in this application i want to use authorization server and resource server and client application in different application for hosting in different location. How i can design my application. Firstly, Can i host authorization server and resource server and client application in different location.
  7. I am trying to consume service using proxy class. i am getting below exception. "The underlying connection was closed: An unexpected error occurred on a receive." ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12; //proxy class initialization ISessionManager objISessionManager = new SessionManagerClient("https://abcxyz.com/sessionmanager.svc"); LogonRequest objLogonRequest = new LogonRequest(); objLogonRequest.logonRequestData = new LogonRequestData(); objLogonRequest.ContractVersion = APICredential.ContractVersion; objLogonRequest.logonRequestData.DomainCode = APICredential.AgentDomain; objLogonRequest.logonRequestData.AgentName = APICredential.AgentID; objLogonRequest.logonRequestData.Password = APICredential.Password; LogonResponse objLogonResponse = objISessionManager.Logon(objLogonRequest); can you suggest how we can fix it.
  8. I found some problem with below code when i am trying to export to excel using below code on IE and Mozilla Firefox. But sometime it works fine but sometime it works fine. So can you suggest me how i can resolve the problem? public static void ToExcel(GridView _grid, string FileName) { try { _grid.AllowPaging = false; PrepareGridViewForExport(_grid); string attachment = "attachment; filename=" + FileName + ""; HttpContext.Current.Response.Clear(); HttpContext.Current.Response.Buffer = true; HttpContext.Current.Response.BufferOutput = true; HttpContext.Current.Response.ClearContent(); HttpContext.Current.Response.AddHeader("content-disposition", attachment); //HttpContext.Current.Response.ContentType = "application/ms-excel";//Excel 2003 //application/vnd.ms-excel HttpContext.Current.Response.ContentType = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";//Excel 2007 StringWriter sw = new StringWriter(); HtmlTextWriter htw = new HtmlTextWriter(sw); // Create a form to contain the grid htw.WriteLine(Heading); if (!string.IsNullOrEmpty(Company)) { if (!Company.Contains("Select")) htw.WriteLine("<br/><b>Company : </b>" + Company); } if (!string.IsNullOrEmpty(Department)) { if (!Department.Contains("Select")) htw.WriteLine("<br/><b>Department : </b>" + Department); } if (!string.IsNullOrEmpty(Region)) { if (!Region.Contains("Select")) htw.WriteLine("<br/><b>Region : </b>" + Region); } htw.WriteLine("<br/><b>" + Heading + "</b> From <b>" + FromDate + "</b> To <b>" + ToDate + "</b> "); htw.WriteLine("<br/><br/>"); HtmlForm frm = new HtmlForm(); _grid.Parent.Controls.Add(frm); frm.Attributes["runat"] = "server"; frm.Controls.Add(_grid); frm.RenderControl(htw); HttpContext.Current.Response.Write("<meta http-equiv=Content-Type content=text/html; charset=utf-8>" + Environment.NewLine); HttpContext.Current.Response.Write("HRMS Reports Sheet" + Environment.NewLine); HttpContext.Current.Response.Write(AddExcelStyling()); HttpContext.Current.Response.Write(sw.ToString()); HttpContext.Current.Response.Write("</body>"); HttpContext.Current.Response.Write("</html>"); HttpContext.Current.Response.Flush(); HttpContext.Current.Response.End(); } catch (Exception ex) { string str = ex.Message; } }
  9. String was not recognized as a valid DateTime. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.FormatException: String was not recognized as a valid DateTime.Source Error: Line 68: <body onload="changeHashOnLoad();"> Line 69: <form id="form1" runat="server" class="w-wppr">Line 70: <asp:ScriptManager ID="ScriptManager1" runat="server" EnableScriptGlobalization="true"> Line 71: <Scripts> Line 72:
  10. (Newbie here, sorry.) I cannot get an ASCX control to use rules from an external CSS file in a VB.NET app that I inherited (which only uses inline formatting at the moment). It finds and recognizes the file, and the format has been validated. CSS rule: .ais{ font-family: Arial; font-size: 20pt;} ASPX <head>: <link rel="Stylesheet" type="text/css" href="/App_Code/AMCG_Styles.css" />ASCX: <table id="tblAISContent" class="ais" border="0" cellpadding="0" cellspacing="0" style="width: 900px; height: 425px;" > However, none of the text in the table uses either the font name or size, and no errors are thrown. There are no other CSS files or <style> tags in the app. Any help is greatly appreciated! Jeff
  11. I have read somewhere that one cannot build website using WPF technology. so please clear my concept whether i can build website using WPF or not also i have read that we can build browser application using WPF but not website. so, what is the difference between browser application and website exactly
  12. I created an asp.net webform that submits to an sql database on an sql server. The web server is Windows server 2012. The page successfully submits when I run the page using Visual Studio 2012, but when I run it on the web server (not using Visual Studios) I get the error message below when I click submit. It says login failed for user domainservername$, but the username in the connection string is user we created for the sql database. It uses Windows Authentication. I setup the web server for asp.net. I haven't done it before, so I assume the issue is there or in the connection string, though I'm not sure. The connection string is below. I'm new to asp.net, c#, and sql, so I'm learning as I go in this project. Let me know if you need anymore information. Thanks for any suggestions. <connectionStrings> <add name="MyConsString" connectionString="Server=sqlserver; Database=database; User Id=username; password=password; Trusted_Connection=Yes;" providerName="System.Data.SqlClient" /> </connectionStrings> Server Error in '/' Application. -------------------------------------------------------------------------------- Insert Error:Login failed for user 'domainservername$'. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Exception: Insert Error:Login failed for user 'domainservername$'. Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [Exception: Insert Error:Login failed for user 'domainservername$'.] Survey.WebForm1.ExecuteInsert(EventArgs e) in servernamec$inetpubSurvey2Surveydefault.aspx.cs:489 Survey.WebForm1.Button1_Click(Object sender, EventArgs e) in servernamec$inetpubSurvey2Surveydefault.aspx.cs:39 System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +155 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3804
  13. Please provide the tutorial on ASP.NET with C# based on Visual studio, not on WebMatrix
×
×
  • Create New...