Click here to Skip to main content
Page 1 of 4
Page Size: 10 · 25 · 50


Author filtered by: dhage.prashant01 [x]
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...
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...
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...
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...
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(); ...
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 :)
MVC
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...
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 () { ...
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")'; }); ...
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...
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() { ...
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...
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:
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...
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...
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...
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 :)
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...
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...
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...
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...
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...
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...
Answer 23 Sep 2012   license: CPOL
This is how it solved the problemfunction validateResume(){ var...
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:
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...
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...
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...
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 ...
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 = ""
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
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...
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...
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...
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 =...
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
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...
Question 20 Jun 2012   license: CPOL
hello friendsI have javascript functionfunction fillVC(e){ .....} I call this function in two control events1. (in .aspx...
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,...
Answer 19 Jun 2012   license: CPOL
This gives me the required output.Request.Form[ddlVC.UniqueID]
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
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() {...
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(); ...
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
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...
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...
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
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
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: ...
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...

Page 1 of 4
1 2 3 4


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