Posts

c# - Can';t work using html textbox to login -

Image
because using html buttons , textbox login, must code behind in javascript in source code in order code behind. whether login using correct username , password admin , 123 , click login button, or type in nothing , click login button, redirects me resultdetails.aspx. means login fail. login pass if redirect me search.aspx. what's wrong? if change .value .text, still same effect my source code <%@ page language="c#" autoeventwireup="true" codefile="login.aspx.cs" inherits="login" %> <!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> <style type="text/css"> </style> <link rel="stylesheet" type="text/css" href="stylesheets/loginstyle.css"...

R `parallel` package does not exist on CRAN? -

i tried google "r package parallel" have not found on cran. tried following links, not work: http://cran.r-project.org/web/packages/parallel/index.html http://cran.r-project.org/web/packages/parallel http://cran.r-project.org/package=parallel it absent in list of available.packages() . but apparently package parallel does exist! :-) have in list of packages , has own tag here :-) is because inside r-core since 2.14.0 ? http://stat.ethz.ch/r-manual/r-devel/library/parallel/doc/parallel.pdf

osx - OS X application is keep being killed after OS migration -

one of users of os x application has migrated mac new mbp , application, sandboxed, signed w/ developer-id certificate, , ad-hoc distributed, keep being killed. @ console, found following logs. xpcd[352]: restored permissions (100600 -> 100700) on /users/myname/library/containers/com.company.appmac/container.plist com.apple.launchd.peruser.501[342]: (com.company.appmac.63040[1567]) exited: killed: 9 com.apple.launchd.peruser.501[342]: (com.company.appmac.63040[1598]) exited: killed: 9 com.apple.launchd.peruser.501[342]: (com.company.appmac.63040[1616]) exited: killed: 9 i have no clue caused kind of error. how can fix it? could code-signing issue. maybe related not signing nested bundles (see http://furbo.org/2013/10/17/code-signing-and-mavericks/ )

c# - Sort XmlNodeList with a specific Node value -

i searched web this, not able find related solution. i have following xml <table> <entity>employee</entity> <entityid>2786</entityid> <goal> <goalid>31931</goalid> <filterdata>lastmodifiedon¥2014-03-20t18:11:01.0000000+05:30Æactivetaskcount¥0</filterdata> </goal> <goal> <goalid>31932</goalid> <filterdata>lastmodifiedon¥2014-03-22t15:26:09.0000000+05:30Æactivetaskcount¥0</filterdata> </goal> <goal> <goalid>31932</goalid> <filterdata>lastmodifiedon¥2014-03-22t09:25:00.0000000+05:30Æactivetaskcount¥0</filterdata> </goal> </table> from above xml when read data got 2 separate datatables ; 1 employees , 1 related goals. what needed want sort goals related employee respect lastmodifiedon filterdata node. note: getting lastmodifiedon value split node value this ...

html - Remove horizontal scrolling in IE 8-10 using overflow-x:hidden -

on firefox, chrome , safari, following css sets width of document screen size, , clips outside of it. body, html { overflow-x:hidden; width:100%; } this allows create background elements larger width of documents , have them not change final size of document. unfortunately ie doesn't seem allow approach (i've tested ie 8-10), , though supports overflow-x , wont show scroll-bar, can still scroll horizontally highlighting content , dragging right. is there anyway work in ie? ie not support overflow element in css you have use max-height property element.

android - How to change the default EditText text size -

i trying change default edittext style, have done textview style following way: <style name="mytextviewstyle" parent="android:widget.textview"> <item name="android:textcolor">@color/pink</item> <item name="android:textsize">@dimen/textsize</item> </style> and using android:textviewstyle style <style name="appbasetheme" parent="theme.appcompat.light"> <item name="android:textviewstyle">@style/mytextviewstyle</item> </style> how can achieve same edittext ? you use code in project can required edittext style throughout project... <style name="myapptheme" parent="android:theme.light"> <item name="android:edittextstyle">@style/customedittextstyle</item> </style> <style name="customedittextstyle"> <item name="android:background">@drawable/ed...

apache - Java HttpClient Add Header and Credentials To Get Auth Cookie Back -

i've been trying week response server. requires username, password, , custom header authorization code. have far , have verified many times information log in server correct. when use information on google postman true response along cookie need when in java false , no cookie. i'm confused... i'm sending message correctly? httpclient httpclient = new defaulthttpclient(); httpclient.getparams().setparameter("username", user); httpclient.getparams().setparameter("password", pass); httppost httppost = new httppost(loginurl); httppost.addheader(authname, stageapi); httpresponse httpresponse = httpclient.execute(httppost);