9,869,444 members (31,522 online)
Visit CodeProject.TV
Discuss CodeProject.TV
Sign in
Email
Password
Forgot your password?
Sign in using
home
articles
Chapters and Sections
>
Search
Latest Articles
Latest Tips/Tricks
Top Articles
Beginner Articles
Technical Blogs
Posting/Update Guidelines
Article Help Forum
Article Competition
Submit an article or tip
Post your Blog
quick answers
Ask a Question
View Unanswered Questions
View All Questions...
C# questions
ASP.NET questions
VB.NET questions
C#4.0 questions
C++ questions
discussions
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work & Training Issues
Design and Architecture
ASP.NET
JavaScript
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
Adobe Technologies
C#
Free Tools
Objective-C
Ruby On Rails
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
.NET Framework
Mobile
VS 11 & .NET 4.5
Sharepoint
Silverlight / WPF
Visual Basic
Web Development
Site Bugs / Suggestions
features
Component & Service Catalog
Competitions
News
The Insider Newsletter
Newsletter archive
Surveys
Product Showcase
Research Library
CodeProject Stuff
community
The Insider News
The Lounge
The Weird & The Wonderful
The Soapbox
Press Releases
Who's Who
Most Valuable Professionals
Company Listings
Non-English Language
>
General Indian Topics
General Chinese Topics
help
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
Site Map
Advertise with us
Employment Opportunities
About Us
The default search term operator is
AND
.
You can use brackets,
AND
,
OR
, and
NOT
to improve your search. For example:
C# AND NOT(VB or SQL)
A query of a single
*
will return everything, filtered by any filters.
Filter examples:
Search by Author
author:"author name"
Filter by tag
tag:C#
or
tag:(C++ or Java)
Wildcard search
use "?" or "*" eg.
gr?d
or
gr*
166 Results
Search
Everything
Articles
Technical Blogs
Tips & Tricks
Questions
Answers
Forum Messages
News Items
Catalog Items
Videos
Training Courses
Just My Stuff
My Bookmarks
Sort by
Relevance
Rating Asc
Rating Desc
Title Asc
Title Desc
Author Asc
Author Desc
Date Created Asc
Date Created Desc
Date Modified Asc
Date Modified Desc
Price Asc
Price Desc
Duration Asc
Duration Desc
Match
All Fields
Title
Description
Author(s)
Tags
Any Date
Last 12 hours
Last 24 hours
Last week
Last 2 weeks
Last month
Last 3 months
Last 6 months
Last year
January
February
March
April
May
June
July
August
September
October
November
December
Rating Range
All - Including Unrated
1.0 - 5.0
2.0 - 5.0
3.0 - 5.0
4.0 - 5.0
4.5 - 5.0
4.8 - 5.0
5.0
Advanced Filters:
Article Topics
All Topics
Desktop Development
Web Development
Mobile Development
Cloud Computing
Enterprise Systems
Database
Multimedia
Languages
Platforms, Frameworks & Libraries
General Programming
Graphics / Design
Development Lifecycle
General Reading
Third Party Products
Mentor Resources
Article License
All Licenses
CPOL
CDDL
Ms-PL
MPL
CPL
Eclipse
MIT
BSD
Apache
CC (ASA 2.5)
Zlib
Public Domain
CC (Attr 3U)
CC (ASA 3U)
LGPL3
GPL3
Forums
All Forums
Feature Forums
General Programming
Web Development
Product Lifecycle
Database & SysAdmin
General Discussions
Non-English Language
Catalog Category
All Categories
Books & Training
Charting & Graphing
Components, Controls, Libraries
Data Manipulation & Mining
Database Tools
Debugging
Documentation & Help
Financial, Math & Scientific
Frameworks & APIs
General Development Tools
GIS & Maps
Graphics & 3D Modeling
Hardware and Robotics
Hosting
IDEs
Imaging
Mobility
Multimedia
Networking
Performance and Profiling
Programming Languages
Project Life-cycle Management (ALM)
Reporting
Search
Security
Setup & Deploy
System Adminstration
Utilities
Virtualization
Web Design/Development
Catalog License
All Licenses
Commercial
Fully Function Evaluation version
Limited Functionality Trial
Limited Time Trial
Shareware
Free For Personal Use
Freeware
Page 1 of 4
Page Size:
10
·
25
·
50
Author filtered by: dhage.prashant01
[x]
how to get label value using jquery
by
dhage.prashant01
Question
13 May 2013
license:
CPOL
Hi friends,I have gridview with following columns1. SrNo(Label)...5. Delete(HyperLink)When user clicks on the Delete, I want to the get the value of the label SrNo.I tried following$(document).ready(function(){ $('#btnDelete').live('click',function(){ var...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
jQuery
How to get all records if parameter is null
by
dhage.prashant01
Question
9 May 2013
license:
CPOL
Hi friends,I have 2 tables1. RPT_MRFProgressDetails 2. MasterData RPT_MRFProgressDetails has column MPD_DemandStatus which has values as well as null valueI tried following:Declare @RRPTDemandStatus char(7) = nullselect mpd.MPD_DemandStatus, m.Description,* from...
General Programming
»
Uncategorised Quick Answers
»
General
SQL2005
SQL-Server
How to insert bulk data in MVC
by
dhage.prashant01
Question
8 Apr 2013
license:
CPOL
Hi friends, I'm want to save bulk data to DB.I refred following code:[HttpPost] public ActionResult Create(Order obj) { try { db.Order.Add(obj); db.SaveChanges(); return RedirectToAction("Index"); } catch...
General Programming
»
Uncategorised Quick Answers
»
General
jQuery
MVC3
Problem in observable in MVC using knockout
by
dhage.prashant01
Question
20 Mar 2013
license:
CPOL
Hello friends,I have dropdown with productID as value and productName as text.My problem is when I select particular product from dropdown, it should get other details such as QuantityPerUnit, UnitPrice and UnitsInStock.I want to perform using knockout.I tried following for...
General Programming
»
Uncategorised Quick Answers
»
General
MVC
Knockout
How to bind serailsed object return from controller to dropdown using knockout
by
dhage.prashant01
Question
15 Mar 2013
license:
CPOL
Hello friends,I'm new to MVC and knockout. Please refer the below codeController Code: public string getJSON() { Product _objProduct = new Product(); DataTable _objDT = _objProduct.getProduct(); ...
General Programming
»
Uncategorised Quick Answers
»
General
jQuery
MVC3
Knockout
what is html helper class in mvc and how it is useful
by
dhage.prashant01
Question
13 Mar 2013
license:
CPOL
Hi friends, I'm new to MVC. Can you tell me: 1. Why html helper class is needed?2. Javascript/Jquery do not provide the same functionality as html helper class provide?3. Advantage of using html helper class?Can anyone provide the tutorial link for the same?Thanks in advance :)
General Programming
»
Uncategorised Quick Answers
»
General
MVC
How to use knockout to create dropdown on click of button
by
dhage.prashant01
Question
11 Mar 2013
license:
CPOL
Hello Friends,I'm new to Knockout and MVC.In my view I'm getting list of product model, which contains details likeProductName|QuantityPerUnit|UnitPrice|UnitsInStockMy requirement is:1. I want to show only 1 dropdown intially which will be populated with the ProductName from the...
General Programming
»
Uncategorised Quick Answers
»
General
MVC3
Knockout
How can we pass value from controller to view
by
dhage.prashant01
Question
28 Feb 2013
license:
CPOL
I'm new to MVC 3I have login page with username textbox and button to submit the request.I'm calling the controller action through JQuery as shown below $(document).ready(function () { $('#btnLogin').click(function () { ...
General Programming
»
Uncategorised Quick Answers
»
General
MVC3
How can we pass value from controller to view and vise versa
by
dhage.prashant01
Question
28 Feb 2013
license:
CPOL
I'm trying to create simple login page, which will validate user.In my view $(document).ready(function () { $('#btnLogin').click(function () { document.location = '@Url.Action("Validateuser", "Login")'; }); ...
General Programming
»
Uncategorised Quick Answers
»
General
MVC3
What is the need for LINQ over ADO.NET
by
dhage.prashant01
Question
27 Feb 2013
license:
CPOL
Hello friends, Can I know the what is the real advantage of using LINQ over ADO.NET. All things which is achieved using LINQ is also achieved in ADO.NET also. So why LINQ?? May I also know in what scenario I should prefer LINQ, that will optimize application performance.Thanks in...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
LINQ
Closing child pop-up and refreshing parent page
by
dhage.prashant01
Answer
25 Feb 2013
license:
CPOL
I added the following in parent page which will be called when the popup window is closed, which in turn populates the grid with the data added from the popup windowJavascript code in popup window function RefreshParent() { ...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
Closing child pop-up and refreshing parent page
by
dhage.prashant01
Question
22 Feb 2013
license:
CPOL
I am trying to achieve following.1. A link on a parent page will open a new child pop-up.2. In child pop-up, user enters some data and click save.3. A data will be saved to databse and pop-up would be closed. A main parent window would be refreshed and conetents entered in a child pop-up...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
how to get dynamic height of grid using jquery
by
dhage.prashant01
Question
20 Feb 2013
license:
CPOL
hello friends,I have div inside which there is grid.I want to do following:1. get the height of the grid after it is rendered.2. set the heiht of the div based on the height of the grid..ASPX code:
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
jQuery
Row grouping in table matrix report
by
dhage.prashant01
Question
11 Dec 2012
license:
CPOL
Hi Friends,I'm trying to create report using matrix.I have rows as followsVC,Account,Contract I want to create row grouping in SSRS using SQL2008 R2.ie. when i click on VC, all accounts under that VC should get display. similarly when i click on Account, contract should...
General Programming
»
Uncategorised Quick Answers
»
General
SSRS
Maintain decimal values when exporting SSRS report to excel
by
dhage.prashant01
Question
2 Dec 2012
license:
CPOL
hello friends,I have created an report which rounds the decimal values in SSRS and export the same values to excel.Now my client has asked me changes,1. Let the values be rounded(ie. 1040.9 to 1041)2. When report exported to excel, the cell should contain the rounded values(ie. 1041) but...
General Programming
»
Uncategorised Quick Answers
»
General
SSRS
Problem in header checkbox selection in grid using Jquery after postback
by
dhage.prashant01
Question
27 Nov 2012
license:
CPOL
hello friendsI have grid with check box in first column, as basic functionality when i check the check box in header it selects all checkbox in the grid.I tried using JQuery, i was successful but when i change the grid to page 2 the code does not work.Here is my jquery...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
jQuery
Division in SSIS differs that in SQL server
by
dhage.prashant01
Answer
23 Nov 2012
license:
CPOL
So what I did is, I would force SSIS to compute higher precision value and then ROUND it to the precision I want.So following gave me required outputROUND(((DT_DECIMAL,4)[REV]) / ((DT_DECIMAL,4)1000),2)Hope this helps Yu :)
General Programming
»
Uncategorised Quick Answers
»
General
SSIS
Division in SSIS differs that in SQL server
by
dhage.prashant01
Question
22 Nov 2012
license:
CPOL
Hello friends,I'm importing data from excel and performing derived column on REV column before dumping the data in the destination table.My problem is, suppose the column contains 6180.00 and I write expression in derived column as below6180.00 / 1000It gives me 6.17 as outputBut...
General Programming
»
Uncategorised Quick Answers
»
General
SSIS
How to set dynamic path for the excel datasource
by
dhage.prashant01
Question
21 Nov 2012
license:
CPOL
Hello friends,I want to create SSIS package, which will do following1. Import data from excel2. There are 3 columns updateDate, Rev, Cost which will do some calculation3. Insert data to SQL tableMy Query:1. How can set excel path dynamically, ie. we just need to dump excel in some...
General Programming
»
Uncategorised Quick Answers
»
General
SSIS
how to find a employee with multiple role in table
by
dhage.prashant01
Question
30 Oct 2012
license:
CPOL
hi friendsi have table called emp which has 2 columns1. emp_name2. rolewhat i want is, i want to find employees with role A and B in single SQl statementI triedSELECT * FROM EMP WHERE ROLE LIKE 'A' AND ROLE LIKE 'B'but its not working, any idea how to do iti wana avoid use...
General Programming
»
Uncategorised Quick Answers
»
General
SQL-Server
SQL2008
Moving data from one DB to another DB
by
dhage.prashant01
Question
15 Oct 2012
license:
CPOL
hello friends,I want to generate script to move DB entities from one DB to another.I have 3 different servers (development, test and live)I will generate script on development server, this script should be common to all serversI tried followingDB->Tasks->Generate...
General Programming
»
Uncategorised Quick Answers
»
General
SQL-Server
SQL2008
how to download attachment using Iframe
by
dhage.prashant01
Answer
4 Oct 2012
license:
CPOL
Following code resolved my issuefunction shwAtt(strPath) { var varExt = strPath.split('.'); //alert(varExt.length); if (varExt[varExt.length - 1] == "txt") { window.open(strPath); } else { var...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.Net-4.0
how to download attachment using Iframe
by
dhage.prashant01
Question
3 Oct 2012
license:
CPOL
Hello friends,I'm using iframe to download files using following jqueryfunction shwAtt(strPath) { //document.getElementById("").value = strPath; //document.getElementById('frmAttachment').submit(); var iframe; iframe...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.Net-4.0
Problem in Validation Summary When i call Javascript method at Button Clientclick event
by
dhage.prashant01
Answer
23 Sep 2012
license:
CPOL
This is how it solved the problemfunction validateResume(){ var...
General Programming
»
Uncategorised Quick Answers
»
General
asp.net4
Problem in Validation Summary When i call Javascript method at Button Clientclick event
by
dhage.prashant01
Question
23 Sep 2012
license:
CPOL
Hello Friends,Today i faced a situation, where I'm calling javascript function on button event and at the same time the validation summary must be called called.Example:
General Programming
»
Uncategorised Quick Answers
»
General
asp.net4
How to access the user control in parent page from page inside the iFrame
by
dhage.prashant01
Answer
12 Sep 2012
license:
CPOL
Here is what I didParent Page JavaScript: function setMessage(strMsg) { document.getElementById('').innerHTML = strMsg; }And this is how i called it through the iFrame...
General Programming
»
Uncategorised Quick Answers
»
General
asp.net4
How to access the user control in parent page from page inside the iFrame
by
dhage.prashant01
Question
11 Sep 2012
license:
CPOL
Hi friends,I have page which uses master page, it has following1. user control(ucMessage)2. Iframe(frmrevrec)What I want is, from iFrame i want to make the control visible property to true set value of user control in parent page using jquery.I tried following in...
General Programming
»
Uncategorised Quick Answers
»
General
asp.net4
How to pass parameters to iframe
by
dhage.prashant01
Question
10 Sep 2012
license:
CPOL
Hi friends,I have aspx page(uses master page), which has two iFrame1. it contains dropdown list to filter the data2. it holds the data to be displayedMy problem is, in 1st iFrame through javascript I'm setting 2nd iFrame src depending upon the dropdown value selected. 2nd iFrame src...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
How to use frames in child page
by
dhage.prashant01
Question
6 Sep 2012
license:
CPOL
hello friends,I'm trying to migrate the asp.net application from 1.0 to 4.0.Problem I faced, Use of frame Project Estimation ...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
Issue in loading in sitemap
by
dhage.prashant01
Answer
6 Sep 2012
license:
CPOL
I was missing to put role (role = "*")i have added to every siteMapNode where URL = ""
General Programming
»
Uncategorised Quick Answers
»
General
ASP.Net-4.0
Issue in loading in sitemap
by
dhage.prashant01
Question
5 Sep 2012
license:
CPOL
hello friends,I have an issue using sitemaphere is my sitemap
General Programming
»
Uncategorised Quick Answers
»
General
ASP.Net-4.0
How to get null values in where clause
by
dhage.prashant01
Answer
4 Sep 2012
license:
CPOL
I tried followingSELECT * FROM (SELECT * FROM FWB_SF_Opportunity B left join FWB_VWSFData A ON A.opportunityid=B.id and ReviewMonth=@ReviewMonth) Twhere((isnull(@VCID,'') = '' AND 1 = 1) OR (isnull(@VCID,'') '' AND T.VCID = @VCID))And it works fineHope guys who...
General Programming
»
Uncategorised Quick Answers
»
General
SQL2005
SQL-Server
How to get null values in where clause
by
dhage.prashant01
Question
4 Sep 2012
license:
CPOL
Hello friends,I have two table 1. FWB_SF_Opportunity (Does not contain VCID)2. FWB_VWSFData (Contains column VCID)I had made SP with following query:SELECT * FROM (SELECT * FROM FWB_SF_Opportunity B left join FWB_VWSFData A ON A.opportunityid=B.id and...
General Programming
»
Uncategorised Quick Answers
»
General
SQL2005
SQL-Server
Case inside where clause
by
dhage.prashant01
Question
4 Sep 2012
license:
CPOL
Hi friends,I was trying to use case statement inside the where clause, which decides whether the condition should be used to filter the data based on the parameter. i was trying the following:Select * FROM FWB_SF_Opportunity B left join FWB_VWSFData A ON A.opportunityid=B.id and...
General Programming
»
Uncategorised Quick Answers
»
General
SQL2005
SQL-Server
Date formatting in ssrs
by
dhage.prashant01
Question
27 Aug 2012
license:
CPOL
Hello friends, I'm getting LastActivityDate column from the stored procedure.when i bind that column in SSRS report it gives error, if the column has no or null value.I tried with following=iif((Fields!LastActivityDate.Value =...
General Programming
»
Uncategorised Quick Answers
»
General
SSRS
How to use Raphaël—JavaScript Library in asp.net
by
dhage.prashant01
Question
25 Jun 2012
license:
CPOL
Hello friends,I just wanted to know, can we use Raphaël—JavaScript Library in asp.net like we use JQuery.If so, can you provide link on Raphaël tutorial in asp.net??Thanks in advance
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
How to call two javascript function in a particular sequence from code behind
by
dhage.prashant01
Answer
20 Jun 2012
license:
CPOL
Since javascript functions run in parallel fashion. fillVC() and showDIV() runs in parallel.In fillVC(), i used to hide div at the end but before that execution of statements in showDIV() ends.So div used to get hide.Solution:I have put the code to hide the div on the first line in...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.Net-4.0
how to find which control has invocked the javascript function
by
dhage.prashant01
Question
20 Jun 2012
license:
CPOL
hello friendsI have javascript functionfunction fillVC(e){ .....} I call this function in two control events1. (in .aspx...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
How to call two javascript function in a particular sequence from code behind
by
dhage.prashant01
Question
20 Jun 2012
license:
CPOL
Hello friends,In my web page I hav 2 javascript function1. fillVC (to hide div)2. showDIV (to display div)I want to call two different javascript function on button click in a sequence1. fillVC2. showDivI tried following: protected void btnSearch_Click(object sender,...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.Net-4.0
How to get value of dynamically fill dropdown in C#
by
dhage.prashant01
Answer
19 Jun 2012
license:
CPOL
This gives me the required output.Request.Form[ddlVC.UniqueID]
General Programming
»
Uncategorised Quick Answers
»
General
ASP.Net-4.0
How to get value of dynamically fill dropdown in C#
by
dhage.prashant01
Question
19 Jun 2012
license:
CPOL
Hello friendsI have filled dropdown(ddlVC) using JQuery, I want to get the selected value of ddlVC from code behind.Using ddlVC.SelectedValue returns empty stringAny idea how will i get it??Thanks in advance
General Programming
»
Uncategorised Quick Answers
»
General
ASP.Net-4.0
Problem in Postback when using cascading dropdowns using jquery
by
dhage.prashant01
Question
19 Jun 2012
license:
CPOL
Hello friends,In my web page which uses master page, I have following dropdowns1. ddlGEO2. ddlVCIn page load I'm filling the ddlGEO.I'm populating ddlVC using JQuery through following code $(document).ready(function () { }); function fillVC() {...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
Cascading dropdown using jquery
by
dhage.prashant01
Question
14 Jun 2012
license:
CPOL
hello friendsI was trying cascading dropdown using jqueryI will list down my code1. codebehind code: [WebMethod] public static List getVC(string strGEO) { try { List lstVC = new List(); ...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.Net-4.0
problem in using of list in htmleditorextender
by
dhage.prashant01
Question
14 Jun 2012
license:
CPOL
hello friendsI'm using htmleditorextender in my aspx pageProblem is thatWhen i use list(un/ordered) inside the target textboxAfter few list items, when you continue typing list the list items become invisibleany idea how to overcome it?Thanks in advance
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
How to print the contents of ajax control
by
dhage.prashant01
Question
13 Jun 2012
license:
CPOL
hello friends,I'm using master pages which has scriptmanager.My contentpage has panel which holds1. Accordion which in turn has (HtmlEditorExtender, Textbox)2. GridviewI have print button, which print the entire panelDuring print, it gives me following error:The control with...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.Net-4.0
htmleditorextender new line problem
by
dhage.prashant01
Question
11 Jun 2012
license:
CPOL
hello friendsI have an aspx page with a HtmlEditorExtender.When I inspect the generated HTML from the HtmlEditorExtender control I see the following:IE:test line 1test line 2test line 3Obviously, the tags cause too much space between lines. I have tried...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
how to export accordion data to excel
by
dhage.prashant01
Question
7 Jun 2012
license:
CPOL
hi friendsI have accordion control which has text box and lable, i want to export it to excel on click of button.Any idea how to carry outthanks in advance
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
Dynamically Load Data into Accordion Control from Code Behind
by
dhage.prashant01
Question
5 Jun 2012
license:
CPOL
hi friendsI'm using accordion in my project, accordion contains text.I want to put get data from database and display in the text box only when user expands the accordion.Any idea how to carry out??Thanks in advance
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
div toggle using javascript
by
dhage.prashant01
Question
4 Jun 2012
license:
CPOL
hello friends,I was tryin to toggle div using javascript, it was giving me errorMicrosoft JScript runtime error: Object expectedHere is my aspx code: ...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
HTMLEditorExtender inside Ajax Accordion
by
dhage.prashant01
Question
4 Jun 2012
license:
CPOL
Hi!, I am having issue when trying to use the HTMLEditorExtender inside the Ajax Accordion pane. When I add HTMLEditorExtender and target a textbox that is inside the Accordion it shows me a long vertical line when I run it, however the control works fine if it is outside the Accordion.here...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
Page 1 of 4
1
2
3
4
First
·
Prev
·
Next
·
Last
Advertise
|
Privacy
|
Mobile
Web04 | 2.6.130513.1 | Last Updated 14 May 2013
Copyright ©
CodeProject
, 1999-2013
All Rights Reserved.
Terms of Use
Layout:
fixed
|
fluid