15,895,011 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by hemant malpote (Top 25 by date)
hemant malpote
29-Oct-14 6:28am
View
In this example they are reading file when there will be no lock . See the if condition 'if (lock != null)'
hemant malpote
29-Oct-14 6:20am
View
Torsten it is preferable to use channel lock.
Just need to come out of read lock.
hemant malpote
29-Oct-14 6:03am
View
I am trying with channel lock.
But the channel lock doesn't not allowing to read file as well.
I want only write lock not read .
hemant malpote
29-Oct-14 5:52am
View
For second user new instance of file object will be create. So it will not comes in use.
It should be file specific. Like specific file is locked or not.
hemant malpote
27-Oct-14 10:36am
View
Issue has been resolve with changing ms-viewport {width : devicewidth} to ms-viewport {width : auto} in bootstrap.
Thanks for your reply.
hemant malpote
27-Oct-14 5:02am
View
I did this, but it is not acceptable because the page will look different in IE 9 and IE 10
hemant malpote
27-Oct-14 3:48am
View
In IE 10 and IE 11 scroll bar occur in transparent so by default IE takes it on page content , In IE 8 and below version it is not transparent so it occur after page content. It don't have any CSS , its default behavior of page.
hemant malpote
20-Oct-14 3:33am
View
Thanks for your solution
hemant malpote
17-Oct-14 5:03am
View
it does not works.
this.GetAllEmployee = function (filterField) {
// Initiates the AJAX call
$http({ method: 'POST', url: '/Home/GetEmployeeList', data: $.param({ filterData: filterField }), headers: { 'Content-Type': 'application/x-www-form-urlencoded' } }).then(onSuccess, onError);
// Returns the promise - Contains result once request completes
return true;
};
this works with me.
hemant malpote
13-Oct-14 9:29am
View
$('.modal-form').on('focusout', function (e) {
});
i want to know here whether close button click will be called after this event. There are 2 case : 1 :If somebody type something in textbox and click some where, focus out will fire and validation work i.e fine. 2: If somebody type something in textbox and click on cancel directly focus out will called it will do validation if not validate it does not allow to trigger close button click event
So i want to do this in above method
hemant malpote
13-Oct-14 9:12am
View
This solution will work, but just one problem. When i click on cancel button , first focus out event fire and it checks the validation. If i stopped there like your solution it will stop validation even i click some where else. Is it possible on focus out event to check whether some other event is in queue
hemant malpote
13-Oct-14 8:52am
View
yes the validation is on modal . but now not possible to remove it.
hemant malpote
13-Oct-14 8:50am
View
sorry i am unable to post the code
hemant malpote
13-Oct-14 8:32am
View
validation is done by bootstrap automatically. i can't control it
hemant malpote
13-Oct-14 7:06am
View
validation i s on form. modal automatically call validator on focus out of textbox
hemant malpote
13-Oct-14 6:50am
View
Please check the updated question
hemant malpote
23-Sep-14 6:38am
View
I search a lot but i didn't find the solution.
hemant malpote
23-Sep-14 6:37am
View
now i makes it correct, please find it.
thanks in advance.
hemant malpote
22-Sep-14 2:25am
View
correction in code :: consider 'exceptionMessage' as "Test Message".
hemant malpote
18-Sep-14 8:48am
View
I think you should use switch case
hemant malpote
17-Sep-14 6:24am
View
If i use mvc's HandleErrorAttribute then the exception can be catch there.
But it does not comes in MyHandler method
hemant malpote
17-Sep-14 2:22am
View
How to handle that is next part.
Yes i put the break point as well. Actually i don't have global.asx . I am using web activator , So i don't know where to write
AppDomain currentDomain = AppDomain.CurrentDomain;
currentDomain.UnhandledException += new UnhandledExceptionEventHandler(MyHandler);
lines . I had try it in PreAppliacationStart but it doesn't work
hemant malpote
16-Sep-14 3:39am
View
AppDomain currentDomain = AppDomain.CurrentDomain;
currentDomain.UnhandledException += new UnhandledExceptionEventHandler(MyHandler);
public static void MyHandler(object sender, UnhandledExceptionEventArgs args)
{
Exception e = (Exception)args.ExceptionObject;
}
hemant malpote
16-Sep-14 1:41am
View
ok fine.. i had now change the way. I am handling it through HTTPModule. HttpModule has to be register before application initialization. And i want to do DI of ILogger in it. So it does not allow to do it.
About above comment : I can register UnhandledException , but when exception occur into application it does not go to handled method.
hemant malpote
15-Sep-14 1:53am
View
I am using AppDomain.CurrentDomain.UnhandledException but it doesn't works.
Show More