16,016,826 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 .NET 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 Christopher Fernandes (Top 107 by date)
Christopher Fernandes
25-Jun-24 5:56am
View
Data structure is same as the AppMenuItem class
Christopher Fernandes
21-Jun-24 7:00am
View
What I am unable to do is populate the parent & child items into List<appmenuitem> appMenuItemList using LINQ
Christopher Fernandes
6-Oct-23 11:18am
View
Yes about ACL too. It always throws an error when accessing a non authorised folder
Christopher Fernandes
4-Mar-23 13:10pm
View
I have not yet created the ViewModel for this WPF Page on which this control is placed. This app is in the UI design phase right now.
Christopher Fernandes
4-Mar-23 5:35am
View
This is the complete code for the checkbox what more do you need
Christopher Fernandes
10-Feb-23 16:27pm
View
Yes the DataContext is set and there are no errors
Christopher Fernandes
9-Jan-23 8:44am
View
Get Well Soon
Christopher Fernandes
9-Jan-23 8:42am
View
I would like to disclose that this WPF App is a .Net Framework App (v4.8), not a .NET Core App
Christopher Fernandes
8-Jan-23 13:03pm
View
It throws NullReference exception
Christopher Fernandes
7-Jan-23 14:23pm
View
This is the perfect solution.
Christopher Fernandes
7-Jan-23 12:57pm
View
By preview I mean display the contents of the file
Christopher Fernandes
7-Jan-23 12:09pm
View
I forgot mention this the content in the text file is html.
Christopher Fernandes
20-Nov-22 10:23am
View
I meant in my code, not in your code. The issue is now resolved.
Christopher Fernandes
20-Nov-22 9:46am
View
There was an error on the login form which did not allow the form to show and just quit.
Christopher Fernandes
20-Nov-22 9:22am
View
the frmLogin login first authenticates the credentials entered. Then if all is well it will create a session on the app server. After that the API code checks if the authentication session token exists for the current user.
There is no timer on the frmLogin form.
Christopher Fernandes
20-Nov-22 9:16am
View
I cannot show you the code to check if the user has signed as it is a custom method used in multiple apps.
Christopher Fernandes
20-Nov-22 9:14am
View
I want to know why the code below the objfrmLogin.ShowDialog(); executes before showing the form.
Christopher Fernandes
17-Apr-22 8:45am
View
I am making changes to a legacy ASP.Net WebForms app for the firm.
Christopher Fernandes
10-Mar-22 16:29pm
View
You were correct the month variable had the wrong value. Also now I have used jQuery append() method to create rows & columns of the dynamic calendar.
Christopher Fernandes
10-Mar-22 16:29pm
View
You were correct the month variable had the wrong value. Also now I have used jQuery append() method to create rows & columns of the dynamic calendar.
Christopher Fernandes
17-Nov-20 10:14am
View
I have added the designer code that is I have done nothing in the cs file of the form as yet
Christopher Fernandes
17-Nov-20 9:59am
View
What code do you need? I guess the designer code?
Christopher Fernandes
17-Nov-20 9:56am
View
That image is just an icon of the parent form. Can you tell me why the menu strip is expanding.
Christopher Fernandes
17-Nov-20 8:40am
View
It is fixed. I dont know how. Thanks so much
Christopher Fernandes
5-Nov-20 5:05am
View
I am doing everything as you have shown and yet it opens and closes quickly
Christopher Fernandes
5-Nov-20 1:45am
View
I have set the parent as IsMDIContainer true and yet it does the same thing
Christopher Fernandes
28-Feb-20 1:40am
View
SELECT
ED.RefEmpID AS [EmpID]
,ED.EmpFirstName
,ED.EmpMiddleName
,ED.EmpLastName
,EMG.RefEMGID AS [ManagerID]
,ELC.RefELCID AS [ELCID]
,ELC.CashedDate
,ELC.CashedCount
,ELC.RefCalendarPeriodID AS [APID]
,ELC.PeriodStartDate
,ELC.PeriodEndDate
,LTY.RefLeaveTypeID AS [LTYID]
,LTY.LeaveTypeName
FROM EmployeeLeaveCashed ELC
LEFT JOIN CalendarPeriod CP ON ELC.RefCalendarPeriod = CP.RefCalendarPeriod
LEFT JOIN LeaveType LTY ON ELC.RefLeaveTypeID = LTY.RefLeaveTypeID
LEFT JOIN Employee ED ON ELC.RefEmpID = ED.RefEmpID
LEFT JOIN EmployeeManager EMG ON ED.RefEmpID = EMG.RefEmpID
Christopher Fernandes
28-Feb-20 1:39am
View
Deleted
SELECT
ED.RefEmpID AS [EmpID]
,ED.EmpFirstName
,ED.EmpMiddleName
,ED.EmpLastName
,EMG.RefEMGID AS [ManagerID]
,ELC.RefELCID AS [ELCID]
,ELC.CashedDate
,ELC.CashedCount
,ELC.RefCalendarPeriodID AS [APID]
,ELC.PeriodStartDate
,ELC.PeriodEndDate
,LTY.RefLeaveTypeID AS [LTYID]
,LTY.LeaveTypeName
FROM EmployeeLeaveCashed
LEFT JOIN CalendarPeriod CP ON ELC.RefCalendarPeriod = CP.RefCalendarPeriod
LEFT JOIN LeaveType LTY ON ELC.RefLeaveTypeID = LTY.RefLeaveTypeID
LEFT JOIN Employee ED ON ELC.RefEmpID = ED.RefEmpID
LEFT JOIN EmployeeManager EMG ON ED.RefEmpID = EMG.RefEmpID
Christopher Fernandes
15-Mar-19 8:20am
View
it was working until a few days ago even with ipaddress suddenly started this issue yesterday.
Christopher Fernandes
15-Mar-19 8:19am
View
i have followed this article https://www.mikesdotnetting.com/article/216/windows-authentication-with-asp-net-web-pages
Christopher Fernandes
15-Mar-19 8:10am
View
I think the issue is that the server on which the app is hosted cannot access the Active Directory server. Hence cannot validate user credentials.
Christopher Fernandes
15-Mar-19 8:09am
View
<authentication mode="Windows">
Christopher Fernandes
15-Mar-19 7:59am
View
http://ipaddress:portnumber/subfolder/home.aspx
Christopher Fernandes
17-Dec-18 8:42am
View
It is a temp string variable to check what value is fetched from the database.
Christopher Fernandes
17-Dec-18 1:56am
View
The code is not working because the datarow type in the datatable is decimal. It work for text values only see the question and the commented part.
Christopher Fernandes
17-Dec-18 1:53am
View
the above code does not work
Christopher Fernandes
17-Dec-18 1:29am
View
I am trying this code now
string value = dataTable.Rows[0]["Value5"].ToString();
if (ddlSL5.Items.FindByValue(value) != null) { ddlSL5.Items.FindByValue(value).Selected = true; }
Even this is not working. Is this because the list items are hard coded and not databound to the dropdownlist.
Christopher Fernandes
17-Dec-18 1:26am
View
Deleted
the above code does not work
Christopher Fernandes
17-Dec-18 0:32am
View
All listitems in all dropdownlist are added at design time. There is no data binding & index change event that I am using in this form. Only trying to select values in all dropdownlist with what is fetched from the database table at page load & update button click event.
Christopher Fernandes
20-Nov-18 12:48pm
View
I scanned each line of code still the cookies set on login and expire on Master page when i check them in the Page_Init method
Christopher Fernandes
20-Nov-18 12:45pm
View
Which Windows server version would be best to host ASP.NET Webforms & ASP.NET MVC Apps Also Sql Server Enterprise Edition?
Christopher Fernandes
6-Nov-18 9:57am
View
ok
Christopher Fernandes
6-Nov-18 8:42am
View
I am not passing the login credentials in the query string but the auth key in an encrypted format.
Christopher Fernandes
22-Aug-18 13:48pm
View
I have added the table data please tell me how to get rid of duplicate table rows
Christopher Fernandes
22-Aug-18 12:30pm
View
Okay I'll rewrite the question
Christopher Fernandes
22-Aug-18 4:46am
View
the other tables are just master tables
Christopher Fernandes
29-Jun-18 11:10am
View
Yes thats what I am planning to do now since it is so much affecting the perfomance
Christopher Fernandes
29-Jun-18 10:16am
View
How about if I strip out the prefix IE and split the numbers & then compare the number by creating a custom function
Christopher Fernandes
28-Jun-18 23:24pm
View
I know BigInt is 2^63. But by my estimates, The app will be generating 250,000 ID every day.
As you can see there are 3 parts to the ID value a)ID b) bigint middle number c) bigint outer number
So whenever outer number reaches the upper limit of bigint I want it to increment the middle number by one and set outer number to one again.
Christopher Fernandes
22-Jun-18 3:46am
View
So it is used to indicate that the event was created in a specific timezone before converting to UTC
Christopher Fernandes
20-Jun-18 6:48am
View
what is there inside the repeater?
Christopher Fernandes
20-Jun-18 6:31am
View
Thanks a lot sir
Christopher Fernandes
5-Apr-18 6:10am
View
The item will re-appear because you must be not updating the db
Christopher Fernandes
27-Feb-18 15:50pm
View
Thanks F-ES Sitecore
Christopher Fernandes
7-Nov-17 7:39am
View
Dear Richard sir,
I have implemented the first & second option and both the apps are in seperate folder path. Both the apps now work fine. But i am curious to learn about the 3rd option. How to do that?
Christopher Fernandes
4-Apr-17 8:41am
View
Thanks again buddy been scrapping my head at since 5 days. :)
Christopher Fernandes
4-Apr-17 8:24am
View
this worked thanks man
Christopher Fernandes
4-Apr-17 8:22am
View
That's what the regex pattern is getting treated as a string hence not matching to value.
Christopher Fernandes
4-Apr-17 7:27am
View
I did not escape the characters the escape character are coming auto. it is this escape characters that are creating problems for me here in this regex.
Christopher Fernandes
4-Apr-17 7:15am
View
Deleted
I did not escape the characters the escape character are coming auto. it is this escape characters that are creating problems for me here in this regex.
Christopher Fernandes
4-Apr-17 6:02am
View
I implemeted your code this is what the re look like when the code executes /\/^[a-z0-9\_\-\.]+[\@]{1}[a-z0-9]+[\.]{1}[a-z]{2,}\//i
it does not work i mean even if i enter a valid email.
Christopher Fernandes
28-Feb-17 0:50am
View
that otherfunction() is doing something else. The dialog closes when the user clicks on close button of the dialog or one of the buttons on it.
Christopher Fernandes
27-Feb-17 12:21pm
View
No! what i want is until the dialog is not closed the next line of javascript code in the same code block should not execute.
Christopher Fernandes
18-Feb-17 13:24pm
View
even that throws an error
Christopher Fernandes
18-Feb-17 13:24pm
View
it breaks at \s in the regex value. it cant escape the \s
Christopher Fernandes
19-Jan-17 10:20am
View
I experimented with 200 items. It does not show at all
Christopher Fernandes
18-Jan-17 10:33am
View
The issue is that between overlay show and hide the function that gets called has a execution time of 0.015 milliseconds.
So the show and hide overlay toggle happens very fast.
Christopher Fernandes
18-Jan-17 8:07am
View
Asp.net Web Forms & C#
Christopher Fernandes
18-Jan-17 8:07am
View
Deleted
Asp.net Web Forms & C#
Christopher Fernandes
5-Sep-16 1:35am
View
How do i then prompt the user to save or open the file?
Christopher Fernandes
2-Sep-16 10:06am
View
Thanks Nathan
Christopher Fernandes
3-Mar-16 23:37pm
View
Also if you dont mind just tell me why is the file not downloading.
Christopher Fernandes
3-Mar-16 23:36pm
View
How to do either of that?
Christopher Fernandes
3-Mar-16 9:41am
View
Now the PDF generated does not get downloaded
Christopher Fernandes
3-Mar-16 7:18am
View
Thanks, I had missed the param changes
Christopher Fernandes
3-Mar-16 6:57am
View
{"Message":"Invalid object passed in, \u0027:\u0027 or \u0027}\u0027 expected. (1409): {\"filename : Test,HtmlContent : \u003cdiv style=\\\"color:#ffffff; text-align:center; background-color:#4F9EC9; width:100%;\\\"\u003eTest\u003c/div\u003e\u003cbr/\u003e\u003cbr/\u003e\u003cdiv\u003e\u003cp\u003eChristopher\u003c/p\u003e\\n\\n\u003cp\u003e\u0026nbsp;\u003c/p\u003e\\n\\n\u003cp\u003eChristopher\u003c/p\u003e\\n\\n\u003cp\u003e\u003cimg alt=\\\"\\\" src=\\\"../cklibrary/images/mud-sling.png\\\" style=\\\"height:261px; width:650px\\\"\u003e\u003c/p\u003e\\n\\n\u003cp\u003eTest\u003c/p\u003e\\n\\n\u003cp\u003e\u0026nbsp;\u003c/p\u003e\\n\\n\u003cp\u003echristopher\u003c/p\u003e\\n\\n\u003ctable border=\\\"1\\\" cellpadding=\\\"1\\\" cellspacing=\\\"1\\\" style=\\\"width:200px\\\"\u003e\\n\\t\u003ctbody\u003e\\n\\t\\t\u003ctr\u003e\\n\\t\\t\\t\u003ctd\u003eFirst Name\u003c/td\u003e\\n\\t\\t\\t\u003ctd\u003eLast Name\u003c/td\u003e\\n\\t\\t\u003c/tr\u003e\\n\\t\\t\u003ctr\u003e\\n\\t\\t\\t\u003ctd\u003eChristopher\u003c/td\u003e\\n\\t\\t\\t\u003ctd\u003eFernandes\u003c/td\u003e\\n\\t\\t\u003c/tr\u003e\\n\\t\\t\u003ctr\u003e\\n\\t\\t\\t\u003ctd\u003eCalvin\u003c/td\u003e\\n\\t\\t\\t\u003ctd\u003eFernandes\u003c/td\u003e\\n\\t\\t\u003c/tr\u003e\\n\\t\u003c/tbody\u003e\\n\u003c/table\u003e\\n\\n\u003cp\u003e\u0026nbsp;\u003c/p\u003e\\n\u003c/div\u003e\u003cbr/\u003e\u003cbr/\u003e\u003cdiv\u003e\\n \u003cdiv class=\\\"articledownload bg-color\\\"\u003e\\n \u003ca id=\\\"articlelink\\\" class=\\\"articledownloadlink\\\" target=\\\"_blank\\\" download=\\\"\\\"\u003edownload\u003c/a\u003e\\n \u003c/div\u003e\\n \u003ch3\u003e\u003cu\u003eArticle Details : \u003c/u\u003e\u003c/h3\u003e\\n \u003ch3\u003eAuthors\u003c/h3\u003e\\n \u003cdiv id=\\\"articleAuthor\\\" style=\\\"min-height: 10px;\\\"\u003eChristopher Fernandes, Claire Cylkowski\u003c/div\u003e\\n \u003ch3\u003eCategory\u003c/h3\u003e\\n \u003cdiv id=\\\"articleCategory\\\" style=\\\"min-height: 10px;\\\"\u003edefault-category\u003c/div\u003e\\n \u003ch3\u003eTag\u003c/h3\u003e\\n \u003cdiv id=\\\"articleTag\\\" style=\\\"min-height: 10px;\\\"\u003edefault-tag\u003c/div\u003e\\n \u003c/div\u003e\u003cbr/\u003e\"}","StackTrace":" at System.Web.Script.Serialization.JavaScriptObjectDeserializer.DeserializeDictionary(Int32 depth)\r\n at System.Web.Script.Serialization.JavaScriptObjectDeserializer.DeserializeInternal(Int32 depth)\r\n at System.Web.Script.Serialization.JavaScriptObjectDeserializer.BasicDeserialize(String input, Int32 depthLimit, JavaScriptSerializer serializer)\r\n at System.Web.Script.Serialization.JavaScriptSerializer.Deserialize(JavaScriptSerializer serializer, String input, Type type, Int32 depthLimit)\r\n at System.Web.Script.Serialization.JavaScriptSerializer.Deserialize[T](String input)\r\n at System.Web.Script.Services.RestHandler.GetRawParamsFromPostRequest(HttpContext context, JavaScriptSerializer serializer)\r\n at System.Web.Script.Services.RestHandler.GetRawParams(WebServiceMethodData methodData, HttpContext context)\r\n at System.Web.Script.Services.RestHandler.ExecuteWebServiceCall(HttpContext context, WebServiceMethodData methodData)","ExceptionType":"System.ArgumentException"}
Christopher Fernandes
3-Mar-16 6:16am
View
I tried it doesn't work
Christopher Fernandes
22-Feb-16 6:39am
View
The first ajax call is to get the filepath and the second ajax call is to check if the file actually exists on the server and only then make it available to the user for download.
I dont want the users to see 404 error page
Christopher Fernandes
31-Jan-16 23:43pm
View
Yes, exactly. i cannot update the path string for the subfolders under the root folder which gets moved to a new location.
Christopher Fernandes
31-Jan-16 22:59pm
View
I am able to move the folders and sub folders to the new folder and maintain the correct folder structure in the new location. As i said i want to update the relative path in the database table which i guess i have to do by using recursion.
Christopher Fernandes
8-Dec-15 9:56am
View
I did understand what you said.
But I thought that would require me copy the same code on multiple pages as i have disable different html elements on each page depending on a certain cookie value.
Christopher Fernandes
8-Dec-15 9:51am
View
Looks great will try. Thanks a lot.
Christopher Fernandes
8-Dec-15 9:45am
View
I am new to jQuery so please be a little patient with me.
Christopher Fernandes
8-Dec-15 9:34am
View
jQuery is Awesome:)
Christopher Fernandes
8-Dec-15 9:34am
View
Are you talking about jQuery or suggesting some other library which can be used as an alternative
Christopher Fernandes
8-Dec-15 9:25am
View
the code works fine when I set async:false. but thats what i dont want as about 90+ thousand users currently hit the webapp.
Christopher Fernandes
24-Nov-15 0:13am
View
Hey it worked as per your instructions. But had to call window.parent.ParentFunction(boolval,stringval) from the iframe.
Christopher Fernandes
23-Nov-15 14:55pm
View
Same error even on moving the ParentFunction outside dom.ready() and inside dom.ready()
Christopher Fernandes
23-Nov-15 14:20pm
View
does parent.ParentFunction(); work or is there another way?
Christopher Fernandes
23-Nov-15 14:19pm
View
will this work for js functions with parameters?
Christopher Fernandes
23-Sep-15 2:31am
View
I added CKFinder to CkEditor and it works fine
Christopher Fernandes
16-Aug-15 4:48am
View
They are added to IIS as websites.
Users upload/delete documents & pictures of all types in each of these apps.
Christopher Fernandes
5-Aug-15 1:00am
View
Thanks for the suggestion.
Christopher Fernandes
27-Jun-15 1:14am
View
Yes
Christopher Fernandes
15-May-15 2:23am
View
How to solve this error?
The source was not found, but some or all event logs could not be searched. To create the source, you need permission to read all event logs to make sure that the new source name is unique. Inaccessible logs: Security.
Christopher Fernandes
6-May-15 9:13am
View
Thanks this was the issue I had no data where in the table at first entry and after entry the SP works fine
Christopher Fernandes
25-Apr-15 13:45pm
View
Thanks a ton!!!! using the profiler worked like magic. Solved my Issue.
Christopher Fernandes
25-Apr-15 12:33pm
View
I tried doing that but no luck. The method GetDataDSWithParameters in the DataStore.cs class file is used by many other page and works fine there but just not for this call.
Christopher Fernandes
25-Apr-15 10:35am
View
I have provided the code now. Please check it.
Christopher Fernandes
2-Mar-15 23:58pm
View
I am an curious learner trying to attain certain skills in the .Net Framework
It would be really good if anyone would at least throw a hint on how to get started with this.
Christopher Fernandes
2-Mar-15 20:46pm
View
when i target interop.excel v15.0 in development pc where office 2013 is installed the export work great but in the production environment the export fails and get error saying com exception occurred
Christopher Fernandes
13-Jan-15 5:43am
View
Now it gives an error of Exclusive lock not acquired.
Christopher Fernandes
12-Dec-14 15:12pm
View
Hey thanks it is working now.
Christopher Fernandes
11-Dec-14 15:21pm
View
Does not work for me. Need for Windows system,
Christopher Fernandes
24-Nov-14 0:31am
View
I need it for a Desktop based application and i want to export it to Excel 2013
Christopher Fernandes
20-Nov-14 8:48am
View
It is a query for which i do not have an answer so it is a question. Please provide an answer if you have one. Need it urgently.
Christopher Fernandes
14-Oct-14 9:18am
View
But I need this in Asp.net Web Forms.
Show More