hii to all
i have a site thet need to check some dll file in the client registry
how can i check it and if the is no dll how can i add it to the registry
View Complete Post
Understanding the ACLs that govern permissions and rights before an operation is allowed to proceed is critical to enhancing security.
John R. Michener
MSDN Magazine November 2008
I have a file util.js and there some funtions in same file.
For example functions name are keyUp, keyDown, isNumeric, isAlphaNumeric
I have used these functions in aspx code behind in a textbox to restrict user that he may not be able to input any special character.
Before, I used the code directly in aspx file but I have do it for different textboxes therefore to avoid much coding in aspx file I created util.js and put all code in this file but how to use these particular functions in aspx file I couldn't find the way.
Anyone have idea. Do share with me.
I used the reference like this:
' Font-Names="Verdana" Font-Size="8pt" Onkeyup= "keyUp(event.keyCode)" Onkeydown="return isAlphaNumeric(event.keyCode);" onpaste="return false;">
I created Elements.xml file that added button to Ribbon of Web Part page.
Thank you in advance for any help.
but i created an external js file and now i am calling it
any help is appreciated
using asp.net 2.0 , netframework 3.5 , c# , iis 7.5
I have simplied the example down to an .aspx page with a single button and the codebehind in VB. I am currently running VWD 2010 on the .Net 4 framework. I've been working on this problem on and off over the past 3 weeks and simply cannot get it to work, so I continue to insert the code directly into the markup. I have tried countless changes to the following code, but not once able to get it to work.Any help, suggestions or recommendations will be graciously accepted and very much appreciated.
The .aspx page is as follows:
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Test_Script.aspx.vb" Inherits="Test_Script" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
in aspx page i have radio button list as follows:
<input type="radio" name="cb" value="Yes" id="abc" />Yes<br />
<input type="radio" name="cb" value="No" />No<br />
<input type="radio" name="cb" value="Can't Say" />Can't Say
I have done like this but its showing error:
Some information on what my control looks like
In my AssemblyInfo I have the following:
I may eventually experiment with routing to make the reference look like this...
But that's besides the point. Please keep in mind, the following example is very simple and could be accomplished in easier ways. Its more of a proof of concept, and I will be creating completely different JS files, from begining to end, depending on the Id passed in.
var Id = context.Request["Id"];
using (var sr = new StreamReader("/Forms/0001.js"))
var chingy = E
Its working fine by manually passing file path to that control. But it's not
so that I can give only file name and path should get generated. (i.e. like server.mappath
(filename) in asp.net ).Or is there any other