Questions tagged as 'c#'

0
answers

Aspx dynamic page

I have a problem with a dynamic page that I am developing on ASP.net The structure is from a "blog": Each "post" is an HTML page with variables: [Title] [Date] [Description] and finally I have the Read more ... <articl...
asked by 08.02.2018 / 23:44
1
answer

EF Core Generic Repository error with GetById method

I have a generic repository for my crud in netcore, but I have a problem with one of the methods. The method is GetById public async Task<TEntity> GetById(int id) { return await _dbContext.Set<TEntity>()...
asked by 07.02.2018 / 14:31
0
answers

Error: Unable to load the file or assembly AjaxControlToolkit

I am using AJAXCONTROLTOOLKIT and at the moment of executing it I get the following error: I think it's because I uninstalled and reinstalled this add-on. I researched and I have not found anything to help me solve this problem.   ...
asked by 08.02.2018 / 21:02
1
answer

How do I check if an answer in json comes empty from a webservice .svc?

I do a post from a form and when the json returns with the objects of a sql table it gives me without problems .. but when there is no data in the table and returns empty the json returns it to me badly formed example I want to control it for th...
asked by 10.02.2018 / 08:18
0
answers

App cache does not work on internet explorer

Good morning I am developing a web app on asp net mvc, which has certain modules offline, I developed it using the api of html5 for offline mode. including an .appcache file like this: offline.appcache CACHE MANIFEST # 2014-09-15:v1.1 # Expli...
asked by 12.02.2018 / 15:33
0
answers

Xamarin -Error when restoring the package. Reverting package changes for App.Android '. 0

I'm trying to install a package for my project in Xamarin from NuGet , does anyone know what this error is that appears in my console?    Failed to restore the package. Reverting package changes for 'OwServiceX.Android'. 0     
asked by 12.02.2018 / 16:39
0
answers

Move mail with ImapX C #

I have problems with the ImapX and C # library. The point is that, through the MoveTo function, I should be able to move a message from one folder to another (in my case, I move an email to a subfolder). However, when entering the mail server, t...
asked by 05.02.2018 / 11:41
2
answers

Why does IE8 not recognize the JavaScript .Click event?

I'm making an application in which I need to send an asp button by means of JavaScript after uploading a file in a FileUpload, I use the document.getElementById('nameButton').click(); sentence in Chrome, Firefox works correctly but in IE8...
asked by 07.02.2018 / 16:07
0
answers

Filter gridview data with a textbox and activate directory

private void loadGrid() { DirectoryEntry direntry = new DirectoryEntry(); direntry.Path = "LDAP://"; DirectorySearcher dirSearcher = new DirectorySearcher(direntry); dirSearcher.PropertiesToLoad.Add("givenName...
asked by 05.02.2018 / 21:29
0
answers

Someone knows how to play with the margins of android studio

How I have a problem with devExpress I need to do a subreport, generate a tableadapter linked to a stored procedure that brings me information through a parameter "id", I do not know how to associate it with code the value of my id to my paramet...
asked by 05.02.2018 / 19:30