19 Eylül 2019 Perşembe

The breakpoint will not currently be hit. The source code is different from the original version.

'The breakpoint will not currently be hit. The source code is different from the original version.'

This error mostly is appearing due to unclear reasons while working on the solution with multi-project on visual studio.

When you put a breakpoint for a line it doesn't work what you expect. It skips over the line you need to observe. It doesn't stop on the line and breakpoint's color(redpoint) turns to yellow. Then the tooltip which starts to appear when you mouse over the yellow dot breaking point.

Consequently, your breakpoints don't be hit when they are required to work. And they never will be hit.


In my solution, there are 3 projects called ArarGameLibrary, PuzzleMeWindowsProject, TestProject.Suddenly the error started to appear when I was working on PuzzleMeWindowsProject which uses ArarGameLibrary.dll.Writing code withoud debugging is a complete disaster.
I found some solutions on the web but they don't give a real solution us to keep going on.

I tried 3 ways. Firstly do 'Clean and Rebuild' PuzzleMeWindowsProject project. It won't work forever.

Secondly, in the top menu of Visual Studio,Uncheck Tools/Options/Debugging/General/
'Require source files to exactly match the original version'.It won't work forever.Actually a breakpoint will not work even where it should work.



As the third way, inside bin/debug files of the project remove files with pdb extension.Unfortunately it does'nt solve the problem too.

Anyway, you don't have to do one of them.

There is a configuration manager, where there is a debug drop-down list at the top of the visual studio



Inside the Configuration Manager you need to configure your debug build for your project.I select all my projects to build in my debug configuration as you see below.


As a result my projects will be build when I click to debug.Everybody is happy now? Thank you.


17 Eylül 2019 Salı

List View Edit Modes in XtraReports in DevExpress (InLineEditMode:Batch)






https://documentation.devexpress.com/eXpressAppFramework/113249/Concepts/UI-Construction/Views/List-View-Edit-Modes

The data source does not support server-side data paging


In DevExpress you have to set ASPxGridBase.DataSourceForceStandardPaging property true to use paging functionality of the grid. DataSourceForceStandardPaging property comes default with false value.



Note : Also you can check this link out if you couldnt solve the problem.

How can I make a glyphicon bigger in bootstrap 3 ?

This is a very simple step for someone who knows CSS. All you have to do is to add a style into page about your element which has glyphicon on it.

We will use the euro as a glyph icon and add style into the page as internal.

As you can see below :

<!DOCTYPE html>
<html lang="en">
<head>
  <title>Bootstrap Example</title>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css">
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
  <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js"></script>

<style>
span.glyphicon-euro{
    font-size: 1.9em;
}
</style>

</head>
<body>

<div class="container">

      <h2>Euro Glyph</h2>
      <p>Euro icon: <span class="glyphicon glyphicon-euro"></span></p> 

</div>

</body>
</html>


You can change the font size of the span element whose class name is glyphicon-euro to make bigger glyphicon in bootstrap. Test by increasing and decreasing values of font-size.

Note : There are about 260 glyphs available from http://glyphicons.com/  for those use Bootstrap 3 on their web site. You have already known that glyphicons are not supported by Bootstrap 4 and you need to use the alternative toolset deliverer such awesome font.