16,011,815 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 ShaHam11 (Top 72 by date)
ShaHam11
4-Aug-16 2:34am
View
it works if the file size is less have zipped folder which is about 800 MB and more
ShaHam11
4-Aug-16 2:18am
View
I got it from google from a blog
ShaHam11
2-Aug-16 3:18am
View
Yes it happens on that palace. However I cannot debug I have copied the console.exe file to server (entire debug folder). Your right the code after that is not related to unziping I am actually reading the contents from unzipped files...
ShaHam11
27-Jul-16 6:37am
View
thanks OrginialGriff.. Today i understood why actually we have static constructor.. earlier I came upto declaring static variable..but totally forgot that I need to initialize this variable in static constructor... thans for the help and support
ShaHam11
21-Jul-16 7:11am
View
thanks for the soultion I removed the d$ it worked. However it gives the full path name I am intrested only in the folder name and file name not the whole path any suggestions on this?
ShaHam11
3-Jun-16 8:08am
View
Yes, I removed the message box.. and I just recalled in VB to return the value we have to use the FunctionName=Return.. this worked for me...
ShaHam11
2-Jun-16 23:57pm
View
Thanks for the sample with example ...Return True had some syntax issue. I tried replacing it with msgbox but still landed up with False.. Let me give you my requirement if you can suggest how to proceed with it... I
I wanted to write my own user defined function in excel for SQl executing SQL query from Excel something like this =SQLQuery("My SQL Query")... As a first step I was trying to connect to the db..
ShaHam11
2-Jun-16 11:24am
View
I just added these code to check
If conn.State = True Then
MsgBox "Pass"
Else
MsgBox "F"
End If
"F" was printed ..:-(
ShaHam11
26-Oct-15 23:22pm
View
Thank you for the reply. However the below line works form me on GridViewupdating event the same line cause error in Girdviewdeleting. I am pasting the complete code
ShaHam11
25-Oct-15 11:26am
View
Okay, But I tried executing in SQl(SSMS) the query works fine the particular records get updated whatever I sepcify
This the query which I ran " update EmployeeInfo set EmpName='Jane',Salary='45000',Location='texas' where EmpID=102"
ShaHam11
25-Oct-15 9:41am
View
No, its not getting updated in the front end and database as well
ShaHam11
25-Oct-15 9:31am
View
Yes, it shows the old value only not the new value what i entered in the gridveiw textbox
ShaHam11
23-Oct-15 9:36am
View
Still the same error infact I tried selectedItem value still the same error
ShaHam11
20-Aug-15 21:52pm
View
yes, I have made it has private but still does not solve my issue.
ShaHam11
14-May-15 5:44am
View
I tried debugging the errors is in while saving doc.save ...same message
ShaHam11
14-May-15 2:38am
View
@Maciej Los .Thanks for the reply. The root element is added in form1 constructor ..It seems that when i click the second button (during click event ).. the root element vanishes...basically I needed only the content in button_click1 event to be repeated everytime
ShaHam11
14-May-15 1:06am
View
I get error message while doing doc.save(@fileLocation\..")
ShaHam11
21-Aug-14 6:12am
View
So, I basically i can remove from the update panel. Because if i make it Only Postback trigger it refresh the whole page . Which does the same functionality when it is not placed in update panel
ShaHam11
21-Aug-14 5:48am
View
I tried placing the fileupload control and upload button in update panel . It browse the file successfully but when i click on upload it doesn't upload and the sheet names are not populated in dropdown below is the code
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="always">
<contenttemplate>
<asp:FileUpload ID="FileUpload1" runat="server" />
<asp:Button ID="btnUpload" runat="server" Text="Upload" OnClick="btnUpload_Click" />
<br />
<asp:DropDownList ID="ddlSheetName" runat="server" AutoPostBack="True"
onselectedindexchanged="ddlSheetName_SelectedIndexChanged">
<asp:Label ID="Label1" runat="server" Text="Has Header ?" />
<asp:RadioButtonList ID="rbHDR" runat="server">
<asp:ListItem Text="Yes" Value="Yes" Selected="True">
<asp:ListItem Text="No" Value="No">
<asp:Button ID="btnInsert" runat="server" OnClick="btnInsert_Click" Text="Insert" Enabled="false"/>
<asp:GridView ID="GridView1" runat="server" AllowPaging="False" CssClass="table table-hover table-striped"
AutoGenerateEditButton="false" CellPadding="4" ForeColor="Black" Height="110px"
Style="margin-right: 0px" Width="1000px" BackColor="White" BorderColor="#CCCCCC"
BorderStyle="None" BorderWidth="1px" GridLines="Horizontal" OnRowEditing="GridView1_RowEditing"
OnRowCancelingEdit="GridView1_RowCancelingEdit">
<footerstyle backcolor="#CCCC99" forecolor="Black">
<HeaderStyle BackColor="#333333" Font-Bold="True" ForeColor="White" />
<PagerStyle BackColor="White" ForeColor="Black" HorizontalAlign="Right" />
<SelectedRowStyle BackColor="#CC3333" Font-Bold="True" ForeColor="White" />
<sortedascendingcellstyle backcolor="#F7F7F7">
<sortedascendingheaderstyle backcolor="#4B4B4B">
<sorteddescendingcellstyle backcolor="#E5E5E5">
<sorteddescendingheaderstyle backcolor="#242121">
<Triggers>
<asp:AsyncPostBackTrigger ControlID="ddlSheetName" EventName="SelectedIndexChanged" />
<asp:AsyncPostBackTrigger ControlID="btnUpload" EventName="Click" />
</Triggers>
<br />
ShaHam11
21-Aug-14 2:52am
View
Thank you so much it worked.fine for me. A quick question can i bring the file upload also inside the update panel as when i click the the upload button it does full postback. sorry for this silly question as i am very new to update panel Thank you
ShaHam11
30-May-14 11:30am
View
Thank you for clarifying. So basically e3 has the address of e1+ e2 and when invoked it gives the output and when we add another extra line e3 = e1 + e2 + e3 .. this will contain first executed output plus the new output
ShaHam11
30-May-14 10:07am
View
thank you for the solution
ShaHam11
29-May-14 10:05am
View
Yes I am aware private field is only accessible with in the class correct me if I am wrong(I am just learning concepts) so mean to say we cant do a binary serialization for private feild?
ShaHam11
29-May-14 9:56am
View
yeah if i include emp.EmpSalary that works but again the private field Empsalary is unused. I wanted to use the private feild
ShaHam11
28-May-14 8:30am
View
@Cpallini this works, I just edited my code what if the method was protected I am unable to access I remember as per access spcifter protected you can access in derived class also.. so i created a object for derived class in main class and tried accessing it .. its not showing up in the intellisense
ShaHam11
28-May-14 8:25am
View
sorry the DisplayData() method suppose to be protected
ShaHam11
27-May-14 10:22am
View
Thank you
ShaHam11
21-May-14 11:21am
View
Thank your programFOx ..it works marks.sum() thank you for sharing it
ShaHam11
21-May-14 11:16am
View
Thank you i just learnt I can return multiple values with return keyword
ShaHam11
21-May-14 11:08am
View
Thank you OriginalGriff.. I just have quick question i tried using return sum.ToString(); it didnt work it gave me only the sum value not"ABC" but when i used string.format as per your reply i was able to get output as i expected ..why is it unable to get the same result with .tostring();
ShaHam11
7-Apr-14 3:08am
View
I can give a try
ShaHam11
31-Mar-14 8:42am
View
thank you
ShaHam11
31-Mar-14 8:42am
View
Thank you for reply
ShaHam11
31-Mar-14 8:42am
View
Thank you , Yes i relized it i am passing argument to a constructor.
ShaHam11
19-Mar-14 2:29am
View
Okay i have master page and where I have Help file icon the moment the user clicks on the help file icon it jumps to the above function and a message is popped for the user which gives him 3 options "open" or "save" or "cancel" at present save works the user can save the file and open the chm file which works perfeclty, when user clicks on the "open" option file does not open and cancel works perfectly. I hope i am clear. If any doubts and information let me know thanks for your help
ShaHam11
19-Mar-14 2:22am
View
Hi I tried i get this erro
Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parse
ShaHam11
19-Mar-14 1:40am
View
yes it works it shows me the string 1 , I checked placing a break point
ShaHam11
18-Mar-14 7:24am
View
I had commented response redirect still it didnt work
ShaHam11
18-Mar-14 6:08am
View
Hi I tried your above code still not working
ShaHam11
18-Mar-14 6:06am
View
Hi I tried its not working btw i have already refernece a jquery file in my aspx page
ShaHam11
18-Mar-14 5:46am
View
thank you but still not working
ShaHam11
13-Mar-14 2:26am
View
Tried its not working
ShaHam11
5-Mar-14 1:49am
View
the childnodes has Configuration,
<initializeactions>
<executeactions>
<cleanupactions>
ShaHam11
5-Mar-14 1:47am
View
Hi Vedat
XmlNodeList r = doc.GetElementsByTagName("UITest");
XmlNodeList l = r[0].ChildNodes;
DataSet ds = new DataSet();
DataView dv;
ds.ReadXml(strXMLFileName);
dv = new DataView(ds.Tables[0]);
int index = dv.Find("Document");
ShaHam11
1-Mar-14 20:46pm
View
Thank you Billwoodruff for the solution. I changed the place-holder to {0} on every console statement.. I just wanted to re-phrase from my understanding from your comment why there is an error in my program. My program gives error in 3rd elseif statement i.e _firstnumber=10,_second number=20 & _thirdnumber=30.. it gives me exception error but where has if i give the _thirdnumber=5 and then compile and run the program it works fine...So you explained the compiler is trying to look for the second or third argument respectively and it finds number of arguments not equal to number of place holders hence it errors out..
ShaHam11
9-Jan-14 6:41am
View
Hi Karthik would you be able to help me out in this http://www.codeproject.com/Questions/703873/Alert-Message-when-user-moves-out-of-gridview-when
ShaHam11
7-Jan-14 5:46am
View
Thank you
ShaHam11
7-Jan-14 5:46am
View
Thank you Karthik.. That worked :-)
ShaHam11
3-Jan-14 4:00am
View
Actually if i just paste the above code under page load event the alert message is prompted I wanted this message to prompt, during page unload or when url changes
ShaHam11
3-Jan-14 3:46am
View
No luck its not working the alert message or confirm message is not prompted
ShaHam11
2-Jan-14 6:34am
View
Hi RK,
I guess this script will solve the problem <script language="JavaScript">
var needToConfirm = true;
window.onbeforeunload = confirmExit;
function confirmExit()
{
if (needToConfirm)
return message to display in dialog box;
}
</script>
However i have a different problem, There are lot of links on the tree view if user clicks or if user navigates to some other URL it should prompt the above message but How do i make it using the above script
ShaHam11
2-Jan-14 6:34am
View
Deleted
Hi RK,
I guess this script will solve the problem <script language="JavaScript">
var needToConfirm = true;
window.onbeforeunload = confirmExit;
function confirmExit()
{
if (needToConfirm)
return message to display in dialog box;
}
</script>
However i have a different problem, There are lot of links on the tree view if user clicks or if user navigates to some other URL it should prompt the above message but How do i make it using the above script
ShaHam11
31-Dec-13 3:07am
View
Hi Thanks for the reply I am just a beginner in asp.net can you elaborate how to implement this fucntion
ShaHam11
23-Dec-13 10:49am
View
I Pasted the solution ...Thank you
ShaHam11
19-Dec-13 23:47pm
View
Yes I have Hyperlink(i.e update and cancel) and image button for (delete icon image) in my gridveiw.. So if click on this hyperlinks and buttons , the alert is triggred
ShaHam11
19-Dec-13 21:58pm
View
Thank you. I just have another problem as you told I just pasted the code write below my Javascript. It works partially. when I try to close the browser window it prompts with alert message. However after i click the Ok button window closes. I don't want to that happen, It should check if there is any changes to gridview and if any changes found then it should retain to the same page so that user can click on udpate or save link in my gridview.
ShaHam11
4-Dec-13 3:42am
View
Yes
ShaHam11
4-Dec-13 3:29am
View
Hey Sampath, I Have a good news. Its working what i did was I used "jQuery.noConflict()" in Master menu page and that resolved all the problem now its working fine. Thanks for your support.
ShaHam11
3-Dec-13 22:07pm
View
I have closed the head tag I didnt copy the complete code here anyways i am pasting it below
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="Menu.master.cs" Inherits="Master_Menu" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajax" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Universal Test Automation Framework</title>
<asp:ContentPlaceHolder ID="head" runat="server">
<link href="../Script/MainWindow.css" rel="stylesheet" type="text/css" />
<script src="../Scripts/jquery.js" type="text/javascript"></script>
<%-- <script type="text/javascript" src="http://code.jquery.com/jquery-1.8.2.js"></script>--%>
<script src="../Scripts/colResizable-1.3.min.js" type="text/javascript"></script>
<script src="../Scripts/jquery.cookie.js" type="text/javascript"></script>
<script type='text/javascript' language="javascript">
$(document).ready(function () {
try {
$("#buttomLeftSide").bind("contextmenu", function (e) {
e.preventDefault();
$("#custom-menu").css({ top: e.pageY + "px", left: e.pageX + "px" }).show(100);
});
$(document).mouseup(function (e) {
var container = $("#custom-menu");
if (container.has(e.target).length == 0) {
container.hide();
}
});
}
catch (err) {
alert(err);
}
});
</script>
<style type="text/css">
#custom-menu
{
z-index: 1000;
position: absolute;
border: solid 2px black;
background-color: white;
padding: 5px 0;
display: none;
}
#custom-menu ol
{
padding: 0;
margin: 0;
list-style-type: none;
min-width: 130px;
width: auto;
max-width: 200px;
font-family: Verdana;
font-size: 12px;
}
#custom-menu ol li
{
margin: 0;
display: block;
list-style: none;
padding: 5px 5px;
}
#custom-menu ol li:hover
{
background-color: #efefef;
}
#custom-menu ol li:active
{
color: White;
background-color: #000;
}
#custom-menu ol .list-devider
{
padding: 0px;
margin: 0px;
}
#custom-menu ol .list-devider hr
{
margin: 2px 0px;
}
#custom-menu ol li a
{
color: Black;
text-decoration: none;
display: block;
padding: 0px 5px;
}
#custom-menu ol li a:active
{
color: White;
}
</style>
</head>
ShaHam11
3-Dec-13 6:57am
View
Yes your right i tried copying all the .js files to menu master and tried not working
here is the updated code
object reposiotry page
<%@ Page Title="" Language="C#" MasterPageFile="~/Master/Menu.master" AutoEventWireup="true"
CodeFile="ObjectRepositoryPages.aspx.cs" Inherits="ObjectRepositoryPages" %>
<%@ MasterType VirtualPath="~/Master/Menu.master" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
<script type="text/javascript">
$(document).ready(function () {
if ($.cookie('colWidth') != null) {
var columns = $.cookie('colWidth').split(',');
var i = 0;
$('.GridViewStyle th').each(function () {
$(this).width(columns[i++]);
});
}
$(".GridViewStyle").colResizable({
liveDrag: true,
gripInnerHtml: "<div class='grip'></div>",
draggingClass: "dragging",
onResize: onSampleResized
});
});
var onSampleResized = function (e) {
var columns = $(e.currentTarget).find("th");
var msg = "";
columns.each(function () { msg += $(this).width() + ","; })
$.cookie("colWidth", msg);
};
</script>
Menu master page code
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="Menu.master.cs" Inherits="Master_Menu" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajax" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Universal Test Automation Framework</title>
<asp:ContentPlaceHolder ID="head" runat="server">
<link href="../Script/MainWindow.css" rel="stylesheet" type="text/css" />
<script src="../Scripts/jquery.js" type="text/javascript"></script>
<%-- <script type="text/javascript" src="http://code.jquery.com/jquery-1.8.2.js"></script>--%>
<script src="../Scripts/colResizable-1.3.min.js" type="text/javascript"></script>
<script src="../Scripts/jquery.cookie.js" type="text/javascript"></script>
<script type='text/javascript' language="javascript">
$(document).ready(function () {
try {
$("#buttomLeftSide").bind("contextmenu", function (e) {
e.preventDefault();
$("#custom-menu").css({ top: e.pageY + "px", left: e.pageX + "px" }).show(100);
});
$(document).mouseup(function (e) {
var container = $("#custom-menu");
if (container.has(e.target).length == 0) {
container.hide();
}
});
}
catch (err) {
alert(err);
}
});
</script>
when i run the below piece of script gets highlighted in yello colour in Objectrep page
$(document).ready(function () {
if ($.cookie('colWidth') != null) {
var columns = $.cookie('colWidth').split(',');
var i = 0;
$('.GridViewStyle th').each(function () {
$(this).width(columns[i++]);
});
}
$(".GridViewStyle").colResizable({
liveDrag: true,
gripInnerHtml: "<div class='grip'></div>",
draggingClass: "dragging",
onResize: onSampleResized
});
});
ShaHam11
3-Dec-13 6:40am
View
Yup I tried that its not working, As you see there are 3
<script src="Scripts/jquery.js" type="text/javascript"></script>
<script src="Scripts/colResizable-1.3.min.js" type="text/javascript"></script>
<script src="Scripts/jquery.cookie.js" type="text/javascript"></script>
which is required for gridveiw column resizing .. However as per your suggestion it tried copying the col----.js file to menu master no go.. I feel it does not make any sense the above 2 files i.e cokkies.js and colresizable.js intended specifically for objectrepository page.aspx again thank you so much for your help
ShaHam11
3-Dec-13 5:29am
View
Hi Jain I placed $.noConflict(); right below the <script type="text/javascript"> on both the pages and tried placing it on single page as well but no luck still its not working...let me tell i Comment the menu.cs file script the code works perfectly but i cant do that
ShaHam11
3-Dec-13 5:21am
View
I am novice developer can you please tell me where to include the jquery.noConflict() in which file as you can see there 2 files above
ShaHam11
3-Dec-13 5:20am
View
You mean to say remove or comment the http://code.jquery.com/jquery-1.8.2.js. If yes i have commented and tried running it now I get the same error but yellow mark is highlighted on Scripts/colResizable-1.3.min.js" I cant remove this jquery plugin or this file as it is required for my gridveiw to work properly this file is responsible for dynamic re-sizing of gridveiw column which i found from http://www.codeproject.com/Articles/366013/Resizable-asp-net-Gridview-columns-using-Jquery?msg=4705744#_comments
ShaHam11
3-Dec-13 4:19am
View
Thank you so much for your help
ShaHam11
3-Dec-13 4:18am
View
As you can see i have updated the latest jquery <script type="text/javascript" src="http://code.jquery.com/jquery-1.8.2.js"></script> on both the pages and the other one jquery.js i have commented it
ShaHam11
3-Dec-13 4:17am
View
ObjectRepositorypage.aspx
<%@ Page Title="" Language="C#" MasterPageFile="~/Master/Menu.master" AutoEventWireup="true"
CodeFile="ObjectRepositoryPages.aspx.cs" Inherits="ObjectRepositoryPages" %>
<%@ MasterType VirtualPath="~/Master/Menu.master" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
<%--<script src="Scripts/jquery.js" type="text/javascript"></script>--%>
<script type="text/javascript" src="http://code.jquery.com/jquery-1.8.2.js"></script>
<script src="Scripts/colResizable-1.3.min.js" type="text/javascript"></script>
<script src="Scripts/jquery.cookie.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function () {
if ($.cookie('colWidth') != null) {
var columns = $.cookie('colWidth').split(',');
var i = 0;
$('.GridViewStyle th').each(function () {
$(this).width(columns[i++]);
});
}
$(".GridViewStyle").colResizable({
liveDrag: true,
gripInnerHtml: "<div class='grip'></div>",
draggingClass: "dragging",
onResize: onSampleResized
});
});
var onSampleResized = function (e) {
var columns = $(e.currentTarget).find("th");
var msg = "";
columns.each(function () { msg += $(this).width() + ","; })
$.cookie("colWidth", msg);
};
</script>
Menu page
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Universal Test Automation Framework</title>
<asp:ContentPlaceHolder ID="head" runat="server">
<link href="../Script/MainWindow.css" rel="stylesheet" type="text/css" />
<%--<script src="../Scripts/jquery.js" type="text/javascript"></script>--%>
<script type="text/javascript" src="http://code.jquery.com/jquery-1.8.2.js"></script>
<script type='text/javascript' language="javascript">
$(document).ready(function () {
try {
$("#buttomLeftSide").bind("contextmenu", function (e) {
e.preventDefault();
$("#custom-menu").css({ top: e.pageY + "px", left: e.pageX + "px" }).show(100);
});
$(document).mouseup(function (e) {
var container = $("#custom-menu");
if (container.has(e.target).length == 0) {
container.hide();
}
});
}
catch (err) {
alert(err);
}
});
</script>
ShaHam11
3-Dec-13 1:59am
View
I Used the latest one jquery-1.8.2.js to the above file still its not running
ShaHam11
2-Dec-13 23:52pm
View
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="Menu.master.cs" Inherits="Master_Menu" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajax" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Universal Test Automation Framework</title>
<asp:ContentPlaceHolder ID="head" runat="server">
<link href="../Script/MainWindow.css" rel="stylesheet" type="text/css" />
<%-- <script type="text/javascript" src="http://code.jquery.com/jquery-1.8.2.js"></script>--%>
<script type="text/javascript">
$(document).ready(function () {
try {
$("#buttomLeftSide").bind("contextmenu", function (e) {
e.preventDefault();
$("#custom-menu").css({ top: e.pageY + "px", left: e.pageX + "px" }).show(100);
});
$(document).mouseup(function (e) {
var container = $("#custom-menu");
if (container.has(e.target).length == 0) {
container.hide();
}
});
}
catch (err) {
alert(err);
}
});
</script>
If I comment the Javascript in the above lines of code it works fine
ShaHam11
2-Dec-13 23:48pm
View
Hi, I found the problem I am using jquery file in some other page as well hence when my webproject loads i get the above error. However if i comment in the other page it loads without any problem. But again I cannot be commenting on the other page. I need to work on the other page as wel. Any suggestions
ShaHam11
2-Dec-13 7:25am
View
Thank you for help.I am unable to debug the jquery file.. it does not show any particular line this is the excat message I get "Microsoft JScript runtime error: Object doesn't support this property or method" and VS points to jquery.js
ShaHam11
1-May-13 10:50am
View
@Pete O'Hanlon I have already linked ..still the same
Show More