Subscribe: Personal Site Starter Kit
http://forums.asp.net/rss.aspx?ForumID=1003&PostID=2015307
Added By: Feedage Forager Feedage Grade B rated
Language: English
Tags:
auto style  auto  background color  background  color auto  color ffff  color  ffff background  ffff  style color  style  text 
Rate this Feed
Rate this feedRate this feedRate this feedRate this feedRate this feed
Rate this feed 1 starRate this feed 2 starRate this feed 3 starRate this feed 4 starRate this feed 5 star

Comments (0)

Feed Details and Statistics Feed Statistics
Preview: Personal Site Starter Kit

All Forums



All Forums



Last Build Date: Mon, 19 Feb 2018 16:56:43 -0800

 



Update Total From GridView

2018-02-19T19:44:14.1-08:00

I have a GridView with a textbox on each row and I want to total up the value in a textbox with class="bonus" and place that total into a textbox with a class="bonustot".  The GridView is inside a div (panel) and the panel becomes visible when a user clicks a LinkButton.  I want the total to be set when the panel becomes visible and change when user enters a new amount or changes an existing amount.  Would like done in either javascript or jquery.  The panel/div and GridView is shown below.

Total Bonus:

Bonus



JavaScript runtime error: '$' is undefined

2018-02-19T16:32:46.767-08:00

Hello friends,

I implemented a please wait functionality in one of my web forms. It is working fine right now. I noticed that when I put async in my script that gets data from google api I get the error message "0x800a1391 - JavaScript runtime error: '$' is undefined" but when I remove Async it works fine.

    
    





.
.
.



Loading... please wait ...



(image)



and the css styles are:

.modal {
    position: fixed;
    top: 0;
    left: 0;
    background-color: black;
    z-index: 99;
    opacity: 0.8;
    filter: alpha(opacity=80);
    -moz-opacity: 0.8;
    min-height: 100%;
    width: 100%;
}

.loading {
    font-family: Arial;
    font-size: 10pt;
    border: 5px solid #67CFF5;
    width: 200px;
    height: 240px;
    display: none;
    position: fixed;
    background-color: White;
    z-index: 999;
}

How do I fix thais, I really need to use async because I need to improve performance here and there and wherever I can.




How To write Razor Code in Angular 4 HTML tempalte ?

2018-02-19T20:38:43.96-08:00

Hi

Please i have an project worked using grandnode.com - and i use resources as :

@T("Admin.Home.ActiveUsers")

so now i need to use this part of code inside angular ht,l template - so please any help ?




ASPX Deployment Issue - PublicKey Token could not be located

2018-02-15T19:31:54.35-08:00

I have searched blogs, forums, and internet for a solution. Recommendations abound, including using NuGet to change my environment, change my project to "Application", copy the codedom to the GAC, bin directory missing. After all these years of this error plaguing IIS, there should be a solution that doesn't run me around the world trying hundreds of things. Does anyone know what it is?

Please help, I have been stuck two days on this.

I am building my first web app using the community 2017 verision if VS. I am deploying to Windows 10 IIS Express. The app runs in the VS, fails in IIS localhost.

I believe my environments should be compatible, please see below.

Parser Error Message: The CodeDom provider type "Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.7.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" could not be located.

Line 49:
Line 50:
Line 51:
Line 52:
Line 53:

Microsoft.CodeDom.Providers.DotNetCompilerPlatform.dll in folder C:\inetpub\wwwroot\TicketManager\bin

File version: 1.0.40810.0

product version: 1.0.7-40810




Retrive the TD innertext value

2018-02-19T22:55:27.997-08:00

hi,
 
I have the below HTMl and i need to get the Available QTY value 10.000 as a result . Needs to do a xpath in c# for geting the result.
I have tried the below xpath but i couldnt get the result.  Any help is appreciated. using HtmlAgilitypack; HtmlNode node = doc.DocumentNode.SelectSingleNode("//td[b[. = 'Available Qty :']]/following-sibling::td");
                                                                                                                                     
            Product Availability             
            (image)              Quantities reflect forecasted production within time periods displayed       
            (image)              For any questions or concerns regarding your product availability please contact your Customer Service Representative at 800-536-6112                     
                     
            Customer ID     :                0010015272            Customer Name     :            AIR COND. UTILITIES.    
       Item Number     :            ND120C00C6AAA3            Item Description     :            10T_EVAP_230/460-3-60_R410A_    
            Dimensions     :                     [...]



how to make login session last for 1 year using membership provider?

2018-02-19T10:09:38.043-08:00

Hi,

I have a login form codes are below

 protected void btn_login_Click(object sender, EventArgs e)
    {

        if (Membership.ValidateUser(TextBox_user_name.Text.ToString(), TextBox_password.Text.ToString()))
        {
            FormsAuthentication.RedirectFromLoginPage(TextBox_user_name.Text.ToString(), false);
            Session.Timeout = 60;
            Response.Redirect("users/Details.aspx");
        }
        else
        {
            lb1.Text = "username or password is incorrect";
        }
    }

and Webconfig :

	

		
		
		
	

Problem is that my login session last for 20 mints i guess or so after hour it again ask me for login so how to have session that last for like 1 month or year?

Please help in this thanks.




Multiple worker processes question

2018-02-19T21:33:59.103-08:00

Hello friends,

I have an asp.net web application with several pages. In the load event for each page I check for a specific session ID in all of the pages and if it is null the redirect to the login page. 

The problem started when I increased the worker process from 1 to 2 or 3 hoping to increase performance.  I get this random behavior. I run 3 or 4 different browsers and login to the web application using different IDs and every now and then I get redirected to the login page because the session is null. This happens only when I increased worker processes to above 1. Any ideas why it is doing that?

The problem with leaving worker process to 1 is that it takes a while if I run multiple browsers at once for testing purposes. I noticed that one has to finish before the next one will finish. I thought that is because I have one worker process. 

Any ideas thoughts or suggestions is greatly appreciated.

Thank you. 




SQL Server Triggers

2018-02-19T20:45:17.97-08:00

Hello,

I have triggers set up on a particular table (for Updates and Deletes).  I need to do a series of Updates, Deletes on this table.

I understand the trigger has some functions it needs to complete, along with updating another table that we have setup.

If I am running multiple transactions against the table, should I use a waitfor delay of maybe 15 seconds between each update, delete sql transaction or can I be relatively sure each transaction will run successfully without a delay between steps?

Thanks




I Have A label that is reading the last ID i have but the problem is i need help in this problem where everytime i open the main page it is suppose to show me the Next ID entry and not the Last ID entered

2018-02-18T11:31:52.053-08:00

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="test.WebForm1" %>