VS 2005 - Disable Javascript

Aug 31, 2009

I read on the forum that it is possible to disable javascript in the webbrowser1 control (vb6). But the code doesn't work in vb.net. Is there a code to disable javascript in vb.net?

View 1 Replies


ADVERTISEMENT

Disable JavaScript In Webbrowser?

Oct 9, 2011

I'm using Visual Basic 2010 Express and I'm trying to disable JavaScript in one of my webbrowsers and not the others.I've searched around the web for the past hour and haven't found anything that really fits what I need.Also, I already know about the Internet Options dialog. I want to have my program do it programmatically.

View 15 Replies

How To Disable JavaScript In WebBrowser Control

Sep 25, 2009

How to disable javascript in webbrowser control? How to do this in vb.net? Any registry should be changed?

View 4 Replies

Javascript - Disable This Function In Editbutton?

May 4, 2009

i am selecting values to my textbox from a popup window and i hav used onfocus="this.blur();" for textbox, i want to disable this function in editbutton while i want to edit . i cant use readonly since the value is not passed to server due to postback,

View 3 Replies

VS 2008 Disable Some Javascript In A Webbrowser?

Feb 8, 2011

Is it possible to disable some scripts in a webbrowser, but not all?

View 2 Replies

VS 2010 Disable Javascript Webbrowser?

Jan 1, 2011

Is there a way to disable javascript webbrowser in vb.net 2010

View 5 Replies

Javascript - How To Disable Hyperlink Browsing From An Html Editor

Apr 21, 2010

how do I disable browsing to a http link from a Html editor. I have a vb.net web form with a html editor, when I add a hyperlink to the html editor, for example my application website for instance[URL]...When I run and click the link I can browse my application from inside the Html Editor which is so weird.It should open the link in a new window. How do I stop this from happening.This is an Intranet application. And the component for Html Editor is of TMS.

Or is there any Javascript code available where I can deactivate the link from an HtmlEditor, i mean when i add any hyperlink it should be not be activated , or no should be able to browse it from inside the HtmlEditor ?

View 2 Replies

VS 2005 Use CSS Or Javascript In Projects?

Jan 17, 2010

Can we use CSS or Javascript in our VB.net projects? Or if not what do I need to do to create a more robust looking form?

View 2 Replies

Javascript - Create A Json Object In 2005?

Sep 8, 2009

I want to create a json object in vb.net to send the response back javascript function to do something?

View 2 Replies

VS 2005 : Disable All Labels On The Form?

Jul 30, 2011

I'm creating a game and I have 29 labels,1 menu and some buttons on my form and i want to disable all the label controls in that form when game is over. . . .i use For each next but it will give me errors. . . .

dim obj as control
dim L as label
for each L in controls

[code]....

View 7 Replies

VS 2005 Disable Click On Cell?

Oct 5, 2011

I have a problem with my datagridview.

here goes:

1. I have a datagridview that displays borrower's information.

2. upon click on the leftside button of the row (fullrowselect) the controls are auto populated with data. (userid, library card no. etc..)

3.here is my datagridview cell click event

