16,015,641 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 Nilendra Nath (Top 16 by date)
Nilendra Nath
10-Feb-15 6:35am
View
Deleted
Show me your css, or check yourself for class "TextArea", there must be something. You can check yourself by removing class and id one by one to get to know from where problem is there.
Nilendra Nath
5-Feb-15 7:37am
View
This is because you have the output control of type <p>, so when data is copied from text area to paragraph, it get displayed in single line.
you can do something like this:
/*------------------*/
str2 = "<textarea id='p_" + elem + counter + "' style='border:none' class='c'></textarea>";
/*------------------*/
otherwise more coding can be done in func1 and func2 to display data in <li>
if you have need and not able to do, let me know, I will help.
Nilendra Nath
5-Feb-15 3:06am
View
Floyd,
here are some changes you need to put on your code of creating dynamic controls, I am giving just 1 example:
/*----------------------------------------------------------------*/
if (elem == "heading") {
str = "<span id='s_" + elem + counter + "'> Heading </span><input type='text' ></input><input type='button' value='Delete' ></input>";
str2 = "
";
}
/*----------------------------------------------------------------*/
Also add 1 more method in js part:
/*----------------------------------------------------------------*/
function deleteControl(id)
{
var value = $("#" + id).val();
var id2 = id.split("_")[1];
//alert(id2);
$("#s_" + id2).css("display", "none");
$("#t_" + id2).css("display", "none");
$("#" + id).css("display", "none");
}
/*----------------------------------------------------------------*/
I hope you can update the CSS as per your choice. If any issue let me know.
Nilendra Nath
3-Feb-15 6:16am
View
ok, good. Then accept the answer as solution and Let me know for any modification needed.
Nilendra Nath
3-Feb-15 1:58am
View
Hi,
Actually in disconnected mode data adapter manages to connect and disconnect with db. So no need to manually close the connection any time.
You can have a look in following link:
http://dotnethearts.blogspot.in/2013/05/connected-and-disconnected-mode-in.html
Nilendra Nath
2-Feb-15 5:41am
View
here is a code:
If Microsoft.VisualBasic.Right(Application.StartupPath, 1) = "\" Then
sConnString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=Database2.accdb;Persist Security Info=False;"
Else
sConnString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=Database2.accdb;Persist Security Info=False;"
what is the difference between if and else part?
if application is not able to connect to db, so either you have not copied db file in correct path or application is getting right path of db.
Nilendra Nath
2-Feb-15 5:32am
View
Please provide a sample input/ inputs and output/ outputs so that we can understand what exactly problem is?
Nilendra Nath
2-Feb-15 2:50am
View
Hi, I have updated it on jsfiddle:
http://jsfiddle.net/nilendranath/089ook53/
please look and then tell me what exactly not functioning as per your requirement.
Nilendra Nath
30-Jan-15 5:29am
View
Hi Floyd,
Ans 1: to divide the screen in exact two halves, change the CSS of both div(update width style) as per your requirements.
Ans 2: Remove the border-style attribute from "printArea" on click of print button.
if not able to do, let me know, I will give code for it.
Nilendra Nath
29-Jan-15 6:10am
View
Deleted
A little change is needed to achieve it, putting the right code in answer section.
Nilendra Nath
22-Jan-15 2:34am
View
Whether you are not able to call the function or function is not performing the required functionality?
Nilendra Nath
21-Jan-15 7:54am
View
Its difficult to guess without details and code that is not working. Share your code, so that we can try to help.
Nilendra Nath
21-Jan-15 7:48am
View
Deleted
Simply you can make ajax call to controller and write jQuery on success of that method to show/ hide controls as per the results came from database.
There can me multiple scenarios, so first give the details what already you have coded or share your detailed requirements. So that we can help you better.
Nilendra Nath
21-Jan-15 4:24am
View
Can you please share your jquery part?
Nilendra Nath
21-Jan-15 4:10am
View
Please check all required files (juicyslider.js, juicyslider.css and basic jquery library file) for slider are loading correctly.
or send me the link of site where you are facing problem.
Nilendra Nath
21-Jan-15 3:19am
View
Can you please share the code which is calling web method?
Show More