Questions tagged [partial]

Existing only in part; incomplete.

Existing only in part; incomplete.

1478 questions
-2
votes
1 answer

Load multiple partial views without ajax MVC ASP.net

I want to load multiple partials inside a specific div. The amount of partials is given through by the user. Example: whenever a user want to buy traintickets, he needs to specify how many passengers will go with him. When the number of passengers…
-2
votes
1 answer

python create a text file with name from partial variable

I have the following variable 12345678901234567890 and I want to create a text file named with the part 78901 from the middle of the variable 123456(78901)234567890 How I can do that ? Thanks
abualameer94
  • 91
  • 3
  • 13
-2
votes
2 answers

Rails can't find my partial. Missing partial error

I generated a new model called Comment. rails g model Comment user_id:integer content:text rake db:migrate Then I create a simple partial view, that I intend to call from another controller/view. Inside of a Product show view: .comments h3 |…
sergserg
  • 21,716
  • 41
  • 129
  • 182
-3
votes
1 answer

Update partial view in Layout

I'm working on ASP.NET MVC project with C#. Ok so I have a layout view where I put my partial view which contains just a div that displays notification messages. Now from some view I have a button that generate a report in 5 minutes in async manner.…
DataPy
  • 209
  • 2
  • 10
-3
votes
3 answers

Javascript Regex partial matching

I'm looking for a simple javascript regex that should match strings like AAAA(abcd,6) AAAA(WXYZ,2) but should not match strings like AAAA(abcd,6,9) I've come up withe the regex AAAA\(.*,\d\) but it matches all three of above. Any help is…
Dwithin D
  • 11
  • 2
-4
votes
2 answers

Excel determine if two cells match based on consecutive matching characters

How to do a partial string match between two cells where the partial string can be located anywhere in the cell. Example: Cell 1 may have AXG58934x0 and Cell 2 may have 05893400 Or Cell 1 may have 5893400A and Cell 2 may have X1000000589340000y The…
movy1313
  • 5
  • 4
-4
votes
3 answers

The concept of classes is ok if i have a single user application and i work alone at it and just i'll use it?

I make an app in c# with windows forms and all my code is behind the window code, so i have for now 2500+ lines of code and some of my collegues say to use classes to divide the code by functionalities but i don't find a purpose in that because…
-9
votes
1 answer

Partial class sharing same method names

If a partial class has the same method name but different types I will get an error right? public partial class Employee { public int sum() { } } public partial class Employee { public string sum() { } }
user1915462
  • 13
  • 2
  • 6
1 2 3
98
99