Private Sub grdBorrowers_CellClick(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles grdBorrowers.CellClick
With borrowers
Try

[Code]....

4. the problem is when i click on a cell that is not an integer it creates an error.

5. my idea is to disable the cells inside the grid. only userid or the leftside button should be enabled. how can i do that? is that possible?

View 1 Replies

VS 2005 Disable KeyPreview For One Particular Textbox

May 15, 2012

I have set KeyPreview Property of the form to True and in the KeyDown event capturing the 'Enter' key to navigate to the next control on the form (using Me.SelectNextControl). But for one particular textbox i dont wish to perform the form's keydown event instead i want that when the user keys ctrl+enter it should perform some particular task. I have noticed that when the keypreview is on the keydown event of the textbox isn't executing.. The following is the code i have used for textbox keydown

[Code]...

View 3 Replies

VS 2005 Enable / Disable A Checkbox

May 14, 2012

I am trying to enable/disable a checkbox depending on whether or not a match is found on the checkbox name and a list of controls. When I step through the code and pass the line "ChkBox.Enabled = pbEnable", the Enabled value does not change. In this case the state before the change is False. pbEnable is True.[code]

View 2 Replies

VS 2005 : Disable Mouse Wheel Scrolling?

Oct 7, 2009

how to disable mouse scrolling only in selected combobox..ex. i want only scroll function ius disable only in combobox1 and combobox2

View 5 Replies

VS 2005 Disable DateTimePicker Onchange Function?

Sep 8, 2010

I have two datetime pickers that when changed call a function that validates the two dates and changes them as needed. This currently causes a loop where the function changes the dates on the datetime pickers that triggers the function again...

So I would like to disable the datetime pickers valuechagned function while the function runs then re-enable it after it makes the required changes.

Private Sub dtpStartDate_ValueChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles dtpStartDate.ValueChanged
subValidateDate()

[Code].....

View 1 Replies

VS 2005 Disable Java In Webbrowser Control?

Sep 26, 2010

Have a webbrowser in my project, and I want to be able to disable java at certain times?? how do you disable java?

View 5 Replies

VS 2005 : Disable Restore Button In MDI Child Form?

Aug 20, 2009

Is there anyway to disable/remove "Restore" button in MDI Child form while child form is in Maximized state?I have set "ControlBox = False". Although this remove the whole control box including "Close".Case is I want this "Close" button but not "Minimize" or "Maximize/Restore" button.Is there anyway to do this without using API?

View 4 Replies

VS 2005 Disable File Upload In Internet Explorer?

Jul 1, 2009

I want to disable file upload from internet explorer, firefox or any browser. Is there any registry entries or methods we can do this.If disabling only upload is not possible than if we can disable download upload both than also it will be good.

View 4 Replies

Disable A Timer - Will Finish The Process And Then Disable Or Will It Immediately Disable Without Completing Process?

Dec 22, 2011

I am confused what will happen, when I disable a timer. Will it finish the process and then disable or will it immediately disable without completing process? for example

[Code]....

I want to run getMessage from somewhere else, so I need to disable timer during that time to be asured not to override anything and also before timer disable it should complete that function code.

View 3 Replies

Disable Right Click And To Disable The Start Button And Task Bar?

May 16, 2009

to disable right click and to disable the start button and task bar?

View 4 Replies

VS 2005 - Detect The Calc.exe Running And Then Disable My Button Event To Call Calc.exe?

May 2, 2009

I have a button on vb form and its click event will call Windows to run "system32calc.exe" which is work great. My problem is I do NOT want to have multiple calculators running even if i click the button more than once. Is there any way to detect the calc.exe runing and then disable my button event to call calc.exe?

[Code]...

View 6 Replies

C# - Show Hide Using Javascript On A Control Inside A ASCX Control In A Gridview (ASP.NET + Javascript)

Oct 8, 2010

I have written a web usercontrol (ascx). Inside, there is a Panel that I want to show/hide on click of a hyperlink inside the usercontrol. Normally, this is easy just by doing something like this (the onclick attribute is added to the hyperlink on prerender):

[Code]...

View 2 Replies

VS 2005 Disable The Sound Card And Enable The Sound Card By Using Command Button?

Jun 27, 2011

i have windows app i want to disable the sound card and enable the sound card by using command button

View 2 Replies

Asp.net - Not Getting Value In Javascript?

Aug 17, 2009

I have a datalist and in itemdatabound iam calling javascript and passing one argument.But iam not getting that argument in js.

<asp:Button ID="btnUpload" runat="server" cssClass="button1" Text="Upload" >
<asp:DataList ID="dlView" runat="server" >
<ItemTemplate>
<tr>



Problem is in itemdatabound iam getting value in String.Format("javascript:UploadImages('{0}')", s)but when clicking on btnUpload ,control is moving to UploadImages in js,but no value in str.Following is html result

<div id="shadow" class="opaqueLayer"> </div>
<div id="question" class="questionLayer">
<table width="100%" cellpadding="0" cellspacing="0" bgcolor="#F1ECDE">
<tr style="height:17">

[code].....

View 2 Replies

.net - MessagBox On JavaScript?

May 15, 2011

Protected Sub ListView1_ItemCommand(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.ListViewCommandEventArgs) Handles ListView1.ItemCommand
'...vwmr for view more; atcr for add to cart

[code].....

View 3 Replies

Asp.net - JavaScript Can't Get/set Cookie In Ie7

Sep 14, 2011

I have to store, in 2 cookie dictionary/keyed cookie, a user's preference for hiding certain sections of each form on the app. It would appear that IE7 has reached some limit for the number or size of the cookie in javascript. I mean that the cookies are only inaccessible on the client-side js, but can be read just fine in our asp.net/vb code-behind.

The functions that need to read the value of these cookies must be on client side because I can't run a postback everytime the function needs to update the cookie. How should I go about getting and setting the cookie without triggering postback? I thought about storing the value of the cookie onload in a textbox, but I don't know when I would read it back and update the cookie.

View 2 Replies

Asp.net - Pass Value From Javascript To Vb Sub

Feb 6, 2012

i have a javascript function in aspx file now i use vb as back in asp.net now i use postback from javascript like this

[Code]...

now i dont get that "1" in my vb code i want to get it because i want check when i get page_load event by post back by this javascript

View 2 Replies

Asp.net - Using Javascript In CK Editor?

Oct 7, 2011

I created a web form in .net. The form need to use WYSIWYG editor. So, I have decided to use CK editor. Now, I have gotten a problem that the CK editor lets to use javascript in the textarea. I don't want to let this. How could I do that?

View 1 Replies

Can't Call Javascript With VB?

Apr 25, 2011

I have a javascript function that should open a pop up window like so

function callBackWindow(url) {
indow.open(url, 'OpenWindow', 'width=1000,height1000,left=-10,top=-10,scrollbars=no');
return false;

[code].....

View 5 Replies

Convert A JavaScript Into Vb?

Sep 13, 2011

in converting the folowing javascript syntax into visual basic one.

if (!event.willCommit) {
var f = this.getField("dept");
f.clearItems();

[Code]...

View 8 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved