We have updated the label by using the following code.
control.Invoke(new Action(() => control.Text = "new text"));
control.Invoke(new Action(() => control.Text = "new text"));
<widget id="tld.domain.app" version="1.0"
<widget id="tld.domain.app" version="1.0.0"
HttpWebRequest myReq =
(HttpWebRequest)WebRequest.Create("http://www.contoso.com/");
string brandEndPoint = base_url+"?email=" + username + "&password=" + password; HttpWebRequest request = WebRequest.Create(brandEndPoint) as HttpWebRequest; request.Method = "GET"; request.ContentType = "application/text"; request.ContentLength = 0; request.Expect = "application/xml"; HttpWebResponse response = request.GetResponse() as HttpWebResponse; if (response.StatusCode.ToString().ToLower() == "ok") { //do some thing }
<script>
$(window).scroll(function () {
if ($(document).height() <= $(window).scrollTop() + $(window).height()) {
alert("End Of The Page");
}
});</script>
<script type="text/javascript"> var sIndex = 11, offSet = 10, isPreviousEventComplete = true, isDataAvailable = true; $(window).scroll(function () { if ($(document).height() - 50 <= $(window).scrollTop() + $(window).height()) { if (isPreviousEventComplete && isDataAvailable) { isPreviousEventComplete = false; $(".LoaderImage").css("display", "block"); $.ajax({ type: "GET", url: 'getMorePosts.ashx?startIndex=' + sIndex + '&offset=' + offSet + '', success: function (result) { $(".divContent").append(result); sIndex = sIndex + offSet; isPreviousEventComplete = true; if (result == '') //When data is not available isDataAvailable = false; $(".LoaderImage").css("display", "none"); }, error: function (error) { alert(error); } }); } } }); </script>
scp -i PlayGame_staging.pem PlayGame.tar.gz root@ec2-13-31-184-224.compute-1.amazonaws.com:/root
ssh -i PlayGame_staging.pem root@13.31.184.224
tar xvfz PlayGame.tar.gz
mysqldump -u root -p PlayGame --routines > PlayGame.sql
scp -i PlayGame_solr.pem PlayGame.tar.gz root@ec2-13-31-162-57.compute-1.amazonaws.com:/root
ssh -i PlayGame_solr.pem root@13.31.162.57
tar xvfz PlayGame.tar.gz
scp -i zid.pem PlayGame.tar.gz root@ec2-34-107-155-182.compute-1.amazonaws.com:/root
ssh -i zid.pem root@34.107.155.182
tar xvfz PlayGame.tar.gz
find . -name ".git" find . -name ".git" | xargs rm -rf
scp -i PlayGame_database.pem PlayGame-13.sql.tar.gz root@ec2-23-21-174-12.compute-1.amazonaws.com:/root
ssh -i PlayGame_database.pem root@23.21.174.12
tar xvfz PlayGame.sql.tar.gz
mysql -u root -p PlayGamelive < PlayGame-13.sql