Questions tagged as 'asp.net'

1
answer

Questions to resize with ASP.Net application

I'm developing a web report (ASP.NET + BOOTSTRAP) and opening it on my mobile phone looks like this: Wouldyouliketoresizetheselinestotheendortakeoutthesidelines,wouldthatbepossible?Thecodelookslikethis:@modelPagedList.IPagedList<Relatorio...
asked by 13.08.2018 / 21:30
1
answer

Analyze URL image

How can I do to instead send a parse to the local it parse an image from a remote address or a url. For if I try to replace the address: C: \ Users \ madureira \ Downloads \ JRMJ.jpg by a URL the error message appears: 'The given path format is...
asked by 29.08.2018 / 04:35
1
answer

I have a method in ServerSide validateNIF and I want to call it through javascript (ClientSide) to validate an asp: textbox when it does leave

I tried to do it through the ontextchange event and call the backend function, but as this is to make a record, whenever it ran the event it wipes me the data from my other textboxs (it seems to refresh the page). Getting only the data from the...
asked by 28.08.2018 / 19:23
1
answer

As popular dropdwonlist with AM datetime value and another dropdwonlist with PM C # value

Question: How popular is a dropdownlist with value datetime AM and another dropdownlist with PM value in C #. private static void FillTimeDropDown(DropDownList dropDownList) { TimeSpan startTime = new T...
asked by 31.07.2018 / 16:50
1
answer

Server configuration asp [closed]

Good afternoon. I am venturing into a server asp, only that I am lost in your configuration. As dev php, I put an index.php on an asp server waiting for it to work, though it did not work. Looking for more, I realized that I should configure web...
asked by 23.07.2018 / 21:55
1
answer

Is it possible to have a 'Partialview' in WPF?

I wanted to know if it's possible to implement the concept of partialview in a WPF View. Something like a flap system, which changes the content of the grid but does not change the layout of the view. I just need to know how to make the contents...
asked by 18.07.2018 / 16:37
1
answer

Class receiving zero value

I am doing insert via post, but my class is getting zero values and the values of the inputs are passed via variable and are displayed correctly, but at the moment of action via post are coming with zero values. p> The most interesting...
asked by 30.07.2018 / 13:46
3
answers

Window Modal BootStrap does not display styles in components - Asp.net MVC

I have a problem that I can not solve for months! I'm using a package of bootStrap and JS styles, in which I referenced them in my _Layout. On all the pages that are rendered and inherit from the Main page, everything works without problems. Jus...
asked by 29.06.2018 / 13:23
2
answers

Call a method every time a Controller fires asp.net mvc

In my project I have a method that creates a menu in the Layout.cshtml layout page, for example, in my control HomeController.cs is this method, and in ActionResult Index() I call this method, only I have several other ActionRe...
asked by 27.05.2018 / 19:48
2
answers

Know when my list is coming with values in sequence

I have a List<int> :    [2,3,5,4,6] Although they are not in order, it is a sequence of numbers (2,3,4,5,6) How do I validate this?    NOTE: There will always be 5 positions and the numbers will be from 1 to 6     
asked by 26.05.2018 / 00:17