Develop User Defined Plugin For Web Browser
Jan 31, 2011
How to develop a user defined plugin for a web browser. It should features: It should be installed in any browsers. It should be executed whenever the browser starts. It should monitor the web page and access the web page that the browser displays. It should monitor and access the web page (for example, getting a value from a text box) irrespective of the web page the browser displays. (The web page can be of any URL either google or any domain)
View 3 Replies
Similar Messages:
Oct 1, 2010
I am trying to develop a plugin architecture in .Net. The application will be a .Net application. There will be directories which holds the plug-ins. Each directory will represent a plugin. Each plugin directory will also contain all the dependency dlls as well. The plugins need to be stored in separate AppDomain as the plugins may use the same assemblies, but different versions. As it iterates through the foreach loop in Init(), I get a System.IO.FileNotFoundException : Could not load file or assembly '[Assembly Name], Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.in _apDomain.Load() for assemblies that are not in the main project.
readonly private AppDomain _appDomain;
internal ItemModuleAppDomain()
{
AppDomainSetup info = AppDomain.CurrentDomain.SetupInformation;
_appDomain = AppDomain.CreateDomain("ChildDomain");
}
public void Init(string dllDir)
{
string[] dlls = Directory.GetFiles(dllDir, "*.dll", SearchOption.TopDirectoryOnly);
foreach(string dll in dlls)
{
_appDomain.Load(AssemblyName.GetAssemblyName(dll));
}
View 1 Replies
Mar 12, 2011
I have created a web page in asp.net 3.5. The page contains number of div. Based on user selection i will show the div as per requeriment. But now the number of divs are increased and the size of the page becomes too large. Then i decided to create the user control of every div. Now, my problem is how do i open a user control using UI Block Plugin of jquery. Because i have to block the backgroud controls.
View 1 Replies
Apr 25, 2010
i need to get the Browser version, type of the user. i need the short name not the long one.
at the monent i have this:
browser = Request.ServerVariables("HTTP_USER_AGENT") that retuens this:
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.1.249
i need only (Chrome/4.1.249), (MSIE 8.0)...............
plus i would like to get the operating system too
View 16 Replies
Jun 18, 2010
I have a custom user control with some input fields and a submit button. I need to validate the fields using the jquery validation plugin when the submit button is clicked. (The function of the submit button is to create another custom control which displays the data entered in the above mentioned control)
Bt as far as I knw, validation plugin works only with form validation ryt? And my custom control does not contain a form tag as I am using master pages. The custom control is present in one of the content pages and the master page already contains a form tag with a runat=server attribute. And I guess one page can contain only a single form tag with runat=server attrib ryt?
So how do I get it to work?
View 5 Replies
Jun 30, 2010
I received a user defined XML file and want to programmatically read and display it on a browser using ASP.net. I also want to allow users to add more tags, elements with their attributes according to the existing schema through the web interface used to display the XML. Where can I find some techniques with examples?
Example:
<?xml version="1.0" standalone="yes"?>
<bookstore>
<book ISBN="10-000000-001"
title="The Iliad and The Odyssey"
price="12.95">
<comments>
<userComment rating="4"
comment="Best translation I've read." />
<userComment rating="2"
comment="I like other versions better." />
</comments>
</book>
</bookstore>
The XML file contains a nested structure — each book can contain its property values, as well as one or more comments as separate elements. I want to allow users to view each of the property values and change them as well as add more userComment tags.
View 1 Replies
Jun 16, 2010
I am looking to port my very basic DBMS software from classic ASP to ASP.net - however the user would need to input the connection details in order to connect to their specific DBMS server.
Is this at all possible with ASP.NET MVC (very similar to DSN-less connections in ASP).
View 1 Replies
Mar 18, 2011
I want to develop my web user control and I want them reusable in my projects.What's the best way to do it?I dont want to open and edit my code for every project and choose parts of codes for that.
View 7 Replies
Feb 25, 2010
Suppose I have a string in U.S datetime format, "2/25/2010" and the server is on U.S East Coast with a timezone offset of "-5". When I convert the string via
Convert.ToDateTime("2/25/2010").ToUniversalTime(), it saved as "2/25/2010 5:00:00 AM" (which is correct as local server time for it is 2/25/2010 12:00:00 AM"
Now, suppose my user is in the U.S central time with a timezone offset of "-6", what I want to do is convert it approriately and when this user from central time do "Convert.ToDateTime("2/25/2010").ToUniversalTime()" type of statement, the datetime saved will be "2/25/2010 6:00:00 AM"
View 3 Replies
Mar 10, 2010
I using Masterpages and user defined controls, on my user defined control I added a CalenderExtender, but I can get it to work, when I set the TargetControlID="txtPSD" the name of my textbox it vanishes from the screen. Question is am I putting it in the wrong place??? see the bold code below, TargetControlID error is name contains uppercase lettter that are not allowed.
[Code]....
View 1 Replies
Feb 25, 2010
I am trying to create a type of table on sql 2008. The following sql fails saying Incorrect syntax near the keyword 'AS'. what i am doing wrong as this looks fine to me.
View 1 Replies
Sep 23, 2010
I created a function and am trying to access it through a case statement, but I am getting the error:
Cannot find either column "core" or the user-defined function or aggregate "core.f_FiscalYear_Open_Days", or the name is ambiguous.
The case statement is below:
CASE
WHEN c.program_id
= 5
and
CAST(minutes)
As
float)/60
>=
@MiddleSyTargetHrs
/core.f_FiscalYear_Open_Days(c.program_id,Org_Site_ID_Contract,'7-01-2009','7-31-2009')
Then 1
Else 0
End
As
mon_1_hrs
View 4 Replies
Mar 29, 2011
I have been, exhaustively, looking at examples of WF4 and am not sure it will work for my project. I need to be convinced otherwise. I am struggling with how we would implement a system to use WF4 so users have the ability to define workflows. It seems you need VS2010 experience to design and implement a WF 4workflow. I love wheat it can offer, but feel it may be too complicated for non techical users.
Do we just define a ton of custom activies that a user can move into a workflow? How can we make it as easy as possible for a user to build the workflow?
We have and application that we want to allow, Joe / Jane user to create their own workflows for specific items. For example, Request For Information items. The RFI has specific states it can be in that are defined by the user.
They should be allowed to control the flow based on those states. There will be some base items that the application defines as to what will happen based on a decision / condition. So, things like notifications (who gets notified when something changes), time frames (how long something can stay in a certain state before something else happens), and possibly some other conditions.
The conditions / decision types will be limited by the application, for now. But imagine they can build the workflow and add those decisions / conditions in without any coding knowledge.
View 1 Replies
Feb 13, 2010
i have created a function to call username to pass user id as pararameter,
how to call userdefined function in asp.net
here is my function in sql
CREATE FUNCTION getusername
( @userid bigint )
RETURNS table
AS
RETURN (
SELECT login_id
FROM mst_useraccount
WHERE user_key =@userid
)
go
View 3 Replies
Mar 27, 2010
need to let users to generate online questionnaires that could be answered by other users. I was wondering if this could be done using the WebParts.I have a custom application with already set up database. I do not use any form of Membership Provider (I have a custom made form of user authentication, I did not want to be bounded by the rigid frame of the ASP Membership). As far as I know Web Parts uses db (called SharePoint ?) to store the state etc. so this might be the first problem because I do not want to modify my DB just for the sake of WebParts (I assume it would require a whole lot of changes).So I was wondering if it would be possible to use Web Parts only as a form of "ASP code generator" e.g. I could create the questionnarie using WebParts and then export the result somehow (?) to print an ascx/aspx file or code.If this can not be done, can anybody tell me if there are any components that would be useful here? Some sort of toolkit where one could create asp code online? (with textboxes, checkboxes etc.).
View 2 Replies
Apr 4, 2011
I have a base user control (inherited from System.Web.UI.UserControl)
public delegate void MyEventHandler(object sender, MyEventArgs e);
public event MyEventHandler ControlLoaded;
//Fire the event from here
protected override void OnLoad(EventArgs e)
{
MyEventArgs cmdEventArgs = new MyEventArgs("somearg");
ControlLoaded(this, cmdEventArgs);
}
I have several controls that are derived from this base user control.
On the host ASPX page, I need to subscribe to the ControlLoaded event.
protected void Page_Load(object sender, EventArgs e)
{
//subscribe to the event
//This line DOES NOT WORK as I cannot attach event to a base control - It needs an instance of the user control which I don't have
BaseUserControl.ControlLoaded += new MyEventHandler(ControlLoaded);
}
private void ControlLoaded(object sender, MyEventArgs e)
{
// some control has been loaded
}
How do I subscribe to the ControlLoaded event?
View 1 Replies
Dec 1, 2010
I am developing an application in which I have to use a User Control.I have created a user control in which I am using
- A Label (whose text will be dynamic)
- 3 Textboxes (whose values will be also dynamic).
So far everything is working fine.Now I used this user control in a aspx page and at the page_load i have to loop thru all the instance of this user control and assign values to them and here the problem begins.The values are not being assigned to the controls.
Here is the code which i have written to loop thru User Control instances and assign values to them.
[Code]...
View 9 Replies
Oct 3, 2010
I have been using profiles to store a list of user defined clicks. A user clicks on items and it adds it to my Shopping Cart.
I have managed to enter all the info I need and see that It is there with a count but I can't pull the information back once I have entered it.
First thing I did was add code to my Web.config under System.web
[code]....
Then I created a Class called ShoppingCart.vb
[Code]...
Okay here is my VB code where I need to be able to pull the information back again.
[Code]...
So I may need to give you more information but the basics are:
I can add items to my list with btnAddS and it will update my label with the correct amount of rows (items)
Under my btnView I can iterate through the rows (items) but I can't pull back the information stored within.
View 25 Replies
Dec 13, 2010
am having a class which contains user defined data type property. I have created an instance of that class. When I bind that object of that class to DetailsView it is showing all properties except user defined data type property. Here is the sample code.
public class Customer
public string CustomerName { get; set; }
public int Age { get; set; }
public Address CustomerAddress { get; set; }
}
Address class looks like
public class Address
{
[code]...
View 1 Replies
Feb 9, 2011
I have a public property defined in code behind of a user control. I want to toggle visibility of controls in the markup based on the property's value.
However, using the following syntax:
<td style="display:<%#(Container.PageControlMode == PageControlMode. PageMode.Wizard) ? "none" : "inline" %;">
I have the following property in my code behind:
public PageMode PageControlMode { get; set; }
Does not work and generate errors.
View 1 Replies
Jul 11, 2010
How can I change the default session time in an ASP.NET website to something user defined - perhaps 1 hr?I assume the default session time is 20 mins..
View 3 Replies
Aug 6, 2010
I am not sure how the user defined class objects are garbage collected. Do I need to implement IDisposable interface on every class and call the dispose() method on it to free the memory?
View 7 Replies
Dec 14, 2011
c# code to print a contents of a gridview and along with header and footer.
View 1 Replies
Jul 14, 2010
I work now in a huge project that we build all interface as Web User Controls .. every time I want to view & test one i should add it in web page and then view .. I think in a way to develop a visual studio extension that show "View in Temp Web Page" when I make right click on a user control to allow me view user control in a generated temp web page without needing to add it in a test page each time i want to test but i don't know is there any way to achieve that ... Is it possible to develop such a thing ?
View 1 Replies
Mar 3, 2010
How can I develop Client-User and Web applications for BalckBerry using Visual Studio 2008.
View 1 Replies