Vote count: 0 tag within tag doesn't work. Why ASP.NET doesn't support tag within tag? What is the solution? It show's green line under tag. asked 42 secs agoHeli Pareshkumar Shah Let's block ads! بخوانید...
ادامه مطلبVote count: 0 I have implemented a url rewriting with reverse proxy main page of target website is opening but when i click on any link or button on target website it give me 404 error. asked 1 min agoQadeer Hussain Let's block ads! بخوانید...
ادامه مطلبVote count: 0 This below code works perfectly in vb 2005 but can't work in .net 1.1. Private Function GetActiveDirUserDetails(ByVal useame As String) As String Dim dirEntry As System.DirectoryServices.DirectoryEntry Dim dirSearcher As System.DirectoryServices.DirectorySearcher Try dirEntry = New System.DirectoryServices.DirectoryEntry("LDAP://123.45.67.89:101/DC=mydomain,DC=com") dirSearcher = New System.DirectoryServices.DirectorySearcher(dirEntry) dirSearcher.Filter = "(samAccountName=" & useame & ")" Dim sr As DirectoryServices.SearchResult = dirSearcher.FindOne() If sr Is Nothing Then Retu False End If Dim de As System.DirectoryServices.DirectoryEntry = sr.GetDirectoryEntry() 'Dim firstn...
ادامه مطلبVote count: 0 I created a class that extends JPanel called GamePane which on creation it sets the layout to a GridLayout and then adds buttons one at a time: public class GamePane extends JPanel { private JButton[][] buttons; private final int sizeX, sizeY; private Partida partida; public GamePane(int sizeX, int sizeY, Partida p) { super(); this.sizeX = sizeX; this.sizeY = sizeY; this.partida = p; this.setLayout(new GridLayout(sizeX + 1, sizeY + 1)); buttons = new JButton[sizeX + 1][sizeY + 1]; for (int y = 0; y < sizeY + 1; y++) { for (int x = 0; x < sizeX + 1; x++) { JButton button = new JButton(); button.addActionListener(new ListenerGameButton(x, y, this)); this.add(button); button.setBa...
ادامه مطلبVote count: 0 So I was trying to convert pixel to spatial coordinates when i found the package image_geometry. So i decided i would try to use it, i initialized it, and called the desired function, taken fro the API. Here's what i did import image_geometry from image_geometry import PinholeCameraModel self.img_geo = PinholeCameraModel() (r_x,r_y,r_z) = self.img_geo.projectPixelTo3dRay((359,285)) print(r_x) Obviously the self.img_geo is in my init function and then later on i use the projection function, and then get that error. Any ideas whats wrong? asked 24 secs agolaurent Let's block ads! بخوانید...
ادامه مطلبVote count: 0 I would like to make line chart in my project. i was already make pie chart using datavisulazation dll but now want to make line chart with dynamic data so how can i make it? asked 1 min agoUrvish Patel Let's block ads! بخوانید...
ادامه مطلبVote count: -1 We are developing eCommerce website from scratch just like amazon.com, ebay.com, flipkart.com. We need very fast searching so we chosen Mongodb as a backend. Now we want to know which is the best architecture to follow? I have read about N-tire architecture and Onion architecture, but very confused here to find which is best for us. asked 59 secs agoRKS Let's block ads! بخوانید...
ادامه مطلبVote count: 0 I am developing an app in .net framework using c# which integrate Facebook. I have following requirements for my app User can login to Facebook account User can view Friends list, Messages & Notifications. I successfully completed my 1 requirement. There is problem with 2 requirement which I shown below-- public void Show_Friends() { try { fbclient = new FacebookClient("https://graph.facebook.com/endpoint?key=value&access_token=MyappId|MyAppSecret"); dynamic friendslist = fbclient.Get("/me?fields=friendlists");//Here exception occours int numberOfFriends = (int)friendslist.data.Count; for(int i = 0; i < numberOfFriends; i++) { friendsListBox.Items.Add(friendslist.data[i].na...
ادامه مطلبVote count: 0 The wiki example shows an example of sending mail on port 25, but Google SMTP Server requires tls over port 465. Can someone show an example using tls? asked 30 secs agouser5800226 Let's block ads! بخوانید...
ادامه مطلبVote count: 0 I'm developing an Express-driven site, that is going through an nginx proxy. Sometimes when loading a page in the browser, I get this: GET http://myapp.local/css/bootstrap.css net::ERR_CONTENT_LENGTH_MISMATCH If I refresh the page, it usually goes away. But if refresh over and over and over, it will come up again. What is the problem here? What can I do to narrow down the issue here? Here is my nginx conf for this server: server { listen 80; server_name www.myapp.local; rewrite ^(.*) http://myapp.local$1 permanent; } server { listen 80; server_name myapp.local; access_log /vagrant/nginx/logs/myapp.local/access.log; error_log /vagrant/nginx/logs/myapp.local/error.log; location /...
ادامه مطلبVote count: 0 This piece of code works fine in Firefox, Chrome and Edge, but it does not work properly in IE11 because of flex model, apparently. How can I fix it? This is how it looks in Firefox This is how it looks in IE11 body * { box-sizing: border-box; } html { height: 100%; } body { min-height: 100%; display: flex; flex-flow: column; margin: 0; } main { flex: 1; display: flex; } header, footer { background: #7092BF; border: solid; width: 100%; } section { border: solid; background: #9AD9EA; flex: 1 } aside { border: solid; width: 150px; background: #3E48CC } main header aside aside content content content content footer footer asked 2 mins agoJ. Doe Let's block ads! بخوانید...
ادامه مطلبVote count: 0 I'm trying to call multiple modal popups from a same webform, but I don't want to write them all in the same aspx file, so that's why I thought about using a masterpage. This is part of the code so far: Empresas Obras Haberes Descuentos And this is one of the modal popups: × Login Email address Password...
ادامه مطلبVote count: 0 I was reading this very interesting book on Entity framework which is an ORM offering from Microsoft when I started to back-track all the offerings from Microsoft to coect to database through its proprietary ADO.Net data provider technology. Way back a decade ago, I had used Microsoft application blocks by directly referencing the respective dll files in my project but since then so many things have come up. So I started investigating as to which option to exercise whenever I start a new project from scratch and how these offerings really stack against each other or they are simply a gradual enhancement of the very same technology ADO.Net with EF being the latest : Manually usi...
ادامه مطلبVote count: 0 I wanted User to write a generic post with image and location and then when he clicks on share post, he should be redirected to login screen. After he logs in, he should be directed on to the post/details/id page directly. Plz help. asked 1 min agoShalin Jirawla Let's block ads! بخوانید...
ادامه مطلبVote count: 0 So, I'm studying Web Services in ASP.NET and I have a doubt. I have two methods: Add (that does the sum of two numbers) and GetCalculations(that displays the latest calculations, through EnabledSession property. When I open my .asmx on browser, it shows the sum and the latest calculations in a xml file, but, when I open my Web Form on browser, I can do the sum,but the calculations are not displayed.Can anyone help me, please? These are my codes: WebForm1.aspx.cs using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace CalculatorWebApplication { public partial class WebForm1 : System.Web....
ادامه مطلبVote count: 0 var sum = 0; $(".cart-count").data('count', 0); $(document).ready(function () { $(".add_to_cart_button").click(function () { var id = $(this).data("id"); $('#' + id).prop("disabled", "disable"); var vender = $(this).data("vender"); var price = $(this).data("price"); var service = $(this).data("service"); sum = sum + parseInt(price); var div = $('', { id: 'kart_' + id, class: 'kartcontainer', text: service + " : " + price, }); var buttun = $('', { type: 'button', 'data-price': +price, 'data-vend': vender, 'data-ser': service, class: 'removeFromKart', value: 'X', on: { click: function () { sum = sum - parseInt(price); $('#' + id).removeAttr("disabled"); $(this).closest("div").rem...
ادامه مطلبVote count: 0 I'm using .net 1.1 and I can't upgrade. Is there some alteative (in .net 1.1) to coect a client to a mainframe 3270 using SSL? just with .net 1.1 libraries or cs files without installing anything? I tried the open3270 library and I can coect without SSL. But when SSL is required, the coection is lost. code from open3270 library that does not work... if (this.Config.UseSSL) { NetworkStream mNetworkStream = new NetworkStream(socketBase, false); SslStream ssl = new SslStream(mNetworkStream, false, new RemoteCertificateValidationCallback(cryptocallback)); ssl.AuthenticateAsClient(this.address); this.socketStream = ssl; } ... asked 1 min agoluckasx Let's block ads! بخوانید...
ادامه مطلبVote count: 0 I think this extension is causing a problem in my Visual Studio 2015 Update 2 but I can't uninstall it. Under Extensions, it's listed but Remove/Disable buttons are grayed out. I can't find it under Remove Programs/Features either. How in the world can I uninstall this extension? asked 1 min agoSam Let's block ads! بخوانید...
ادامه مطلبVote count: 0 I have below column def, and I am using this to change the color of the row. But for some reason on inteet explorer the comments column does not gets colored. It stays white background, however it changes when i scroll to left and right. Any suggestions to fix it? [ { "name" : "dqId", "displayName" : "DQ Issue ID", "width" : "10%", "visible" : true, "cellTemplate": " {{row.entity.dqId}} " },{ "name" : "SeqNO", "displayName" : "Seq NO", "width" : "5%", "visible" : false, "cellTemplate": " {{row.entity.SeqNO}} " },{ "name" : "issueTypeNames", "displayName" : "DQ Issue Types", "width" : "30%", "visible" : true, "cellTemplate": " {{row.entity.issueTypeNames}} " },{ "name" : "commen...
ادامه مطلبVote count: 0 i have attribute for filter route. when i submit a form i want redirect to another controller with a filter attribute. my filter attribute name is spam attribute . now i have a code for change route public override void OnActionExecuting(ActionExecutingContext filterContext) { filterContext.Result = new RedirectToRouteResult(new System.Web.Routing.RouteValueDictionary(new { controller = "Error", action = "Index", ErrorCode = System.Net.HttpStatusCode.BadRequest, Handler = "Controller" })); base.OnActionExecuting(filterContext); } Now when i submit a form my filter is correct fine and i can redirect to Error controller but my page not change or not execute error page for me . An...
ادامه مطلب