Web Forms :: Paint-Brush Features On Web Form?
Aug 26, 2010I want to add a paint-brush tools to my web form. Which will allow users to sketch some thing, insert image and save that sketched image as a IMAGE file.
View 3 RepliesI want to add a paint-brush tools to my web form. Which will allow users to sketch some thing, insert image and save that sketched image as a IMAGE file.
View 3 Repliesi have table in my database that contain Fname and age for example.
i need to paint in green all age that under 50 and to paint in red all age up to 50
how to to it ?
i'am using asp.net C# on VS2008
I need to develop a web application that allows users to draw simple images using the tools like the ones used in MS Paint.Also, another user can just retrieve the image and edit the images created by the first user.
similar to the one like this [URL]
this application does the thing what I need. And have seen the js code of this project. I would like to use this js script embedded into web application created using MS visual studio(if my guess is true) and would like to work around it.
Can I just do that by creating windows forms in the visual studio and created some menu items like file->save etc. and embed this js script into the form and make it work. Or is the silverlight the only option I can go for to create this kind of application
The task is to rotate the text of a label in the web form by a certain degree. The label is present in a cell of a table. I tried functions like these (after googling) but error says PaintEventArgs/System.Windows.Forms.PaintEventArgs is not defined. Public Class Form1
Private Sub Form1_Paint(ByVal sender As Object, ByVal e As PaintEventArgs) Handles Me.Paint
e.Graphics.DrawString("Hello World", _
Brushes.Black, _
10, _
10, _
New StringFormat(StringFormatFlags.DirectionVertical))
End Sub End Class
Private Sub Form1_Paint( _
ByVal sender As Object, _
ByVal e As System.Windows.Forms.PaintEventArgs _
) Handles MyBase.Paint
e.Graphics.RotateTransform(20)
e.Graphics.DrawString("Hello World!", Me.Font, Brushes.Blue, 0, 0)
End Sub
I have tried importing the below classes... but to no avail..
Imports System.Data
Imports System.Drawing
Imports System.Drawing.Text
Imports System.Drawing.Graphic
What am I missing? (Possibly I am not getting the equivalent class of PaintEventArgs in webform...) (Am using Visual Studio 2008)
i have link in my webform how to do that even i visit or not visit the color will be green?
View 2 Repliesi have the following problem. I'm binding a GridView to its DataSource (works fine). But after that, i want to "re-paint" it. I'm retreiving the company numbers for the last 3 years, and adding a column between each year that gives me the difference between them in percentage... what i mean with "re-painting" is that, if the difference is positive, i want to set the cell's forecolor to green, and if negative, to red. For this, i guess i have to loop cell by cell after GridView is bound, but cant get it to work (trying with bound event)...
View 2 RepliesI have 7 .aspx pages in my application. I have one masterpage so all pages have the same outlook. For 3 pages I want a treeview or some other control to display that I dont want in other Pages and I dont want to drag & drop that control in those 3 pages. How can i do that?
View 7 Replies"How to Integrate a CMS with an existing website". I have a prebuild asp.net website now i want to integrate a CMS thing with the website so that on the production floor, the admin of the website can add, edit, delete web pages according to his will without the involvement of a developer.
View 1 RepliesI've seen use an inline <asp:SqlDataSource> to bind data to a gridview when usin the delete or edit features. I, for a few reasons, use a button_click event (because depending on a selection from a radio button "list", there are specific fields/parameters to query the database). So there isn't a "Delete" or "Edit" feature of basic sqlclient controls (that I know of).
how to either use normal sqlclient controls with a gridview to handle the delete/edit features of a gridview, OR explain how I can use an inline sqldatasource in the codebehind to query the database with specific select statements and specific fields/parameters?
What I mean by different fields/parameters, is that there are radiobuttons, and depending on which is chosen, the query changes. So I can't just use the same select query and have the parameters just be "TextBox1.Text" or whatever (because I might not need that parameter since the query would be different).
i want to embed flash file in asp.net page.I have used below code for same:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/
I am building a search where I need to implement couple of features in it among others.
1- It should bring all synonyms, like if someone searches for couch, it should bring in matching results for that couch plus linguistic matches like (sofas, cushions etc). To accomplish that I am using Full Text Search. In my query I use FreeText but it does not yield the required results. That's what I do,
select * from Furn_Products Where FreeText(FurnName, 'Couch');
It should bring Names containing Cushions, Sofa and Couch off course but it only brings Names with Couch which I could also do by simple Like query. 2- I need to check for typos, like if someone types soofa, it should bring in results for sofa, couch etc.
Mine is an asp.net website on c#.
I have to perform an action and want to authorize and authenticate before performing that action because it is very crititcal.
I can provide normal user and password. but besides that how can i ensure that its secure ??
Any more levels of security features i can provide.
how can i implement RSA ?? in such a scenario?
i am trying to implement ldap features to my web application in asp.net C#......
i implemented the ldap features in such a way that,if the ldap path is given like:
ldap://serverneame/ou="sdfsd",dc=""",dc=""
this will allow all the groups under this server and domain how can i differentiate between the groups for example consider an hospital i want this application to be accesible only by doctors,even the cashiers of the hospital will be able to access my application,how should i not allow certain set of groups to be authenticated to my application.
I will be adding new pages and adding functionality to current pages.
I would basically like to use new technology and but I don't know how should I add it to classic ASP pages
In other words, can I <#--include--> an aspx page in Classic asp page? Or anything of that sort, may be creating a user control in ASP.NET and using it in classic ASP?
I am creating a custom cookie and have overloaded the Iprincipal class and all that good stuff. My cookie works correctly and I am able to retrieve the roles of the users successfully, but the admins have to reload the default page after just logging in to see the admin only button. Once they visit a new page on my site and return to the default page, the button is there.
I read somewhere that the cookie is created last and has something to do with a response to the HTTP. TBH, I am new to this stuff and don't understand exactly how that works, but I see how it effects my program. I am currently creating and planting my cookie in the page load of my default page. Should I be doing it somewhere else, perhaps in the log-in page? I tried that, but the same issue still exists. Am I missing something?
I'm looking for a way to put real time features into my web site. The idea is asynchronous communication between 2 people - like a chat session. If I use the chat example - I'd like the second person to know that the first one has sent a message to him, without refreshing or doing something active on the web page. Polling is not a good idea here - so is there any other solution? the back-end could be ASP.NET or PHP (ASP.NET preferred).
View 3 RepliesHow to implement search features in ASP.NET MVC applications
I have a program designed using Asp.net MVC and c#
I want a simple way to implement a search for the data that I have using the models and Controllers
I did it by doing a script in a page itself but I want it by using Models for example I have a table with ( Mean, STD, Parameter , etc )
I want to put these in a dropdownlist and there is a text box to write the value also, there is a flexibility in adding more than one dropdownlist <<< not important
I've been doing some self-teaching into how the .NET compiler and BCL and have some queries which hopefully somebody on here can answer.
1. What causes the need of a new release of a compiler (specifically C#)? Is it simply due to new language features?
2. Where do language features sit within the .NET Framework? Are they part of the BCL? Or is this based purely on the compiler and an external specification (which in turn is recognised by the IDE).
Does an asp.net website developed locally with VWD 2010 and SQL Express need an SQL server on the the remote webserver or does asp.net have sufficient functionality to handle the SQL connection & requests? In particular I am using the membership features of asp.net to log users in and out.
View 3 RepliesAt what point (if at any) does it make sense to take some of the features of a .NET web application and split them into separate web services?
For example, we have a very large web application that also calls a series of long running operations (our core business logic). We also have a dll with client-specific custom features that is called directly from the web project. Sometimes we need to move very quickly to change these client functions, often in hours.
However, if we make a change to the client-specific features (or an emergency change to the core features) and publish a new project, then it would kick all the users out the system as the app restarts. It would seem like there's a better way ... but I'm not sure what it might be ...
I'm running IIS7 ( in integrated mode ) and Net. 4.0 framework on Windows 7.
a) If web application runs within Asp.Net v4.0 pool, then both Net Users and Net Roles features are not available.
b) I assume Asp.Net 4.0 apps can only run within Asp.Net v4.0 pools?
I need to add features in login page.
1) Only allow user in three times attemps
2) After three times failed to login, the user will be restricted for 30 minutes.
I knew how to code for 1) but I do not how to do 2).
When it comes to sort some data, we have two option to sort the data: first one is sort on SQL server with ORDER BY clause, and another is Client side sorting ,how i can choose one option over the other and why? which option is more efficient? with sorting? is there any sorting function with client side sorting? what is the adventage on client side sorting?
View 1 RepliesIm new to ASP.net. But im really interested about learning ASP.net and related technologies. I referred to sevaral Ajax and Jquery samples and managed to run those jquery and Ajax codes with ASP.net. But i would like to know how to integrate jquery/ajax menu with my asp.net website's category menu. Categary menu is daynamic and it changes nodes according to back office operations. In other words i want to apply jquery/ajax in to several dynamic features on my website. Ex: Dynamic menu and Search reasult.
how to integrate jquery/ajax to dynamic features on my ecommerce website.
Im new to ASP.net. But im really interested about learning ASP.net and related technologies. I referred to sevaral Ajax and Jquery samples and managed to run those jquery and Ajax codes with ASP.net. But i would like to know how to integrate jquery/ajax menu with my asp.net website's category menu. Categary menu is daynamic and it changes nodes according to back office operations. In other words i want to apply jquery/ajax in to several dynamic features on my website. Ex: Dynamic menu and Search reasult.
how to integrate jquery/ajax to dynamic features on my ecommerce website.